From e4204a2584cde044ae0a10d19058ba1bab09cbf9 Mon Sep 17 00:00:00 2001 From: CaisR3 Date: Tue, 23 Jan 2018 15:24:33 +0000 Subject: [PATCH] Initial Checkin - Rebased to V2 --- .gitignore | 84 +- LICENCE | 13 + README.md | 154 + TRADEMARK | 4 + build.gradle | 26 + config/dev/log4j2.xml | 59 + config/test/log4j2.xml | 20 + doc/interop/InteropSendTxExample.json | 20 + doc/interop/eBLFabricToCordaDetail.puml | 52 + gradle.properties | 4 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 51010 bytes gradle/wrapper/gradle-wrapper.properties | 7 + gradlew | 173 + gradlew.bat | 84 + kotlin-source/build.gradle | 118 + .../META-INF/kotlin-source_main.kotlin_module | Bin 0 -> 39 bytes .../resources/certificates/sslkeystore.jks | Bin 0 -> 2728 bytes .../resources/certificates/truststore.jks | Bin 0 -> 1284 bytes .../production/resources/loc/assets/modal.js | 16 + .../production/resources/loc/assets/panel.js | 144 + .../resources/loc/backup/assets/modal.js | 16 + .../resources/loc/backup/assets/panel.js | 144 + .../resources/loc/backup/index.html | 19 + .../resources/loc/backup/inline.bundle.js | 151 + .../resources/loc/backup/main.bundle.js | 5761 + .../resources/loc/backup/polyfills.bundle.js | 5393 + .../resources/loc/backup/scripts.bundle.js | 43 + .../resources/loc/backup/styles.bundle.js | 468 + .../resources/loc/backup/vendor.bundle.js | 158859 +++++++++++++++ .../out/production/resources/loc/index.html | 19 + .../production/resources/loc/inline.bundle.js | 151 + .../production/resources/loc/main.bundle.js | 5762 + .../resources/loc/polyfills.bundle.js | 5393 + .../resources/loc/scripts.bundle.js | 43 + .../production/resources/loc/styles.bundle.js | 468 + .../production/resources/loc/vendor.bundle.js | 158859 +++++++++++++++ .../META-INF/kotlin-source_main.kotlin_module | Bin 0 -> 56 bytes .../src/main/kotlin/eloc/api/ELOCApi.kt | 808 + .../eloc/contract/BillOfLadingAgreement.kt | 78 + .../src/main/kotlin/eloc/contract/Invoice.kt | 101 + .../src/main/kotlin/eloc/contract/LOC.kt | 120 + .../kotlin/eloc/contract/LOCApplication.kt | 59 + .../kotlin/eloc/contract/LocDataStructures.kt | 104 + .../main/kotlin/eloc/contract/PackingList.kt | 90 + .../src/main/kotlin/eloc/flow/Carrier.kt | 59 + .../src/main/kotlin/eloc/flow/Issuer.kt | 354 + .../kotlin/eloc/flow/LOCApplicationFlow.kt | 109 + .../main/kotlin/eloc/flow/LOCApprovalFlow.kt | 118 + .../kotlin/eloc/flow/SelfIssueCashFlow.kt | 40 + .../eloc/flow/documents/BillOfLadingFlow.kt | 93 + .../flow/documents/BillOfLadingTimeline.kt | 38 + .../kotlin/eloc/flow/documents/InvoiceFlow.kt | 84 + .../eloc/flow/documents/PackingListFlow.kt | 89 + .../kotlin/eloc/flow/eLocDemoProtocols.kt | 280 + .../eloc/flow/payment/AdvisoryPaymentFlow.kt | 117 + .../eloc/flow/payment/IssuerPaymentFlow.kt | 117 + .../eloc/flow/payment/SellerPaymentFlow.kt | 134 + .../src/main/kotlin/eloc/plugin/ELOCPlugin.kt | 20 + .../kotlin/eloc/state/BillofLadingState.kt | 40 + .../main/kotlin/eloc/state/InvoiceState.kt | 51 + .../kotlin/eloc/state/LOCApplicationState.kt | 44 + .../src/main/kotlin/eloc/state/LOCState.kt | 73 + .../kotlin/eloc/state/PackingListState.kt | 38 + .../src/main/python/ExampleClientRPC.py | 23 + kotlin-source/src/main/python/jython.sh | 24 + ...webserver.services.WebServerPluginRegistry | 2 + .../main/resources/certificates/readme.txt | 1 + .../resources/certificates/sslkeystore.jks | Bin 0 -> 2728 bytes .../resources/certificates/truststore.jks | Bin 0 -> 1284 bytes .../main/resources/loc/assets/cd-arrow.svg | 1 + .../main/resources/loc/assets/corda-login.png | Bin 0 -> 19795 bytes .../src/main/resources/loc/assets/corda.png | Bin 0 -> 6076 bytes .../src/main/resources/loc/assets/logo.png | Bin 0 -> 26038 bytes .../src/main/resources/loc/assets/modal.js | 16 + .../src/main/resources/loc/assets/panel.js | 144 + .../resources/loc/assets/timeline-icon.png | Bin 0 -> 2243 bytes .../src/main/resources/loc/assets/wallet.png | Bin 0 -> 3563 bytes .../resources/loc/backup/assets/cd-arrow.svg | 1 + .../loc/backup/assets/corda-login.png | Bin 0 -> 19795 bytes .../resources/loc/backup/assets/corda.png | Bin 0 -> 6076 bytes .../main/resources/loc/backup/assets/logo.png | Bin 0 -> 26038 bytes .../main/resources/loc/backup/assets/modal.js | 16 + .../main/resources/loc/backup/assets/panel.js | 144 + .../loc/backup/assets/timeline-icon.png | Bin 0 -> 2243 bytes .../resources/loc/backup/assets/wallet.png | Bin 0 -> 3563 bytes ...lflings-regular.448c34a56d699c29117a.woff2 | Bin 0 -> 18028 bytes ...halflings-regular.89889688147bd7575d63.svg | 288 + ...halflings-regular.e18bbf611f2a2e43afc0.ttf | Bin 0 -> 45404 bytes ...alflings-regular.fa2772327f55d8198301.woff | Bin 0 -> 23424 bytes .../src/main/resources/loc/backup/index.html | 19 + .../resources/loc/backup/inline.bundle.js | 151 + .../resources/loc/backup/inline.bundle.js.map | 1 + .../main/resources/loc/backup/main.bundle.js | 5761 + .../resources/loc/backup/main.bundle.js.map | 1 + .../resources/loc/backup/polyfills.bundle.js | 5393 + .../loc/backup/polyfills.bundle.js.map | 1 + .../resources/loc/backup/scripts.bundle.js | 43 + .../loc/backup/scripts.bundle.js.map | 1 + .../resources/loc/backup/styles.bundle.js | 468 + .../resources/loc/backup/styles.bundle.js.map | 1 + .../resources/loc/backup/vendor.bundle.js | 158859 +++++++++++++++ .../resources/loc/backup/vendor.bundle.js.map | 1 + ...lflings-regular.448c34a56d699c29117a.woff2 | Bin 0 -> 18028 bytes ...halflings-regular.89889688147bd7575d63.svg | 288 + ...halflings-regular.e18bbf611f2a2e43afc0.ttf | Bin 0 -> 45404 bytes ...alflings-regular.fa2772327f55d8198301.woff | Bin 0 -> 23424 bytes .../src/main/resources/loc/index.html | 19 + .../src/main/resources/loc/inline.bundle.js | 151 + .../main/resources/loc/inline.bundle.js.map | 1 + .../src/main/resources/loc/main.bundle.js | 5762 + .../src/main/resources/loc/main.bundle.js.map | 1 + .../main/resources/loc/polyfills.bundle.js | 5393 + .../resources/loc/polyfills.bundle.js.map | 1 + .../src/main/resources/loc/scripts.bundle.js | 43 + .../main/resources/loc/scripts.bundle.js.map | 1 + .../src/main/resources/loc/styles.bundle.js | 468 + .../main/resources/loc/styles.bundle.js.map | 1 + .../src/main/resources/loc/vendor.bundle.js | 158859 +++++++++++++++ .../main/resources/loc/vendor.bundle.js.map | 1 + kotlin-source/src/test/kotlin/eloc/Main.kt | 55 + .../contract/BillOfLadingAgreementTests.kt | 390 + .../eloc/contract/LOCApplicationTests.kt | 86 + .../src/test/kotlin/eloc/contract/LOCTests.kt | 523 + .../kotlin/eloc/contract/PackingListTests.kt | 139 + .../kotlin/eloc/flow/LOCAddDocsFlowTester.kt | 118 + .../eloc/flow/LOCApplicationFlowTester.kt | 137 + .../kotlin/eloc/flow/LOCApprovalFlowTester.kt | 112 + .../test/kotlin/eloc/flow/PaymentFlowTests.kt | 223 + .../test/kotlin/eloc/flow/SellerFlowTest.kt | 191 + .../src/test/kotlin/eloc/helpers/Docs.kt | 112 + lib/README.txt | 8 + lib/quasar.jar | Bin 0 -> 1242165 bytes settings.gradle | 1 + 133 files changed, 690212 insertions(+), 17 deletions(-) create mode 100644 LICENCE create mode 100644 README.md create mode 100644 TRADEMARK create mode 100644 build.gradle create mode 100644 config/dev/log4j2.xml create mode 100644 config/test/log4j2.xml create mode 100644 doc/interop/InteropSendTxExample.json create mode 100644 doc/interop/eBLFabricToCordaDetail.puml create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 gradlew create mode 100644 gradlew.bat create mode 100644 kotlin-source/build.gradle create mode 100644 kotlin-source/out/production/classes/META-INF/kotlin-source_main.kotlin_module create mode 100644 kotlin-source/out/production/resources/certificates/sslkeystore.jks create mode 100644 kotlin-source/out/production/resources/certificates/truststore.jks create mode 100644 kotlin-source/out/production/resources/loc/assets/modal.js create mode 100644 kotlin-source/out/production/resources/loc/assets/panel.js create mode 100644 kotlin-source/out/production/resources/loc/backup/assets/modal.js create mode 100644 kotlin-source/out/production/resources/loc/backup/assets/panel.js create mode 100644 kotlin-source/out/production/resources/loc/backup/index.html create mode 100644 kotlin-source/out/production/resources/loc/backup/inline.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/backup/main.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/backup/polyfills.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/backup/scripts.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/backup/styles.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/backup/vendor.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/index.html create mode 100644 kotlin-source/out/production/resources/loc/inline.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/main.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/polyfills.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/scripts.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/styles.bundle.js create mode 100644 kotlin-source/out/production/resources/loc/vendor.bundle.js create mode 100644 kotlin-source/out/test/classes/META-INF/kotlin-source_main.kotlin_module create mode 100644 kotlin-source/src/main/kotlin/eloc/api/ELOCApi.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/BillOfLadingAgreement.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/Invoice.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/LOC.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/LOCApplication.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/LocDataStructures.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/contract/PackingList.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/Carrier.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/Issuer.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/LOCApplicationFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/LOCApprovalFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/SelfIssueCashFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/documents/BillOfLadingFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/documents/BillOfLadingTimeline.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/documents/InvoiceFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/documents/PackingListFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/eLocDemoProtocols.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/payment/AdvisoryPaymentFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/payment/IssuerPaymentFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/flow/payment/SellerPaymentFlow.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/plugin/ELOCPlugin.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/state/BillofLadingState.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/state/InvoiceState.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/state/LOCApplicationState.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/state/LOCState.kt create mode 100644 kotlin-source/src/main/kotlin/eloc/state/PackingListState.kt create mode 100644 kotlin-source/src/main/python/ExampleClientRPC.py create mode 100644 kotlin-source/src/main/python/jython.sh create mode 100644 kotlin-source/src/main/resources/META-INF/services/net.corda.webserver.services.WebServerPluginRegistry create mode 100644 kotlin-source/src/main/resources/certificates/readme.txt create mode 100644 kotlin-source/src/main/resources/certificates/sslkeystore.jks create mode 100644 kotlin-source/src/main/resources/certificates/truststore.jks create mode 100644 kotlin-source/src/main/resources/loc/assets/cd-arrow.svg create mode 100644 kotlin-source/src/main/resources/loc/assets/corda-login.png create mode 100644 kotlin-source/src/main/resources/loc/assets/corda.png create mode 100644 kotlin-source/src/main/resources/loc/assets/logo.png create mode 100644 kotlin-source/src/main/resources/loc/assets/modal.js create mode 100644 kotlin-source/src/main/resources/loc/assets/panel.js create mode 100644 kotlin-source/src/main/resources/loc/assets/timeline-icon.png create mode 100644 kotlin-source/src/main/resources/loc/assets/wallet.png create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/cd-arrow.svg create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/corda-login.png create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/corda.png create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/logo.png create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/modal.js create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/panel.js create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/timeline-icon.png create mode 100644 kotlin-source/src/main/resources/loc/backup/assets/wallet.png create mode 100644 kotlin-source/src/main/resources/loc/backup/glyphicons-halflings-regular.448c34a56d699c29117a.woff2 create mode 100644 kotlin-source/src/main/resources/loc/backup/glyphicons-halflings-regular.89889688147bd7575d63.svg create mode 100644 kotlin-source/src/main/resources/loc/backup/glyphicons-halflings-regular.e18bbf611f2a2e43afc0.ttf create mode 100644 kotlin-source/src/main/resources/loc/backup/glyphicons-halflings-regular.fa2772327f55d8198301.woff create mode 100644 kotlin-source/src/main/resources/loc/backup/index.html create mode 100644 kotlin-source/src/main/resources/loc/backup/inline.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/inline.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/backup/main.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/main.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/backup/scripts.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/scripts.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/backup/styles.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/styles.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/backup/vendor.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/backup/vendor.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/glyphicons-halflings-regular.448c34a56d699c29117a.woff2 create mode 100644 kotlin-source/src/main/resources/loc/glyphicons-halflings-regular.89889688147bd7575d63.svg create mode 100644 kotlin-source/src/main/resources/loc/glyphicons-halflings-regular.e18bbf611f2a2e43afc0.ttf create mode 100644 kotlin-source/src/main/resources/loc/glyphicons-halflings-regular.fa2772327f55d8198301.woff create mode 100644 kotlin-source/src/main/resources/loc/index.html create mode 100644 kotlin-source/src/main/resources/loc/inline.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/inline.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/main.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/main.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/polyfills.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/polyfills.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/scripts.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/scripts.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/styles.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/styles.bundle.js.map create mode 100644 kotlin-source/src/main/resources/loc/vendor.bundle.js create mode 100644 kotlin-source/src/main/resources/loc/vendor.bundle.js.map create mode 100644 kotlin-source/src/test/kotlin/eloc/Main.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/contract/BillOfLadingAgreementTests.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/contract/LOCApplicationTests.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/contract/LOCTests.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/contract/PackingListTests.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/flow/LOCAddDocsFlowTester.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/flow/LOCApplicationFlowTester.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/flow/LOCApprovalFlowTester.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/flow/PaymentFlowTests.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/flow/SellerFlowTest.kt create mode 100644 kotlin-source/src/test/kotlin/eloc/helpers/Docs.kt create mode 100644 lib/README.txt create mode 100644 lib/quasar.jar create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore index 6143e53..bace7da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,72 @@ -# Compiled class file -*.class - -# Log file +# Eclipse, ctags, Mac metadata, log files +.classpath +.project +.settings +tags +.DS_Store *.log +*.log.gz +*.orig + +.gradle + +# General build files +**/build/* +!docs/build/* + +lib/dokka.jar + +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio + +*.iml + +## Directory-based project format: +#.idea + +# if you remove the above rule, at least ignore the following: + +# Specific files to avoid churn +.idea/*.xml +.idea/copyright +.idea/jsLibraryMappings.xml + +# User-specific stuff: +.idea/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/dataSources.ids +.idea/dataSources.xml +.idea/sqlDataSources.xml +.idea/dynamic.xml +.idea/uiDesigner.xml + +# Gradle: +.idea/libraries + +# Mongo Explorer plugin: +.idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ -# BlueJ files -*.ctxt +# mpeltonen/sbt-idea plugin +.idea_modules/ -# Mobile Tools for Java (J2ME) -.mtj.tmp/ +# JIRA plugin +atlassian-ide-plugin.xml -# Package Files # -*.jar -*.war -*.ear -*.zip -*.tar.gz -*.rar +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* +# docs related +docs/virtualenv/ diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..3ff572d --- /dev/null +++ b/LICENCE @@ -0,0 +1,13 @@ + Copyright 2016, R3 Limited. + + 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. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..06f7c92 --- /dev/null +++ b/README.md @@ -0,0 +1,154 @@ +![Corda](https://www.corda.net/wp-content/uploads/2016/11/fg005_corda_b.png) + +Project status: Early alpha. Expect bugs and rapid iterative development. + +### Voltron + +A [trade finance](http://www.investopedia.com/terms/t/tradefinance.asp) solution using the R3 Corda framework. + +### Technologies + +* [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) + installed and available on your path. +* Latest version of [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) + (note the Community Edition is free) +* [H2 web console](http://www.h2database.com/html/download.html) + (download the "platform-independent zip") - you can get by with the Database tab in Intellij +* [git](https://help.github.com/articles/set-up-git/) + +### Getting started + +Voltron is a Gradle build from a git repository. It relies on libraries provided by R3 which are +in the public domain (Corda). + +#### Verify you have Git + +``` +$ git --version +``` + +[Install git](https://help.github.com/articles/set-up-git/) if necessary. + +#### Verify you have R3 Corda + +If this is your first time working with CorDapps, clone and build the source code repository (over HTTPS) for +the `release-M10` milestone (for example) using: + +``` +$ git clone https://github.com/corda/corda.git +$ cd corda +$ git checkout release-M10 +$ ./gradlew +$ gradle clean install +``` +This will install the release artifacts into the local repository so they can be picked up by this project. + +#### Clone this repo + +Get the source code from here: + +``` +$ git clone https://{your-bitbucket-user}@bitbucket.org/R3-CEV/voltron.git +``` +A sub-directory called `voltron` will be created which is your project root directory. + +To update a previous clone of the project use a pull instead: + +``` +$ cd +$ git pull +``` + +We use the Release Branch approach, where `master` is the current release candidate, and `release-X` is the release +of version X. Feature branches are named after their respective issue numbers which are included in each commit to assist tracking. +Once feature branches are merged, they are deleted. + +#### Build with Gradle + +Everything is automated, including installing gradle on your system. Just type the following: + +``` +$ cd +$ ./gradlew +``` + +Gradle uses a file called `build.gradle` present in the project root directory to provide all the build information. +Make sure you reference that file when opening the project. + +Also, in Intellij the default grade wrapper isn't always supported. If you've installed gradle through Homebrew you +may need to directly reference Gradle home using `/usr/local/opt/gradle/libexec` instead. If you are having a +compilation error, and the issue might be gradle version. [Corda issue #18](https://github.com/corda/corda/issues/18) +Make sure that your Gradle version is 2.10. +``` +$ ./gradlew wrapper --gradle-version 2.10 +``` + +#### Start the application (from an IDE) + +Create a runtime configurations with the following specification: + +`Main [run]`: +``` +Main Class: com.template.MainKt +VM Options: -javaagent:lib/quasar.jar -Dco.paralleluniverse.fibers.verifyInstrumentation=false +``` + +Running this will automatically initiate trades between all nodes. + +Note the presence of the `lib/quasar.jar`. This is to allow Quasar to instrument the classes that are using the +Fiber classes using an Ahead-Of-Time (AOT) approach. Since the location of the local Gradle repo is not known for all +users of the code it has been provided in the project as a convenience. + +#### Start the application (from the command line) + +To run the application from the command line do the following: +``` +$ cd +$ ./gradlew kotlin-source:installDist +$ ./gradlew kotlin-source:deployNodes +$ ./kotlin-source/build/nodes/runnodes +$ ./kotlin-source/build/install/kotlin-source/bin/kotlin-source --role ApplyForLOC +``` +This will create a small network of Corda nodes and deploy the Voltron CorDapp into them. + +### Issue tracking + +We use the `project-voltron` private Slack channel to discuss the current situation with the code. + +### Contributing + +Please refer to the [Corda code style guide](https://docs.corda.net/codestyle.html) to ensure that your contribution +fits well with every one else's. + +### Troubleshooting + +#### My Corda nodes take 30 seconds or more to start + +This is most likely due to a network timeout occurring during startup/run phases within the node. You will need to +ensure that you have a network connection (even if it is dead) so that localhost resolution occurs in a timely manner. + +(Quick fix tip: Try a mobile hotspot network). + +A typical startup time for a Corda node on a basic development machine is around 200 ms. + +#### When the format of transactions changes, then system triggers this error. + +``` +Requesting signature by Notary service +E 14:01:09 [263:Node thread] [f0a602c5-353f-4c84-b1a4-e0d460256c3e].uncaughtException - Caught exception from protocol + java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed requirement. + at com.r3corda.node.services.statemachine.ProtocolStateMachineImpl.run(ProtocolStateMachineImpl.kt:90) ~[node-0.4.jar:?] +``` +Solution: Delete the build directory. + +#### When building Gradle, an index error regarding `https://dl.bintray.com/kotlin/exposed` occurs. + +``` +Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: Resource nexus-maven-repository-index.properties does not exist + at org.jetbrains.idea.maven.server.Maven3ServerIndexerImpl$2.run(Maven3ServerIndexerImpl.java:204) + at org.jetbrains.idea.maven.server.Maven30ServerEmbedderImpl.executeWithMavenSession(Maven30ServerEmbedderImpl.java:568) + at org.jetbrains.idea.maven.server.Maven3ServerIndexerImpl.updateIndex(Maven3ServerIndexerImpl.java:170) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) +``` +Solution: Known issue - see https://youtrack.jetbrains.com/issue/IDEA-138029 diff --git a/TRADEMARK b/TRADEMARK new file mode 100644 index 0000000..07f11cf --- /dev/null +++ b/TRADEMARK @@ -0,0 +1,4 @@ +Corda and the Corda logo are trademarks of R3CEV LLC and its affiliates. +All rights reserved. + +For R3CEV LLC's trademark and logo usage information, please consult our Trademark Usage Policy available at https://www.r3.com/trademark-usage-policy diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..fd3a94a --- /dev/null +++ b/build.gradle @@ -0,0 +1,26 @@ +buildscript { + ext.corda_release_version = '2.0.0' + ext.corda_gradle_plugins_version = '1.0.0' + ext.kotlin_version = '1.1.4' + ext.quasar_version = '0.7.6' + ext.junit_version = '4.12' + + repositories { + mavenLocal() + mavenCentral() + jcenter() + } + + dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "net.corda.plugins:cordformation:$corda_gradle_plugins_version" + classpath "net.corda.plugins:quasar-utils:$corda_gradle_plugins_version" + } +} + +repositories { + mavenLocal() + jcenter() + mavenCentral() + maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } +} \ No newline at end of file diff --git a/config/dev/log4j2.xml b/config/dev/log4j2.xml new file mode 100644 index 0000000..34ba4d4 --- /dev/null +++ b/config/dev/log4j2.xml @@ -0,0 +1,59 @@ + + + + + logs + node-${hostName} + ${log-path}/archive + + + + + + + + + %highlight{%level{length=1} %d{HH:mm:ss} %T %c{1}.%M - %msg%n}{INFO=white,WARN=red,FATAL=bright red blink} + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/test/log4j2.xml b/config/test/log4j2.xml new file mode 100644 index 0000000..cd9926c --- /dev/null +++ b/config/test/log4j2.xml @@ -0,0 +1,20 @@ + + + + + + + [%-5level] %d{HH:mm:ss.SSS} [%t] %c{1}.%M - %msg%n + > + + + + + + + + + + + + diff --git a/doc/interop/InteropSendTxExample.json b/doc/interop/InteropSendTxExample.json new file mode 100644 index 0000000..10c0567 --- /dev/null +++ b/doc/interop/InteropSendTxExample.json @@ -0,0 +1,20 @@ +{ + "interopTxPayload": { + "sourceLedgerId": 'Fabric01", + "destinationNode": "advisingbankserver:80", + "contractAddress": "EF443545453443544343434FEFEF", + "contractFunction": "transferEbLOwner", + "functionPayload": { + "eBL": { + "carrierName": "happy shipping co", + "owner": "AdvisingBankPublicKey" + } + }, + "ed25519signatures": [ + "etc", + "etc1" + ], + "transactionId":"SOMEGUID", + }, + "payloadHMAC": "blahbalh" +} \ No newline at end of file diff --git a/doc/interop/eBLFabricToCordaDetail.puml b/doc/interop/eBLFabricToCordaDetail.puml new file mode 100644 index 0000000..2f7b424 --- /dev/null +++ b/doc/interop/eBLFabricToCordaDetail.puml @@ -0,0 +1,52 @@ +@startuml +Carrier -> Carrier_FabricNode: Store eBL +Carrier_FabricNode --> eBL_ChainCode: store eBL +Carrier -> Carrier_FabricNode: Transfer eBL to Advising Bank +Carrier_FabricNode --> eBL_ChainCode: Transfer eBL to Advising Bank +eBL_ChainCode -> eBL_ChainCode: create new 'eBL transfer Owner' Interop transaction (itx) +eBL_ChainCode -> eBL_ChainCode: add json payload of eBL to itx +eBL_ChainCode -> eBL_ChainCode: sign eBL itx with ed25519 and carrier Private key +eBL_ChainCode -> Interop_ChainCode: Call 'InteropSend' send to Advising bank. +Interop_ChainCode -> Interop_ChainCode: create a GUID and add it to the itx +Interop_ChainCode -> Interop_ChainCode: create HMAC of eBL payload and add to itx +Interop_ChainCode -> Interop_ChainCode: put the eBL itx details and send parameters into escrow state +Interop_ChainCode -> Carrier_FabricNode: Publish 'InteropSend' event containing 'eBL transfer Owner' itx payload +Carrier_FabricNode -> FabricListener: Publish 'InteropSend' event +Carrier_FabricNode -> Advising_CordaNode : send 'InteropSend' event containign eBL Transfer Owner' itx as jsonRpc +Advising_CordaNode -> CordaInteropApi: call 'InteropReceive' +CordaInteropReceiveFlow -> CordaInteropReceiveFlow : locate eBL Flow +CordaInteropReceiveFlow -> eBL_Flow: call eBLTransferOwner Flow +eBL_Flow -> eBL_Flow: create eBL (Corda) output state from json payload +eBL_Flow -> eBL_Flow: create (Corda) txn with eBL +eBL_Flow -> eBL_Flow: add Carrier & Advising signature to txn +eBL_Flow -> CordaInteropReceiveFlow: receive signed tran from eBL +CordaInteropReceiveFlow -> CordaInteropReceiveFlow: build InteropSend itx from txn +CordaInteropSendFlow -> CordaInteropReceiveFlow: save itx (with Quasars?) +CordaInteropReceiveFlow -> Carrier_FabricNode: send itx to InteropSendAck endpoint +Carrier_FabricNode -> Interop_Chaincode: call 'InteropSendAck' Rest/JsonRpc method +Interop_Chaincode -> eBL_ChainCode : call 'eBL transfer Owner Ack' +eBL_ChainCode -> eBL_ChainCode : verify transaction signature by Advising bank +eBL_ChainCode -> eBL_ChainCode : verify new owner of eBL is advising bank +eBL_ChainCode -> eBL_ChainCode : update eBL with new Owner +Interop_ChainCode -> Carrier_FabricNode: return txn Id +Carrier_FabricNode -> CordaInteropReceiveFlow: return fabric txn +CordaInteropReceiveFlow -> CordaInteropReceiveFlow: notorise and save txn (which was returned from eBLFlow) +@enduml + +#Notes: + +In order to sync up the two ledgers, we must consider the difference between 'issuing' the eBL and transfering ownership. +In this case we are issuing the eBL onto Fabric, but then transfering ownership to the other entities - the advising bank +in the first instance. To Corda, the initial transfer will look like an issue of state, so our transfer eBL Ownership flow, must +take into account if the state already exists (in which case it's an issue) or if it already exists (in which case it's a transfer) +We also need to consider how the eBL is kept up to date between the ledger, so that we don't get ourselves into an transaction loop; +if fabric issues the change of owner, then we don't want to Corda to send back another change of owner command. But if Corda +does change of owner then we do want to set the update back to Fabric- Currently I resolve this by having an 'Ack' message and end point +on the receiving ledger. + +Note: when the CordaInteropReceive flow gets the fabric transaction back, this transaction will not necessarily be committed, so we would +need an additional bit to confirm this - in fabric 0.6 it's not easy to find if the tx has been commited, so we should defer this to V1.0 +when it becomes available. + + + diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..d6541e2 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,4 @@ +name = Test +group = com.template +version = 0.1 +kotlin.incremental=false \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..2322723c7ed5f591adfa4c87b6c51932f591249a GIT binary patch literal 51010 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∓LFg$ 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 literal 0 HcmV?d00001 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..447af30 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +#Fri Mar 24 11:56:05 GMT 2017 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip + diff --git a/gradlew b/gradlew new file mode 100644 index 0000000..f53b21c --- /dev/null +++ b/gradlew @@ -0,0 +1,173 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save ( ) { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" + diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..f955316 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/kotlin-source/build.gradle b/kotlin-source/build.gradle new file mode 100644 index 0000000..d028f8f --- /dev/null +++ b/kotlin-source/build.gradle @@ -0,0 +1,118 @@ +repositories { + mavenLocal() + jcenter() + mavenCentral() + maven { url 'https://dl.bintray.com/kotlin/exposed' } + maven { url 'https://jitpack.io' } + maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' } +} + +apply plugin: 'kotlin' +apply plugin: 'net.corda.plugins.cordformation' +apply plugin: 'net.corda.plugins.quasar-utils' + +sourceSets { + main { + resources { + srcDir "../config/dev" + } + } + test { + resources { + srcDir "../config/test" + } + } + integrationTest { + kotlin { + compileClasspath += main.output + test.output + runtimeClasspath += main.output + test.output + srcDir file('src/integrationTest/kotlin') + } + } +} + +configurations { + integrationTestCompile.extendsFrom testCompile + integrationTestRuntime.extendsFrom testRuntime +} + +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" + testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version" + testCompile "junit:junit:$junit_version" + + // Corda integration dependencies + cordaCompile "net.corda:corda-core:$corda_release_version" + cordaCompile "net.corda:corda-finance:$corda_release_version" + cordaCompile "net.corda:corda-jackson:$corda_release_version" + cordaCompile "net.corda:corda-rpc:$corda_release_version" + cordaCompile "net.corda:corda-webserver-impl:$corda_release_version" + cordaRuntime "net.corda:corda:$corda_release_version" + cordaRuntime "net.corda:corda-webserver:$corda_release_version" + + testCompile "net.corda:corda-node-driver:$corda_release_version" + + // PlantUML: For the generation of sequence diagrams of the flows + compile 'net.sourceforge.plantuml:plantuml:8039' + + // CorDapp dependencies + // Specify your cordapp's dependencies below, including dependent CorDapps + cordapp "net.corda:corda-finance:$corda_release_version" +} + +tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { + kotlinOptions { + languageVersion = "1.1" + apiVersion = "1.1" + jvmTarget = "1.8" + javaParameters = true // Useful for reflection. + } +} + +task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) { + directory "./build/nodes" + networkMap "O=Controller,L=London,C=GB" + node { + name "O=Controller,L=London,C=GB" + advertisedServices = ["corda.notary.validating"] + p2pPort 10002 + rpcPort 10003 + cordapps = ["net.corda:corda-finance:$corda_release_version"] + } + node { + name "O=Issuing,L=London,C=GB" + advertisedServices = [] + p2pPort 10005 + rpcPort 10006 + webPort 10007 + cordapps = ["net.corda:corda-finance:$corda_release_version"] + rpcUsers = [[ user: "user1", "password": "test", "permissions": []]] + } + node { + name "O=Advising,L=New York,C=US" + advertisedServices = [] + p2pPort 10008 + rpcPort 10009 + webPort 10010 + cordapps = ["net.corda:corda-finance:$corda_release_version"] + rpcUsers = [[ user: "user1", "password": "test", "permissions": []]] + } + node { + name "O=Buyer,L=Paris,C=FR" + advertisedServices = [] + p2pPort 10011 + rpcPort 10012 + webPort 10013 + cordapps = ["net.corda:corda-finance:$corda_release_version"] + rpcUsers = [[ user: "user1", "password": "test", "permissions": []]] + } + node { + name "O=Seller,L=Paris,C=FR" + advertisedServices = [] + p2pPort 10014 + rpcPort 10015 + webPort 10016 + cordapps = ["net.corda:corda-finance:$corda_release_version"] + rpcUsers = [[ user: "user1", "password": "test", "permissions": []]] + } +} \ No newline at end of file diff --git a/kotlin-source/out/production/classes/META-INF/kotlin-source_main.kotlin_module b/kotlin-source/out/production/classes/META-INF/kotlin-source_main.kotlin_module new file mode 100644 index 0000000000000000000000000000000000000000..93f16abc6a3648a15eaeb9c2aff75d9dc7b64669 GIT binary patch literal 39 ocmZQzU|?ooU|@t|PA*X{j?|p|WWB_KOd(EJAAe`Zf=urc07L->VgLXD literal 0 HcmV?d00001 diff --git a/kotlin-source/out/production/resources/certificates/sslkeystore.jks b/kotlin-source/out/production/resources/certificates/sslkeystore.jks new file mode 100644 index 0000000000000000000000000000000000000000..8d244548541cb4d41b115aeb16aa989417e0842c GIT binary patch literal 2728 zcmezO_TO6u1_mZL=1tBoN=Z!4$xO{FNls*7U<}{uzc7P=HA2tSz!Io1%%F)W$e@Yw z`vPVrMkXeXqMfB}@f=rt47k`hwAwt**|IP*8Ppgm8z{0dhq5s9NI8SdQ}D}ANmcO7 zD@iTNO-;#6EJ;;xb~NNR-~=h+;$aFhHsmwl0dcr_SivqZB^7CM- zIe3^ty$v}H*g>*v!VF-AoItDFzVkA2GKw)6$cghBni(1x8XJH?lsK;uh-(Pt8iW{% z8;F8*GxP9e*gjE=w;;Rro!wX%|&d&Ko=QA8VIwogF}Fc5gHWCjO@%#3@m}C z4_3JIJi7g@`c8SCznbeJjf!-=ho2M|KmWac^_S?lttF2Xxy!3s+W9`NaGa(*y4 zC}o9Nm<$*UxIrrUS%5LY-T=|2$|7bU!p5P^#>mRb&J1)Pl*MGA4^k`0qG6!cgccZ0 zd|u$d@pTFS2TnW7ffbCU$nnhV$zb5dq{z^wabIEi9`j`VpzzB(WEmR0pUn5Wx_;Xa z2}7aF>lAdR0+lrW*7N@?_v=*8nnSDtt4}$$PTpoGr#dk!lvirPye;2<0Mj2MgE&gs zD=5k=116O0)JkY7Oam&qV$gWefRBv}=zbPPEha%mMpg!v#(k2f@A^10{J8VIrs~HN z-je%^&M1i3FY5YJkz1wP)3WAMUizml*162*%HxjxdKUeB)6R_y#uFx5bXu`q&SzOy zZ**>k`Tt7-*RDCvkr9nwncAj*bHV%dXPG!oPHf8S{B+B2$~@jC=T|DBijNXXt&11c z+qV|}*FBlAP*J<3XS1r5khIg}Iep)B?|+H$oYwWaIbiP!A?`=-O=67`AD;4(p0v?N z((r+u!-75w&7k!X{}XJAXD!T~9&6AV$UWypk2%m^%%eFhB@t(yAI)J@$YJmz+z(iU zdjX5^56~i9VEL;JTlz)xkh8WyiJ`QCB&3iOLMp<8^7Bh*U342*0wJR426D_{Mfbo~ zEMW!$h$5a-5?dIbg%!kr#fq&HwL`CWX8^r-GUP^jgAnS+Nv0xOku9MYea4Cai%; z?l=;Z?KDnau^+CMvM$erSSs!sPAFFQTKPTrxT)Sx#!Za|bCQKZWh#FJneW>FGIy!; z35tn23F>K> z|E;^~l}9J!oOXP7`0tvd+M<`5S6}v2?>KhZ<4~#|lS1O;hDROU8&*!~y3wsC+3_MW p>)xAX`?YROpHSA7wCr|*6y4*-dF_LKks literal 0 HcmV?d00001 diff --git a/kotlin-source/out/production/resources/certificates/truststore.jks b/kotlin-source/out/production/resources/certificates/truststore.jks new file mode 100644 index 0000000000000000000000000000000000000000..f21f91eb2f034d2f6f1fefb3e1b78a3ce340e5e5 GIT binary patch literal 1284 zcmezO_TO6u1_mZL7EaDDN=eMjD@iTNO-;#6EJ;mHWME(n=W8*`{*9J4G7P+qP8zp&SYL(}kec{@#cf-!tuB^&{Uz2J2;&g*l z16iQ2WcgUcSVZbS?WxY1sp{8PD;BH0d+ECC_w&pRgh0~5jEw(TI1Jc;6cZz(0XImD zp9L6OjN1&9K^#>U83QRc4sA9@R#tXqMmUR!jRh#lfE>Zh9t;MqOo|K_PO?nhU|JI~ zGxw2o#k;#d>Wua#O;rtLI@bRvQQ36=S0;tLJEww~|Mg!}jtcc@R7%x&s1cs;>yk9D zv30{lS-bV(;MB(rj`<>B>cE!b+<+<037FzuKvSF*OJReH_bFav2My8`H!%4CM@qAu z#>p%8!_`vO<(Uvm#a+V*#p+%wzXu;T)%(e~snK9gvQVf@<&PlqUHf0=E|q>9mALI{ z?9Kko$}X8tR&H5qU4@p?GX6T>dto_~_rFBU^#7Y({{5fr#D*oMF;OR_Jq`1}byvOe z=!Bfpj_(ftU2{}h^iuQc%bw~T$1ZyuO4VahNSxg8sH1zs$|+qpy7eSGUPNZyd$Vl6 k)~)Fi%DQsA-&gE#_7I)9&h$I~4x!_d_}+>f%6M%70C3w)nE(I) literal 0 HcmV?d00001 diff --git a/kotlin-source/out/production/resources/loc/assets/modal.js b/kotlin-source/out/production/resources/loc/assets/modal.js new file mode 100644 index 0000000..b8cd411 --- /dev/null +++ b/kotlin-source/out/production/resources/loc/assets/modal.js @@ -0,0 +1,16 @@ +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) diff --git a/kotlin-source/out/production/resources/loc/assets/panel.js b/kotlin-source/out/production/resources/loc/assets/panel.js new file mode 100644 index 0000000..3f2e1fd --- /dev/null +++ b/kotlin-source/out/production/resources/loc/assets/panel.js @@ -0,0 +1,144 @@ +// Global +var win = window, +doc = document; + +// Global Functions + +function hasClass(el, cls) { +return el.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); +}; + +function addClass(el, cls) { +if (!this.hasClass(el, cls)) { +el.className += " " + cls; +} +}; + +function removeClass(el, cls) { +if (this.hasClass(el, cls)) { + +var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); +el.className = el.className.replace(reg,' '); +} +}; + +// Elements + +var site = doc.getElementsByClassName('site-wrap')[0]; +var wrap = doc.getElementsByClassName('panel-wrap')[0]; + +var panel = doc.getElementsByClassName('panel'); + +var zoom = doc.getElementsByClassName('js-zoom'); + +var nav_up = doc.getElementsByClassName('js-up'), +nav_left = doc.getElementsByClassName('js-left'), +nav_right = doc.getElementsByClassName('js-right'), +nav_down = doc.getElementsByClassName('js-down'); + +var animation = doc.getElementsByClassName('js-animation'); + +// Tracking +var pos_x = 0, +pos_y = 0; + +function setPos(){ +wrap.style.transform = 'translateX(' + pos_x + '00%) translateY(' + pos_y + '00%)'; +setTimeout( function(){ +removeClass(wrap, 'animate'); +}, 600); +} + +setPos(); + +function moveUp(){ +addClass(wrap, 'animate'); +pos_y++; +setPos(); +} + +function moveLeft(){ +addClass(wrap, 'animate'); +pos_x++; +setPos(); +} + +function moveRight(){ +addClass(wrap, 'animate'); +pos_x--; +setPos(); +} + +function moveDown(){ +addClass(wrap, 'animate'); +pos_y--; +setPos(); +} + +for (var x = 0; x < nav_up.length; x++){ +nav_up[x].addEventListener('click', moveUp); +} + +for (var x = 0; x < nav_left.length; x++){ +nav_left[x].addEventListener('click', moveLeft); +} + +for (var x = 0; x < nav_right.length; x++){ +nav_right[x].addEventListener('click', moveRight); +} + +for (var x = 0; x < nav_down.length; x++){ +nav_down[x].addEventListener('click', moveDown); +} + +// Animations + +for (var x = 0; x < animation.length; x++){ +( function(_x){ +animation[_x].addEventListener('click', function(){ + toggleAnimation(_x); +}); +})(x); +} + +function toggleAnimation(i){ +for (var x = 0; x < animation.length; x++){ +if (i === x){ + addClass(animation[x], 'active'); + addClass(wrap, animation[x].getAttribute('data-animation')); +} else { + removeClass(animation[x], 'active'); + removeClass(wrap, animation[x].getAttribute('data-animation')); +} +} + +} + +for (var x = 0; x < zoom.length; x++){ +zoom[x].addEventListener('click', zoomOut); +} + +function zoomOut(e){ +e.stopPropagation(); +addClass(site, 'show-all'); +for (var x = 0; x < panel.length; x++){ +( function(_x){ + panel[_x].addEventListener('click', setPanelAndZoom); +})(x); +} +} + +function setPanelAndZoom(e){ +pos_x = -e.target.getAttribute('data-x-pos'), +pos_y = e.target.getAttribute('data-y-pos'); +setPos(); +zoomIn(); +} + + +function zoomIn(){ +for (var x = 0; x < panel.length; x++){ +panel[x].removeEventListener('click', setPanelAndZoom); +} +removeClass(site, 'show-all'); +} diff --git a/kotlin-source/out/production/resources/loc/backup/assets/modal.js b/kotlin-source/out/production/resources/loc/backup/assets/modal.js new file mode 100644 index 0000000..b8cd411 --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/assets/modal.js @@ -0,0 +1,16 @@ +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) diff --git a/kotlin-source/out/production/resources/loc/backup/assets/panel.js b/kotlin-source/out/production/resources/loc/backup/assets/panel.js new file mode 100644 index 0000000..3f2e1fd --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/assets/panel.js @@ -0,0 +1,144 @@ +// Global +var win = window, +doc = document; + +// Global Functions + +function hasClass(el, cls) { +return el.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); +}; + +function addClass(el, cls) { +if (!this.hasClass(el, cls)) { +el.className += " " + cls; +} +}; + +function removeClass(el, cls) { +if (this.hasClass(el, cls)) { + +var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); +el.className = el.className.replace(reg,' '); +} +}; + +// Elements + +var site = doc.getElementsByClassName('site-wrap')[0]; +var wrap = doc.getElementsByClassName('panel-wrap')[0]; + +var panel = doc.getElementsByClassName('panel'); + +var zoom = doc.getElementsByClassName('js-zoom'); + +var nav_up = doc.getElementsByClassName('js-up'), +nav_left = doc.getElementsByClassName('js-left'), +nav_right = doc.getElementsByClassName('js-right'), +nav_down = doc.getElementsByClassName('js-down'); + +var animation = doc.getElementsByClassName('js-animation'); + +// Tracking +var pos_x = 0, +pos_y = 0; + +function setPos(){ +wrap.style.transform = 'translateX(' + pos_x + '00%) translateY(' + pos_y + '00%)'; +setTimeout( function(){ +removeClass(wrap, 'animate'); +}, 600); +} + +setPos(); + +function moveUp(){ +addClass(wrap, 'animate'); +pos_y++; +setPos(); +} + +function moveLeft(){ +addClass(wrap, 'animate'); +pos_x++; +setPos(); +} + +function moveRight(){ +addClass(wrap, 'animate'); +pos_x--; +setPos(); +} + +function moveDown(){ +addClass(wrap, 'animate'); +pos_y--; +setPos(); +} + +for (var x = 0; x < nav_up.length; x++){ +nav_up[x].addEventListener('click', moveUp); +} + +for (var x = 0; x < nav_left.length; x++){ +nav_left[x].addEventListener('click', moveLeft); +} + +for (var x = 0; x < nav_right.length; x++){ +nav_right[x].addEventListener('click', moveRight); +} + +for (var x = 0; x < nav_down.length; x++){ +nav_down[x].addEventListener('click', moveDown); +} + +// Animations + +for (var x = 0; x < animation.length; x++){ +( function(_x){ +animation[_x].addEventListener('click', function(){ + toggleAnimation(_x); +}); +})(x); +} + +function toggleAnimation(i){ +for (var x = 0; x < animation.length; x++){ +if (i === x){ + addClass(animation[x], 'active'); + addClass(wrap, animation[x].getAttribute('data-animation')); +} else { + removeClass(animation[x], 'active'); + removeClass(wrap, animation[x].getAttribute('data-animation')); +} +} + +} + +for (var x = 0; x < zoom.length; x++){ +zoom[x].addEventListener('click', zoomOut); +} + +function zoomOut(e){ +e.stopPropagation(); +addClass(site, 'show-all'); +for (var x = 0; x < panel.length; x++){ +( function(_x){ + panel[_x].addEventListener('click', setPanelAndZoom); +})(x); +} +} + +function setPanelAndZoom(e){ +pos_x = -e.target.getAttribute('data-x-pos'), +pos_y = e.target.getAttribute('data-y-pos'); +setPos(); +zoomIn(); +} + + +function zoomIn(){ +for (var x = 0; x < panel.length; x++){ +panel[x].removeEventListener('click', setPanelAndZoom); +} +removeClass(site, 'show-all'); +} diff --git a/kotlin-source/out/production/resources/loc/backup/index.html b/kotlin-source/out/production/resources/loc/backup/index.html new file mode 100644 index 0000000..31d910c --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/index.html @@ -0,0 +1,19 @@ + + + + Trade Finance - Letter of Credit + + + + + + + +
+ Loading... +
+ + + + diff --git a/kotlin-source/out/production/resources/loc/backup/inline.bundle.js b/kotlin-source/out/production/resources/loc/backup/inline.bundle.js new file mode 100644 index 0000000..c162cca --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/inline.bundle.js @@ -0,0 +1,151 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ var parentJsonpFunction = window["webpackJsonp"]; +/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = [], result; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ if(executeModules) { +/******/ for(i=0; i < executeModules.length; i++) { +/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]); +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // objects to store loaded and loading chunks +/******/ var installedChunks = { +/******/ "inline": 0 +/******/ }; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData === 0) { +/******/ return new Promise(function(resolve) { resolve(); }); +/******/ } +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ return installedChunkData[2]; +/******/ } +/******/ +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ installedChunkData[2] = promise; +/******/ +/******/ // start chunk loading +/******/ var head = document.getElementsByTagName('head')[0]; +/******/ var script = document.createElement('script'); +/******/ script.type = 'text/javascript'; +/******/ script.charset = 'utf-8'; +/******/ script.async = true; +/******/ script.timeout = 120000; +/******/ +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = __webpack_require__.p + "" + chunkId + ".chunk.js"; +/******/ var timeout = setTimeout(onScriptComplete, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ function onScriptComplete() { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ head.appendChild(script); +/******/ +/******/ return promise; +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ }) +/************************************************************************/ +/******/ ([]); +//# sourceMappingURL=inline.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/out/production/resources/loc/backup/main.bundle.js b/kotlin-source/out/production/resources/loc/backup/main.bundle.js new file mode 100644 index 0000000..cf759dc --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/main.bundle.js @@ -0,0 +1,5761 @@ +webpackJsonp(["main"],{ + +/***/ "../../../../../src/$$_gendir lazy recursive": +/***/ (function(module, exports) { + +function webpackEmptyAsyncContext(req) { + return new Promise(function(resolve, reject) { reject(new Error("Cannot find module '" + req + "'.")); }); +} +webpackEmptyAsyncContext.keys = function() { return []; }; +webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; +module.exports = webpackEmptyAsyncContext; +webpackEmptyAsyncContext.id = "../../../../../src/$$_gendir lazy recursive"; + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
Active
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
ApplicantBeneficiaryAmountDescriptionAdvisory PaidPayment from Buyer
\r\n {{loc.applicant}}\r\n \r\n {{loc.beneficiary}}\r\n \r\n {{loc.amount + \" \" + loc.currency}}\r\n \r\n {{loc.description}}\r\n \r\n {{loc.advisoryPaid}}\r\n \r\n {{loc.issuerPaid}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ActiveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ActiveLocComponent = (function () { + function ActiveLocComponent(modalService, locService, refreshService, route) { + var _this = this; + this.modalService = modalService; + this.locService = locService; + this.refreshService = refreshService; + this.route = route; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + ActiveLocComponent.prototype.payAdvisory = function (id) { + var _this = this; + this.locService.payAdviser(id).then(function (response) { return _this.callResponse(response); }); + }; + ActiveLocComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString(); + }; + ActiveLocComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString(); + }; + ActiveLocComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_8__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + ActiveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ActiveLocComponent.prototype.update = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + }; + ActiveLocComponent.prototype.ngOnInit = function () { + this.update(); + }; + return ActiveLocComponent; +}()); +ActiveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'active-loc', + template: __webpack_require__("../../../../../src/app/active-loc/active-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/active-loc/active-loc.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__angular_router__["a" /* ActivatedRoute */]) === "function" && _d || Object]) +], ActiveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=active-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Purchase Orders Submitted
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DateIdCounterpartyDescriptionQuantityUnit Price
\n {{invoice.invoiceDate | date}}\n \n {{invoice.invoiceId}}\n \n {{invoice.buyerName}}\n \n {{invoice.goodsDescription}}\n \n {{invoice.goodsQuantity}}\n \n {{invoice.goodsUnitPrice}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllInvoiceSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AllInvoiceSellerComponent = (function () { + function AllInvoiceSellerComponent(docService, modalService, refreshService) { + var _this = this; + this.docService = docService; + this.modalService = modalService; + this.refreshService = refreshService; + this.invoices = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AllInvoiceSellerComponent.prototype.openInvoiceModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Invoice'; + this.bsModalRef.content.invoiceId = ref; + }; + AllInvoiceSellerComponent.prototype.update = function () { + var _this = this; + this.docService.getInvoices().then(function (invoices) { return _this.invoices = invoices; }); + }; + AllInvoiceSellerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AllInvoiceSellerComponent; +}()); +AllInvoiceSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-invoice-seller', + template: __webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AllInvoiceSellerComponent); + +var _a, _b, _c; +//# sourceMappingURL=all-invoice-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Purchase Orders
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DateIdCounterpartyDescriptionQuantityUnit Price
\n {{invoice.invoiceDate | date}}\n \n {{invoice.invoiceId}}\n \n {{invoice.sellerName}}\n \n {{invoice.goodsDescription}}\n \n {{invoice.goodsQuantity}}\n \n {{invoice.goodsUnitPrice}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllInvoiceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AllInvoiceComponent = (function () { + function AllInvoiceComponent(docService, modalService) { + this.docService = docService; + this.modalService = modalService; + this.invoices = []; + } + AllInvoiceComponent.prototype.openModalWithComponent = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_apply_modal_component__["a" /* ApplyModalComponent */]); + this.bsModalRef.content.title = 'Apply'; + this.bsModalRef.content.id = ref; + }; + AllInvoiceComponent.prototype.openInvoiceModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Invoice'; + this.bsModalRef.content.invoiceId = ref; + }; + AllInvoiceComponent.prototype.ngOnInit = function () { + var _this = this; + this.docService.getInvoices().then(function (invoices) { return _this.invoices = invoices; }); + }; + return AllInvoiceComponent; +}()); +AllInvoiceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-invoice', + template: __webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.css")], + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], AllInvoiceComponent); + +var _a, _b; +//# sourceMappingURL=all-invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Letters of Credit
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
IdApplicantBeneficiaryAmountDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_docs_modal_component__ = __webpack_require__("../../../../../src/app/modals/docs-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var AllLocAdvisingComponent = (function () { + function AllLocAdvisingComponent(modalService, locService) { + this.modalService = modalService; + this.locService = locService; + this.locs = []; + } + AllLocAdvisingComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_docs_modal_component__["a" /* DocsModalComponent */]); + this.bsModalRef.content.title = 'Documents'; + }; + AllLocAdvisingComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + AllLocAdvisingComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + }; + AllLocAdvisingComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + }; + AllLocAdvisingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + AllLocAdvisingComponent.prototype.payBeneficiary = function (id) { + var _this = this; + this.locService.paySeller(id).then(function (response) { return _this.callResponse(response); }); + }; + AllLocAdvisingComponent.prototype.claimFunds = function (id) { + this.locService.claimFunds(id); + }; + AllLocAdvisingComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + }; + return AllLocAdvisingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocAdvisingComponent.prototype, "getAllUrl", void 0); +AllLocAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-advising', + template: __webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], AllLocAdvisingComponent); + +var _a, _b; +//# sourceMappingURL=all-loc-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Live Orders
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
IdApplicantBeneficiaryAmountDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var AllLocBuyerComponent = (function () { + function AllLocBuyerComponent(modalService, locService, refreshService) { + var _this = this; + this.modalService = modalService; + this.locService = locService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AllLocBuyerComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + }; + AllLocBuyerComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + }; + AllLocBuyerComponent.prototype.payIssuer = function (id) { + var _this = this; + this.locService.payIssuer(id).then(function (response) { return _this.callResponse(response); }); + }; + AllLocBuyerComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + AllLocBuyerComponent.prototype.update = function () { + var _this = this; + this.locService.getAllLocs().then(function (locs) { return _this.locs = locs; }); + }; + AllLocBuyerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AllLocBuyerComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocBuyerComponent.prototype, "getAllUrl", void 0); +AllLocBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-buyer', + template: __webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AllLocBuyerComponent); + +var _a, _b, _c; +//# sourceMappingURL=all-loc-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n Orders\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Order RefBuyerAdvising BankAmountQuantityDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.advisory}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.quantity}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_ship_modal_component__ = __webpack_require__("../../../../../src/app/modals/ship-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var AllLocSellerComponent = (function () { + function AllLocSellerComponent(locService, modalService) { + this.locService = locService; + this.modalService = modalService; + this.locs = []; + } + /*shipGoods(loc: LocSummary): void { + if (confirm('Confirm you want to ship ' + loc.id)) { + this.locService.shipGoods(loc); + } + }*/ + AllLocSellerComponent.prototype.createInvoice = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Create'; + }; + AllLocSellerComponent.prototype.shipGoods = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_ship_modal_component__["a" /* ShipModalComponent */]); + this.bsModalRef.content.title = 'Upload trade documents'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.addBol = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]); + this.bsModalRef.content.title = 'Bill of Lading'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.addPl = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]); + this.bsModalRef.content.title = 'Packing List'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + AllLocSellerComponent.prototype.rejectOrder = function (loc) { + }; + AllLocSellerComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + // this.locService.getDummySummary().then(locs => this.locs = locs); + }; + return AllLocSellerComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocSellerComponent.prototype, "getAllUrl", void 0); +AllLocSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-seller', + template: __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], AllLocSellerComponent); + +var _a, _b; +//# sourceMappingURL=all-loc-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Letters of Credit
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AllLocComponent = (function () { + function AllLocComponent(locService) { + this.locService = locService; + this.locs = []; + } + AllLocComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getAllLocApps(this.getAllUrl).then(function (locs) { return _this.locs = locs; }); + }; + return AllLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocComponent.prototype, "getAllUrl", void 0); +AllLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc', + template: __webpack_require__("../../../../../src/app/all-loc/all-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc/all-loc.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AllLocComponent); + +var _a; +//# sourceMappingURL=all-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/app-routing.module.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppRoutingModule; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dashboard_issuer_dashboard_issuer_component__ = __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dashboard_advising_dashboard_advising_component__ = __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dashboard_buyer_dashboard_buyer_component__ = __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__dashboard_seller_dashboard_seller_component__ = __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__dashboard_overall_dashboard_overall_component__ = __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__active_loc_active_loc_component__ = __webpack_require__("../../../../../src/app/active-loc/active-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__apply_for_loc_apply_for_loc_component__ = __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__approve_loc_approve_loc_component__ = __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__bill_of_lading_bill_of_lading_component__ = __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__packing_list_packing_list_component__ = __webpack_require__("../../../../../src/app/packing-list/packing-list.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__ = __webpack_require__("../../../../../src/app/invoice-create/invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__ship_ship_component__ = __webpack_require__("../../../../../src/app/ship/ship.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__all_loc_seller_all_loc_seller_component__ = __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__login_login_component__ = __webpack_require__("../../../../../src/app/login/login.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__timeline_timeline_component__ = __webpack_require__("../../../../../src/app/timeline/timeline.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + + + + + + + + + + + + +var routes = [ + { path: '', redirectTo: '/login', pathMatch: 'full' }, + { path: 'dashboard', component: __WEBPACK_IMPORTED_MODULE_6__dashboard_overall_dashboard_overall_component__["a" /* DashboardOverallComponent */] }, + { path: 'approve/:id', component: __WEBPACK_IMPORTED_MODULE_9__approve_loc_approve_loc_component__["a" /* ApproveLocComponent */] }, + { path: 'activeloc', component: __WEBPACK_IMPORTED_MODULE_7__active_loc_active_loc_component__["a" /* ActiveLocComponent */] }, + { path: 'buyer', component: __WEBPACK_IMPORTED_MODULE_4__dashboard_buyer_dashboard_buyer_component__["a" /* DashboardBuyerComponent */] }, + { path: 'seller', component: __WEBPACK_IMPORTED_MODULE_5__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */] }, + { path: 'issuing', component: __WEBPACK_IMPORTED_MODULE_2__dashboard_issuer_dashboard_issuer_component__["a" /* DashboardIssuerComponent */] }, + { path: 'advising', component: __WEBPACK_IMPORTED_MODULE_3__dashboard_advising_dashboard_advising_component__["a" /* DashboardAdvisingComponent */] }, + { path: 'applyforloc', component: __WEBPACK_IMPORTED_MODULE_8__apply_for_loc_apply_for_loc_component__["a" /* ApplyForLocComponent */] }, + { path: 'billoflading', component: __WEBPACK_IMPORTED_MODULE_10__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */] }, + { path: 'packinglist', component: __WEBPACK_IMPORTED_MODULE_11__packing_list_packing_list_component__["a" /* PackingListComponent */] }, + { path: 'invoice', component: __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */] }, + { path: 'invoice/:id', component: __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */] }, + { path: 'ship/:id', component: __WEBPACK_IMPORTED_MODULE_13__ship_ship_component__["a" /* ShipComponent */] }, + { path: 'locsummary/:first', component: __WEBPACK_IMPORTED_MODULE_14__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */] }, + { path: 'login', component: __WEBPACK_IMPORTED_MODULE_15__login_login_component__["a" /* LoginComponent */] }, + { path: '**', component: __WEBPACK_IMPORTED_MODULE_15__login_login_component__["a" /* LoginComponent */] }, + { path: 'test', component: __WEBPACK_IMPORTED_MODULE_16__timeline_timeline_component__["a" /* TimelineComponent */] } +]; +var AppRoutingModule = (function () { + function AppRoutingModule() { + } + return AppRoutingModule; +}()); +AppRoutingModule = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"])({ + imports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["b" /* RouterModule */].forRoot(routes)], + exports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["b" /* RouterModule */]] + }) +], AppRoutingModule); + +//# sourceMappingURL=app-routing.module.js.map + +/***/ }), + +/***/ "../../../../../src/app/app.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/app.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/app.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var AppComponent = (function () { + function AppComponent() { + this.title = 'Trade Finance'; + } + return AppComponent; +}()); +AppComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'my-app', + template: __webpack_require__("../../../../../src/app/app.component.html"), + styles: [__webpack_require__("../../../../../src/app/app.component.scss")] + }) +], AppComponent); + +//# sourceMappingURL=app.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/app.module.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__("../../../platform-browser/@angular/platform-browser.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser_animations__ = __webpack_require__("../../../platform-browser/@angular/platform-browser/animations.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__("../../../forms/@angular/forms.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_routing_module__ = __webpack_require__("../../../../../src/app/app-routing.module.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_angular_in_memory_web_api__ = __webpack_require__("../../../../angular-in-memory-web-api/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__in_memory_data_service__ = __webpack_require__("../../../../../src/app/in-memory-data.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__app_component__ = __webpack_require__("../../../../../src/app/app.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__active_loc_active_loc_component__ = __webpack_require__("../../../../../src/app/active-loc/active-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__apply_for_loc_apply_for_loc_component__ = __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__services_issuing_bank_service__ = __webpack_require__("../../../../../src/app/services/issuing-bank.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__services_advising_bank_service__ = __webpack_require__("../../../../../src/app/services/advising-bank.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__ = __webpack_require__("../../../../../src/app/main-menu/main-menu.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__header_header_component__ = __webpack_require__("../../../../../src/app/header/header.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__ = __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__ = __webpack_require__("../../../../ngx-bootstrap/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__helpers_date_picker_date_picker_component__ = __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__ = __webpack_require__("../../../../../src/app/modals/docs-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__ = __webpack_require__("../../../../../src/app/modals/ship-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__finances_finances_component__ = __webpack_require__("../../../../../src/app/finances/finances.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__cash_balance_cash_balance_component__ = __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38_ng2_charts__ = __webpack_require__("../../../../ng2-charts/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38_ng2_charts___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_38_ng2_charts__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__all_loc_all_loc_component__ = __webpack_require__("../../../../../src/app/all-loc/all-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__ = __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__approve_loc_approve_loc_component__ = __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__ = __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__ = __webpack_require__("../../../../../src/app/packing-list/packing-list.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__invoice_create_invoice_component__ = __webpack_require__("../../../../../src/app/invoice-create/invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__invoice_view_invoice_view_component__ = __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__dashboard_issuer_dashboard_issuer_component__ = __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__dashboard_advising_dashboard_advising_component__ = __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__dashboard_buyer_dashboard_buyer_component__ = __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__ = __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__dashboard_overall_dashboard_overall_component__ = __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__ship_ship_component__ = __webpack_require__("../../../../../src/app/ship/ship.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__goods_shipped_goods_shipped_component__ = __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__ = __webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__docs_docs_component__ = __webpack_require__("../../../../../src/app/docs/docs.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__all_loc_advising_all_loc_advising_component__ = __webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__document_upload_document_upload_component__ = __webpack_require__("../../../../../src/app/document-upload/document-upload.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__ = __webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__all_invoice_seller_all_invoice_seller_component__ = __webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__loc_state_view_loc_state_view_component__ = __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__loc_app_view_loc_app_view_component__ = __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__awaiting_approval_issuer_awaiting_approval_issuer_component__ = __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__spinner_spinner_component__ = __webpack_require__("../../../../../src/app/spinner/spinner.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__bill_of_lading_view_bill_of_lading_view_component__ = __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__packing_list_view_packing_list_view_component__ = __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__login_login_component__ = __webpack_require__("../../../../../src/app/login/login.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__comma_seperated_number_pipe__ = __webpack_require__("../../../../../src/app/comma-seperated-number.pipe.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__services_identity_service__ = __webpack_require__("../../../../../src/app/services/identity.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69_ng2_odometer__ = __webpack_require__("../../../../ng2-odometer/dist/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69_ng2_odometer___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_69_ng2_odometer__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__timeline_timeline_component__ = __webpack_require__("../../../../../src/app/timeline/timeline.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + +// Imports for loading & configuring the in-memory web api + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +var AppModule = (function () { + function AppModule() { + } + return AppModule; +}()); +AppModule = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"])({ + imports: [ + __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */], + __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */], + __WEBPACK_IMPORTED_MODULE_3__angular_forms__["a" /* FormsModule */], + __WEBPACK_IMPORTED_MODULE_4__angular_http__["e" /* HttpModule */], + __WEBPACK_IMPORTED_MODULE_6_angular_in_memory_web_api__["a" /* InMemoryWebApiModule */].forRoot(__WEBPACK_IMPORTED_MODULE_7__in_memory_data_service__["a" /* InMemoryDataService */], { + passThruUnknownUrl: true + }), + __WEBPACK_IMPORTED_MODULE_5__app_routing_module__["a" /* AppRoutingModule */], + __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__["a" /* DatepickerModule */].forRoot(), + __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__["b" /* ModalModule */].forRoot(), + __WEBPACK_IMPORTED_MODULE_38_ng2_charts__["ChartsModule"], + __WEBPACK_IMPORTED_MODULE_69_ng2_odometer__["Ng2OdometerModule"].forRoot() + ], + declarations: [ + __WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */], + __WEBPACK_IMPORTED_MODULE_10__active_loc_active_loc_component__["a" /* ActiveLocComponent */], + __WEBPACK_IMPORTED_MODULE_11__apply_for_loc_apply_for_loc_component__["a" /* ApplyForLocComponent */], + __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__["a" /* MainMenuComponent */], + __WEBPACK_IMPORTED_MODULE_19__header_header_component__["a" /* HeaderComponent */], + __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__["a" /* AwaitingApprovalComponent */], + __WEBPACK_IMPORTED_MODULE_36__finances_finances_component__["a" /* FinancesComponent */], + __WEBPACK_IMPORTED_MODULE_22__helpers_date_picker_date_picker_component__["a" /* DatePickerComponent */], + __WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__["a" /* ApplyModalComponent */], + __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__["a" /* DocsModalComponent */], + __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__["a" /* ShipModalComponent */], + __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */], + __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */], + __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], + __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], + __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], + __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */], + __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */], + __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__["a" /* ResponseModalComponent */], + __WEBPACK_IMPORTED_MODULE_37__cash_balance_cash_balance_component__["a" /* CashBalanceComponent */], + __WEBPACK_IMPORTED_MODULE_39__all_loc_all_loc_component__["a" /* AllLocComponent */], + __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */], + __WEBPACK_IMPORTED_MODULE_41__approve_loc_approve_loc_component__["a" /* ApproveLocComponent */], + __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */], + __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__["a" /* PackingListComponent */], + __WEBPACK_IMPORTED_MODULE_44__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */], + __WEBPACK_IMPORTED_MODULE_45__invoice_view_invoice_view_component__["a" /* InvoiceViewComponent */], + __WEBPACK_IMPORTED_MODULE_46__dashboard_issuer_dashboard_issuer_component__["a" /* DashboardIssuerComponent */], + __WEBPACK_IMPORTED_MODULE_47__dashboard_advising_dashboard_advising_component__["a" /* DashboardAdvisingComponent */], + __WEBPACK_IMPORTED_MODULE_48__dashboard_buyer_dashboard_buyer_component__["a" /* DashboardBuyerComponent */], + __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */], + __WEBPACK_IMPORTED_MODULE_50__dashboard_overall_dashboard_overall_component__["a" /* DashboardOverallComponent */], + __WEBPACK_IMPORTED_MODULE_51__ship_ship_component__["a" /* ShipComponent */], + __WEBPACK_IMPORTED_MODULE_52__goods_shipped_goods_shipped_component__["a" /* GoodsShippedComponent */], + __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__["a" /* AllLocBuyerComponent */], + __WEBPACK_IMPORTED_MODULE_54__docs_docs_component__["a" /* DocsComponent */], + __WEBPACK_IMPORTED_MODULE_55__all_loc_advising_all_loc_advising_component__["a" /* AllLocAdvisingComponent */], + __WEBPACK_IMPORTED_MODULE_56__document_upload_document_upload_component__["a" /* DocumentUploadComponent */], + __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__["FileSelectDirective"], + __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__["FileDropDirective"], + __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__["a" /* AllInvoiceComponent */], + __WEBPACK_IMPORTED_MODULE_59__all_invoice_seller_all_invoice_seller_component__["a" /* AllInvoiceSellerComponent */], + __WEBPACK_IMPORTED_MODULE_60__loc_state_view_loc_state_view_component__["a" /* LocStateViewComponent */], + __WEBPACK_IMPORTED_MODULE_61__loc_app_view_loc_app_view_component__["a" /* LocAppViewComponent */], + __WEBPACK_IMPORTED_MODULE_62__awaiting_approval_issuer_awaiting_approval_issuer_component__["a" /* AwaitingApprovalIssuerComponent */], + __WEBPACK_IMPORTED_MODULE_63__spinner_spinner_component__["a" /* SpinnerComponent */], + __WEBPACK_IMPORTED_MODULE_64__bill_of_lading_view_bill_of_lading_view_component__["a" /* BillOfLadingViewComponent */], + __WEBPACK_IMPORTED_MODULE_65__packing_list_view_packing_list_view_component__["a" /* PackingListViewComponent */], + __WEBPACK_IMPORTED_MODULE_66__login_login_component__["a" /* LoginComponent */], + __WEBPACK_IMPORTED_MODULE_67__comma_seperated_number_pipe__["a" /* CommaSeperatedNumberPipe */], + __WEBPACK_IMPORTED_MODULE_70__timeline_timeline_component__["a" /* TimelineComponent */], + __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */] + ], + providers: [ + __WEBPACK_IMPORTED_MODULE_12__loc_service__["a" /* LocService */], + __WEBPACK_IMPORTED_MODULE_13__services_docs_service__["a" /* DocsService */], + __WEBPACK_IMPORTED_MODULE_14__services_credit_types_credit_type_service__["a" /* CreditTypeService */], + __WEBPACK_IMPORTED_MODULE_15__services_common_common_service__["a" /* CommonService */], + __WEBPACK_IMPORTED_MODULE_16__services_issuing_bank_service__["a" /* IssuingBankService */], + __WEBPACK_IMPORTED_MODULE_17__services_advising_bank_service__["a" /* AdvisingBankService */], + __WEBPACK_IMPORTED_MODULE_8__services_refresh_service__["a" /* RefreshService */], + __WEBPACK_IMPORTED_MODULE_68__services_identity_service__["a" /* IdentityService */] + ], + entryComponents: [__WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__["a" /* ApplyModalComponent */], __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__["a" /* DocsModalComponent */], __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__["a" /* ShipModalComponent */], __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */], + __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */], __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */], __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__["a" /* ResponseModalComponent */], __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], + __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */], __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */], __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */], + __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__["a" /* MainMenuComponent */], __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__["a" /* AllLocBuyerComponent */], __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */], __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */], + __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__["a" /* AllInvoiceComponent */], __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__["a" /* AwaitingApprovalComponent */], __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */], __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__["a" /* PackingListComponent */]], + bootstrap: [__WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */]] + }) +], AppModule); + +//# sourceMappingURL=app.module.js.map + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".ng-valid[required], .ng-valid.required {\r\n border-left: 5px solid #42A948; /* green */\r\n}\r\n\r\n.ng-invalid:not(form) {\r\n border-left: 5px solid #a94442; /* red */\r\n}\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n\n
\n
\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n
\n
\n\n
\n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n\n
\n \n \n\n
\n \n \n \n \n
\n
\n\n
\n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyForLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc__ = __webpack_require__("../../../../../src/app/loc.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js__ = __webpack_require__("../../../../../src/assets/modal.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__assets_modal_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ApplyForLocComponent = (function () { + function ApplyForLocComponent(creditTypesService, commonService, locService, modalComponent, modalService) { + this.creditTypesService = creditTypesService; + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.today = Date.now(); + this.loc = new __WEBPACK_IMPORTED_MODULE_1__loc__["a" /* Loc */](); + this.submitted = false; + } + ApplyForLocComponent.prototype.getCreditTypes = function () { + var _this = this; + this.creditTypesService.getCreditTypes().then(function (creditTypes) { return _this.creditTypes = creditTypes; }); + }; + ApplyForLocComponent.prototype.getCurrencies = function () { + var _this = this; + this.commonService.getCurrencies().then(function (currencies) { return _this.currencies = currencies; }); + }; + ApplyForLocComponent.prototype.getWeightUnits = function () { + var _this = this; + this.commonService.getWeightUnits().then(function (weightunits) { return _this.weightunits = weightunits; }); + }; + ApplyForLocComponent.prototype.getAdvisingBanks = function () { + var _this = this; + this.locService.getPeers().then(function (advisingBanks) { return _this.advisingBanks = advisingBanks; }); + }; + ApplyForLocComponent.prototype.getMe = function () { + var _this = this; + this.locService.getMe('').then(function (me) { return _this.applicant = me.name; }); + }; + ApplyForLocComponent.prototype.createLoc = function () { + var _this = this; + this.locService.createLoc(this.loc).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApplyForLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApplyForLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApplyForLocComponent.prototype.autoComplete = function () { + var d = new Date(); + this.loc.applicationDate = d; + this.loc.applicationId = this.orderRef[0]; + this.loc.typeCredit = 'SIGHT'; + this.loc.amount = 30000; + this.loc.issuer = 'Issuer Bank'; + this.loc.currency = 'USD'; + var year = d.getFullYear() + 1; + var month = d.getMonth(); + var day = d.getDay(); + this.loc.expiryDate = new Date(year, month, day); + this.loc.portLoadingAddress = '1 Silicon Way'; + this.loc.portLoadingCity = 'San Francisco'; + this.loc.portLoadingCountry = 'US'; + this.loc.portDischargeAddress = '3 Sea Way'; + this.loc.portDischargeCity = 'Dover'; + this.loc.portDischargeCountry = 'GB'; + this.loc.goodsDescription = 'OLED 6" Screens'; + this.loc.goodsQuantity = 10000; + this.loc.goodsWeight = 1000; + this.loc.goodsWeightUnit = 'KG'; + this.loc.goodsUnitPrice = 400; + this.loc.goodsPurchaseOrderRef = this.orderRef[0]; + this.loc.placePresentationCountry = 'GB'; + this.loc.placePresentationCity = 'Dover'; + this.loc.placePresentationState = 'Dover'; + this.loc.lastShipmentDate = this.loc.expiryDate; + this.loc.periodPresentation = 1; + this.loc.beneficiary = 'Seller'; + this.loc.applicant = this.applicant; + this.loc.advisingBank = 'Advisory Bank'; + }; + ApplyForLocComponent.prototype.ngOnInit = function () { + this.getCreditTypes(); + this.getCurrencies(); + this.getWeightUnits(); + this.getAdvisingBanks(); + this.getMe(); + this.loc.applicant = this.applicant; + this.loc.applicationId = this.orderRef; + }; + ApplyForLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.loc.currency = 'USD'; + this.createLoc(); + }; + return ApplyForLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApplyForLocComponent.prototype, "orderRef", void 0); +ApplyForLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'apply-for-loc', + template: __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */], __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */], __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */]) === "function" && _d || Object, typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _e || Object]) +], ApplyForLocComponent); + +var _a, _b, _c, _d, _e; +//# sourceMappingURL=apply-for-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var ApproveLocComponent = (function () { + function ApproveLocComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + ApproveLocComponent.prototype.approveLoc = function () { + var _this = this; + this.locService.approveLoc(this.loc.txRef).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApproveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */], Object.assign({}, { class: 'gray' })); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApproveLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApproveLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.approveLoc(); + }; + ApproveLocComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return ApproveLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApproveLocComponent.prototype, "ref", void 0); +ApproveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'approve-loc', + template: __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], ApproveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=approve-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\n min-height: 250px; }\n\nbody {\n font: 25px Oswald; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalIssuerComponent = (function () { + function AwaitingApprovalIssuerComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalIssuerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Approval'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalIssuerComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocsIssuer().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalIssuerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalIssuerComponent; +}()); +AwaitingApprovalIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval-issuer', + template: __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalIssuerComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n\r\nbody {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalComponent = (function () { + function AwaitingApprovalComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Application'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocs().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalComponent; +}()); +AwaitingApprovalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval', + template: __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n
\n
\n \n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var BillOfLadingViewComponent = (function () { + function BillOfLadingViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + BillOfLadingViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBol(this.id, this.requestor).then(function (bol) { return _this.bol = bol; }); + } + }; + return BillOfLadingViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "requestor", void 0); +BillOfLadingViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading-view', + template: __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], BillOfLadingViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=bill-of-lading-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var BillOfLadingComponent = (function () { + function BillOfLadingComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.bol = new __WEBPACK_IMPORTED_MODULE_1__bol__["a" /* Bol */](); + this.submitted = false; + } + BillOfLadingComponent.prototype.createBol = function () { + var _this = this; + this.bol.advisingBank = this.loc[0].advisory; + this.bol.issuingBank = this.loc[0].issuer; + this.docsService.createBol(this.bol).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + BillOfLadingComponent.prototype.autoComplete = function () { + var d = new Date(); + this.bol.billOfLadingId = this.loc[0].orderRef; + this.bol.issueDate = d; + this.bol.carrierOwner = 'Alice'; + this.bol.nameOfVessel = 'SurfRider'; + this.bol.goodsDescription = this.loc[0].description; + this.bol.goodsQuantity = 10000; + this.bol.dateOfShipment = d; + this.bol.portOfLoadingCountry = 'China'; + this.bol.portOfLoadingCity = 'Beijing'; + this.bol.portOfLoadingAddress = '123 Street'; + this.bol.portOfDischargeCountry = 'USA'; + this.bol.portOfDischargeCity = 'Des Moines'; + this.bol.portOfDischargeAddress = 'ABC Street'; + this.bol.shipper = this.loc[0].beneficiary; + this.bol.notifyName = 'Foo Bar'; + this.bol.notifyAddress = '123 Street, London'; + this.bol.notifyPhone = '+442076909856'; + this.bol.consigneeName = this.loc[0].applicant; + this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.bol.consigneePhone = '+0027590043622'; + this.bol.grossWeight = 1000; + this.bol.grossWeightUnit = 'KG'; + this.bol.placeOfReceiptCountry = 'USA'; + this.bol.placeOfReceiptCity = 'Des Moines'; + this.bol.buyer = this.bol.consigneeName; + this.bol.advisingBank = this.loc[0].advisingBank; + }; + BillOfLadingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + BillOfLadingComponent.prototype.close = function () { + this.modalComponent.close(); + }; + BillOfLadingComponent.prototype.ngOnInit = function () { + }; + BillOfLadingComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createBol(); + }; + return BillOfLadingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], BillOfLadingComponent.prototype, "loc", void 0); +BillOfLadingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading', + template: __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], BillOfLadingComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=bill-of-lading.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol-events.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BolEvents; }); +var BolEvents = (function () { + function BolEvents() { + this.dict = []; + } + BolEvents.prototype.deserialize = function (input) { + var _this = this; + input.forEach(function (element) { + _this.dict.push({ + key: element.first, + value: element.second + }); + }); + return this; + }; + return BolEvents; +}()); + +//# sourceMappingURL=bol-events.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Bol; }); +var Bol = (function () { + function Bol() { + } + Bol.prototype.deserialize = function (input) { + this.owner = input.owner; + this.billOfLadingId = input.props.billOfLadingID; + this.issueDate = input.props.issueDate; + this.carrierOwner = input.props.carrierOwner; + this.nameOfVessel = input.props.nameOfVessel; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.dateOfShipment = input.props.dateOfShipment; + this.portOfLoadingCountry = input.props.portOfLoading.country; + this.portOfLoadingCity = input.props.portOfLoading.city; + this.portOfLoadingAddress = input.props.portOfLoading.address; + this.portOfDischargeCountry = input.props.portOfDischarge.country; + this.portOfDischargeCity = input.props.portOfDischarge.city; + this.portOfDischargeAddress = input.props.portOfDischarge.address; + this.shipper = input.props.carrierOwner; + this.notifyName = input.props.notify.name; + this.notifyAddress = input.props.notify.address; + this.notifyPhone = input.props.notify.phone; + this.consigneeName = input.props.consignee.name; + this.consigneeAddress = input.props.consignee.address; + this.consigneePhone = input.props.consignee.phone; + this.grossWeight = input.props.grossWeight.quantity; + this.grossWeightUnit = input.props.grossWeight.unit; + this.placeOfReceiptCountry = input.props.placeOfReceipt.country; + this.placeOfReceiptCity = input.props.placeOfReceipt.city; + this.buyer = input.beneficiary; + return this; + }; + return Bol; +}()); + +//# sourceMappingURL=bol.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "div {\r\n font-family: oswald !important;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n\n
CurrencyAmount
{{cashBalances.currency}}\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CashBalanceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var CashBalanceComponent = (function () { + function CashBalanceComponent(locService, route, refreshService) { + var _this = this; + this.locService = locService; + this.route = route; + this.refreshService = refreshService; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.getCashBalances(); + }); + } + CashBalanceComponent.prototype.getCashBalances = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getCashBalances(id).then(function (cashBalances) { return _this.cashBalances = cashBalances; }); + }; + CashBalanceComponent.prototype.ngOnInit = function () { + this.getCashBalances(); + }; + return CashBalanceComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], CashBalanceComponent.prototype, "node", void 0); +CashBalanceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'cash-balance', + template: __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.html"), + styles: [__webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], CashBalanceComponent); + +var _a, _b, _c; +//# sourceMappingURL=cash-balance.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Cash; }); +var Cash = (function () { + function Cash() { + } + Cash.prototype.deserialize = function (input) { + var temp = input.USD; + this.currency = Object.keys(input)[0]; + this.amount = temp.substring(0, temp.length - 7); + return this; + }; + return Cash; +}()); + +//# sourceMappingURL=cash.js.map + +/***/ }), + +/***/ "../../../../../src/app/claim-fund.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClaimFund; }); +var ClaimFund = (function () { + function ClaimFund(ref, party) { + this.ref = ref; + this.party = party; + } + return ClaimFund; +}()); + +//# sourceMappingURL=claim-fund.js.map + +/***/ }), + +/***/ "../../../../../src/app/comma-seperated-number.pipe.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommaSeperatedNumberPipe; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var CommaSeperatedNumberPipe = (function () { + function CommaSeperatedNumberPipe() { + } + CommaSeperatedNumberPipe.prototype.transform = function (value, args) { + return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); + }; + return CommaSeperatedNumberPipe; +}()); +CommaSeperatedNumberPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Pipe"])({ + name: 'comma-seperated-number' + }) +], CommaSeperatedNumberPipe); + +//# sourceMappingURL=comma-seperated-number.pipe.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardAdvisingComponent = (function () { + function DashboardAdvisingComponent() { + } + DashboardAdvisingComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardAdvisingComponent; +}()); +DashboardAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-advising', + template: __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardAdvisingComponent); + +//# sourceMappingURL=dashboard-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n background-color: black;\r\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\r\n background-repeat: repeat;\r\n color: white;\r\n font-family: 'Oswald', sans-serif;\r\n letter-spacing: .2rem;\r\n margin: 0;\r\n overflow: hidden;\r\n -webkit-perspective: 1000px;\r\n perspective: 1000px;\r\n text-transform: uppercase;\r\n}\r\n.site-wrap {\r\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.site-wrap.show-all {\r\n -webkit-transform: rotateY(-15deg) scale(0.2);\r\n transform: rotateY(-15deg) scale(0.2);\r\n}\r\n.panel-wrap {\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\nh1 {\r\n font-size: 20vmin;\r\n margin: 0;\r\n}\r\n.panel-wrap {\r\n -webkit-perspective: 2000px;\r\n perspective: 2000px;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.panel-wrap.animate--shrink,\r\n.panel-wrap.animate--tilt,\r\n.panel-wrap.animate--tilt2 {\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n}\r\n.panel {\r\n height: 100vh;\r\n position: absolute;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100vw;\r\n will-change: transform;\r\n}\r\n.panel:before {\r\n background-color: transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: 0;\r\n pointer-events: none;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n z-index: 2;\r\n}\r\n.show-all .panel:before {\r\n pointer-events: all;\r\n}\r\n.show-all .panel:hover:before {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n cursor: pointer;\r\n}\r\n.animate--shrink.animate .panel {\r\n -webkit-transform: scale(0.9);\r\n transform: scale(0.9);\r\n}\r\n.animate--tilt.animate .panel {\r\n -webkit-transform: scale(0.6) rotateY(-25deg);\r\n transform: scale(0.6) rotateY(-25deg);\r\n}\r\n.animate--tilt2.animate .panel {\r\n -webkit-transform: scale(0.8) rotateX(25deg);\r\n transform: scale(0.8) rotateX(25deg);\r\n}\r\n.panel h1 {\r\n cursor: default;\r\n left: 50%;\r\n line-height: 1;\r\n position: absolute;\r\n text-align: center;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%);\r\n transform: translateX(-50%) translateY(-50%);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel[data-x-pos=\"-2\"] {\r\n left: -200%;\r\n}\r\n.panel[data-x-pos=\"-1\"] {\r\n left: -100%;\r\n}\r\n.panel[data-x-pos=\"1\"] {\r\n left: 100%;\r\n}\r\n.panel[data-x-pos=\"2\"] {\r\n left: 200%;\r\n}\r\n.panel[data-y-pos=\"-2\"] {\r\n top: 200%;\r\n}\r\n.panel[data-y-pos=\"-1\"] {\r\n top: 100%;\r\n}\r\n.panel[data-y-pos=\"1\"] {\r\n top: -100%;\r\n}\r\n.panel[data-y-pos=\"2\"] {\r\n top: -200%;\r\n}\r\n.panel__zoom {\r\n cursor: pointer;\r\n left: 50%;\r\n opacity: .2;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n z-index: 10;\r\n}\r\n.panel__zoom:hover {\r\n opacity: 1;\r\n}\r\n.show-all .panel__zoom {\r\n pointer-events: none;\r\n}\r\n.panel__nav {\r\n cursor: pointer;\r\n opacity: .2;\r\n position: absolute;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n will-change: opacity;\r\n}\r\n.panel__nav--up {\r\n left: 50%;\r\n top: 1rem;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav--left {\r\n left: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n -webkit-transform-origin: top left;\r\n transform-origin: top left;\r\n}\r\n.panel__nav--left-top {\r\n left: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--left-down {\r\n bottom: 1rem;\r\n left: 1rem;\r\n}\r\n.panel__nav--right {\r\n right: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n -webkit-transform-origin: top right;\r\n transform-origin: top right;\r\n}\r\n.panel__nav--right-top {\r\n right: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--right-down {\r\n bottom: 1rem;\r\n right: 1rem;\r\n}\r\n.panel__nav--down {\r\n bottom: 1rem;\r\n left: 50%;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list {\r\n font-size: 3.3vmin;\r\n left: 50%;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n}\r\n.panel__animation-list span {\r\n cursor: pointer;\r\n display: inline-block;\r\n opacity: .2;\r\n position: relative;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel__animation-list span:after {\r\n border-bottom: .3vmin solid transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: -1px;\r\n position: absolute;\r\n right: 0;\r\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100%;\r\n}\r\n.panel__animation-list span.active,\r\n.panel__animation-list span:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list span.active:after,\r\n.panel__animation-list span:hover:after {\r\n border-color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n
\n\n\n
\n \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var DashboardBuyerComponent = (function () { + function DashboardBuyerComponent(modalService) { + this.modalService = modalService; + } + DashboardBuyerComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__["a" /* ApplyModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Apply'; + }; + DashboardBuyerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardBuyerComponent; +}()); +DashboardBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-buyer', + template: __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardBuyerComponent); + +var _a; +//# sourceMappingURL=dashboard-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardIssuerComponent = (function () { + function DashboardIssuerComponent() { + } + DashboardIssuerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardIssuerComponent; +}()); +DashboardIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-issuer', + template: __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardIssuerComponent); + +//# sourceMappingURL=dashboard-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardOverallComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardOverallComponent = (function () { + function DashboardOverallComponent() { + } + DashboardOverallComponent.prototype.ngOnInit = function () { + }; + return DashboardOverallComponent; +}()); +DashboardOverallComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-overall', + template: __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardOverallComponent); + +//# sourceMappingURL=dashboard-overall.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DashboardSellerComponent = (function () { + function DashboardSellerComponent(modalService) { + this.modalService = modalService; + } + DashboardSellerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardSellerComponent; +}()); +DashboardSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-seller', + template: __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardSellerComponent); + +var _a; +//# sourceMappingURL=dashboard-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DocsComponent = (function () { + function DocsComponent() { + } + DocsComponent.prototype.ngOnInit = function () { + }; + return DocsComponent; +}()); +DocsComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'docs', + template: __webpack_require__("../../../../../src/app/docs/docs.component.html"), + styles: [__webpack_require__("../../../../../src/app/docs/docs.component.css")] + }), + __metadata("design:paramtypes", []) +], DocsComponent); + +//# sourceMappingURL=docs.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.html": +/***/ (function(module, exports) { + +module.exports = "\n\n
\n\n
\n\n
\n\n

Select files

\n\n
\n Drop zone\n
\n\n
\n\n
\n
\n\n
\n\n
\n

Queue length: {{ uploader?.queue?.length }}

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n\n
\n
\n Queue progress:\n
\n
\n
\n
\n \n \n \n
\n\n
\n\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocumentUploadComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/ng2-file-upload.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocumentUploadComponent = (function () { + function DocumentUploadComponent() { + this.URL = 'http://localhost:10016/api/loc/get-loc'; + this.uploader = new __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__["FileUploader"]({ url: this.URL }); + this.hasBaseDropZoneOver = false; + this.hasAnotherDropZoneOver = false; + } + DocumentUploadComponent.prototype.fileOverBase = function (e) { + this.hasBaseDropZoneOver = e; + }; + DocumentUploadComponent.prototype.fileOverAnother = function (e) { + this.hasAnotherDropZoneOver = e; + }; + DocumentUploadComponent.prototype.ngOnInit = function () { + }; + return DocumentUploadComponent; +}()); +DocumentUploadComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'document-upload', + template: __webpack_require__("../../../../../src/app/document-upload/document-upload.component.html"), + styles: [__webpack_require__("../../../../../src/app/document-upload/document-upload.component.css")] + }), + __metadata("design:paramtypes", []) +], DocumentUploadComponent); + +//# sourceMappingURL=document-upload.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.html": +/***/ (function(module, exports) { + +module.exports = "\n
\n
Finances
\n
\n
\n \n
\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FinancesComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var FinancesComponent = (function () { + function FinancesComponent(locService) { + this.locService = locService; + this.stats = new __WEBPACK_IMPORTED_MODULE_1__stats__["a" /* Stats */](); + // Pie + this.pieChartLabels = ['Awaiting Approval', 'Active', 'Awaiting Payment']; + this.pieChartData = [1, 1, 1]; + this.pieChartType = 'pie'; + this.barChartOptions = { + scaleShowVerticalLines: false, + responsive: true + }; + this.barChartLabels = ['2015', '2016', '2017']; + this.barChartType = 'bar'; + this.barChartLegend = true; + this.barChartData = [ + { data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired' }, + { data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected' } + ]; + } + // events + FinancesComponent.prototype.chartClicked = function (e) { + console.log(e); + }; + FinancesComponent.prototype.chartHovered = function (e) { + console.log(e); + }; + FinancesComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getStats().then(function (stats) { return _this.stats = stats; }); + }; + return FinancesComponent; +}()); +FinancesComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'finances', + template: __webpack_require__("../../../../../src/app/finances/finances.component.html"), + styles: [__webpack_require__("../../../../../src/app/finances/finances.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], FinancesComponent); + +var _a; +//# sourceMappingURL=finances.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Goods Shipped
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantAmountDescriptionStatusPayment Received
\n {{loc.applicant}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n {{loc.advisingPayment}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoodsShippedComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var GoodsShippedComponent = (function () { + function GoodsShippedComponent(locService) { + this.locService = locService; + this.locs = []; + } + GoodsShippedComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getDummySummary().then(function (locs) { return _this.locs = locs; }); + }; + return GoodsShippedComponent; +}()); +GoodsShippedComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'goods-shipped', + template: __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.html"), + styles: [__webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], GoodsShippedComponent); + +var _a; +//# sourceMappingURL=goods-shipped.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "#h3 {\r\n color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n

{{me}} | Port: {{port}}

\n
\n\n
\n \n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var HeaderComponent = (function () { + function HeaderComponent(locService, route) { + this.locService = locService; + this.route = route; + this.cordaImage = 'assets/corda.png'; + } + HeaderComponent.prototype.getMe = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getMe(id).then(function (me) { return _this.me = me.name; }); + }; + HeaderComponent.prototype.getPort = function () { + var id = this.route.snapshot.url[0].toString(); + this.port = this.locService.getPort(id); + }; + HeaderComponent.prototype.ngOnInit = function () { + this.getMe(); + this.getPort(); + }; + return HeaderComponent; +}()); +HeaderComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'header', + template: __webpack_require__("../../../../../src/app/header/header.component.html"), + styles: [__webpack_require__("../../../../../src/app/header/header.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], HeaderComponent); + +var _a, _b; +//# sourceMappingURL=header.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.html": +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatePickerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var DatePickerComponent = (function () { + function DatePickerComponent() { + this.bsRangeValue = [new Date(2017, 7, 4), new Date(2017, 7, 20)]; + } + return DatePickerComponent; +}()); +DatePickerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'date-picker', + template: __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.html"), + styles: [__webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.css")] + }) +], DatePickerComponent); + +//# sourceMappingURL=date-picker.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/in-memory-data.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InMemoryDataService; }); +var InMemoryDataService = (function () { + function InMemoryDataService() { + } + InMemoryDataService.prototype.createDb = function () { + var locs = [ + { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit', + amount: 5, currency: 'USD', + expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London', + portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio', + portDischargeAddress: 'Stade de Brazil', + goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1, + goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio', + placePresentationCity: 'Rio', + lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5, + beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' } + ]; + var locsummary = [ + { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD', + description: 'Mock product', status: 'Approved' } + }, + { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD', + description: 'Mock product2', status: 'Approved' } + }, + { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD', + description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + }, + { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD', + description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + } + ]; + return { + locs: locs, + locsummary: locsummary + }; + }; + return InMemoryDataService; +}()); + +//# sourceMappingURL=in-memory-data.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceCreateComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var InvoiceCreateComponent = (function () { + function InvoiceCreateComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.inv = new __WEBPACK_IMPORTED_MODULE_1__invoice__["a" /* Invoice */](); + this.submitted = false; + } + InvoiceCreateComponent.prototype.createInvoice = function () { + var _this = this; + this.docsService.createInvoice(this.inv).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + InvoiceCreateComponent.prototype.autoComplete = function () { + var d = new Date(); + this.inv.invoiceDate = d, + this.inv.invoiceId = Math.round(Math.random() * 1000000).toString(); + this.inv.sellerName = 'Seller', + this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111', + this.inv.buyerName = 'Buyer', + this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222', + this.inv.term = 5, + this.inv.goodsDescription = 'OLED 6" Screens', + this.inv.goodsPurchaseOrderRef = 'Mock1', + this.inv.goodsQuantity = 10000, + this.inv.goodsUnitPrice = 3, + this.inv.goodsGrossWeight = 30; + }; + InvoiceCreateComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceCreateComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + InvoiceCreateComponent.prototype.ngOnInit = function () { + }; + InvoiceCreateComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createInvoice(); + }; + return InvoiceCreateComponent; +}()); +InvoiceCreateComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'create-invoice', + template: __webpack_require__("../../../../../src/app/invoice-create/invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-create/invoice.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceCreateComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var InvoiceViewComponent = (function () { + function InvoiceViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + InvoiceViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.docsService.getInvoice(this.ref).then(function (invoice) { return _this.inv = invoice; }); + } + }; + return InvoiceViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], InvoiceViewComponent.prototype, "ref", void 0); +InvoiceViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'invoice-view', + template: __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Invoice; }); +var Invoice = (function () { + function Invoice() { + } + Invoice.prototype.deserialize = function (input) { + this.invoiceDate = input.props.invoiceDate; + this.invoiceId = input.props.invoiceID; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.term = input.props.term; + this.goodsDescription = input.props.goods[0].description; + this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef; + this.goodsQuantity = input.props.goods[0].quantity; + this.goodsUnitPrice = input.props.goods[0].unitPrice; + this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit; + this.assigned = input.assigned; + return this; + }; + return Invoice; +}()); + +//# sourceMappingURL=invoice.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocAppViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var LocAppViewComponent = (function () { + function LocAppViewComponent(locService, modalComponent, modalService) { + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + LocAppViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocAppViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocAppViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocAppViewComponent.prototype, "ref", void 0); +LocAppViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-app-view', + template: __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], LocAppViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=loc-app-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateSummary; }); +var LocStateSummary = (function () { + function LocStateSummary() { + } + LocStateSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiaryPaid = input.second.beneficiaryPaid; + this.advisoryPaid = input.second.advisoryPaid; + this.issuerPaid = input.second.issuerPaid; + this.issued = input.second.issued; + this.terminated = input.second.terminated; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.advisory = input.second.advisoryBank; + this.issuer = input.second.issuingBank; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.quantity = input.second.quantity; + this.orderRef = input.second.purchaseOrderRef; + this.description = input.second.description; + this.status = input.second.status; + return this; + }; + return LocStateSummary; +}()); + +//# sourceMappingURL=loc-state-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var LocStateViewComponent = (function () { + function LocStateViewComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + LocStateViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocStateViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLoc(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocStateViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocStateViewComponent.prototype, "ref", void 0); +LocStateViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-state-view', + template: __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], LocStateViewComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=loc-state-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocSummary; }); +var LocSummary = (function () { + function LocSummary() { + } + LocSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.description = input.second.description; + this.orderRef = input.second.purchaseOrderRef; + this.status = input.second.status; + this.advisingPayment = input.second.advisingPayment; + this.issuingPayment = input.second.issuingPayment; + this.buyerPayment = input.second.buyerPayment; + return this; + }; + return LocSummary; +}()); + +//# sourceMappingURL=loc-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__claim_fund__ = __webpack_require__("../../../../../src/app/claim-fund.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cash__ = __webpack_require__("../../../../../src/app/cash.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +var LocService = (function () { + function LocService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + // mock data + this.mockSummary = 'api/locsummary'; + this.meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc'; + this.getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval'; + this.awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc'; + this.approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc'; + this.statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats'; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances'; + this.cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances'; + this.cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances'; + this.cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances'; + this.allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'; + this.allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app'; + this.allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all'; + this.allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all'; + this.claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds'; + this.paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller'; + this.payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser'; + this.payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + LocService.prototype.getLocApp = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocAppUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getLoc = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocApps = function (node) { + var _this = this; + var getAllUrl; + switch (node) { + case 'advising': + getAllUrl = this.allLocUrlAdviser; + break; + case 'buyer': + getAllUrl = this.allLocAppUrlBuyer; + break; + case 'seller': + getAllUrl = this.allLocUrlSeller; + break; + case 'issuer': + getAllUrl = this.allLocAppUrlIssuer; + break; + default: + break; + } + return this.http.get(getAllUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocs = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocsIssuer = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrlIssuer) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocsApps = function () { + var _this = this; + return this.http.get(this.activeLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocStateSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingPaymentLocs = function () { + var _this = this; + return this.http.get(this.awaitingPaymentLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getCashBalances = function (node) { + var url; + switch (node) { + case 'buyer': + url = this.cashBalancesBuyerUrl; + break; + case 'seller': + url = this.cashBalancesSellerUrl; + break; + case 'issuing': + url = this.cashBalancesIssuerUrl; + break; + case 'advising': + url = this.cashBalancesAdvisoryUrl; + break; + default: + url = this.cashBalancesIssuerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__cash__["a" /* Cash */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getMe = function (id) { + var url; + switch (id) { + case 'buyer': + url = this.meBuyerUrl; + break; + case 'seller': + url = this.meSellerUrl; + break; + case 'issuing': + url = this.meIssueUrl; + break; + case 'advising': + url = this.meAdvisoryUrl; + break; + default: + url = this.meBuyerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getPort = function (id) { + var port; + switch (id) { + case 'buyer': + port = this.buyer; + break; + case 'seller': + port = this.seller; + break; + case 'issuing': + port = this.issuer; + break; + case 'advising': + port = this.advisory; + break; + default: + port = 0; + break; + } + return port; + }; + LocService.prototype.getPeers = function () { + var _this = this; + return this.http.get(this.peersUrl) + .toPromise() + .then(function (response) { return _this.createPartyArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getStats = function () { + return this.http.get(this.statsUrl) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_7__stats__["a" /* Stats */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.createLoc = function (loc) { + return this.http + .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().deserialize(res.json()).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.approveLoc = function (ref) { + var url = this.approveLocUrl + "?ref=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.paySeller = function (ref) { + var url = this.paySellerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payAdviser = function (ref) { + var url = this.payAdvisoryUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payIssuer = function (ref) { + var url = this.payIssuerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.claimFunds = function (ref) { + var _this = this; + this.getMe('issuing').then(function (result) { + var claimFund = new __WEBPACK_IMPORTED_MODULE_4__claim_fund__["a" /* ClaimFund */](ref, result.name); + _this.http.post(_this.claimFundsUrl, JSON.stringify(claimFund), { headers: _this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(_this.handleError); + }); + }; + LocService.prototype.createPartyArray = function (input) { + var parties = new Array(); + input.peers.forEach(function (element) { + var party = new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserializeName(element); + parties.push(party); + }); + return parties; + }; + LocService.prototype.createLocSummaryArray = function (input) { + var locSummaries = new Array(); + input.forEach(function (element) { + var locSummary = new __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]().deserialize(element); + locSummaries.push(locSummary); + }); + return locSummaries; + }; + LocService.prototype.createLocStateSummaryArray = function (input) { + var locStateSummaries = new Array(); + input.forEach(function (element) { + var locStateSummary = new __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__["a" /* LocStateSummary */]().deserialize(element); + locStateSummaries.push(locStateSummary); + }); + return locStateSummaries; + }; + LocService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + /// MOCK DATA STUFF + LocService.prototype.getDummySummary = function () { + var _this = this; + return this.http.get(this.mockSummary) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json().data); }) + .catch(this.handleError); + }; + LocService.prototype.shipGoods = function (loc) { + var url = this.mockSummary + "/" + loc.id; + loc.status = 'Shipped'; + return this.http + .put(url, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function () { return loc; }) + .catch(this.handleError); + }; + return LocService; +}()); +LocService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], LocService); + +var _a; +//# sourceMappingURL=loc.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Loc; }); +var Loc = (function () { + function Loc() { + } + return Loc; +}()); + +//# sourceMappingURL=loc.js.map + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "html {\r\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\r\n background-size: cover;\r\n overflow: hidden;\r\n}\r\n\r\nimg{\r\n display: block;\r\n margin: auto;\r\n width: 100%;\r\n height: auto;\r\n}\r\n\r\n#login-button{\r\n cursor: pointer;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n padding: 30px;\r\n margin: auto;\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50%;\r\n background: rgba(3,3,3,.8);\r\n overflow: hidden;\r\n opacity: 0.6;\r\n box-shadow: 10px 10px 30px #000;}\r\n\r\n/* Login container */\r\n#container{\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n margin: auto;\r\n width: 260px;\r\n height: 260px;\r\n border-radius: 5px;\r\n background: rgba(3,3,3,0.25);\r\n box-shadow: 1px 1px 50px #000;\r\n display: none;\r\n}\r\n\r\n.close-btn{\r\n position: absolute;\r\n cursor: pointer;\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n line-height: 18px;\r\n top: 3px;\r\n right: 3px;\r\n width: 20px;\r\n height: 20px;\r\n text-align: center;\r\n border-radius: 10px;\r\n opacity: .2;\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\n.close-btn:hover{\r\n opacity: .5;\r\n}\r\n\r\n/* Heading */\r\nh1{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n position: relative;\r\n margin-top: 0px;\r\n text-align: center;\r\n font-size: 40px;\r\n color: #ddd;\r\n text-shadow: 3px 3px 10px #000;\r\n}\r\n\r\n/* Inputs */\r\na,\r\ninput{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-decoration: none;\r\n position: relative;\r\n width: 80%;\r\n display: block;\r\n margin: 9px auto;\r\n font-size: 17px;\r\n color: #fff;\r\n padding: 8px;\r\n border-radius: 6px;\r\n border: none;\r\n background: rgba(3,3,3,.1);\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\ninput:focus{\r\n outline: none;\r\n box-shadow: 3px 3px 10px #333;\r\n background: rgba(3,3,3,.18);\r\n}\r\n\r\n/* Placeholders */\r\n::-webkit-input-placeholder {\r\n color: #ddd; }\r\n:-moz-placeholder { /* Firefox 18- */\r\n color: red; }\r\n::-moz-placeholder { /* Firefox 19+ */\r\n color: red; }\r\n:-ms-input-placeholder {\r\n color: #333; }\r\n\r\n/* Link */\r\na{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-align: center;\r\n padding: 4px 8px;\r\n background: rgba(107,255,3,0.3);\r\n}\r\n\r\na:hover{\r\n opacity: 0.7;\r\n}\r\n\r\n#remember-container{\r\n position: relative;\r\n margin: -5px 20px;\r\n}\r\n\r\n.checkbox {\r\n position: relative;\r\n cursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tpadding: 5px;\r\n\tborder-radius: 4px;\r\n background: rgba(3,3,3,.2);\r\n\tdisplay: inline-block;\r\n width: 16px;\r\n height: 15px;\r\n}\r\n\r\n.checkbox:checked:active {\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\r\n}\r\n\r\n.checkbox:checked {\r\n background: rgba(3,3,3,.4);\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\r\n\tcolor: #fff;\r\n}\r\n\r\n.checkbox:checked:after {\r\n\tcontent: '\\2714';\r\n\tfont-size: 10px;\r\n\tposition: absolute;\r\n\ttop: 0px;\r\n\tleft: 4px;\r\n\tcolor: #fff;\r\n}\r\n\r\n#remember{\r\n position: absolute;\r\n font-size: 13px;\r\n font-family: 'Hind', sans-serif;\r\n color: rgba(255,255,255,.5);\r\n top: 7px;\r\n left: 20px;\r\n}\r\n\r\n.orange-btn{\r\n background: rgba(87,198,255,.5);\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Log In

\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n Log in\r\n
\r\n \r\n Remember me\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__ = __webpack_require__("../../../../gsap/TweenLite.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var LoginComponent = (function () { + function LoginComponent() { + } + LoginComponent.prototype.ngAfterViewInit = function () { + $('#login-button').click(function () { + $('#login-button').fadeOut('slow', function () { + $('#container').fadeIn(); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + }); + $('#logo').animate({ 'width': '40%', 'height': '40%' }, 1000); + }); + $('.close-btn').click(function () { + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { left: '0px', scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + $('#container, #forgotten-container').fadeOut(800, function () { + $('#login-button').fadeIn(800); + }); + $('#logo').animate({ 'width': '100%', 'height': '100%' }, 1000); + }); + /* Forgotten Password */ + $('#forgotten').click(function () { + $('#container').fadeOut(function () { + $('#forgotten-container').fadeIn(); + }); + }); + }; + LoginComponent.prototype.ngOnInit = function () { + }; + return LoginComponent; +}()); +LoginComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'app-login', + template: __webpack_require__("../../../../../src/app/login/login.component.html"), + styles: [__webpack_require__("../../../../../src/app/login/login.component.css")] + }), + __metadata("design:paramtypes", []) +], LoginComponent); + +//# sourceMappingURL=login.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".main-menu {\r\n /*background-color: #343436;*/\r\n padding: 15px;\r\n max-width: 200px;\r\n}\r\n\r\n.hype {\r\n border-radius: 999em;\r\n border: 1px solid #ccaaaa;\r\n -webkit-filter:blur(3px);\r\n filter:blur(3px);\r\n color: white;\r\n background: #fff;\r\n outline: none;\r\n width: 70px;\r\n height: 70px;\r\n font-size: 12px;\r\n display: inline-block;\r\n text-transform:uppercase;\r\n cursor: pointer;\r\n box-sizing: border-box;\r\n}\r\n\r\n.hype {\r\n position: relative;\r\n}\r\n.hype::before, .hype::after {\r\n content: '';\r\n position: absolute;\r\n box-sizing: border-box;\r\n border-radius: 999em;\r\n}\r\n.hype::after {\r\n top: 0;\r\n left: 0;\r\n z-index: 1;\r\n width: 70px;\r\n height: 70px;\r\n border: 1px solid #229999;\r\n filter:blur(2px);\r\n -webkit-filter:blur(1px);\r\n}\r\n.hype::before {\r\n z-index: -1;\r\n width: 70px;\r\n height: 70px;\r\n/* background: inherit; */\r\n opacity: .6;\r\n top: 0;\r\n left: 0;\r\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\r\n animation: pluse .6s ease-in-out 0s infinite alternate;\r\n}\r\n.hype:hover::after {\r\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\r\n animation: pulse-ring 1.5s ease-out 0s infinite;\r\n}\r\n@-webkit-keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@-webkit-keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n@keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n\r\n.btn {\r\n border-radius: 28px;\r\n font-family: Arial;\r\n color: #ffffff;\r\n font-size: 16px;\r\n background: #ff0000;\r\n padding: 10px 20px 10px 20px;\r\n text-decoration: none;\r\n min-width: 170px;\r\n margin-bottom: 25px;\r\n}\r\n.btn:hover {\r\n background: #fa5757;\r\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\r\n text-decoration: none;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MainMenuComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var MainMenuComponent = (function () { + function MainMenuComponent(modalService, route) { + this.modalService = modalService; + this.route = route; + } + MainMenuComponent.prototype.ngOnInit = function () { + var current = this.route.snapshot.url[0].toString(); + switch (current) { + case 'buyer': + this.buyer = 'btn-info'; + break; + case 'issuing': + this.issuing = 'btn-info'; + break; + case 'advising': + this.advising = 'btn-info'; + break; + case 'seller': + this.seller = 'btn-info'; + break; + case 'dashboard': + this.dashboard = 'btn-info'; + break; + } + }; + return MainMenuComponent; +}()); +MainMenuComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'main-menu', + template: __webpack_require__("../../../../../src/app/main-menu/main-menu.component.html"), + styles: [__webpack_require__("../../../../../src/app/main-menu/main-menu.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], MainMenuComponent); + +var _a, _b; +//# sourceMappingURL=main-menu.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/apply-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApplyModalComponent = (function () { + function ApplyModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApplyModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApplyModalComponent; +}()); +ApplyModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApplyModalComponent); + +var _a; +//# sourceMappingURL=apply-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/approve-loc-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApproveLocModalComponent = (function () { + function ApproveLocModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApproveLocModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApproveLocModalComponent; +}()); +ApproveLocModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApproveLocModalComponent); + +var _a; +//# sourceMappingURL=approve-loc-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateBolModalComponent = (function () { + function CreateBolModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateBolModalComponent; +}()); +CreateBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateBolModalComponent); + +var _a; +//# sourceMappingURL=create-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateInvoiceModalComponent = (function () { + function CreateInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateInvoiceModalComponent; +}()); +CreateInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateInvoiceModalComponent); + +var _a; +//# sourceMappingURL=create-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreatePlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreatePlModalComponent = (function () { + function CreatePlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreatePlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreatePlModalComponent; +}()); +CreatePlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreatePlModalComponent); + +var _a; +//# sourceMappingURL=create-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/docs-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocsModalComponent = (function () { + function DocsModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + DocsModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return DocsModalComponent; +}()); +DocsModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], DocsModalComponent); + +var _a; +//# sourceMappingURL=docs-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports +exports.push([module.i, "@import url(https://fonts.googleapis.com/css?family=Open+Sans);", ""]); + +// module +exports.push([module.i, ".modal-content {\r\n background-color: #000 !important;\r\n font-family: \"Open Sans\", Impact;\r\n}\r\n\r\n.svg {\r\n height: 200px;\r\n}\r\n\r\n.area {\r\n text-align: center;\r\n font-size: 2.5em;\r\n color: #fff;\r\n letter-spacing: -7px;\r\n font-weight: 700;\r\n text-transform: uppercase;\r\n -webkit-animation: blur 1s ease-out 5;\r\n animation: blur 1s ease-out 5;\r\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\r\n}\r\n\r\n@-webkit-keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n@keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "/*dark background to support form theme*/\n.modal-main {\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\n\n/*sass variables used*/\n/*site container*/\n.wrapper {\n width: 420px;\n height: 200px;\n margin: 0 auto; }\n\nh1 {\n text-align: center;\n padding: 30px 0px 0px 0px;\n font: 25px Oswald;\n color: #FFF;\n text-transform: uppercase;\n text-shadow: #000 0px 1px 5px;\n margin: 0px; }\n\np {\n font: 13px Open Sans;\n color: #6E6E6E;\n text-shadow: #000 0px 1px 5px;\n margin-bottom: 30px; }\n\n.name-help, .email-help {\n display: none;\n padding: 0px;\n margin: 0px 0px 15px 0px; }\n\n.optimize {\n position: fixed;\n right: 3%;\n top: 0px; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/response-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ResponseModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__ = __webpack_require__("../../../../rxjs/Rx.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ResponseModalComponent = (function () { + function ResponseModalComponent(bsModalRef, refreshService) { + this.bsModalRef = bsModalRef; + this.refreshService = refreshService; + } + ResponseModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + ResponseModalComponent.prototype.updateMessage = function (text) { + this.message = text; + }; + ResponseModalComponent.prototype.ngOnInit = function () { + var _this = this; + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(500).subscribe(function (t) { _this.updateMessage('Running'); }); + // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') }) + // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') }) + // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') }) + // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') }) + // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) }) + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.close(); }); + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.refreshService.confirmMission(); }); + }; + return ResponseModalComponent; +}()); +ResponseModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.css")], + template: "\n\n
\n \n
\n
\n
\n \n \n \n \n \n {{message}}\n \n \n \n
\n\n\n
\n" + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */]) === "function" && _b || Object]) +], ResponseModalComponent); + +var _a, _b; +//# sourceMappingURL=response-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal-nested.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n" + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ShipModalComponent = (function () { + function ShipModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ShipModalComponent.prototype.openModal = function (template) { + this.modalRef = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.openModal2 = function (template) { + this.modalRef2 = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ShipModalComponent; +}()); +ShipModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + template: __webpack_require__("../../../../../src/app/modals/ship-modal-nested.html") + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ShipModalComponent); + +var _a, _b; +//# sourceMappingURL=ship-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ViewBolModalComponent = (function () { + function ViewBolModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ViewBolModalComponent.prototype.openModal2 = function () { + this.modalRef2 = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */]); + this.modalRef2.content.id = this.id; + this.modalRef2.content.requestor = this.requestor; + }; + ViewBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolModalComponent; +}()); +ViewBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ViewBolModalComponent); + +var _a, _b; +//# sourceMappingURL=view-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-timeline-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolTimelineModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewBolTimelineModalComponent = (function () { + function ViewBolTimelineModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewBolTimelineModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolTimelineModalComponent; +}()); +ViewBolTimelineModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewBolTimelineModalComponent); + +var _a; +//# sourceMappingURL=view-bol-timeline-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewInvoiceModalComponent = (function () { + function ViewInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewInvoiceModalComponent; +}()); +ViewInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewInvoiceModalComponent); + +var _a; +//# sourceMappingURL=view-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-app-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocAppModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocAppModalComponent = (function () { + function ViewLocAppModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocAppModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocAppModalComponent; +}()); +ViewLocAppModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocAppModalComponent); + +var _a; +//# sourceMappingURL=view-loc-app-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-state-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocStateModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocStateModalComponent = (function () { + function ViewLocStateModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocStateModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocStateModalComponent; +}()); +ViewLocStateModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocStateModalComponent); + +var _a; +//# sourceMappingURL=view-loc-state-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewPlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewPlModalComponent = (function () { + function ViewPlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewPlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewPlModalComponent; +}()); +ViewPlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewPlModalComponent); + +var _a; +//# sourceMappingURL=view-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var PackingListViewComponent = (function () { + function PackingListViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + PackingListViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getPackingList(this.id, this.requestor).then(function (pl) { return _this.pl = pl; }); + } + }; + return PackingListViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "requestor", void 0); +PackingListViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list-view', + template: __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], PackingListViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=packing-list-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var PackingListComponent = (function () { + function PackingListComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.pl = new __WEBPACK_IMPORTED_MODULE_1__packinglist__["a" /* PackingList */](); + this.submitted = false; + } + PackingListComponent.prototype.createpl = function () { + var _this = this; + this.pl.advisingBank = this.loc[0].advisory; + this.pl.issuingBank = this.loc[0].issuer; + this.docsService.createPackingList(this.pl).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + PackingListComponent.prototype.autoComplete = function () { + var d = new Date(); + this.pl.issueDate = d; + this.pl.orderNumber = this.loc[0].orderRef; + this.pl.sellersOrderNumber = this.loc[0].orderRef; + this.pl.transportMethod = 'Ship'; + this.pl.nameOfVessel = 'SurfRider'; + this.pl.billOfLadingNumber = this.loc[0].orderRef; + this.pl.sellerName = 'Seller'; + this.pl.sellerAddress = '123 Street. Beijing, China'; + this.pl.buyerName = 'Buyer'; + this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.pl.goodsDescription = this.loc[0].description; + this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef; + this.pl.goodsQuantity = 10000; + this.pl.goodsUnitPrice = this.loc[0].amount; + this.pl.goodsGrossWeight = 1000; + }; + PackingListComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + PackingListComponent.prototype.close = function () { + this.modalComponent.close(); + }; + PackingListComponent.prototype.ngOnInit = function () { + }; + PackingListComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createpl(); + }; + return PackingListComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], PackingListComponent.prototype, "loc", void 0); +PackingListComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list', + template: __webpack_require__("../../../../../src/app/packing-list/packing-list.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list/packing-list.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], PackingListComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=packing-list.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packinglist.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingList; }); +var PackingList = (function () { + function PackingList() { + } + PackingList.prototype.deserialize = function (input) { + this.issueDate = input.props.issueDate; + this.orderNumber = input.props.orderNumber; + this.sellersOrderNumber = input.props.sellersOrderNumber; + this.transportMethod = input.props.transportMethod; + this.nameOfVessel = input.props.nameOfVessel; + this.billOfLadingNumber = input.props.billOfLadingNumber; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.sellerPhone = input.props.seller.phone; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.buyerPhone = input.props.buyer.phone; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice; + this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit; + this.attachmentHash = input.props.attachmentHash; + return this; + }; + return PackingList; +}()); + +//# sourceMappingURL=packinglist.js.map + +/***/ }), + +/***/ "../../../../../src/app/party.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Party; }); +var Party = (function () { + function Party() { + } + Party.prototype.deserialize = function (input) { + this.name = input.me; + return this; + }; + Party.prototype.deserializeName = function (input) { + this.name = input; + return this; + }; + return Party; +}()); + +//# sourceMappingURL=party.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/advising-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AdvisingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AdvisingBankService = (function () { + function AdvisingBankService(locService) { + this.locService = locService; + this.locService = locService; + } + return AdvisingBankService; +}()); +AdvisingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AdvisingBankService); + +var _a; +//# sourceMappingURL=advising-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/common.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommonService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_currency__ = __webpack_require__("../../../../../src/app/services/common/mock-currency.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__ = __webpack_require__("../../../../../src/app/services/common/mock-weight-unit.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + +var CommonService = (function () { + function CommonService() { + } + CommonService.prototype.getCurrencies = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_currency__["a" /* CURRENCY */]); + }; + CommonService.prototype.getWeightUnits = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__["a" /* WEIGHTUNIT */]); + }; + return CommonService; +}()); +CommonService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CommonService); + +//# sourceMappingURL=common.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-currency.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; }); +var CURRENCY = [ + { id: 'USD', name: 'USD' }, + { id: 'EUR', name: 'EUR' }, + { id: 'GBP', name: 'GBP' } +]; +//# sourceMappingURL=mock-currency.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-weight-unit.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WEIGHTUNIT; }); +var WEIGHTUNIT = [ + { id: 11, name: 'KG' }, + { id: 12, name: 'LBS' } +]; +//# sourceMappingURL=mock-weight-unit.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/credit-type.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreditTypeService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_credit_type__ = __webpack_require__("../../../../../src/app/services/credit-types/mock-credit-type.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + +var CreditTypeService = (function () { + function CreditTypeService() { + } + CreditTypeService.prototype.getCreditTypes = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_credit_type__["a" /* CREDITTYPES */]); + }; + return CreditTypeService; +}()); +CreditTypeService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CreditTypeService); + +//# sourceMappingURL=credit-type.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/mock-credit-type.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CREDITTYPES; }); +var CREDITTYPES = [ + { id: 'SIGHT', name: 'Sight' }, + { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' }, + { id: 'ACCEPTANCE', name: 'Acceptance' }, + { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' }, + { id: 'TRANSFERABLE', name: 'Transferable' }, + { id: 'STANDBY', name: 'Standby' }, + { id: 'REVOLVING', name: 'Revolving' }, + { id: 'RED_CLAUSE', name: 'Red Clause' }, + { id: 'GREEN_CLAUSE', name: 'Green Clause' }, +]; +//# sourceMappingURL=mock-credit-type.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/docs.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__bol_events__ = __webpack_require__("../../../../../src/app/bol-events.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var DocsService = (function () { + function DocsService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol'; + this.createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl'; + this.createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade'; + this.invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices'; + this.invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice'; + this.bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol'; + this.bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol'; + this.bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol'; + this.packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list'; + this.packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list'; + this.packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list'; + this.bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events'; + this.bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events'; + this.bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + DocsService.prototype.createBol = function (bol) { + return this.http + .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createPackingList = function (packingList) { + return this.http + .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoice = function (invoice) { + return this.http + .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.getBol = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_2__bol__["a" /* Bol */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getBolEvents = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolEventsUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolEventsUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolEventsUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_3__bol_events__["a" /* BolEvents */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getPackingList = function (id, requestor) { + var url; + switch (requestor) { + case 'buyer': { + url = this.packingListUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.packingListUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.packingListUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_4__packinglist__["a" /* PackingList */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoices = function () { + var _this = this; + return this.http.get(this.invoicesUrl) + .toPromise() + .then(function (response) { return _this.createInvoiceArray(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoice = function (id) { + var url = this.invoiceUrl + "?ref=" + id; + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoiceArray = function (input) { + var invoices = new Array(); + input.forEach(function (element) { + var invoice = new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(element); + invoices.push(invoice); + }); + return invoices; + }; + DocsService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return DocsService; +}()); +DocsService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], DocsService); + +var _a; +//# sourceMappingURL=docs.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/identity.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IdentityService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var IdentityService = (function () { + function IdentityService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + } + IdentityService.prototype.getAll = function () { + this.getBuyer(); + this.getIssuer(); + this.getAdvisory(); + this.getSeller(); + }; + IdentityService.prototype.getBuyer = function () { + var _this = this; + if (this.buyerId === undefined) { + this.http.get(this.buyerUrl) + .toPromise() + .then(function (response) { return _this.buyerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getIssuer = function () { + var _this = this; + if (this.issuerId === undefined) { + this.http.get(this.issuerId) + .toPromise() + .then(function (response) { return _this.issuerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getAdvisory = function () { + var _this = this; + if (this.advisoryId === undefined) { + this.http.get(this.advisoryId) + .toPromise() + .then(function (response) { return _this.advisoryId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getSeller = function () { + var _this = this; + if (this.sellerId === undefined) { + this.http.get(this.sellerId) + .toPromise() + .then(function (response) { return _this.sellerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return IdentityService; +}()); +IdentityService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], IdentityService); + +var _a; +//# sourceMappingURL=identity.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/issuing-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IssuingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var IssuingBankService = (function () { + function IssuingBankService() { + } + return IssuingBankService; +}()); +IssuingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], IssuingBankService); + +//# sourceMappingURL=issuing-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/refresh.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RefreshService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__ = __webpack_require__("../../../../rxjs/Subject.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var RefreshService = (function () { + function RefreshService() { + // Observable sources + this.confirmedSource = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__["Subject"](); + // Observable string streams + this.missionConfirmed$ = this.confirmedSource.asObservable(); + } + RefreshService.prototype.confirmMission = function () { + this.confirmedSource.next(true); + }; + return RefreshService; +}()); +RefreshService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], RefreshService); + +//# sourceMappingURL=refresh.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.html": +/***/ (function(module, exports) { + +module.exports = "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n" + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__ = __webpack_require__("../../../../rxjs/add/operator/switchMap.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ShipComponent = (function () { + function ShipComponent(locService) { + this.locService = locService; + } + ShipComponent.prototype.ngOnInit = function () { + }; + return ShipComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]) === "function" && _a || Object) +], ShipComponent.prototype, "loc", void 0); +ShipComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'ship', + template: __webpack_require__("../../../../../src/app/ship/ship.component.html"), + styles: [__webpack_require__("../../../../../src/app/ship/ship.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], ShipComponent); + +var _a, _b; +//# sourceMappingURL=ship.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n" + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.less": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\n background: #161616;\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\n}\n.stop {\n animation-play-state: paused;\n -moz-animation-play-state: paused;\n -webkit-animation-play-state: paused;\n}\n.trigger {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\n border: 1px solid #111;\n border-right-color: #333;\n border-bottom-color: #333;\n text-decoration: none;\n color: #fff;\n padding: 10px;\n font-family: Verdana, Geneva, sans-serif;\n font-size: 0.8em;\n text-transform: lowercase;\n margin: 10px auto;\n display: block;\n width: 140px;\n border-radius: 5px;\n text-align: center;\n}\n.trigger:hover {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\n}\n#ajaxloader1 {\n width: 30px !important;\n height: 30px !important;\n border: 8px solid #fff !important;\n border-radius: 50% !important;\n box-shadow: 0 0 25px 2px !important;\n color: #fff !important;\n border-color: #f00 !important;\n color: #cc0000 !important;\n border-right-color: transparent !important;\n border-top-color: transparent !important;\n -webkit-animation: spin-right 1s linear infinite normal !important;\n animation: spin-right 1s linear infinite normal !important;\n -webkit-animation-delay: 0 !important;\n animation-delay: 0 !important;\n margin: 30px auto 0 !important;\n}\n#ajaxloader1:after {\n display: block !important;\n width: 13px !important;\n height: 13px !important;\n margin: 3px !important;\n border: 6px solid #f00 !important;\n content: \" \" !important;\n border-radius: 50% !important;\n border-left-color: transparent !important;\n border-bottom-color: transparent !important;\n}\n@keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@-webkit-keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n }\n}\n@keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@-webkit-keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n }\n}\n@keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n}\n@-webkit-keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n}\n@keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@-webkit-keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n@-webkit-keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\n }\n}\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SpinnerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var SpinnerComponent = (function () { + function SpinnerComponent() { + } + SpinnerComponent.prototype.ngOnInit = function () { + }; + return SpinnerComponent; +}()); +SpinnerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'spinner', + template: __webpack_require__("../../../../../src/app/spinner/spinner.component.html"), + styles: [__webpack_require__("../../../../../src/app/spinner/spinner.component.less")] + }), + __metadata("design:paramtypes", []) +], SpinnerComponent); + +//# sourceMappingURL=spinner.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/stats.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Stats; }); +var Stats = (function () { + function Stats() { + } + Stats.prototype.deserialize = function (input) { + this.awaitingApproval = input.awaitingApproval; + this.active = input.active; + this.awaitingPayment = input.awaitingPayment; + return this; + }; + return Stats; +}()); + +//# sourceMappingURL=stats.js.map + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.html": +/***/ (function(module, exports) { + +module.exports = "
    \n\n
    \n\n
  • \n
    {{event.value}}
    \n
  • \n\n
  • \n
    \n
    \n
    \n

    Owned by {{event.key}}

    \n

    {{event.value}}

    \n
    \n
    \n
  • \n\n
    \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "img {\n border: 0;\n max-width: 100%; }\n\n.page-header h1 {\n font-size: 3.26em;\n text-align: center;\n color: #efefef;\n text-shadow: 1px 1px 0 #000; }\n\n/** timeline box structure **/\n.timeline {\n list-style: none;\n padding: 20px 0 20px;\n position: relative; }\n\n.timeline:before {\n top: 0;\n bottom: 0;\n position: absolute;\n content: \" \";\n width: 3px;\n background-color: #eee;\n left: 50%;\n margin-left: -1.5px; }\n\n.tldate {\n display: block;\n width: 200px;\n background: #414141;\n border: 3px solid #212121;\n color: #ededed;\n margin: 0 auto;\n padding: 3px 0;\n font-weight: bold;\n text-align: center;\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\n\n.timeline li {\n margin-bottom: 25px;\n position: relative; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n.timeline li:after {\n clear: both; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n/** timeline panels **/\n.timeline li .timeline-panel {\n width: 46%;\n float: left;\n background: #fff;\n border: 1px solid #d4d4d4;\n padding: 20px;\n position: relative;\n border-radius: 8px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\n\n/** panel arrows **/\n.timeline li .timeline-panel:before {\n position: absolute;\n top: 26px;\n right: -15px;\n display: inline-block;\n border-top: 15px solid transparent;\n border-left: 15px solid #ccc;\n border-right: 0 solid #ccc;\n border-bottom: 15px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel:after {\n position: absolute;\n top: 27px;\n right: -14px;\n display: inline-block;\n border-top: 14px solid transparent;\n border-left: 14px solid #fff;\n border-right: 0 solid #fff;\n border-bottom: 14px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\n top: 0;\n right: 0;\n display: none;\n border: 0; }\n\n.timeline li.timeline-inverted .timeline-panel {\n float: right; }\n\n.timeline li.timeline-inverted .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n\n.timeline li.timeline-inverted .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; }\n\n/** timeline circle icons **/\n.timeline li .tl-circ {\n position: absolute;\n top: 23px;\n left: 50%;\n text-align: center;\n background: #6a8db3;\n color: #fff;\n width: 35px;\n height: 35px;\n line-height: 35px;\n margin-left: -16px;\n border: 3px solid #90acc7;\n border-top-right-radius: 50%;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n border-bottom-left-radius: 50%;\n z-index: 99999; }\n\n/** timeline content **/\n.tl-heading h4 {\n margin: 0;\n color: #c25b4e; }\n\n.tl-body p, .tl-body ul {\n margin-bottom: 0; }\n\n.tl-body > p + p {\n margin-top: 5px; }\n\n/** media queries **/\n@media (max-width: 991px) {\n .timeline li .timeline-panel {\n width: 44%; } }\n\n@media (max-width: 700px) {\n .page-header h1 {\n font-size: 1.8em; }\n ul.timeline:before {\n left: 40px; }\n .tldate {\n width: 140px; }\n ul.timeline li .timeline-panel {\n width: calc(100% - 90px);\n width: -webkit-calc(100% - 90px); }\n ul.timeline li .tl-circ {\n top: 22px;\n left: 22px;\n margin-left: 0; }\n ul.timeline > li > .tldate {\n margin: 0; }\n ul.timeline > li > .timeline-panel {\n float: right; }\n ul.timeline > li > .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n ul.timeline > li > .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; } }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TimelineComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var TimelineComponent = (function () { + function TimelineComponent(docsService) { + this.docsService = docsService; + } + TimelineComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBolEvents(this.id, this.requestor).then(function (bolEvents) { return _this.bolEvents = bolEvents; }); + } + }; + return TimelineComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "requestor", void 0); +TimelineComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'timeline', + template: __webpack_require__("../../../../../src/app/timeline/timeline.component.html"), + styles: [__webpack_require__("../../../../../src/app/timeline/timeline.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object]) +], TimelineComponent); + +var _a; +//# sourceMappingURL=timeline.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/tx.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tx; }); +var Tx = (function () { + function Tx() { + } + Tx.prototype.deserialize = function (input) { + this.txResponse = input.message; + return this; + }; + Tx.prototype.text = function (input) { + this.txResponse = input; + return this; + }; + return Tx; +}()); + +//# sourceMappingURL=tx.js.map + +/***/ }), + +/***/ "../../../../../src/assets/modal.js": +/***/ (function(module, exports) { + +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) + + +/***/ }), + +/***/ "../../../../../src/main.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__("../../../platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("../../../../../src/app/app.module.ts"); + + + +Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["enableProdMode"])(); +Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */]); +//# sourceMappingURL=main.js.map + +/***/ }), + +/***/ "../../../../moment/locale recursive ^\\.\\/.*$": +/***/ (function(module, exports, __webpack_require__) { + +var map = { + "./af": "../../../../moment/locale/af.js", + "./af.js": "../../../../moment/locale/af.js", + "./ar": "../../../../moment/locale/ar.js", + "./ar-dz": "../../../../moment/locale/ar-dz.js", + "./ar-dz.js": "../../../../moment/locale/ar-dz.js", + "./ar-kw": "../../../../moment/locale/ar-kw.js", + "./ar-kw.js": "../../../../moment/locale/ar-kw.js", + "./ar-ly": "../../../../moment/locale/ar-ly.js", + "./ar-ly.js": "../../../../moment/locale/ar-ly.js", + "./ar-ma": "../../../../moment/locale/ar-ma.js", + "./ar-ma.js": "../../../../moment/locale/ar-ma.js", + "./ar-sa": "../../../../moment/locale/ar-sa.js", + "./ar-sa.js": "../../../../moment/locale/ar-sa.js", + "./ar-tn": "../../../../moment/locale/ar-tn.js", + "./ar-tn.js": "../../../../moment/locale/ar-tn.js", + "./ar.js": "../../../../moment/locale/ar.js", + "./az": "../../../../moment/locale/az.js", + "./az.js": "../../../../moment/locale/az.js", + "./be": "../../../../moment/locale/be.js", + "./be.js": "../../../../moment/locale/be.js", + "./bg": "../../../../moment/locale/bg.js", + "./bg.js": "../../../../moment/locale/bg.js", + "./bn": "../../../../moment/locale/bn.js", + "./bn.js": "../../../../moment/locale/bn.js", + "./bo": "../../../../moment/locale/bo.js", + "./bo.js": "../../../../moment/locale/bo.js", + "./br": "../../../../moment/locale/br.js", + "./br.js": "../../../../moment/locale/br.js", + "./bs": "../../../../moment/locale/bs.js", + "./bs.js": "../../../../moment/locale/bs.js", + "./ca": "../../../../moment/locale/ca.js", + "./ca.js": "../../../../moment/locale/ca.js", + "./cs": "../../../../moment/locale/cs.js", + "./cs.js": "../../../../moment/locale/cs.js", + "./cv": "../../../../moment/locale/cv.js", + "./cv.js": "../../../../moment/locale/cv.js", + "./cy": "../../../../moment/locale/cy.js", + "./cy.js": "../../../../moment/locale/cy.js", + "./da": "../../../../moment/locale/da.js", + "./da.js": "../../../../moment/locale/da.js", + "./de": "../../../../moment/locale/de.js", + "./de-at": "../../../../moment/locale/de-at.js", + "./de-at.js": "../../../../moment/locale/de-at.js", + "./de-ch": "../../../../moment/locale/de-ch.js", + "./de-ch.js": "../../../../moment/locale/de-ch.js", + "./de.js": "../../../../moment/locale/de.js", + "./dv": "../../../../moment/locale/dv.js", + "./dv.js": "../../../../moment/locale/dv.js", + "./el": "../../../../moment/locale/el.js", + "./el.js": "../../../../moment/locale/el.js", + "./en-au": "../../../../moment/locale/en-au.js", + "./en-au.js": "../../../../moment/locale/en-au.js", + "./en-ca": "../../../../moment/locale/en-ca.js", + "./en-ca.js": "../../../../moment/locale/en-ca.js", + "./en-gb": "../../../../moment/locale/en-gb.js", + "./en-gb.js": "../../../../moment/locale/en-gb.js", + "./en-ie": "../../../../moment/locale/en-ie.js", + "./en-ie.js": "../../../../moment/locale/en-ie.js", + "./en-nz": "../../../../moment/locale/en-nz.js", + "./en-nz.js": "../../../../moment/locale/en-nz.js", + "./eo": "../../../../moment/locale/eo.js", + "./eo.js": "../../../../moment/locale/eo.js", + "./es": "../../../../moment/locale/es.js", + "./es-do": "../../../../moment/locale/es-do.js", + "./es-do.js": "../../../../moment/locale/es-do.js", + "./es.js": "../../../../moment/locale/es.js", + "./et": "../../../../moment/locale/et.js", + "./et.js": "../../../../moment/locale/et.js", + "./eu": "../../../../moment/locale/eu.js", + "./eu.js": "../../../../moment/locale/eu.js", + "./fa": "../../../../moment/locale/fa.js", + "./fa.js": "../../../../moment/locale/fa.js", + "./fi": "../../../../moment/locale/fi.js", + "./fi.js": "../../../../moment/locale/fi.js", + "./fo": "../../../../moment/locale/fo.js", + "./fo.js": "../../../../moment/locale/fo.js", + "./fr": "../../../../moment/locale/fr.js", + "./fr-ca": "../../../../moment/locale/fr-ca.js", + "./fr-ca.js": "../../../../moment/locale/fr-ca.js", + "./fr-ch": "../../../../moment/locale/fr-ch.js", + "./fr-ch.js": "../../../../moment/locale/fr-ch.js", + "./fr.js": "../../../../moment/locale/fr.js", + "./fy": "../../../../moment/locale/fy.js", + "./fy.js": "../../../../moment/locale/fy.js", + "./gd": "../../../../moment/locale/gd.js", + "./gd.js": "../../../../moment/locale/gd.js", + "./gl": "../../../../moment/locale/gl.js", + "./gl.js": "../../../../moment/locale/gl.js", + "./gom-latn": "../../../../moment/locale/gom-latn.js", + "./gom-latn.js": "../../../../moment/locale/gom-latn.js", + "./he": "../../../../moment/locale/he.js", + "./he.js": "../../../../moment/locale/he.js", + "./hi": "../../../../moment/locale/hi.js", + "./hi.js": "../../../../moment/locale/hi.js", + "./hr": "../../../../moment/locale/hr.js", + "./hr.js": "../../../../moment/locale/hr.js", + "./hu": "../../../../moment/locale/hu.js", + "./hu.js": "../../../../moment/locale/hu.js", + "./hy-am": "../../../../moment/locale/hy-am.js", + "./hy-am.js": "../../../../moment/locale/hy-am.js", + "./id": "../../../../moment/locale/id.js", + "./id.js": "../../../../moment/locale/id.js", + "./is": "../../../../moment/locale/is.js", + "./is.js": "../../../../moment/locale/is.js", + "./it": "../../../../moment/locale/it.js", + "./it.js": "../../../../moment/locale/it.js", + "./ja": "../../../../moment/locale/ja.js", + "./ja.js": "../../../../moment/locale/ja.js", + "./jv": "../../../../moment/locale/jv.js", + "./jv.js": "../../../../moment/locale/jv.js", + "./ka": "../../../../moment/locale/ka.js", + "./ka.js": "../../../../moment/locale/ka.js", + "./kk": "../../../../moment/locale/kk.js", + "./kk.js": "../../../../moment/locale/kk.js", + "./km": "../../../../moment/locale/km.js", + "./km.js": "../../../../moment/locale/km.js", + "./kn": "../../../../moment/locale/kn.js", + "./kn.js": "../../../../moment/locale/kn.js", + "./ko": "../../../../moment/locale/ko.js", + "./ko.js": "../../../../moment/locale/ko.js", + "./ky": "../../../../moment/locale/ky.js", + "./ky.js": "../../../../moment/locale/ky.js", + "./lb": "../../../../moment/locale/lb.js", + "./lb.js": "../../../../moment/locale/lb.js", + "./lo": "../../../../moment/locale/lo.js", + "./lo.js": "../../../../moment/locale/lo.js", + "./lt": "../../../../moment/locale/lt.js", + "./lt.js": "../../../../moment/locale/lt.js", + "./lv": "../../../../moment/locale/lv.js", + "./lv.js": "../../../../moment/locale/lv.js", + "./me": "../../../../moment/locale/me.js", + "./me.js": "../../../../moment/locale/me.js", + "./mi": "../../../../moment/locale/mi.js", + "./mi.js": "../../../../moment/locale/mi.js", + "./mk": "../../../../moment/locale/mk.js", + "./mk.js": "../../../../moment/locale/mk.js", + "./ml": "../../../../moment/locale/ml.js", + "./ml.js": "../../../../moment/locale/ml.js", + "./mr": "../../../../moment/locale/mr.js", + "./mr.js": "../../../../moment/locale/mr.js", + "./ms": "../../../../moment/locale/ms.js", + "./ms-my": "../../../../moment/locale/ms-my.js", + "./ms-my.js": "../../../../moment/locale/ms-my.js", + "./ms.js": "../../../../moment/locale/ms.js", + "./my": "../../../../moment/locale/my.js", + "./my.js": "../../../../moment/locale/my.js", + "./nb": "../../../../moment/locale/nb.js", + "./nb.js": "../../../../moment/locale/nb.js", + "./ne": "../../../../moment/locale/ne.js", + "./ne.js": "../../../../moment/locale/ne.js", + "./nl": "../../../../moment/locale/nl.js", + "./nl-be": "../../../../moment/locale/nl-be.js", + "./nl-be.js": "../../../../moment/locale/nl-be.js", + "./nl.js": "../../../../moment/locale/nl.js", + "./nn": "../../../../moment/locale/nn.js", + "./nn.js": "../../../../moment/locale/nn.js", + "./pa-in": "../../../../moment/locale/pa-in.js", + "./pa-in.js": "../../../../moment/locale/pa-in.js", + "./pl": "../../../../moment/locale/pl.js", + "./pl.js": "../../../../moment/locale/pl.js", + "./pt": "../../../../moment/locale/pt.js", + "./pt-br": "../../../../moment/locale/pt-br.js", + "./pt-br.js": "../../../../moment/locale/pt-br.js", + "./pt.js": "../../../../moment/locale/pt.js", + "./ro": "../../../../moment/locale/ro.js", + "./ro.js": "../../../../moment/locale/ro.js", + "./ru": "../../../../moment/locale/ru.js", + "./ru.js": "../../../../moment/locale/ru.js", + "./sd": "../../../../moment/locale/sd.js", + "./sd.js": "../../../../moment/locale/sd.js", + "./se": "../../../../moment/locale/se.js", + "./se.js": "../../../../moment/locale/se.js", + "./si": "../../../../moment/locale/si.js", + "./si.js": "../../../../moment/locale/si.js", + "./sk": "../../../../moment/locale/sk.js", + "./sk.js": "../../../../moment/locale/sk.js", + "./sl": "../../../../moment/locale/sl.js", + "./sl.js": "../../../../moment/locale/sl.js", + "./sq": "../../../../moment/locale/sq.js", + "./sq.js": "../../../../moment/locale/sq.js", + "./sr": "../../../../moment/locale/sr.js", + "./sr-cyrl": "../../../../moment/locale/sr-cyrl.js", + "./sr-cyrl.js": "../../../../moment/locale/sr-cyrl.js", + "./sr.js": "../../../../moment/locale/sr.js", + "./ss": "../../../../moment/locale/ss.js", + "./ss.js": "../../../../moment/locale/ss.js", + "./sv": "../../../../moment/locale/sv.js", + "./sv.js": "../../../../moment/locale/sv.js", + "./sw": "../../../../moment/locale/sw.js", + "./sw.js": "../../../../moment/locale/sw.js", + "./ta": "../../../../moment/locale/ta.js", + "./ta.js": "../../../../moment/locale/ta.js", + "./te": "../../../../moment/locale/te.js", + "./te.js": "../../../../moment/locale/te.js", + "./tet": "../../../../moment/locale/tet.js", + "./tet.js": "../../../../moment/locale/tet.js", + "./th": "../../../../moment/locale/th.js", + "./th.js": "../../../../moment/locale/th.js", + "./tl-ph": "../../../../moment/locale/tl-ph.js", + "./tl-ph.js": "../../../../moment/locale/tl-ph.js", + "./tlh": "../../../../moment/locale/tlh.js", + "./tlh.js": "../../../../moment/locale/tlh.js", + "./tr": "../../../../moment/locale/tr.js", + "./tr.js": "../../../../moment/locale/tr.js", + "./tzl": "../../../../moment/locale/tzl.js", + "./tzl.js": "../../../../moment/locale/tzl.js", + "./tzm": "../../../../moment/locale/tzm.js", + "./tzm-latn": "../../../../moment/locale/tzm-latn.js", + "./tzm-latn.js": "../../../../moment/locale/tzm-latn.js", + "./tzm.js": "../../../../moment/locale/tzm.js", + "./uk": "../../../../moment/locale/uk.js", + "./uk.js": "../../../../moment/locale/uk.js", + "./ur": "../../../../moment/locale/ur.js", + "./ur.js": "../../../../moment/locale/ur.js", + "./uz": "../../../../moment/locale/uz.js", + "./uz-latn": "../../../../moment/locale/uz-latn.js", + "./uz-latn.js": "../../../../moment/locale/uz-latn.js", + "./uz.js": "../../../../moment/locale/uz.js", + "./vi": "../../../../moment/locale/vi.js", + "./vi.js": "../../../../moment/locale/vi.js", + "./x-pseudo": "../../../../moment/locale/x-pseudo.js", + "./x-pseudo.js": "../../../../moment/locale/x-pseudo.js", + "./yo": "../../../../moment/locale/yo.js", + "./yo.js": "../../../../moment/locale/yo.js", + "./zh-cn": "../../../../moment/locale/zh-cn.js", + "./zh-cn.js": "../../../../moment/locale/zh-cn.js", + "./zh-hk": "../../../../moment/locale/zh-hk.js", + "./zh-hk.js": "../../../../moment/locale/zh-hk.js", + "./zh-tw": "../../../../moment/locale/zh-tw.js", + "./zh-tw.js": "../../../../moment/locale/zh-tw.js" +}; +function webpackContext(req) { + return __webpack_require__(webpackContextResolve(req)); +}; +function webpackContextResolve(req) { + var id = map[req]; + if(!(id + 1)) // check for number or string + throw new Error("Cannot find module '" + req + "'."); + return id; +}; +webpackContext.keys = function webpackContextKeys() { + return Object.keys(map); +}; +webpackContext.resolve = webpackContextResolve; +module.exports = webpackContext; +webpackContext.id = "../../../../moment/locale recursive ^\\.\\/.*$"; + +/***/ }), + +/***/ 0: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/main.ts"); + + +/***/ }) + +},[0]); +//# sourceMappingURL=main.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/out/production/resources/loc/backup/polyfills.bundle.js b/kotlin-source/out/production/resources/loc/backup/polyfills.bundle.js new file mode 100644 index 0000000..eacbc2a --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/polyfills.bundle.js @@ -0,0 +1,5393 @@ +webpackJsonp(["polyfills"],{ + +/***/ "../../../../../src/polyfills.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__("../../../../core-js/es6/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__("../../../../core-js/es7/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__ = __webpack_require__("../../../../zone.js/dist/zone.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__); +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html + */ +/*************************************************************************************************** + * BROWSER POLYFILLS + */ +/** IE9, IE10 and IE11 requires all of the following polyfills. **/ +// import 'core-js/es6/symbol'; +// import 'core-js/es6/object'; +// import 'core-js/es6/function'; +// import 'core-js/es6/parse-int'; +// import 'core-js/es6/parse-float'; +// import 'core-js/es6/number'; +// import 'core-js/es6/math'; +// import 'core-js/es6/string'; +// import 'core-js/es6/date'; +// import 'core-js/es6/array'; +// import 'core-js/es6/regexp'; +// import 'core-js/es6/map'; +// import 'core-js/es6/weak-map'; +// import 'core-js/es6/set'; +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. +/** Evergreen browsers require these. **/ + + +/** + * Required to support Web Animations `@angular/animation`. + * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. +/*************************************************************************************************** + * Zone JS is required by Angular itself. + */ + // Included with Angular CLI. +/*************************************************************************************************** + * APPLICATION IMPORTS + */ +/** + * Date, currency, decimal and percent pipes. + * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 + */ +// import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en'; +//# sourceMappingURL=polyfills.js.map + +/***/ }), + +/***/ "../../../../core-js/es6/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es6.reflect.apply.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.construct.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.define-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.delete-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.enumerate.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-prototype-of.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.has.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.is-extensible.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.own-keys.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.prevent-extensions.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set-prototype-of.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/es7/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es7.reflect.define-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.delete-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.metadata.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/modules/_a-function.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-instance.js": +/***/ (function(module, exports) { + +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { + throw TypeError(name + ': incorrect invocation!'); + } return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-object.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-from-iterable.js": +/***/ (function(module, exports, __webpack_require__) { + +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); + +module.exports = function (iter, ITERATOR) { + var result = []; + forOf(iter, false, result.push, result, ITERATOR); + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-includes.js": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var toAbsoluteIndex = __webpack_require__("../../../../core-js/modules/_to-absolute-index.js"); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-methods.js": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var asc = __webpack_require__("../../../../core-js/modules/_array-species-create.js"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-constructor.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var isArray = __webpack_require__("../../../../core-js/modules/_is-array.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("../../../../core-js/modules/_array-species-constructor.js"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_bind.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var invoke = __webpack_require__("../../../../core-js/modules/_invoke.js"); +var arraySlice = [].slice; +var factories = {}; + +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); + } return factories[len](F, args); +}; + +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { + var args = partArgs.concat(arraySlice.call(arguments)); + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); + }; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; + return bound; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_classof.js": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_cof.js": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-strong.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var $iterDefine = __webpack_require__("../../../../core-js/modules/_iter-define.js"); +var step = __webpack_require__("../../../../core-js/modules/_iter-step.js"); +var setSpecies = __webpack_require__("../../../../core-js/modules/_set-species.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var fastKey = __webpack_require__("../../../../core-js/modules/_meta.js").fastKey; +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SIZE = DESCRIPTORS ? '_s' : 'size'; + +var getEntry = function (that, key) { + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; + // frozen object case + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = create(null); // index + that._f = undefined; // first entry + that._l = undefined; // last entry + that[SIZE] = 0; // size + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.1.3.1 Map.prototype.clear() + // 23.2.3.2 Set.prototype.clear() + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { + entry.r = true; + if (entry.p) entry.p = entry.p.n = undefined; + delete data[entry.i]; + } + that._f = that._l = undefined; + that[SIZE] = 0; + }, + // 23.1.3.3 Map.prototype.delete(key) + // 23.2.3.4 Set.prototype.delete(value) + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; + delete that._i[entry.i]; + entry.r = true; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; + that[SIZE]--; + } return !!entry; + }, + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { + f(entry.v, entry.k, this); + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + } + }, + // 23.1.3.7 Map.prototype.has(key) + // 23.2.3.7 Set.prototype.has(value) + has: function has(key) { + return !!getEntry(validate(this, NAME), key); + } + }); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; + } + }); + return C; + }, + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; + // change existing entry + if (entry) { + entry.v = value; + // create new entry + } else { + that._l = entry = { + i: index = fastKey(key, true), // <- index + k: key, // <- key + v: value, // <- value + p: prev = that._l, // <- previous entry + n: undefined, // <- next entry + r: false // <- removed + }; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; + that[SIZE]++; + // add to index + if (index !== 'F') that._i[index] = entry; + } return that; + }, + getEntry: getEntry, + setStrong: function (C, NAME, IS_MAP) { + // add .keys, .values, .entries, [@@iterator] + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + // get next entry + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { + // or finish the iteration + that._t = undefined; + return step(1); + } + // return step by kind + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); + return step(0, [entry.k, entry.v]); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // add [@@species], 23.1.2.2, 23.2.2.2 + setSpecies(NAME); + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-weak.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var getWeak = __webpack_require__("../../../../core-js/modules/_meta.js").getWeak; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var createArrayMethod = __webpack_require__("../../../../core-js/modules/_array-methods.js"); +var $has = __webpack_require__("../../../../core-js/modules/_has.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); +}; +var UncaughtFrozenStore = function () { + this.a = []; +}; +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { + return it[0] === key; + }); +}; +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.a.push([key, value]); + }, + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { + return it[0] === key; + }); + if (~index) this.a.splice(index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = id++; // collection id + that._l = undefined; // leak store for uncaught frozen objects + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.3.3.2 WeakMap.prototype.delete(key) + // 23.4.3.3 WeakSet.prototype.delete(value) + 'delete': function (key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); + return data && $has(data, this._i) && delete data[this._i]; + }, + // 23.3.3.4 WeakMap.prototype.has(key) + // 23.4.3.4 WeakSet.prototype.has(value) + has: function has(key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); + return data && $has(data, this._i); + } + }); + return C; + }, + def: function (that, key, value) { + var data = getWeak(anObject(key), true); + if (data === true) uncaughtFrozenStore(that).set(key, value); + else data[that._i] = value; + return that; + }, + ufstore: uncaughtFrozenStore +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var $iterDetect = __webpack_require__("../../../../core-js/modules/_iter-detect.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__("../../../../core-js/modules/_inherit-if-required.js"); + +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + var fixMethod = function (KEY) { + var fn = proto[KEY]; + redefine(proto, KEY, + KEY == 'delete' ? function (a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'has' ? function has(a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'get' ? function get(a) { + return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } + : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } + ); + }; + if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { + new C().entries().next(); + }))) { + // create collection constructor + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); + redefineAll(C.prototype, methods); + meta.NEED = true; + } else { + var instance = new C(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new C(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + C = wrapper(function (target, iterable) { + anInstance(target, C, NAME); + var that = inheritIfRequired(new Base(), target, C); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + return that; + }); + C.prototype = proto; + proto.constructor = C; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + // weak collections should not contains .clear method + if (IS_WEAK && proto.clear) delete proto.clear; + } + + setToStringTag(C, NAME); + + O[NAME] = C; + $export($export.G + $export.W + $export.F * (C != Base), O); + + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); + + return C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_core.js": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.5.0' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_ctx.js": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_defined.js": +/***/ (function(module, exports) { + +// 7.2.1 RequireObjectCoercible(argument) +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_descriptors.js": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_dom-create.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_enum-bug-keys.js": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "../../../../core-js/modules/_export.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var core = __webpack_require__("../../../../core-js/modules/_core.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var PROTOTYPE = 'prototype'; + +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; + + +/***/ }), + +/***/ "../../../../core-js/modules/_fails.js": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_for-of.js": +/***/ (function(module, exports, __webpack_require__) { + +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var call = __webpack_require__("../../../../core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__("../../../../core-js/modules/_is-array-iter.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var getIterFn = __webpack_require__("../../../../core-js/modules/core.get-iterator-method.js"); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); + // fast case for arrays with default iterator + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { + result = call(iterator, f, step.value, entries); + if (result === BREAK || result === RETURN) return result; + } +}; +exports.BREAK = BREAK; +exports.RETURN = RETURN; + + +/***/ }), + +/***/ "../../../../core-js/modules/_global.js": +/***/ (function(module, exports) { + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_has.js": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_hide.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_html.js": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "../../../../core-js/modules/_ie8-dom-define.js": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("../../../../core-js/modules/_descriptors.js") && !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__("../../../../core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_inherit-if-required.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var setPrototypeOf = __webpack_require__("../../../../core-js/modules/_set-proto.js").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_invoke.js": +/***/ (function(module, exports) { + +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function (fn, args, that) { + var un = that === undefined; + switch (args.length) { + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array-iter.js": +/***/ (function(module, exports, __webpack_require__) { + +// check on default Array iterator +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var ArrayProto = Array.prototype; + +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-object.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-call.js": +/***/ (function(module, exports, __webpack_require__) { + +// call something on iterator step with safe closing on error +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +module.exports = function (iterator, fn, value, entries) { + try { + return entries ? fn(anObject(value)[0], value[1]) : fn(value); + // 7.4.6 IteratorClose(iterator, completion) + } catch (e) { + var ret = iterator['return']; + if (ret !== undefined) anObject(ret.call(iterator)); + throw e; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-create.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var descriptor = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("../../../../core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-define.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("../../../../core-js/modules/_library.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var $iterCreate = __webpack_require__("../../../../core-js/modules/_iter-create.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; + +var returnThis = function () { return this; }; + +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-detect.js": +/***/ (function(module, exports, __webpack_require__) { + +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var SAFE_CLOSING = false; + +try { + var riter = [7][ITERATOR](); + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } + +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; + var safe = false; + try { + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; + exec(arr); + } catch (e) { /* empty */ } + return safe; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-step.js": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iterators.js": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_library.js": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "../../../../core-js/modules/_meta.js": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("../../../../core-js/modules/_uid.js")('meta'); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var setDesc = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); +}; +var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var Map = __webpack_require__("../../../../core-js/modules/es6.map.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('metadata'); +var store = shared.store || (shared.store = new (__webpack_require__("../../../../core-js/modules/es6.weak-map.js"))()); + +var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return undefined; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return undefined; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; +}; +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); +}; +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); +}; +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); +}; +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); + return keys; +}; +var toMetaKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); +}; +var exp = function (O) { + $export($export.S, 'Reflect', O); +}; + +module.exports = { + store: store, + map: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + key: toMetaKey, + exp: exp +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-assign.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 19.1.2.1 Object.assign(target, source, ...) +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var $assign = Object.assign; + +// should work with symbols and should have deterministic property order (V8 bug) +module.exports = !$assign || __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; + } return T; +} : $assign; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var dPs = __webpack_require__("../../../../core-js/modules/_object-dps.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = __webpack_require__("../../../../core-js/modules/_dom-create.js")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("../../../../core-js/modules/_html.js").appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); +}; + +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dp.js": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dps.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); + +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopd.js": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopn.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var hiddenKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gops.js": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gpo.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var ObjectProto = Object.prototype; + +module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys-internal.js": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var arrayIndexOf = __webpack_require__("../../../../core-js/modules/_array-includes.js")(false); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); + +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-pie.js": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "../../../../core-js/modules/_own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// all object keys, includes non-enumerable and symbols +var gOPN = __webpack_require__("../../../../core-js/modules/_object-gopn.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Reflect = __webpack_require__("../../../../core-js/modules/_global.js").Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; + return getSymbols ? keys.concat(getSymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_property-desc.js": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine-all.js": +/***/ (function(module, exports, __webpack_require__) { + +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +module.exports = function (target, src, safe) { + for (var key in src) redefine(target, key, src[key], safe); + return target; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var SRC = __webpack_require__("../../../../core-js/modules/_uid.js")('src'); +var TO_STRING = 'toString'; +var $toString = Function[TO_STRING]; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("../../../../core-js/modules/_core.js").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-proto.js": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("../../../../core-js/modules/_ctx.js")(Function.call, __webpack_require__("../../../../core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-species.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (KEY) { + var C = global[KEY]; + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { + configurable: true, + get: function () { return this; } + }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-to-string-tag.js": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared-key.js": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('keys'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); +module.exports = function (key) { + return store[key] || (store[key] = {}); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-absolute-index.js": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-integer.js": +/***/ (function(module, exports) { + +// 7.1.4 ToInteger +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-length.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-object.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-primitive.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_uid.js": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_validate-collection.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_wks.js": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("../../../../core-js/modules/_shared.js")('wks'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +var Symbol = __webpack_require__("../../../../core-js/modules/_global.js").Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; + +var $exports = module.exports = function (name) { + return store[name] || (store[name] = + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); +}; + +$exports.store = store; + + +/***/ }), + +/***/ "../../../../core-js/modules/core.get-iterator-method.js": +/***/ (function(module, exports, __webpack_require__) { + +var classof = __webpack_require__("../../../../core-js/modules/_classof.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] + || it['@@iterator'] + || Iterators[classof(it)]; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var MAP = 'Map'; + +// 23.1 Map Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.1.3.6 Map.prototype.get(key) + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); + return entry && entry.v; + }, + // 23.1.3.9 Map.prototype.set(key, value) + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); + } +}, strong, true); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.apply.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var rApply = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).apply; +var fApply = Function.apply; +// MS Edge argumentsList argument is optional +$export($export.S + $export.F * !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + rApply(function () { /* empty */ }); +}), 'Reflect', { + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); + return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.construct.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var bind = __webpack_require__("../../../../core-js/modules/_bind.js"); +var rConstruct = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).construct; + +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); +}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); +}); + +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { + construct: function construct(Target, args /* , newTarget */) { + aFunction(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + $args.push.apply($args, args); + return new (bind.apply(Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); + return isObject(result) ? result : instance; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.define-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +$export($export.S + $export.F * __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); +}), 'Reflect', { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + propertyKey = toPrimitive(propertyKey, true); + anObject(attributes); + try { + dP.f(target, propertyKey, attributes); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.delete-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.4 Reflect.deleteProperty(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js").f; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + deleteProperty: function deleteProperty(target, propertyKey) { + var desc = gOPD(anObject(target), propertyKey); + return desc && !desc.configurable ? false : delete target[propertyKey]; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.enumerate.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 26.1.5 Reflect.enumerate(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Enumerate = function (iterated) { + this._t = anObject(iterated); // target + this._i = 0; // next index + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); +}; +__webpack_require__("../../../../core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; + do { + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; +}); + +$export($export.S, 'Reflect', { + enumerate: function enumerate(target) { + return new Enumerate(target); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return gOPD.f(anObject(target), propertyKey); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.8 Reflect.getPrototypeOf(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var getProto = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getPrototypeOf: function getPrototypeOf(target) { + return getProto(anObject(target)); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') + ? desc.value + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); +} + +$export($export.S, 'Reflect', { get: get }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.has.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.9 Reflect.has(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.is-extensible.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.10 Reflect.isExtensible(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $isExtensible = Object.isExtensible; + +$export($export.S, 'Reflect', { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible ? $isExtensible(target) : true; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.11 Reflect.ownKeys(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { ownKeys: __webpack_require__("../../../../core-js/modules/_own-keys.js") }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.prevent-extensions.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.12 Reflect.preventExtensions(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $preventExtensions = Object.preventExtensions; + +$export($export.S, 'Reflect', { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + if ($preventExtensions) $preventExtensions(target); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.14 Reflect.setPrototypeOf(target, proto) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var setProto = __webpack_require__("../../../../core-js/modules/_set-proto.js"); + +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { + setProto.check(target, proto); + try { + setProto.set(target, proto); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); + +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { + return set(proto, propertyKey, V, receiver); + } + ownDesc = createDesc(0); + } + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; + existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + return true; + } + return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +} + +$export($export.S, 'Reflect', { set: set }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.set.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SET = 'Set'; + +// 23.2 Set Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.2.3.1 Set.prototype.add(value) + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); + } +}, strong); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.weak-map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var each = __webpack_require__("../../../../core-js/modules/_array-methods.js")(0); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var assign = __webpack_require__("../../../../core-js/modules/_object-assign.js"); +var weak = __webpack_require__("../../../../core-js/modules/_collection-weak.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var tmp = {}; +var InternalMap; + +var wrapper = function (get) { + return function WeakMap() { + return get(this, arguments.length > 0 ? arguments[0] : undefined); + }; +}; + +var methods = { + // 23.3.3.3 WeakMap.prototype.get(key) + get: function get(key) { + if (isObject(key)) { + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); + return data ? data[this._i] : undefined; + } + }, + // 23.3.3.5 WeakMap.prototype.set(key, value) + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); + } +}; + +// 23.3 WeakMap Objects +var $WeakMap = module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); + +// IE11 WeakMap frozen keys fix +if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); + assign(InternalMap.prototype, methods); + meta.NEED = true; + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { + // store frozen objects on internal weakmap shim + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); + var result = this._f[key](a, b); + return key == 'set' ? this : result; + // store all the rest on native weakmap + } return method.call(this, a, b); + }); + }); +} + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.define-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var ordinaryDefineOwnMetadata = metadata.set; + +metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.delete-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var getOrCreateMetadataMap = metadata.map; +var store = metadata.store; + +metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var Set = __webpack_require__("../../../../core-js/modules/es6.set.js"); +var from = __webpack_require__("../../../../core-js/modules/_array-from-iterable.js"); +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; +}; + +metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; +}; + +metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; +}; + +metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var $metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var toMetaKey = $metadata.key; +var ordinaryDefineOwnMetadata = $metadata.set; + +$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, targetKey) { + ordinaryDefineOwnMetadata( + metadataKey, metadataValue, + (targetKey !== undefined ? anObject : aFunction)(target), + toMetaKey(targetKey) + ); + }; +} }); + + +/***/ }), + +/***/ "../../../../webpack/buildin/global.js": +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), + +/***/ "../../../../zone.js/dist/zone.js": +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global) {/** +* @license +* Copyright Google Inc. All Rights Reserved. +* +* Use of this source code is governed by an MIT-style license that can be +* found in the LICENSE file at https://angular.io/license +*/ +(function (global, factory) { + true ? factory() : + typeof define === 'function' && define.amd ? define(factory) : + (factory()); +}(this, (function () { 'use strict'; + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +var Zone$1 = (function (global) { + var FUNCTION = 'function'; + var performance = global['performance']; + function mark(name) { + performance && performance['mark'] && performance['mark'](name); + } + function performanceMeasure(name, label) { + performance && performance['measure'] && performance['measure'](name, label); + } + mark('Zone'); + if (global['Zone']) { + throw new Error('Zone already loaded.'); + } + var Zone = (function () { + function Zone(parent, zoneSpec) { + this._properties = null; + this._parent = parent; + this._name = zoneSpec ? zoneSpec.name || 'unnamed' : ''; + this._properties = zoneSpec && zoneSpec.properties || {}; + this._zoneDelegate = + new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); + } + Zone.assertZonePatched = function () { + if (global['Promise'] !== patches['ZoneAwarePromise']) { + throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + + 'has been overwritten.\n' + + 'Most 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(Zone, "root", { + get: function () { + var zone = Zone.current; + while (zone.parent) { + zone = zone.parent; + } + return zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Zone, "current", { + get: function () { + return _currentZoneFrame.zone; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone, "currentTask", { + get: function () { + return _currentTask; + }, + enumerable: true, + configurable: true + }); + + Zone.__load_patch = function (name, fn) { + if (patches.hasOwnProperty(name)) { + throw Error('Already loaded patch: ' + name); + } + else if (!global['__Zone_disable_' + name]) { + var perfName = 'Zone:' + name; + mark(perfName); + patches[name] = fn(global, Zone, _api); + performanceMeasure(perfName, perfName); + } + }; + Object.defineProperty(Zone.prototype, "parent", { + get: function () { + return this._parent; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + + Zone.prototype.get = function (key) { + var zone = this.getZoneWith(key); + if (zone) + return zone._properties[key]; + }; + Zone.prototype.getZoneWith = function (key) { + var current = this; + while (current) { + if (current._properties.hasOwnProperty(key)) { + return current; + } + current = current._parent; + } + return null; + }; + Zone.prototype.fork = function (zoneSpec) { + if (!zoneSpec) + throw new Error('ZoneSpec required!'); + return this._zoneDelegate.fork(this, zoneSpec); + }; + Zone.prototype.wrap = function (callback, source) { + if (typeof callback !== FUNCTION) { + throw new Error('Expecting function got: ' + callback); + } + var _callback = this._zoneDelegate.intercept(this, callback, source); + var zone = this; + return function () { + return zone.runGuarded(_callback, this, arguments, source); + }; + }; + Zone.prototype.run = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = undefined; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = null; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runTask = function (task, applyThis, applyArgs) { + if (task.zone != this) { + throw new Error('A task can only be run in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + } + // https://github.com/angular/zone.js/issues/778, sometimes eventTask + // will run in notScheduled(canceled) state, we should not try to + // run such kind of task but just return + // we have to define an variable here, if not + // typescript compiler will complain below + var isNotScheduled = task.state === notScheduled; + if (isNotScheduled && task.type === eventTask) { + return; + } + var reEntryGuard = task.state != running; + reEntryGuard && task._transitionTo(running, scheduled); + task.runCount++; + var previousTask = _currentTask; + _currentTask = task; + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + if (task.type == macroTask && task.data && !task.data.isPeriodic) { + task.cancelFn = null; + } + try { + return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + // if the task's state is notScheduled or unknown, then it has already been cancelled + // we should not reset the state to scheduled + if (task.state !== notScheduled && task.state !== unknown) { + if (task.type == eventTask || (task.data && task.data.isPeriodic)) { + reEntryGuard && task._transitionTo(scheduled, running); + } + else { + task.runCount = 0; + this._updateTaskCount(task, -1); + reEntryGuard && + task._transitionTo(notScheduled, running, notScheduled); + } + } + _currentZoneFrame = _currentZoneFrame.parent; + _currentTask = previousTask; + } + }; + Zone.prototype.scheduleTask = function (task) { + if (task.zone && task.zone !== this) { + // check if the task was rescheduled, the newZone + // should not be the children of the original zone + var newZone = this; + while (newZone) { + if (newZone === task.zone) { + throw Error("can not reschedule task to " + this + .name + " which is descendants of the original zone " + task.zone.name); + } + newZone = newZone.parent; + } + } + task._transitionTo(scheduling, notScheduled); + var zoneDelegates = []; + task._zoneDelegates = zoneDelegates; + task._zone = this; + try { + task = this._zoneDelegate.scheduleTask(this, task); + } + catch (err) { + // should set task's state to unknown when scheduleTask throw error + // because the err may from reschedule, so the fromState maybe notScheduled + task._transitionTo(unknown, scheduling, notScheduled); + // TODO: @JiaLiPassion, should we check the result from handleError? + this._zoneDelegate.handleError(this, err); + throw err; + } + if (task._zoneDelegates === zoneDelegates) { + // we have to check because internally the delegate can reschedule the task. + this._updateTaskCount(task, 1); + } + if (task.state == scheduling) { + task._transitionTo(scheduled, scheduling); + } + return task; + }; + Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { + return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null)); + }; + Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.cancelTask = function (task) { + if (task.zone != this) + throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + task._transitionTo(canceling, scheduled, running); + try { + this._zoneDelegate.cancelTask(this, task); + } + catch (err) { + // if error occurs when cancelTask, transit the state to unknown + task._transitionTo(unknown, canceling); + this._zoneDelegate.handleError(this, err); + throw err; + } + this._updateTaskCount(task, -1); + task._transitionTo(notScheduled, canceling); + task.runCount = 0; + return task; + }; + Zone.prototype._updateTaskCount = function (task, count) { + var zoneDelegates = task._zoneDelegates; + if (count == -1) { + task._zoneDelegates = null; + } + for (var i = 0; i < zoneDelegates.length; i++) { + zoneDelegates[i]._updateTaskCount(task.type, count); + } + }; + return Zone; + }()); + Zone.__symbol__ = __symbol__; + var DELEGATE_ZS = { + name: '', + onHasTask: function (delegate, _, target, hasTaskState) { + return delegate.hasTask(target, hasTaskState); + }, + onScheduleTask: function (delegate, _, target, task) { + return delegate.scheduleTask(target, task); + }, + onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); }, + onCancelTask: function (delegate, _, target, task) { + return delegate.cancelTask(target, task); + } + }; + var ZoneDelegate = (function () { + function ZoneDelegate(zone, parentDelegate, zoneSpec) { + this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 }; + this.zone = zone; + this._parentDelegate = parentDelegate; + this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); + this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); + this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone); + this._interceptZS = + zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); + this._interceptDlgt = + zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); + this._interceptCurrZone = + zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone); + this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); + this._invokeDlgt = + zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); + this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone); + this._handleErrorZS = + zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); + this._handleErrorDlgt = + zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); + this._handleErrorCurrZone = + zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone); + this._scheduleTaskZS = + zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); + this._scheduleTaskDlgt = + zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); + this._scheduleTaskCurrZone = + zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone); + this._invokeTaskZS = + zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); + this._invokeTaskDlgt = + zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); + this._invokeTaskCurrZone = + zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone); + this._cancelTaskZS = + zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); + this._cancelTaskDlgt = + zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); + this._cancelTaskCurrZone = + zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone); + this._hasTaskZS = null; + this._hasTaskDlgt = null; + this._hasTaskDlgtOwner = null; + this._hasTaskCurrZone = null; + var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; + var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; + if (zoneSpecHasTask || parentHasTask) { + // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such + // a case all task related interceptors must go through this ZD. We can't short circuit it. + this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; + this._hasTaskDlgt = parentDelegate; + this._hasTaskDlgtOwner = this; + this._hasTaskCurrZone = zone; + if (!zoneSpec.onScheduleTask) { + this._scheduleTaskZS = DELEGATE_ZS; + this._scheduleTaskDlgt = parentDelegate; + this._scheduleTaskCurrZone = this.zone; + } + if (!zoneSpec.onInvokeTask) { + this._invokeTaskZS = DELEGATE_ZS; + this._invokeTaskDlgt = parentDelegate; + this._invokeTaskCurrZone = this.zone; + } + if (!zoneSpec.onCancelTask) { + this._cancelTaskZS = DELEGATE_ZS; + this._cancelTaskDlgt = parentDelegate; + this._cancelTaskCurrZone = this.zone; + } + } + } + ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { + return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : + new Zone(targetZone, zoneSpec); + }; + ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { + return this._interceptZS ? + this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : + callback; + }; + ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { + return this._invokeZS ? + this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : + callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.handleError = function (targetZone, error) { + return this._handleErrorZS ? + this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : + true; + }; + ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { + var returnTask = task; + if (this._scheduleTaskZS) { + if (this._hasTaskZS) { + returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); + } + returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); + if (!returnTask) + returnTask = task; + } + else { + if (task.scheduleFn) { + task.scheduleFn(task); + } + else if (task.type == microTask) { + scheduleMicroTask(task); + } + else { + throw new Error('Task is missing scheduleFn.'); + } + } + return returnTask; + }; + ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { + return this._invokeTaskZS ? + this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : + task.callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.cancelTask = function (targetZone, task) { + var value; + if (this._cancelTaskZS) { + value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); + } + else { + if (!task.cancelFn) { + throw Error('Task is not cancelable'); + } + value = task.cancelFn(task); + } + return value; + }; + ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { + // hasTask should not throw error so other ZoneDelegate + // can still trigger hasTask callback + try { + return this._hasTaskZS && + this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); + } + catch (err) { + this.handleError(targetZone, err); + } + }; + ZoneDelegate.prototype._updateTaskCount = function (type, count) { + var counts = this._taskCounts; + var prev = counts[type]; + var next = counts[type] = prev + count; + if (next < 0) { + throw new Error('More tasks executed then were scheduled.'); + } + if (prev == 0 || next == 0) { + var isEmpty = { + microTask: counts['microTask'] > 0, + macroTask: counts['macroTask'] > 0, + eventTask: counts['eventTask'] > 0, + change: type + }; + this.hasTask(this.zone, isEmpty); + } + }; + return ZoneDelegate; + }()); + var ZoneTask = (function () { + function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { + this._zone = null; + this.runCount = 0; + this._zoneDelegates = null; + this._state = 'notScheduled'; + this.type = type; + this.source = source; + this.data = options; + this.scheduleFn = scheduleFn; + this.cancelFn = cancelFn; + this.callback = callback; + var self = this; + if (type === eventTask && options && options.isUsingGlobalCallback) { + this.invoke = ZoneTask.invokeTask; + } + else { + this.invoke = function () { + return ZoneTask.invokeTask.apply(global, [self, this, arguments]); + }; + } + } + ZoneTask.invokeTask = function (task, target, args) { + if (!task) { + task = this; + } + _numberOfNestedTaskFrames++; + try { + task.runCount++; + return task.zone.runTask(task, target, args); + } + finally { + if (_numberOfNestedTaskFrames == 1) { + drainMicroTaskQueue(); + } + _numberOfNestedTaskFrames--; + } + }; + Object.defineProperty(ZoneTask.prototype, "zone", { + get: function () { + return this._zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ZoneTask.prototype, "state", { + get: function () { + return this._state; + }, + enumerable: true, + configurable: true + }); + ZoneTask.prototype.cancelScheduleRequest = function () { + this._transitionTo(notScheduled, scheduling); + }; + ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { + if (this._state === fromState1 || this._state === fromState2) { + this._state = toState; + if (toState == notScheduled) { + this._zoneDelegates = null; + } + } + else { + throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? + ' or \'' + fromState2 + '\'' : + '') + ", was '" + this._state + "'."); + } + }; + ZoneTask.prototype.toString = function () { + if (this.data && typeof this.data.handleId !== 'undefined') { + return this.data.handleId; + } + else { + return Object.prototype.toString.call(this); + } + }; + // add toJSON method to prevent cyclic error when + // call JSON.stringify(zoneTask) + ZoneTask.prototype.toJSON = function () { + return { + type: this.type, + state: this.state, + source: this.source, + zone: this.zone.name, + invoke: this.invoke, + scheduleFn: this.scheduleFn, + cancelFn: this.cancelFn, + runCount: this.runCount, + callback: this.callback + }; + }; + return ZoneTask; + }()); + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// MICROTASK QUEUE + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var symbolSetTimeout = __symbol__('setTimeout'); + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + var _microTaskQueue = []; + var _isDrainingMicrotaskQueue = false; + var nativeMicroTaskQueuePromise; + function scheduleMicroTask(task) { + // if we are not running in any task, and there has not been anything scheduled + // we must bootstrap the initial task creation by manually scheduling the drain + if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { + // We are not running in Task, so we need to kickstart the microtask queue. + if (!nativeMicroTaskQueuePromise) { + if (global[symbolPromise]) { + nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); + } + } + if (nativeMicroTaskQueuePromise) { + nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue); + } + else { + global[symbolSetTimeout](drainMicroTaskQueue, 0); + } + } + task && _microTaskQueue.push(task); + } + function drainMicroTaskQueue() { + if (!_isDrainingMicrotaskQueue) { + _isDrainingMicrotaskQueue = true; + while (_microTaskQueue.length) { + var queue = _microTaskQueue; + _microTaskQueue = []; + for (var i = 0; i < queue.length; i++) { + var task = queue[i]; + try { + task.zone.runTask(task, null, null); + } + catch (error) { + _api.onUnhandledError(error); + } + } + } + var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; + _api.microtaskDrainDone(); + _isDrainingMicrotaskQueue = false; + } + } + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// BOOTSTRAP + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var NO_ZONE = { name: 'NO ZONE' }; + var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown'; + var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask'; + var patches = {}; + var _api = { + symbol: __symbol__, + currentZoneFrame: function () { return _currentZoneFrame; }, + onUnhandledError: noop, + microtaskDrainDone: noop, + scheduleMicroTask: scheduleMicroTask, + showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; }, + patchEventTarget: function () { return []; }, + patchOnProperties: noop, + patchMethod: function () { return noop; }, + }; + var _currentZoneFrame = { parent: null, zone: new Zone(null, null) }; + var _currentTask = null; + var _numberOfNestedTaskFrames = 0; + function noop() { } + function __symbol__(name) { + return '__zone_symbol__' + name; + } + performanceMeasure('Zone', 'Zone'); + return global['Zone'] = Zone; +})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { + var __symbol__ = api.symbol; + var _uncaughtPromiseErrors = []; + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + api.onUnhandledError = function (e) { + if (api.showUncaughtError()) { + var rejection = e && e.rejection; + if (rejection) { + console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); + } + else { + console.error(e); + } + } + }; + api.microtaskDrainDone = function () { + while (_uncaughtPromiseErrors.length) { + var _loop_1 = function () { + var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); + try { + uncaughtPromiseError.zone.runGuarded(function () { + throw uncaughtPromiseError; + }); + } + catch (error) { + handleUnhandledRejection(error); + } + }; + while (_uncaughtPromiseErrors.length) { + _loop_1(); + } + } + }; + var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); + function handleUnhandledRejection(e) { + api.onUnhandledError(e); + try { + var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; + if (handler && typeof handler === 'function') { + handler.apply(this, [e]); + } + } + catch (err) { + } + } + function isThenable(value) { + return value && value.then; + } + function forwardResolution(value) { + return value; + } + function forwardRejection(rejection) { + return ZoneAwarePromise.reject(rejection); + } + var symbolState = __symbol__('state'); + var symbolValue = __symbol__('value'); + var source = 'Promise.then'; + var UNRESOLVED = null; + var RESOLVED = true; + var REJECTED = false; + var REJECTED_NO_CATCH = 0; + function makeResolver(promise, state) { + return function (v) { + try { + resolvePromise(promise, state, v); + } + catch (err) { + resolvePromise(promise, false, err); + } + // Do not return value or you will break the Promise spec. + }; + } + var once = function () { + var wasCalled = false; + return function wrapper(wrappedFunction) { + return function () { + if (wasCalled) { + return; + } + wasCalled = true; + wrappedFunction.apply(null, arguments); + }; + }; + }; + var TYPE_ERROR = 'Promise resolved with itself'; + var OBJECT = 'object'; + var FUNCTION = 'function'; + var CURRENT_TASK_SYMBOL = __symbol__('currentTask'); + // Promise Resolution + function resolvePromise(promise, state, value) { + var onceWrapper = once(); + if (promise === value) { + throw new TypeError(TYPE_ERROR); + } + if (promise[symbolState] === UNRESOLVED) { + // should only get value.then once based on promise spec. + var then = null; + try { + if (typeof value === OBJECT || typeof value === FUNCTION) { + then = value && value.then; + } + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + return promise; + } + // if (value instanceof ZoneAwarePromise) { + if (state !== REJECTED && value instanceof ZoneAwarePromise && + value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && + value[symbolState] !== UNRESOLVED) { + clearRejectedNoCatch(value); + resolvePromise(promise, value[symbolState], value[symbolValue]); + } + else if (state !== REJECTED && typeof then === FUNCTION) { + try { + then.apply(value, [ + onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)) + ]); + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + } + } + else { + promise[symbolState] = state; + var queue = promise[symbolValue]; + promise[symbolValue] = value; + // record task information in value when error occurs, so we can + // do some additional work such as render longStackTrace + if (state === REJECTED && value instanceof Error) { + value[CURRENT_TASK_SYMBOL] = Zone.currentTask; + } + for (var i = 0; i < queue.length;) { + scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); + } + if (queue.length == 0 && state == REJECTED) { + promise[symbolState] = REJECTED_NO_CATCH; + try { + throw new Error('Uncaught (in promise): ' + value + + (value && value.stack ? '\n' + value.stack : '')); + } + catch (err) { + var error_1 = err; + error_1.rejection = value; + error_1.promise = promise; + error_1.zone = Zone.current; + error_1.task = Zone.currentTask; + _uncaughtPromiseErrors.push(error_1); + api.scheduleMicroTask(); // to make sure that it is running + } + } + } + } + // Resolving an already resolved promise is a noop. + return promise; + } + var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); + function clearRejectedNoCatch(promise) { + if (promise[symbolState] === REJECTED_NO_CATCH) { + // if the promise is rejected no catch status + // and queue.length > 0, means there is a error handler + // here to handle the rejected promise, we should trigger + // windows.rejectionhandled eventHandler or nodejs rejectionHandled + // eventHandler + try { + var handler = Zone[REJECTION_HANDLED_HANDLER]; + if (handler && typeof handler === FUNCTION) { + handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]); + } + } + catch (err) { + } + promise[symbolState] = REJECTED; + for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { + if (promise === _uncaughtPromiseErrors[i].promise) { + _uncaughtPromiseErrors.splice(i, 1); + } + } + } + } + function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { + clearRejectedNoCatch(promise); + var delegate = promise[symbolState] ? + (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution : + (typeof onRejected === FUNCTION) ? onRejected : forwardRejection; + zone.scheduleMicroTask(source, function () { + try { + resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]])); + } + catch (error) { + resolvePromise(chainPromise, false, error); + } + }); + } + var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; + var ZoneAwarePromise = (function () { + function ZoneAwarePromise(executor) { + var promise = this; + if (!(promise instanceof ZoneAwarePromise)) { + throw new Error('Must be an instanceof Promise.'); + } + promise[symbolState] = UNRESOLVED; + promise[symbolValue] = []; // queue; + try { + executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); + } + catch (error) { + resolvePromise(promise, false, error); + } + } + ZoneAwarePromise.toString = function () { + return ZONE_AWARE_PROMISE_TO_STRING; + }; + ZoneAwarePromise.resolve = function (value) { + return resolvePromise(new this(null), RESOLVED, value); + }; + ZoneAwarePromise.reject = function (error) { + return resolvePromise(new this(null), REJECTED, error); + }; + ZoneAwarePromise.race = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + _a = [res, rej], resolve = _a[0], reject = _a[1]; + var _a; + }); + function onResolve(value) { + promise && (promise = null || resolve(value)); + } + function onReject(error) { + promise && (promise = null || reject(error)); + } + for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { + var value = values_1[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then(onResolve, onReject); + } + return promise; + }; + ZoneAwarePromise.all = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + resolve = res; + reject = rej; + }); + var count = 0; + var resolvedValues = []; + for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { + var value = values_2[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then((function (index) { return function (value) { + resolvedValues[index] = value; + count--; + if (!count) { + resolve(resolvedValues); + } + }; })(count), reject); + count++; + } + if (!count) + resolve(resolvedValues); + return promise; + }; + ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { + var chainPromise = new this.constructor(null); + var zone = Zone.current; + if (this[symbolState] == UNRESOLVED) { + this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); + } + else { + scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); + } + return chainPromise; + }; + ZoneAwarePromise.prototype.catch = function (onRejected) { + return this.then(null, onRejected); + }; + return ZoneAwarePromise; + }()); + // Protect against aggressive optimizers dropping seemingly unused properties. + // E.g. Closure Compiler in advanced mode. + ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; + ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; + ZoneAwarePromise['race'] = ZoneAwarePromise.race; + ZoneAwarePromise['all'] = ZoneAwarePromise.all; + var NativePromise = global[symbolPromise] = global['Promise']; + global['Promise'] = ZoneAwarePromise; + var symbolThenPatched = __symbol__('thenPatched'); + function patchThen(Ctor) { + var proto = Ctor.prototype; + var originalThen = proto.then; + // Keep a reference to the original method. + proto[symbolThen] = originalThen; + // check Ctor.prototype.then propertyDescritor is writable or not + // in meteor env, writable is false, we have to make it to be true. + var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then'); + if (prop && prop.writable === false && prop.configurable) { + Object.defineProperty(Ctor.prototype, 'then', { writable: true }); + } + Ctor.prototype.then = function (onResolve, onReject) { + var _this = this; + var wrapped = new ZoneAwarePromise(function (resolve, reject) { + originalThen.call(_this, resolve, reject); + }); + return wrapped.then(onResolve, onReject); + }; + Ctor[symbolThenPatched] = true; + } + function zoneify(fn) { + return function () { + var resultPromise = fn.apply(this, arguments); + if (resultPromise instanceof ZoneAwarePromise) { + return resultPromise; + } + var ctor = resultPromise.constructor; + if (!ctor[symbolThenPatched]) { + patchThen(ctor); + } + return resultPromise; + }; + } + if (NativePromise) { + patchThen(NativePromise); + var fetch_1 = global['fetch']; + if (typeof fetch_1 == FUNCTION) { + global['fetch'] = zoneify(fetch_1); + } + } + // This is not part of public API, but it is useful for tests, so we expose it. + Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; + return ZoneAwarePromise; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * Suppress closure compiler errors about unknown 'Zone' variable + * @fileoverview + * @suppress {undefinedVars,globalThis,missingRequire} + */ +var zoneSymbol = Zone.__symbol__; +var _global = typeof window === 'object' && window || typeof self === 'object' && self || global; +var FUNCTION = 'function'; +var UNDEFINED = 'undefined'; +var REMOVE_ATTRIBUTE = 'removeAttribute'; +function bindArguments(args, source) { + for (var i = args.length - 1; i >= 0; i--) { + if (typeof args[i] === FUNCTION) { + args[i] = Zone.current.wrap(args[i], source + '_' + i); + } + } + return args; +} +function patchPrototype(prototype, fnNames) { + var source = prototype.constructor['name']; + var _loop_1 = function (i) { + var name_1 = fnNames[i]; + var delegate = prototype[name_1]; + if (delegate) { + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1); + if (!isPropertyWritable(prototypeDesc)) { + return "continue"; + } + prototype[name_1] = (function (delegate) { + var patched = function () { + return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); + }; + attachOriginToPatched(patched, delegate); + return patched; + })(delegate); + } + }; + for (var i = 0; i < fnNames.length; i++) { + _loop_1(i); + } +} +function isPropertyWritable(propertyDesc) { + if (!propertyDesc) { + return true; + } + if (propertyDesc.writable === false) { + return false; + } + if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) { + return false; + } + return true; +} +var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope); +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]'); +var isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']); +// we are in electron of nw, so we are both browser and nodejs +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isMix = typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]' && !isWebWorker && + !!(typeof window !== 'undefined' && window['HTMLElement']); +var ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler'); +var zoneSymbolEventNames = {}; +var wrapFn = function (event) { + var eventNameSymbol = zoneSymbolEventNames[event.type]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); + } + var listener = this[eventNameSymbol]; + var result = listener && listener.apply(this, arguments); + if (result != undefined && !result) { + event.preventDefault(); + } + return result; +}; +function patchProperty(obj, prop, prototype) { + var desc = Object.getOwnPropertyDescriptor(obj, prop); + if (!desc && prototype) { + // when patch window object, use prototype to check prop exist or not + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop); + if (prototypeDesc) { + desc = { enumerable: true, configurable: true }; + } + } + // if the descriptor not exists or is not configurable + // just return + if (!desc || !desc.configurable) { + return; + } + // A property descriptor cannot have getter/setter and be writable + // deleting the writable and value properties avoids this error: + // + // TypeError: property descriptors must not specify a value or be writable when a + // getter or setter has been specified + delete desc.writable; + delete desc.value; + var originalDescGet = desc.get; + // substr(2) cuz 'onclick' -> 'click', etc + var eventName = prop.substr(2); + var eventNameSymbol = zoneSymbolEventNames[eventName]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); + } + desc.set = function (newValue) { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return; + } + var previousValue = target[eventNameSymbol]; + if (previousValue) { + target.removeEventListener(eventName, wrapFn); + } + if (typeof newValue === 'function') { + target[eventNameSymbol] = newValue; + target.addEventListener(eventName, wrapFn, false); + } + else { + target[eventNameSymbol] = null; + } + }; + // The getter would return undefined for unassigned properties but the default value of an + // unassigned property is null + desc.get = function () { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return null; + } + if (target[eventNameSymbol]) { + return wrapFn; + } + else if (originalDescGet) { + // result will be null when use inline event attribute, + // such as + // because the onclick function is internal raw uncompiled handler + // the onclick will be evaluated when first time event was triggered or + // the property is accessed, https://github.com/angular/zone.js/issues/525 + // so we should use original native get to retrieve the handler + var value = originalDescGet && originalDescGet.apply(this); + if (value) { + desc.set.apply(this, [value]); + if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) { + target.removeAttribute(prop); + } + return value; + } + } + return null; + }; + Object.defineProperty(obj, prop, desc); +} +function patchOnProperties(obj, properties, prototype) { + if (properties) { + for (var i = 0; i < properties.length; i++) { + patchProperty(obj, 'on' + properties[i], prototype); + } + } + else { + var onProperties = []; + for (var prop in obj) { + if (prop.substr(0, 2) == 'on') { + onProperties.push(prop); + } + } + for (var j = 0; j < onProperties.length; j++) { + patchProperty(obj, onProperties[j], prototype); + } + } +} +var originalInstanceKey = zoneSymbol('originalInstance'); +// wrap some native API on `window` +function patchClass(className) { + var OriginalClass = _global[className]; + if (!OriginalClass) + return; + // keep original class in global + _global[zoneSymbol(className)] = OriginalClass; + _global[className] = function () { + var a = bindArguments(arguments, className); + switch (a.length) { + case 0: + this[originalInstanceKey] = new OriginalClass(); + break; + case 1: + this[originalInstanceKey] = new OriginalClass(a[0]); + break; + case 2: + this[originalInstanceKey] = new OriginalClass(a[0], a[1]); + break; + case 3: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); + break; + case 4: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); + break; + default: + throw new Error('Arg list too long.'); + } + }; + // attach original delegate to patched function + attachOriginToPatched(_global[className], OriginalClass); + var instance = new OriginalClass(function () { }); + var prop; + for (prop in instance) { + // https://bugs.webkit.org/show_bug.cgi?id=44721 + if (className === 'XMLHttpRequest' && prop === 'responseBlob') + continue; + (function (prop) { + if (typeof instance[prop] === 'function') { + _global[className].prototype[prop] = function () { + return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); + }; + } + else { + Object.defineProperty(_global[className].prototype, prop, { + set: function (fn) { + if (typeof fn === 'function') { + this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop); + // keep callback in wrapped function so we can + // use it in Function.prototype.toString to return + // the native one. + attachOriginToPatched(this[originalInstanceKey][prop], fn); + } + else { + this[originalInstanceKey][prop] = fn; + } + }, + get: function () { + return this[originalInstanceKey][prop]; + } + }); + } + }(prop)); + } + for (prop in OriginalClass) { + if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { + _global[className][prop] = OriginalClass[prop]; + } + } +} +function patchMethod(target, name, patchFn) { + var proto = target; + while (proto && !proto.hasOwnProperty(name)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && target[name]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = target; + } + var delegateName = zoneSymbol(name); + var delegate; + if (proto && !(delegate = proto[delegateName])) { + delegate = proto[delegateName] = proto[name]; + // check whether proto[name] is writable + // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob + var desc = proto && Object.getOwnPropertyDescriptor(proto, name); + if (isPropertyWritable(desc)) { + var patchDelegate_1 = patchFn(delegate, delegateName, name); + proto[name] = function () { + return patchDelegate_1(this, arguments); + }; + attachOriginToPatched(proto[name], delegate); + } + } + return delegate; +} +// TODO: @JiaLiPassion, support cancel task later if necessary +function patchMacroTask(obj, funcName, metaCreator) { + var setNative = null; + function scheduleTask(task) { + var data = task.data; + data.args[data.callbackIndex] = function () { + task.invoke.apply(this, arguments); + }; + setNative.apply(data.target, data.args); + return task; + } + setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) { + var meta = metaCreator(self, args); + if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') { + var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null); + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(self, args); + } + }; }); +} + +function attachOriginToPatched(patched, original) { + patched[zoneSymbol('OriginalDelegate')] = original; +} +var isDetectedIEOrEdge = false; +var ieOrEdge = false; +function isIEOrEdge() { + if (isDetectedIEOrEdge) { + return ieOrEdge; + } + isDetectedIEOrEdge = true; + try { + var ua = window.navigator.userAgent; + var msie = ua.indexOf('MSIE '); + if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { + ieOrEdge = true; + } + return ieOrEdge; + } + catch (error) { + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// override Function.prototype.toString to make zone.js patched function +// look like native function +Zone.__load_patch('toString', function (global, Zone, api) { + // patch Func.prototype.toString to let them look like native + var originalFunctionToString = Zone['__zone_symbol__originalToString'] = + Function.prototype.toString; + var FUNCTION = 'function'; + var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); + var PROMISE_SYMBOL = zoneSymbol('Promise'); + var ERROR_SYMBOL = zoneSymbol('Error'); + Function.prototype.toString = function () { + if (typeof this === FUNCTION) { + var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; + if (originalDelegate) { + if (typeof originalDelegate === FUNCTION) { + return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments); + } + else { + return Object.prototype.toString.call(originalDelegate); + } + } + if (this === Promise) { + var nativePromise = global[PROMISE_SYMBOL]; + if (nativePromise) { + return originalFunctionToString.apply(nativePromise, arguments); + } + } + if (this === Error) { + var nativeError = global[ERROR_SYMBOL]; + if (nativeError) { + return originalFunctionToString.apply(nativeError, arguments); + } + } + } + return originalFunctionToString.apply(this, arguments); + }; + // patch Object.prototype.toString to let them look like native + var originalObjectToString = Object.prototype.toString; + var PROMISE_OBJECT_TO_STRING = '[object Promise]'; + Object.prototype.toString = function () { + if (this instanceof Promise) { + return PROMISE_OBJECT_TO_STRING; + } + return originalObjectToString.apply(this, arguments); + }; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +var TRUE_STR = 'true'; +var FALSE_STR = 'false'; +// an identifier to tell ZoneTask do not create a new invoke closure +var OPTIMIZED_ZONE_EVENT_TASK_DATA = { + isUsingGlobalCallback: true +}; +var zoneSymbolEventNames$1 = {}; +var globalSources = {}; +var CONSTRUCTOR_NAME = 'name'; +var FUNCTION_TYPE = 'function'; +var OBJECT_TYPE = 'object'; +var ZONE_SYMBOL_PREFIX = '__zone_symbol__'; +var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/; +function patchEventTarget(_global, apis, patchOptions) { + var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener'; + var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener'; + var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners'; + var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners'; + var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); + var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; + var PREPEND_EVENT_LISTENER = 'prependListener'; + var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; + var invokeTask = function (task, target, event) { + // for better performance, check isRemoved which is set + // by removeEventListener + if (task.isRemoved) { + return; + } + var delegate = task.callback; + if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) { + // create the bind version of handleEvent when invoke + task.callback = function (event) { return delegate.handleEvent(event); }; + task.originalDelegate = delegate; + } + // invoke static task.invoke + task.invoke(task, target, [event]); + var options = task.options; + if (options && typeof options === 'object' && options.once) { + // if options.once is true, after invoke once remove listener here + // only browser need to do this, nodejs eventEmitter will cal removeListener + // inside EventEmitter.once + var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; + target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]); + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = false + var globalZoneAwareCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = true + var globalZoneAwareCaptureCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + function patchEventTargetMethods(obj, patchOptions) { + if (!obj) { + return false; + } + var useGlobalCallback = true; + if (patchOptions && patchOptions.useGlobalCallback !== undefined) { + useGlobalCallback = patchOptions.useGlobalCallback; + } + var validateHandler = patchOptions && patchOptions.validateHandler; + var checkDuplicate = true; + if (patchOptions && patchOptions.checkDuplicate !== undefined) { + checkDuplicate = patchOptions.checkDuplicate; + } + var returnTarget = false; + if (patchOptions && patchOptions.returnTarget !== undefined) { + returnTarget = patchOptions.returnTarget; + } + var proto = obj; + while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && obj[ADD_EVENT_LISTENER]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = obj; + } + if (!proto) { + return false; + } + if (proto[zoneSymbolAddEventListener]) { + return false; + } + // a shared global taskData to pass data for scheduleEventTask + // so we do not need to create a new object just for pass some data + var taskData = {}; + var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; + var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = + proto[REMOVE_EVENT_LISTENER]; + var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = + proto[LISTENERS_EVENT_LISTENER]; + var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; + var nativePrependEventListener; + if (patchOptions && patchOptions.prependEventListenerFnName) { + nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] = + proto[patchOptions.prependEventListenerFnName]; + } + var customScheduleGlobal = function (task) { + // if there is already a task for the eventName + capture, + // just return, because we use the shared globalZoneAwareCallback here. + if (taskData.isExisting) { + return; + } + return nativeAddEventListener.apply(taskData.target, [ + taskData.eventName, + taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + taskData.options + ]); + }; + var customCancelGlobal = function (task) { + // if task is not marked as isRemoved, this call is directly + // from Zone.prototype.cancelTask, we should remove the task + // from tasksList of target first + if (!task.isRemoved) { + var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; + var symbolEventName = void 0; + if (symbolEventNames) { + symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && task.target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + if (existingTask === task) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + task.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + task.allRemoved = true; + task.target[symbolEventName] = null; + } + break; + } + } + } + } + // if all tasks for the eventName + capture have gone, + // we will really remove the global event callback, + // if not, return + if (!task.allRemoved) { + return; + } + return nativeRemoveEventListener.apply(task.target, [ + task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + task.options + ]); + }; + var customScheduleNonGlobal = function (task) { + return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customSchedulePrepend = function (task) { + return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customCancelNonGlobal = function (task) { + return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]); + }; + var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; + var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; + var compareTaskCallbackVsDelegate = function (task, delegate) { + var typeOfDelegate = typeof delegate; + if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) || + (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) { + // same callback, same capture, same event name, just return + return true; + } + return false; + }; + var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ? + patchOptions.compareTaskCallbackVsDelegate : + compareTaskCallbackVsDelegate; + var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { + if (returnTarget === void 0) { returnTarget = false; } + if (prepend === void 0) { prepend = false; } + return function () { + var target = this || _global; + var targetZone = Zone.current; + var delegate = arguments[1]; + if (!delegate) { + return nativeListener.apply(this, arguments); + } + // don't create the bind delegate function for handleEvent + // case here to improve addEventListener performance + // we will create the bind delegate when invoke + var isHandleEvent = false; + if (typeof delegate !== FUNCTION_TYPE) { + if (!delegate.handleEvent) { + return nativeListener.apply(this, arguments); + } + isHandleEvent = true; + } + if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { + return; + } + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + var once = false; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + once = options ? !!options.once : false; + } + var zone = Zone.current; + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (!symbolEventNames) { + // the code is duplicate, but I just want to get some better performance + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + symbolEventName = capture ? symbolCapture : symbol; + } + else { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = target[symbolEventName]; + var isExisting = false; + if (existingTasks) { + // already have task registered + isExisting = true; + if (checkDuplicate) { + for (var i = 0; i < existingTasks.length; i++) { + if (compare(existingTasks[i], delegate)) { + // same callback, same capture, same event name, just return + return; + } + } + } + } + else { + existingTasks = target[symbolEventName] = []; + } + var source; + var constructorName = target.constructor[CONSTRUCTOR_NAME]; + var targetSource = globalSources[constructorName]; + if (targetSource) { + source = targetSource[eventName]; + } + if (!source) { + source = constructorName + addSource + eventName; + } + // do not create a new object as task.data to pass those things + // just use the global shared one + taskData.options = options; + if (once) { + // if addEventListener with once options, we don't pass it to + // native addEventListener, instead we keep the once setting + // and handle ourselves. + taskData.options.once = false; + } + taskData.target = target; + taskData.capture = capture; + taskData.eventName = eventName; + taskData.isExisting = isExisting; + var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null; + var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); + // have to save those information to task in case + // application may call task.zone.cancelTask() directly + if (once) { + options.once = true; + } + task.options = options; + task.target = target; + task.capture = capture; + task.eventName = eventName; + if (isHandleEvent) { + // save original delegate for compare to check duplicate + task.originalDelegate = delegate; + } + if (!prepend) { + existingTasks.push(task); + } + else { + existingTasks.unshift(task); + } + if (returnTarget) { + return target; + } + }; + }; + proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); + if (nativePrependEventListener) { + proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); + } + proto[REMOVE_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + } + var delegate = arguments[1]; + if (!delegate) { + return nativeRemoveEventListener.apply(this, arguments); + } + if (validateHandler && + !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { + return; + } + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (symbolEventNames) { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + var typeOfDelegate = typeof delegate; + if (compare(existingTask, delegate)) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + existingTask.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + existingTask.allRemoved = true; + target[symbolEventName] = null; + } + existingTask.zone.cancelTask(existingTask); + return; + } + } + } + }; + proto[LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var listeners = []; + var tasks = findEventTasks(target, eventName); + for (var i = 0; i < tasks.length; i++) { + var task = tasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + listeners.push(delegate); + } + return listeners; + }; + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + if (!eventName) { + var keys = Object.keys(target); + for (var i = 0; i < keys.length; i++) { + var prop = keys[i]; + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + // in nodejs EventEmitter, removeListener event is + // used for monitoring the removeListener call, + // so just keep removeListener eventListener until + // all other eventListeners are removed + if (evtName && evtName !== 'removeListener') { + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]); + } + } + // remove removeListener listener finally + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']); + } + else { + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + if (symbolEventNames) { + var symbolEventName = symbolEventNames[FALSE_STR]; + var symbolCaptureEventName = symbolEventNames[TRUE_STR]; + var tasks = target[symbolEventName]; + var captureTasks = target[symbolCaptureEventName]; + if (tasks) { + var removeTasks = tasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + if (captureTasks) { + var removeTasks = captureTasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + } + } + }; + // for native toString patch + attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); + attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); + if (nativeRemoveAllListeners) { + attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); + } + if (nativeListeners) { + attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); + } + return true; + } + var results = []; + for (var i = 0; i < apis.length; i++) { + results[i] = patchEventTargetMethods(apis[i], patchOptions); + } + return results; +} +function findEventTasks(target, eventName) { + var foundTasks = []; + for (var prop in target) { + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + if (evtName && (!eventName || evtName === eventName)) { + var tasks = target[prop]; + if (tasks) { + for (var i = 0; i < tasks.length; i++) { + foundTasks.push(tasks[i]); + } + } + } + } + return foundTasks; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +function patchTimer(window, setName, cancelName, nameSuffix) { + var setNative = null; + var clearNative = null; + setName += nameSuffix; + cancelName += nameSuffix; + var tasksByHandleId = {}; + var NUMBER = 'number'; + var STRING = 'string'; + var FUNCTION = 'function'; + var INTERVAL = 'Interval'; + var TIMEOUT = 'Timeout'; + var NOT_SCHEDULED = 'notScheduled'; + function scheduleTask(task) { + var data = task.data; + function timer() { + try { + task.invoke.apply(this, arguments); + } + finally { + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[data.handleId]; + } + } + } + data.args[0] = timer; + data.handleId = setNative.apply(window, data.args); + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds -> no need to keep them around. Additionally, + // this throws an + // exception in older node versions and has no effect there, because of the stringified key. + tasksByHandleId[data.handleId] = task; + } + return task; + } + function clearTask(task) { + if (typeof task.data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[task.data.handleId]; + } + return clearNative(task.data.handleId); + } + setNative = + patchMethod(window, setName, function (delegate) { return function (self, args) { + if (typeof args[0] === FUNCTION) { + var zone = Zone.current; + var options = { + handleId: null, + isPeriodic: nameSuffix === INTERVAL, + delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null, + args: args + }; + var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask); + if (!task) { + return task; + } + // Node.js must additionally support the ref and unref functions. + var handle = task.data.handleId; + // check whether handle is null, because some polyfill or browser + // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame + if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION && + typeof handle.unref === FUNCTION) { + task.ref = handle.ref.bind(handle); + task.unref = handle.unref.bind(handle); + } + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(window, args); + } + }; }); + clearNative = + patchMethod(window, cancelName, function (delegate) { return function (self, args) { + var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0]; + if (task && typeof task.type === STRING) { + if (task.state !== NOT_SCHEDULED && + (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { + // Do not cancel already canceled functions + task.zone.cancelTask(task); + } + } + else { + // cause an error by calling it directly. + delegate.apply(window, args); + } + }; }); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/* + * This is necessary for Chrome and Chrome mobile, to enable + * things like redefining `createdCallback` on an element. + */ +var _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty; +var _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] = + Object.getOwnPropertyDescriptor; +var _create = Object.create; +var unconfigurablesKey = zoneSymbol('unconfigurables'); +var PROTOTYPE = 'prototype'; +var OBJECT = 'object'; +var UNDEFINED$1 = 'undefined'; +function propertyPatch() { + Object.defineProperty = function (obj, prop, desc) { + if (isUnconfigurable(obj, prop)) { + throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); + } + var originalConfigurableFlag = desc.configurable; + if (prop !== PROTOTYPE) { + desc = rewriteDescriptor(obj, prop, desc); + } + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); + }; + Object.defineProperties = function (obj, props) { + Object.keys(props).forEach(function (prop) { + Object.defineProperty(obj, prop, props[prop]); + }); + return obj; + }; + Object.create = function (obj, proto) { + if (typeof proto === OBJECT && !Object.isFrozen(proto)) { + Object.keys(proto).forEach(function (prop) { + proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); + }); + } + return _create(obj, proto); + }; + Object.getOwnPropertyDescriptor = function (obj, prop) { + var desc = _getOwnPropertyDescriptor(obj, prop); + if (isUnconfigurable(obj, prop)) { + desc.configurable = false; + } + return desc; + }; +} +function _redefineProperty(obj, prop, desc) { + var originalConfigurableFlag = desc.configurable; + desc = rewriteDescriptor(obj, prop, desc); + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); +} +function isUnconfigurable(obj, prop) { + return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; +} +function rewriteDescriptor(obj, prop, desc) { + desc.configurable = true; + if (!desc.configurable) { + if (!obj[unconfigurablesKey]) { + _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} }); + } + obj[unconfigurablesKey][prop] = true; + } + return desc; +} +function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + if (desc.configurable) { + // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's + // retry with the original flag value + if (typeof originalConfigurableFlag == UNDEFINED$1) { + delete desc.configurable; + } + else { + desc.configurable = originalConfigurableFlag; + } + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + var descJson = null; + try { + descJson = JSON.stringify(desc); + } + catch (error) { + descJson = descJson.toString(); + } + console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); + } + } + else { + throw error; + } + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// we have to patch the instance since the proto is non-configurable +function apply(api, _global) { + var WS = _global.WebSocket; + // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener + // On older Chrome, no need since EventTarget was already patched + if (!_global.EventTarget) { + patchEventTarget(_global, [WS.prototype]); + } + _global.WebSocket = function (a, b) { + var socket = arguments.length > 1 ? new WS(a, b) : new WS(a); + var proxySocket; + var proxySocketProto; + // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance + var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage'); + if (onmessageDesc && onmessageDesc.configurable === false) { + proxySocket = Object.create(socket); + // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' + // but proxySocket not, so we will keep socket as prototype and pass it to + // patchOnProperties method + proxySocketProto = socket; + ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) { + proxySocket[propName] = function () { + var args = Array.prototype.slice.call(arguments); + if (propName === 'addEventListener' || propName === 'removeEventListener') { + var eventName = args.length > 0 ? args[0] : undefined; + if (eventName) { + var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); + socket[propertySymbol] = proxySocket[propertySymbol]; + } + } + return socket[propName].apply(socket, args); + }; + }); + } + else { + // we can patch the real socket + proxySocket = socket; + } + patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); + return proxySocket; + }; + var globalWebSocket = _global['WebSocket']; + for (var prop in WS) { + globalWebSocket[prop] = WS[prop]; + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {globalThis} + */ +var globalEventHandlersEventNames = [ + 'abort', + 'animationcancel', + 'animationend', + 'animationiteration', + 'auxclick', + 'beforeinput', + 'blur', + 'cancel', + 'canplay', + 'canplaythrough', + 'change', + 'compositionstart', + 'compositionupdate', + 'compositionend', + 'cuechange', + 'click', + 'close', + 'contextmenu', + 'curechange', + 'dblclick', + 'drag', + 'dragend', + 'dragenter', + 'dragexit', + 'dragleave', + 'dragover', + 'drop', + 'durationchange', + 'emptied', + 'ended', + 'error', + 'focus', + 'focusin', + 'focusout', + 'gotpointercapture', + 'input', + 'invalid', + 'keydown', + 'keypress', + 'keyup', + 'load', + 'loadstart', + 'loadeddata', + 'loadedmetadata', + 'lostpointercapture', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseout', + 'mouseover', + 'mouseup', + 'mousewheel', + 'pause', + 'play', + 'playing', + 'pointercancel', + 'pointerdown', + 'pointerenter', + 'pointerleave', + 'pointerlockchange', + 'mozpointerlockchange', + 'webkitpointerlockerchange', + 'pointerlockerror', + 'mozpointerlockerror', + 'webkitpointerlockerror', + 'pointermove', + 'pointout', + 'pointerover', + 'pointerup', + 'progress', + 'ratechange', + 'reset', + 'resize', + 'scroll', + 'seeked', + 'seeking', + 'select', + 'selectionchange', + 'selectstart', + 'show', + 'sort', + 'stalled', + 'submit', + 'suspend', + 'timeupdate', + 'volumechange', + 'touchcancel', + 'touchmove', + 'touchstart', + 'transitioncancel', + 'transitionend', + 'waiting', + 'wheel' +]; +var documentEventNames = [ + 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange', + 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', + 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange' +]; +var windowEventNames = [ + 'absolutedeviceorientation', + 'afterinput', + 'afterprint', + 'appinstalled', + 'beforeinstallprompt', + 'beforeprint', + 'beforeunload', + 'devicelight', + 'devicemotion', + 'deviceorientation', + 'deviceorientationabsolute', + 'deviceproximity', + 'hashchange', + 'languagechange', + 'message', + 'mozbeforepaint', + 'offline', + 'online', + 'paint', + 'pageshow', + 'pagehide', + 'popstate', + 'rejectionhandled', + 'storage', + 'unhandledrejection', + 'unload', + 'userproximity', + 'vrdisplyconnected', + 'vrdisplaydisconnected', + 'vrdisplaypresentchange' +]; +var htmlElementEventNames = [ + 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', + 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', + 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend' +]; +var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; +var ieElementEventNames = [ + 'activate', + 'afterupdate', + 'ariarequest', + 'beforeactivate', + 'beforedeactivate', + 'beforeeditfocus', + 'beforeupdate', + 'cellchange', + 'controlselect', + 'dataavailable', + 'datasetchanged', + 'datasetcomplete', + 'errorupdate', + 'filterchange', + 'layoutcomplete', + 'losecapture', + 'move', + 'moveend', + 'movestart', + 'propertychange', + 'resizeend', + 'resizestart', + 'rowenter', + 'rowexit', + 'rowsdelete', + 'rowsinserted', + 'command', + 'compassneedscalibration', + 'deactivate', + 'help', + 'mscontentzoom', + 'msmanipulationstatechanged', + 'msgesturechange', + 'msgesturedoubletap', + 'msgestureend', + 'msgesturehold', + 'msgesturestart', + 'msgesturetap', + 'msgotpointercapture', + 'msinertiastart', + 'mslostpointercapture', + 'mspointercancel', + 'mspointerdown', + 'mspointerenter', + 'mspointerhover', + 'mspointerleave', + 'mspointermove', + 'mspointerout', + 'mspointerover', + 'mspointerup', + 'pointerout', + 'mssitemodejumplistitemremoved', + 'msthumbnailclick', + 'stop', + 'storagecommit' +]; +var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; +var formEventNames = ['autocomplete', 'autocompleteerror']; +var detailEventNames = ['toggle']; +var frameEventNames = ['load']; +var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; +var marqueeEventNames = ['bounce', 'finish', 'start']; +var XMLHttpRequestEventNames = [ + 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', + 'readystatechange' +]; +var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; +var websocketEventNames = ['close', 'error', 'open', 'message']; +var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); +function filterProperties(target, onProperties, ignoreProperties) { + if (!ignoreProperties) { + return onProperties; + } + var tip = ignoreProperties.filter(function (ip) { return ip.target === target; }); + if (!tip || tip.length === 0) { + return onProperties; + } + var targetIgnoreProperties = tip[0].ignoreProperties; + return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; }); +} +function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { + var filteredProperties = filterProperties(target, onProperties, ignoreProperties); + patchOnProperties(target, filteredProperties, prototype); +} +function propertyDescriptorPatch(api, _global) { + if (isNode && !isMix) { + return; + } + var supportsWebSocket = typeof WebSocket !== 'undefined'; + if (canPatchViaPropertyDescriptor()) { + var ignoreProperties = _global.__Zone_ignore_on_properties; + // for browsers that we can patch the descriptor: Chrome & Firefox + if (isBrowser) { + // in IE/Edge, onProp not exist in window object, but in WindowPrototype + // so we need to pass WindowPrototype to check onProp exist or not + patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window)); + patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); + if (typeof window['SVGElement'] !== 'undefined') { + patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties); + } + patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); + patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); + patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); + var HTMLMarqueeElement_1 = window['HTMLMarqueeElement']; + if (HTMLMarqueeElement_1) { + patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); + } + } + patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); + var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); + } + if (typeof IDBIndex !== 'undefined') { + patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); + } + if (supportsWebSocket) { + patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); + } + } + else { + // Safari, Android browsers (Jelly Bean) + patchViaCapturingAllTheEvents(); + patchClass('XMLHttpRequest'); + if (supportsWebSocket) { + apply(api, _global); + } + } +} +function canPatchViaPropertyDescriptor() { + if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && + typeof Element !== 'undefined') { + // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 + // IDL interface attributes are not configurable + var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick'); + if (desc && !desc.configurable) + return false; + } + var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange'); + // add enumerable and configurable here because in opera + // by default XMLHttpRequest.prototype.onreadystatechange is undefined + // without adding enumerable and configurable will cause onreadystatechange + // non-configurable + // and if XMLHttpRequest.prototype.onreadystatechange is undefined, + // we should set a real desc instead a fake one + if (xhrDesc) { + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return true; + } + }); + var req = new XMLHttpRequest(); + var result = !!req.onreadystatechange; + // restore original desc + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {}); + return result; + } + else { + var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange'); + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; + }, + set: function (value) { + this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; + } + }); + var req = new XMLHttpRequest(); + var detectFunc = function () { }; + req.onreadystatechange = detectFunc; + var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; + req.onreadystatechange = null; + return result; + } +} + +var unboundKey = zoneSymbol('unbound'); +// Whenever any eventListener fires, we check the eventListener target and all parents +// for `onwhatever` properties and replace them with zone-bound functions +// - Chrome (for now) +function patchViaCapturingAllTheEvents() { + var _loop_1 = function (i) { + var property = eventNames[i]; + var onproperty = 'on' + property; + self.addEventListener(property, function (event) { + var elt = event.target, bound, source; + if (elt) { + source = elt.constructor['name'] + '.' + onproperty; + } + else { + source = 'unknown.' + onproperty; + } + while (elt) { + if (elt[onproperty] && !elt[onproperty][unboundKey]) { + bound = Zone.current.wrap(elt[onproperty], source); + bound[unboundKey] = elt[onproperty]; + elt[onproperty] = bound; + } + elt = elt.parentElement; + } + }, true); + }; + for (var i = 0; i < eventNames.length; i++) { + _loop_1(i); + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function eventTargetPatch(_global, api) { + var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; + var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket' + .split(','); + var EVENT_TARGET = 'EventTarget'; + var apis = []; + var isWtf = _global['wtf']; + var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); + if (isWtf) { + // Workaround for: https://github.com/google/tracing-framework/issues/555 + apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET); + } + else if (_global[EVENT_TARGET]) { + apis.push(EVENT_TARGET); + } + else { + // Note: EventTarget is not available in all browsers, + // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget + apis = NO_EVENT_TARGET; + } + var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; + var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; + var ieOrEdge = isIEOrEdge(); + var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; + var FUNCTION_WRAPPER = '[object FunctionWrapper]'; + var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; + // predefine all __zone_symbol__ + eventName + true/false string + for (var i = 0; i < eventNames.length; i++) { + var eventName = eventNames[i]; + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + } + // predefine all task.source string + for (var i = 0; i < WTF_ISSUE_555.length; i++) { + var target = WTF_ISSUE_555_ARRAY[i]; + var targets = globalSources[target] = {}; + for (var j = 0; j < eventNames.length; j++) { + var eventName = eventNames[j]; + targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; + } + } + var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) { + if (!isDisableIECheck && ieOrEdge) { + if (isEnableCrossContextCheck) { + try { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + else { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + } + else if (isEnableCrossContextCheck) { + try { + delegate.toString(); + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + return true; + }; + var apiTypes = []; + for (var i = 0; i < apis.length; i++) { + var type = _global[apis[i]]; + apiTypes.push(type && type.prototype); + } + patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext }); + api.patchEventTarget = patchEventTarget; + return true; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function registerElementPatch(_global) { + if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) { + return; + } + var _registerElement = document.registerElement; + var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; + document.registerElement = function (name, opts) { + if (opts && opts.prototype) { + callbacks.forEach(function (callback) { + var source = 'Document.registerElement::' + callback; + if (opts.prototype.hasOwnProperty(callback)) { + var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback); + if (descriptor && descriptor.value) { + descriptor.value = Zone.current.wrap(descriptor.value, source); + _redefineProperty(opts.prototype, callback, descriptor); + } + else { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + } + else if (opts.prototype[callback]) { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + }); + } + return _registerElement.apply(document, [name, opts]); + }; + attachOriginToPatched(document.registerElement, _registerElement); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +Zone.__load_patch('timers', function (global, Zone, api) { + var set = 'set'; + var clear = 'clear'; + patchTimer(global, set, clear, 'Timeout'); + patchTimer(global, set, clear, 'Interval'); + patchTimer(global, set, clear, 'Immediate'); +}); +Zone.__load_patch('requestAnimationFrame', function (global, Zone, api) { + patchTimer(global, 'request', 'cancel', 'AnimationFrame'); + patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); + patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); +}); +Zone.__load_patch('blocking', function (global, Zone, api) { + var blockingMethods = ['alert', 'prompt', 'confirm']; + for (var i = 0; i < blockingMethods.length; i++) { + var name_1 = blockingMethods[i]; + patchMethod(global, name_1, function (delegate, symbol, name) { + return function (s, args) { + return Zone.current.run(delegate, global, args, name); + }; + }); + } +}); +Zone.__load_patch('EventTarget', function (global, Zone, api) { + eventTargetPatch(global, api); + // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener + var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { + api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); + } + patchClass('MutationObserver'); + patchClass('WebKitMutationObserver'); + patchClass('IntersectionObserver'); + patchClass('FileReader'); +}); +Zone.__load_patch('on_property', function (global, Zone, api) { + propertyDescriptorPatch(api, global); + propertyPatch(); + registerElementPatch(global); +}); +Zone.__load_patch('canvas', function (global, Zone, api) { + var HTMLCanvasElement = global['HTMLCanvasElement']; + if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype && + HTMLCanvasElement.prototype.toBlob) { + patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) { + return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args }; + }); + } +}); +Zone.__load_patch('XHR', function (global, Zone, api) { + // Treat XMLHTTPRequest as a macrotask. + patchXHR(global); + var XHR_TASK = zoneSymbol('xhrTask'); + var XHR_SYNC = zoneSymbol('xhrSync'); + var XHR_LISTENER = zoneSymbol('xhrListener'); + var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); + function patchXHR(window) { + function findPendingTask(target) { + var pendingTask = target[XHR_TASK]; + return pendingTask; + } + var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener'); + var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener'); + var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER]; + var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER]; + if (!oriAddListener) { + var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER]; + } + } + var READY_STATE_CHANGE = 'readystatechange'; + var SCHEDULED = 'scheduled'; + function scheduleTask(task) { + XMLHttpRequest[XHR_SCHEDULED] = false; + var data = task.data; + var target = data.target; + // remove existing event listener + var listener = target[XHR_LISTENER]; + if (!oriAddListener) { + oriAddListener = target[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER]; + } + if (listener) { + oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]); + } + var newListener = target[XHR_LISTENER] = function () { + if (target.readyState === target.DONE) { + // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with + // readyState=4 multiple times, so we need to check task state here + if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) { + task.invoke(); + } + } + }; + oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]); + var storedTask = target[XHR_TASK]; + if (!storedTask) { + target[XHR_TASK] = task; + } + sendNative.apply(target, data.args); + XMLHttpRequest[XHR_SCHEDULED] = true; + return task; + } + function placeholderCallback() { } + function clearTask(task) { + var data = task.data; + // Note - ideally, we would call data.target.removeEventListener here, but it's too late + // to prevent it from firing. So instead, we store info for the event listener. + data.aborted = true; + return abortNative.apply(data.target, data.args); + } + var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) { + self[XHR_SYNC] = args[2] == false; + return openNative.apply(self, args); + }; }); + var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; + var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) { + var zone = Zone.current; + if (self[XHR_SYNC]) { + // if the XHR is sync there is no task to schedule, just execute the code. + return sendNative.apply(self, args); + } + else { + var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false }; + return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); + } + }; }); + var STRING_TYPE = 'string'; + var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) { + var task = findPendingTask(self); + if (task && typeof task.type == STRING_TYPE) { + // If the XHR has already completed, do nothing. + // If the XHR has already been aborted, do nothing. + // Fix #569, call abort multiple times before done will cause + // macroTask task count be negative number + if (task.cancelFn == null || (task.data && task.data.aborted)) { + return; + } + task.zone.cancelTask(task); + } + // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no + // task + // to cancel. Do nothing. + }; }); + } +}); +Zone.__load_patch('geolocation', function (global, Zone, api) { + /// GEO_LOCATION + if (global['navigator'] && global['navigator'].geolocation) { + patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); + } +}); +Zone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) { + // handle unhandled promise rejection + function findPromiseRejectionHandler(evtName) { + return function (e) { + var eventTasks = findEventTasks(global, evtName); + eventTasks.forEach(function (eventTask) { + // windows has added unhandledrejection event listener + // trigger the event listener + var PromiseRejectionEvent = global['PromiseRejectionEvent']; + if (PromiseRejectionEvent) { + var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection }); + eventTask.invoke(evt); + } + }); + }; + } + if (global['PromiseRejectionEvent']) { + Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = + findPromiseRejectionHandler('unhandledrejection'); + Zone[zoneSymbol('rejectionHandledHandler')] = + findPromiseRejectionHandler('rejectionhandled'); + } +}); +Zone.__load_patch('util', function (global, Zone, api) { + api.patchOnProperties = patchOnProperties; + api.patchMethod = patchMethod; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +}))); + +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("../../../../webpack/buildin/global.js"))) + +/***/ }), + +/***/ 1: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/polyfills.ts"); + + +/***/ }) + +},[1]); +//# sourceMappingURL=polyfills.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/out/production/resources/loc/backup/scripts.bundle.js b/kotlin-source/out/production/resources/loc/backup/scripts.bundle.js new file mode 100644 index 0000000..b977f96 --- /dev/null +++ b/kotlin-source/out/production/resources/loc/backup/scripts.bundle.js @@ -0,0 +1,43 @@ +webpackJsonp(["scripts"],{ + +/***/ "../../../../raw-loader/index.js!../../../../jquery/dist/jquery.min.js": +/***/ (function(module, exports) { + +module.exports = "/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){\"use strict\";\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){\"use strict\";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement(\"script\");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q=\"3.2.1\",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=\"sizzle\"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(N),U=new RegExp(\"^\"+L+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L+\"|[*])\"),ATTR:new RegExp(\"^\"+M),PSEUDO:new RegExp(\"^\"+N),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),aa=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?\"\\0\"===a?\"\\ufffd\":a.slice(0,-1)+\"\\\\\"+a.charCodeAt(a.length-1).toString(16)+\" \":\"\\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&(\"form\"in a||\"label\"in a)},{dir:\"parentNode\",next:\"legend\"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],\"string\"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+\" \"]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if(\"object\"!==b.nodeName.toLowerCase()){(k=b.getAttribute(\"id\"))?k=k.replace(ba,ca):b.setAttribute(\"id\",k=u),o=g(a),h=o.length;while(h--)o[h]=\"#\"+k+\" \"+sa(o[h]);r=o.join(\",\"),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute(\"id\")}}}return i(a.replace(P,\"$1\"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement(\"fieldset\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split(\"|\"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function oa(a){return function(b){return\"form\"in b?b.parentNode&&b.disabled===!1?\"label\"in b?\"label\"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:\"label\"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&\"undefined\"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&\"HTML\"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(\"unload\",da,!1):e.attachEvent&&e.attachEvent(\"onunload\",da)),c.attributes=ja(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute(\"id\")===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c=\"undefined\"!=typeof a.getAttributeNode&&a.getAttributeNode(\"id\");return c&&c.value===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return\"undefined\"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(\"undefined\"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML=\"\",a.querySelectorAll(\"[msallowcapture^='']\").length&&q.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||q.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\"[id~=\"+u+\"-]\").length||q.push(\"~=\"),a.querySelectorAll(\":checked\").length||q.push(\":checked\"),a.querySelectorAll(\"a#\"+u+\"+*\").length||q.push(\".#.+[+~]\")}),ja(function(a){a.innerHTML=\"\";var b=n.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&q.push(\"name\"+K+\"*[*^$|!~]?=\"),2!==a.querySelectorAll(\":enabled\").length&&q.push(\":enabled\",\":disabled\"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(\":disabled\").length&&q.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),q.push(\",.*:\")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,\"*\"),s.call(a,\"[s!='']:x\"),r.push(\"!=\",N)}),q=q.length&&new RegExp(q.join(\"|\")),r=r.length&&new RegExp(r.join(\"|\")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,\"='$1']\"),c.matchesSelector&&p&&!A[b+\" \"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+\"\").replace(ba,ca)},ga.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||\"\").replace(_,aa),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||\"\":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&y(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||\"undefined\"!=typeof a.getAttribute&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?\"!=\"===b:!b||(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e.replace(O,\" \")+\" \").indexOf(c)>-1:\"|=\"===b&&(e===c||e.slice(0,c.length+1)===c+\"-\"))}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error(\"unsupported pseudo: \"+a);return e[u]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,\"$1\"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||\"\")||ga.error(\"unsupported lang: \"+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[\" \"],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:\" \"===a[i-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s=\"0\",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG(\"*\",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+\" \"];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m=\"function\"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split(\"\").sort(B).join(\"\")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement(\"fieldset\"))}),ja(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||ka(\"type|href|height|width\",function(a,b,c){if(!c)return a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||ka(\"value\",function(a,b,c){if(!c&&\"input\"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute(\"disabled\")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[\":\"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):\"string\"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if(\"string\"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,\"string\"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,\"string\"==typeof a){if(e=\"<\"===a[0]&&\">\"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?\"string\"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,\"parentNode\")},parentsUntil:function(a,b,c){return y(a,\"parentNode\",c)},next:function(a){return K(a,\"nextSibling\")},prev:function(a){return K(a,\"previousSibling\")},nextAll:function(a){return y(a,\"nextSibling\")},prevAll:function(a){return y(a,\"previousSibling\")},nextUntil:function(a,b,c){return y(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return y(a,\"previousSibling\",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,\"iframe\")?a.contentDocument:(B(a,\"template\")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a=\"string\"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c=\"\",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=\"\"),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[[\"notify\",\"progress\",r.Callbacks(\"memory\"),r.Callbacks(\"memory\"),2],[\"resolve\",\"done\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),1,\"rejected\"]],d=\"pending\",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},\"catch\":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+\"With\"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+\"With\"](this===f?void 0:this,arguments),this},f[b[0]+\"With\"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),\"pending\"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn(\"jQuery.Deferred exception: \"+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)[\"catch\"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener(\"DOMContentLoaded\",S),\na.removeEventListener(\"load\",S),r.ready()}\"complete\"===d.readyState||\"loading\"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener(\"DOMContentLoaded\",S),a.addEventListener(\"load\",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if(\"object\"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||\"fx\")+\"queue\",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||\"fx\";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks(\"once memory\").add(function(){W.remove(a,[b+\"queue\",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.length\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,\"\"],thead:[1,\"
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c=\"undefined\"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||\"*\"):\"undefined\"!=typeof a.querySelectorAll?a.querySelectorAll(b||\"*\"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),\"script\"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||\"\")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement(\"div\")),c=d.createElement(\"input\");c.setAttribute(\"type\",\"radio\"),c.setAttribute(\"checked\",\"checked\"),c.setAttribute(\"name\",\"t\"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML=\"\",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if(\"object\"==typeof b){\"string\"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(\"string\"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return\"undefined\"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(\".\")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+o.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&(\"**\"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,\"handle events\")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,\"events\")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&(\"click\"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/\\s*$/g;function Ea(a,b){return B(a,\"table\")&&B(11!==b.nodeType?b:b.firstChild,\"tr\")?r(\">tbody\",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute(\"type\"))+\"/\"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&\"string\"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,\"script\"),Fa),i=h.length;l\")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,\"script\")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent=\"\");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if(\"string\"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?\"\":\"px\")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,\"\"),b&&\"auto\"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:\"swing\"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e[\"margin\"+c]=e[\"padding\"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners[\"*\"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return\"undefined\"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+\"\"),c):e&&\"get\"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&\"radio\"===b&&B(a,\"input\")){var c=a.value;return a.setAttribute(\"type\",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&\"get\"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,\"tabindex\");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{\"for\":\"htmlFor\",\"class\":\"className\"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(\" \")}function qb(a){return a.getAttribute&&a.getAttribute(\"class\")||\"\"}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])d.indexOf(\" \"+f+\" \")<0&&(d+=f+\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr(\"class\",\"\");if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])while(d.indexOf(\" \"+f+\" \")>-1)d=d.replace(\" \"+f+\" \",\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},toggleClass:function(a,b){var c=typeof a;return\"boolean\"==typeof b&&\"string\"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if(\"string\"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&\"boolean\"!==c||(b=qb(this),b&&W.set(this,\"__className__\",b),this.setAttribute&&this.setAttribute(\"class\",b||a===!1?\"\":W.get(this,\"__className__\")||\"\"))})},hasClass:function(a){var b,c,d=0;b=\" \"+a+\" \";while(c=this[d++])if(1===c.nodeType&&(\" \"+pb(qb(c))+\" \").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e=\"\":\"number\"==typeof e?e+=\"\":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?\"\":a+\"\"})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&\"set\"in b&&void 0!==b.set(this,e,\"value\")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&\"get\"in b&&void 0!==(c=b.get(e,\"value\"))?c:(c=e.value,\"string\"==typeof c?c.replace(rb,\"\"):null==c?\"\":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,\"value\");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g=\"select-one\"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each([\"radio\",\"checkbox\"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute(\"value\")?\"on\":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,\"type\")?b.type:b,q=l.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(\".\")>-1&&(q=p.split(\".\"),p=q.shift(),q.sort()),k=p.indexOf(\":\")<0&&\"on\"+p,b=b[r.expando]?b:new r.Event(p,\"object\"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join(\".\"),b.rnamespace=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,\"events\")||{})[b.type]&&W.get(h,\"handle\"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin=\"onfocusin\"in a,o.focusin||r.each({focus:\"focusin\",blur:\"focusout\"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||\"string\"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,\"text/xml\")}catch(d){c=void 0}return c&&!c.getElementsByTagName(\"parsererror\").length||r.error(\"Invalid XML: \"+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+\"[\"+(\"object\"==typeof e&&null!=e?b:\"\")+\"]\",e,c,d)});else if(c||\"object\"!==r.type(b))d(a,b);else for(e in b)Ab(a+\"[\"+e+\"]\",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+\"=\"+encodeURIComponent(null==c?\"\":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join(\"&\")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,\"elements\");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(\":disabled\")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,\"\\r\\n\")}}):{name:b.name,value:c.replace(xb,\"\\r\\n\")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb=\"*/\".concat(\"*\"),Lb=d.createElement(\"a\");Lb.href=tb.href;function Mb(a){return function(b,c){\"string\"!=typeof b&&(c=b,b=\"*\");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])\"+\"===d[0]?(d=d.slice(1)||\"*\",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return\"string\"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e[\"*\"]&&g(\"*\")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while(\"*\"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader(\"Content-Type\"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+\" \"+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if(\"*\"===f)f=i;else if(\"*\"!==i&&i!==f){if(g=j[i+\" \"+f]||j[\"* \"+f],!g)for(e in j)if(h=e.split(\" \"),h[1]===f&&(g=j[i+\" \"+h[0]]||j[\"* \"+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a[\"throws\"])b=g(b);else try{b=g(b)}catch(l){return{state:\"parsererror\",error:g?l:\"No conversion from \"+i+\" to \"+f}}}return{state:\"success\",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:\"GET\",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Kb,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){\"object\"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks(\"once memory\"),u=o.statusCode||{},v={},w={},x=\"canceled\",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+\"\").replace(Hb,tb.protocol+\"//\"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||\"*\").toLowerCase().match(L)||[\"\"],null==o.crossDomain){j=d.createElement(\"a\");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+\"//\"+Lb.host!=j.protocol+\"//\"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&\"string\"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger(\"ajaxStart\"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,\"\"),o.hasContent?o.data&&o.processData&&0===(o.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(o.data=o.data.replace(Bb,\"+\")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?\"&\":\"?\")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,\"$1\"),n=(vb.test(f)?\"&\":\"?\")+\"_=\"+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader(\"If-Modified-Since\",r.lastModified[f]),r.etag[f]&&y.setRequestHeader(\"If-None-Match\",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader(\"Content-Type\",o.contentType),y.setRequestHeader(\"Accept\",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+(\"*\"!==o.dataTypes[0]?\", \"+Kb+\"; q=0.01\":\"\"):o.accepts[\"*\"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x=\"abort\",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger(\"ajaxSend\",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort(\"timeout\")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,\"No Transport\");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||\"\",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader(\"Last-Modified\"),w&&(r.lastModified[f]=w),w=y.getResponseHeader(\"etag\"),w&&(r.etag[f]=w)),204===b||\"HEAD\"===o.type?x=\"nocontent\":304===b?x=\"notmodified\":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x=\"error\",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+\"\",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?\"ajaxSuccess\":\"ajaxError\",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger(\"ajaxComplete\",[y,o]),--r.active||r.event.trigger(\"ajaxStop\")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,\"json\")},getScript:function(a,b){return r.get(a,void 0,b,\"script\")}}),r.each([\"get\",\"post\"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,\"throws\":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not(\"body\").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&\"withCredentials\"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e[\"X-Requested-With\"]||(e[\"X-Requested-With\"]=\"XMLHttpRequest\");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,\"abort\"===a?h.abort():\"error\"===a?\"number\"!=typeof h.status?f(0,\"error\"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,\"text\"!==(h.responseType||\"text\")||\"string\"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c(\"error\"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c(\"abort\");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter(\"script\",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type=\"GET\")}),r.ajaxTransport(\"script\",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(\" + * + * + * + * + * + * @param {!string} ns The namespace of the class definition, leaving off "com.greensock." as that's assumed. For example, "TweenLite" or "plugins.CSSPlugin" or "easing.Back". + * @param {!Array.} dependencies An array of dependencies (described as their namespaces minus "com.greensock." prefix). For example ["TweenLite","plugins.TweenPlugin","core.Animation"] + * @param {!function():Object} func The function that should be called and passed the resolved dependencies which will return the actual class for this definition. + * @param {boolean=} global If true, the class will be added to the global scope (typically window unless you define a window.GreenSockGlobals object) + */ + Definition = function(ns, dependencies, func, global) { + this.sc = (_defLookup[ns]) ? _defLookup[ns].sc : []; //subclasses + _defLookup[ns] = this; + this.gsClass = null; + this.func = func; + var _classes = []; + this.check = function(init) { + var i = dependencies.length, + missing = i, + cur, a, n, cl; + while (--i > -1) { + if ((cur = _defLookup[dependencies[i]] || new Definition(dependencies[i], [])).gsClass) { + _classes[i] = cur.gsClass; + missing--; + } else if (init) { + cur.sc.push(this); + } + } + if (missing === 0 && func) { + a = ("com.greensock." + ns).split("."); + n = a.pop(); + cl = _namespace(a.join("."))[n] = this.gsClass = func.apply(func, _classes); + + //exports to multiple environments + if (global) { + _globals[n] = _exports[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.) + if (typeof(module) !== "undefined" && module.exports) { //node + if (ns === moduleName) { + module.exports = _exports[moduleName] = cl; + for (i in _exports) { + cl[i] = _exports[i]; + } + } else if (_exports[moduleName]) { + _exports[moduleName][n] = cl; + } + } else if (true){ //AMD + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return cl; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + } + for (i = 0; i < this.sc.length; i++) { + this.sc[i].check(); + } + } + }; + this.check(true); + }, + + //used to create Definition instances (which basically registers a class that has dependencies). + _gsDefine = window._gsDefine = function(ns, dependencies, func, global) { + return new Definition(ns, dependencies, func, global); + }, + + //a quick way to create a class that doesn't have any dependencies. Returns the class, but first registers it in the GreenSock namespace so that other classes can grab it (other classes might be dependent on the class). + _class = gs._class = function(ns, func, global) { + func = func || function() {}; + _gsDefine(ns, [], function(){ return func; }, global); + return func; + }; + + _gsDefine.globals = _globals; + + + +/* + * ---------------------------------------------------------------- + * Ease + * ---------------------------------------------------------------- + */ + var _baseParams = [0, 0, 1, 1], + Ease = _class("easing.Ease", function(func, extraParams, type, power) { + this._func = func; + this._type = type || 0; + this._power = power || 0; + this._params = extraParams ? _baseParams.concat(extraParams) : _baseParams; + }, true), + _easeMap = Ease.map = {}, + _easeReg = Ease.register = function(ease, names, types, create) { + var na = names.split(","), + i = na.length, + ta = (types || "easeIn,easeOut,easeInOut").split(","), + e, name, j, type; + while (--i > -1) { + name = na[i]; + e = create ? _class("easing."+name, null, true) : gs.easing[name] || {}; + j = ta.length; + while (--j > -1) { + type = ta[j]; + _easeMap[name + "." + type] = _easeMap[type + name] = e[type] = ease.getRatio ? ease : ease[type] || new ease(); + } + } + }; + + p = Ease.prototype; + p._calcEnd = false; + p.getRatio = function(p) { + if (this._func) { + this._params[0] = p; + return this._func.apply(null, this._params); + } + var t = this._type, + pw = this._power, + r = (t === 1) ? 1 - p : (t === 2) ? p : (p < 0.5) ? p * 2 : (1 - p) * 2; + if (pw === 1) { + r *= r; + } else if (pw === 2) { + r *= r * r; + } else if (pw === 3) { + r *= r * r * r; + } else if (pw === 4) { + r *= r * r * r * r; + } + return (t === 1) ? 1 - r : (t === 2) ? r : (p < 0.5) ? r / 2 : 1 - (r / 2); + }; + + //create all the standard eases like Linear, Quad, Cubic, Quart, Quint, Strong, Power0, Power1, Power2, Power3, and Power4 (each with easeIn, easeOut, and easeInOut) + a = ["Linear","Quad","Cubic","Quart","Quint,Strong"]; + i = a.length; + while (--i > -1) { + p = a[i]+",Power"+i; + _easeReg(new Ease(null,null,1,i), p, "easeOut", true); + _easeReg(new Ease(null,null,2,i), p, "easeIn" + ((i === 0) ? ",easeNone" : "")); + _easeReg(new Ease(null,null,3,i), p, "easeInOut"); + } + _easeMap.linear = gs.easing.Linear.easeIn; + _easeMap.swing = gs.easing.Quad.easeInOut; //for jQuery folks + + +/* + * ---------------------------------------------------------------- + * EventDispatcher + * ---------------------------------------------------------------- + */ + var EventDispatcher = _class("events.EventDispatcher", function(target) { + this._listeners = {}; + this._eventTarget = target || this; + }); + p = EventDispatcher.prototype; + + p.addEventListener = function(type, callback, scope, useParam, priority) { + priority = priority || 0; + var list = this._listeners[type], + index = 0, + listener, i; + if (this === _ticker && !_tickerActive) { + _ticker.wake(); + } + if (list == null) { + this._listeners[type] = list = []; + } + i = list.length; + while (--i > -1) { + listener = list[i]; + if (listener.c === callback && listener.s === scope) { + list.splice(i, 1); + } else if (index === 0 && listener.pr < priority) { + index = i + 1; + } + } + list.splice(index, 0, {c:callback, s:scope, up:useParam, pr:priority}); + }; + + p.removeEventListener = function(type, callback) { + var list = this._listeners[type], i; + if (list) { + i = list.length; + while (--i > -1) { + if (list[i].c === callback) { + list.splice(i, 1); + return; + } + } + } + }; + + p.dispatchEvent = function(type) { + var list = this._listeners[type], + i, t, listener; + if (list) { + i = list.length; + if (i > 1) { + list = list.slice(0); //in case addEventListener() is called from within a listener/callback (otherwise the index could change, resulting in a skip) + } + t = this._eventTarget; + while (--i > -1) { + listener = list[i]; + if (listener) { + if (listener.up) { + listener.c.call(listener.s || t, {type:type, target:t}); + } else { + listener.c.call(listener.s || t); + } + } + } + } + }; + + +/* + * ---------------------------------------------------------------- + * Ticker + * ---------------------------------------------------------------- + */ + var _reqAnimFrame = window.requestAnimationFrame, + _cancelAnimFrame = window.cancelAnimationFrame, + _getTime = Date.now || function() {return new Date().getTime();}, + _lastUpdate = _getTime(); + + //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill. + a = ["ms","moz","webkit","o"]; + i = a.length; + while (--i > -1 && !_reqAnimFrame) { + _reqAnimFrame = window[a[i] + "RequestAnimationFrame"]; + _cancelAnimFrame = window[a[i] + "CancelAnimationFrame"] || window[a[i] + "CancelRequestAnimationFrame"]; + } + + _class("Ticker", function(fps, useRAF) { + var _self = this, + _startTime = _getTime(), + _useRAF = (useRAF !== false && _reqAnimFrame) ? "auto" : false, + _lagThreshold = 500, + _adjustedLag = 33, + _tickWord = "tick", //helps reduce gc burden + _fps, _req, _id, _gap, _nextTime, + _tick = function(manual) { + var elapsed = _getTime() - _lastUpdate, + overlap, dispatch; + if (elapsed > _lagThreshold) { + _startTime += elapsed - _adjustedLag; + } + _lastUpdate += elapsed; + _self.time = (_lastUpdate - _startTime) / 1000; + overlap = _self.time - _nextTime; + if (!_fps || overlap > 0 || manual === true) { + _self.frame++; + _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap); + dispatch = true; + } + if (manual !== true) { //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise. + _id = _req(_tick); + } + if (dispatch) { + _self.dispatchEvent(_tickWord); + } + }; + + EventDispatcher.call(_self); + _self.time = _self.frame = 0; + _self.tick = function() { + _tick(true); + }; + + _self.lagSmoothing = function(threshold, adjustedLag) { + if (!arguments.length) { //if lagSmoothing() is called with no arguments, treat it like a getter that returns a boolean indicating if it's enabled or not. This is purposely undocumented and is for internal use. + return (_lagThreshold < 1 / _tinyNum); + } + _lagThreshold = threshold || (1 / _tinyNum); //zero should be interpreted as basically unlimited + _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0); + }; + + _self.sleep = function() { + if (_id == null) { + return; + } + if (!_useRAF || !_cancelAnimFrame) { + clearTimeout(_id); + } else { + _cancelAnimFrame(_id); + } + _req = _emptyFunc; + _id = null; + if (_self === _ticker) { + _tickerActive = false; + } + }; + + _self.wake = function(seamless) { + if (_id !== null) { + _self.sleep(); + } else if (seamless) { + _startTime += -_lastUpdate + (_lastUpdate = _getTime()); + } else if (_self.frame > 10) { //don't trigger lagSmoothing if we're just waking up, and make sure that at least 10 frames have elapsed because of the iOS bug that we work around below with the 1.5-second setTimout(). + _lastUpdate = _getTime() - _lagThreshold + 5; + } + _req = (_fps === 0) ? _emptyFunc : (!_useRAF || !_reqAnimFrame) ? function(f) { return setTimeout(f, ((_nextTime - _self.time) * 1000 + 1) | 0); } : _reqAnimFrame; + if (_self === _ticker) { + _tickerActive = true; + } + _tick(2); + }; + + _self.fps = function(value) { + if (!arguments.length) { + return _fps; + } + _fps = value; + _gap = 1 / (_fps || 60); + _nextTime = this.time + _gap; + _self.wake(); + }; + + _self.useRAF = function(value) { + if (!arguments.length) { + return _useRAF; + } + _self.sleep(); + _useRAF = value; + _self.fps(_fps); + }; + _self.fps(fps); + + //a bug in iOS 6 Safari occasionally prevents the requestAnimationFrame from working initially, so we use a 1.5-second timeout that automatically falls back to setTimeout() if it senses this condition. + setTimeout(function() { + if (_useRAF === "auto" && _self.frame < 5 && _doc.visibilityState !== "hidden") { + _self.useRAF(false); + } + }, 1500); + }); + + p = gs.Ticker.prototype = new gs.events.EventDispatcher(); + p.constructor = gs.Ticker; + + +/* + * ---------------------------------------------------------------- + * Animation + * ---------------------------------------------------------------- + */ + var Animation = _class("core.Animation", function(duration, vars) { + this.vars = vars = vars || {}; + this._duration = this._totalDuration = duration || 0; + this._delay = Number(vars.delay) || 0; + this._timeScale = 1; + this._active = (vars.immediateRender === true); + this.data = vars.data; + this._reversed = (vars.reversed === true); + + if (!_rootTimeline) { + return; + } + if (!_tickerActive) { //some browsers (like iOS 6 Safari) shut down JavaScript execution when the tab is disabled and they [occasionally] neglect to start up requestAnimationFrame again when returning - this code ensures that the engine starts up again properly. + _ticker.wake(); + } + + var tl = this.vars.useFrames ? _rootFramesTimeline : _rootTimeline; + tl.add(this, tl._time); + + if (this.vars.paused) { + this.paused(true); + } + }); + + _ticker = Animation.ticker = new gs.Ticker(); + p = Animation.prototype; + p._dirty = p._gc = p._initted = p._paused = false; + p._totalTime = p._time = 0; + p._rawPrevTime = -1; + p._next = p._last = p._onUpdate = p._timeline = p.timeline = null; + p._paused = false; + + + //some browsers (like iOS) occasionally drop the requestAnimationFrame event when the user switches to a different tab and then comes back again, so we use a 2-second setTimeout() to sense if/when that condition occurs and then wake() the ticker. + var _checkTimeout = function() { + if (_tickerActive && _getTime() - _lastUpdate > 2000 && (_doc.visibilityState !== "hidden" || !_ticker.lagSmoothing())) { //note: if the tab is hidden, we should still wake if lagSmoothing has been disabled. + _ticker.wake(); + } + var t = setTimeout(_checkTimeout, 2000); + if (t.unref) { + // allows a node process to exit even if the timeout’s callback hasn't been invoked. Without it, the node process could hang as this function is called every two seconds. + t.unref(); + } + }; + _checkTimeout(); + + + p.play = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.reversed(false).paused(false); + }; + + p.pause = function(atTime, suppressEvents) { + if (atTime != null) { + this.seek(atTime, suppressEvents); + } + return this.paused(true); + }; + + p.resume = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.paused(false); + }; + + p.seek = function(time, suppressEvents) { + return this.totalTime(Number(time), suppressEvents !== false); + }; + + p.restart = function(includeDelay, suppressEvents) { + return this.reversed(false).paused(false).totalTime(includeDelay ? -this._delay : 0, (suppressEvents !== false), true); + }; + + p.reverse = function(from, suppressEvents) { + if (from != null) { + this.seek((from || this.totalDuration()), suppressEvents); + } + return this.reversed(true).paused(false); + }; + + p.render = function(time, suppressEvents, force) { + //stub - we override this method in subclasses. + }; + + p.invalidate = function() { + this._time = this._totalTime = 0; + this._initted = this._gc = false; + this._rawPrevTime = -1; + if (this._gc || !this.timeline) { + this._enabled(true); + } + return this; + }; + + p.isActive = function() { + var tl = this._timeline, //the 2 root timelines won't have a _timeline; they're always active. + startTime = this._startTime, + rawTime; + return (!tl || (!this._gc && !this._paused && tl.isActive() && (rawTime = tl.rawTime(true)) >= startTime && rawTime < startTime + this.totalDuration() / this._timeScale - 0.0000001)); + }; + + p._enabled = function (enabled, ignoreTimeline) { + if (!_tickerActive) { + _ticker.wake(); + } + this._gc = !enabled; + this._active = this.isActive(); + if (ignoreTimeline !== true) { + if (enabled && !this.timeline) { + this._timeline.add(this, this._startTime - this._delay); + } else if (!enabled && this.timeline) { + this._timeline._remove(this, true); + } + } + return false; + }; + + + p._kill = function(vars, target) { + return this._enabled(false, false); + }; + + p.kill = function(vars, target) { + this._kill(vars, target); + return this; + }; + + p._uncache = function(includeSelf) { + var tween = includeSelf ? this : this.timeline; + while (tween) { + tween._dirty = true; + tween = tween.timeline; + } + return this; + }; + + p._swapSelfInParams = function(params) { + var i = params.length, + copy = params.concat(); + while (--i > -1) { + if (params[i] === "{self}") { + copy[i] = this; + } + } + return copy; + }; + + p._callback = function(type) { + var v = this.vars, + callback = v[type], + params = v[type + "Params"], + scope = v[type + "Scope"] || v.callbackScope || this, + l = params ? params.length : 0; + switch (l) { //speed optimization; call() is faster than apply() so use it when there are only a few parameters (which is by far most common). Previously we simply did var v = this.vars; v[type].apply(v[type + "Scope"] || v.callbackScope || this, v[type + "Params"] || _blankArray); + case 0: callback.call(scope); break; + case 1: callback.call(scope, params[0]); break; + case 2: callback.call(scope, params[0], params[1]); break; + default: callback.apply(scope, params); + } + }; + +//----Animation getters/setters -------------------------------------------------------- + + p.eventCallback = function(type, callback, params, scope) { + if ((type || "").substr(0,2) === "on") { + var v = this.vars; + if (arguments.length === 1) { + return v[type]; + } + if (callback == null) { + delete v[type]; + } else { + v[type] = callback; + v[type + "Params"] = (_isArray(params) && params.join("").indexOf("{self}") !== -1) ? this._swapSelfInParams(params) : params; + v[type + "Scope"] = scope; + } + if (type === "onUpdate") { + this._onUpdate = callback; + } + } + return this; + }; + + p.delay = function(value) { + if (!arguments.length) { + return this._delay; + } + if (this._timeline.smoothChildTiming) { + this.startTime( this._startTime + value - this._delay ); + } + this._delay = value; + return this; + }; + + p.duration = function(value) { + if (!arguments.length) { + this._dirty = false; + return this._duration; + } + this._duration = this._totalDuration = value; + this._uncache(true); //true in case it's a TweenMax or TimelineMax that has a repeat - we'll need to refresh the totalDuration. + if (this._timeline.smoothChildTiming) if (this._time > 0) if (this._time < this._duration) if (value !== 0) { + this.totalTime(this._totalTime * (value / this._duration), true); + } + return this; + }; + + p.totalDuration = function(value) { + this._dirty = false; + return (!arguments.length) ? this._totalDuration : this.duration(value); + }; + + p.time = function(value, suppressEvents) { + if (!arguments.length) { + return this._time; + } + if (this._dirty) { + this.totalDuration(); + } + return this.totalTime((value > this._duration) ? this._duration : value, suppressEvents); + }; + + p.totalTime = function(time, suppressEvents, uncapped) { + if (!_tickerActive) { + _ticker.wake(); + } + if (!arguments.length) { + return this._totalTime; + } + if (this._timeline) { + if (time < 0 && !uncapped) { + time += this.totalDuration(); + } + if (this._timeline.smoothChildTiming) { + if (this._dirty) { + this.totalDuration(); + } + var totalDuration = this._totalDuration, + tl = this._timeline; + if (time > totalDuration && !uncapped) { + time = totalDuration; + } + this._startTime = (this._paused ? this._pauseTime : tl._time) - ((!this._reversed ? time : totalDuration - time) / this._timeScale); + if (!tl._dirty) { //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here. + this._uncache(false); + } + //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The startTime of that child would get pushed out, but one of the ancestors may have completed. + if (tl._timeline) { + while (tl._timeline) { + if (tl._timeline._time !== (tl._startTime + tl._totalTime) / tl._timeScale) { + tl.totalTime(tl._totalTime, true); + } + tl = tl._timeline; + } + } + } + if (this._gc) { + this._enabled(true, false); + } + if (this._totalTime !== time || this._duration === 0) { + if (_lazyTweens.length) { + _lazyRender(); + } + this.render(time, suppressEvents, false); + if (_lazyTweens.length) { //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render. + _lazyRender(); + } + } + } + return this; + }; + + p.progress = p.totalProgress = function(value, suppressEvents) { + var duration = this.duration(); + return (!arguments.length) ? (duration ? this._time / duration : this.ratio) : this.totalTime(duration * value, suppressEvents); + }; + + p.startTime = function(value) { + if (!arguments.length) { + return this._startTime; + } + if (value !== this._startTime) { + this._startTime = value; + if (this.timeline) if (this.timeline._sortChildren) { + this.timeline.add(this, value - this._delay); //ensures that any necessary re-sequencing of Animations in the timeline occurs to make sure the rendering order is correct. + } + } + return this; + }; + + p.endTime = function(includeRepeats) { + return this._startTime + ((includeRepeats != false) ? this.totalDuration() : this.duration()) / this._timeScale; + }; + + p.timeScale = function(value) { + if (!arguments.length) { + return this._timeScale; + } + var pauseTime, t; + value = value || _tinyNum; //can't allow zero because it'll throw the math off + if (this._timeline && this._timeline.smoothChildTiming) { + pauseTime = this._pauseTime; + t = (pauseTime || pauseTime === 0) ? pauseTime : this._timeline.totalTime(); + this._startTime = t - ((t - this._startTime) * this._timeScale / value); + } + this._timeScale = value; + t = this.timeline; + while (t && t.timeline) { //must update the duration/totalDuration of all ancestor timelines immediately in case in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though. + t._dirty = true; + t.totalDuration(); + t = t.timeline; + } + return this; + }; + + p.reversed = function(value) { + if (!arguments.length) { + return this._reversed; + } + if (value != this._reversed) { + this._reversed = value; + this.totalTime(((this._timeline && !this._timeline.smoothChildTiming) ? this.totalDuration() - this._totalTime : this._totalTime), true); + } + return this; + }; + + p.paused = function(value) { + if (!arguments.length) { + return this._paused; + } + var tl = this._timeline, + raw, elapsed; + if (value != this._paused) if (tl) { + if (!_tickerActive && !value) { + _ticker.wake(); + } + raw = tl.rawTime(); + elapsed = raw - this._pauseTime; + if (!value && tl.smoothChildTiming) { + this._startTime += elapsed; + this._uncache(false); + } + this._pauseTime = value ? raw : null; + this._paused = value; + this._active = this.isActive(); + if (!value && elapsed !== 0 && this._initted && this.duration()) { + raw = tl.smoothChildTiming ? this._totalTime : (raw - this._startTime) / this._timeScale; + this.render(raw, (raw === this._totalTime), true); //in case the target's properties changed via some other tween or manual update by the user, we should force a render. + } + } + if (this._gc && !value) { + this._enabled(true, false); + } + return this; + }; + + +/* + * ---------------------------------------------------------------- + * SimpleTimeline + * ---------------------------------------------------------------- + */ + var SimpleTimeline = _class("core.SimpleTimeline", function(vars) { + Animation.call(this, 0, vars); + this.autoRemoveChildren = this.smoothChildTiming = true; + }); + + p = SimpleTimeline.prototype = new Animation(); + p.constructor = SimpleTimeline; + p.kill()._gc = false; + p._first = p._last = p._recent = null; + p._sortChildren = false; + + p.add = p.insert = function(child, position, align, stagger) { + var prevTween, st; + child._startTime = Number(position || 0) + child._delay; + if (child._paused) if (this !== child._timeline) { //we only adjust the _pauseTime if it wasn't in this timeline already. Remember, sometimes a tween will be inserted again into the same timeline when its startTime is changed so that the tweens in the TimelineLite/Max are re-ordered properly in the linked list (so everything renders in the proper order). + child._pauseTime = child._startTime + ((this.rawTime() - child._startTime) / child._timeScale); + } + if (child.timeline) { + child.timeline._remove(child, true); //removes from existing timeline so that it can be properly added to this one. + } + child.timeline = child._timeline = this; + if (child._gc) { + child._enabled(true, true); + } + prevTween = this._last; + if (this._sortChildren) { + st = child._startTime; + while (prevTween && prevTween._startTime > st) { + prevTween = prevTween._prev; + } + } + if (prevTween) { + child._next = prevTween._next; + prevTween._next = child; + } else { + child._next = this._first; + this._first = child; + } + if (child._next) { + child._next._prev = child; + } else { + this._last = child; + } + child._prev = prevTween; + this._recent = child; + if (this._timeline) { + this._uncache(true); + } + return this; + }; + + p._remove = function(tween, skipDisable) { + if (tween.timeline === this) { + if (!skipDisable) { + tween._enabled(false, true); + } + + if (tween._prev) { + tween._prev._next = tween._next; + } else if (this._first === tween) { + this._first = tween._next; + } + if (tween._next) { + tween._next._prev = tween._prev; + } else if (this._last === tween) { + this._last = tween._prev; + } + tween._next = tween._prev = tween.timeline = null; + if (tween === this._recent) { + this._recent = this._last; + } + + if (this._timeline) { + this._uncache(true); + } + } + return this; + }; + + p.render = function(time, suppressEvents, force) { + var tween = this._first, + next; + this._totalTime = this._time = this._rawPrevTime = time; + while (tween) { + next = tween._next; //record it here because the value could change after rendering... + if (tween._active || (time >= tween._startTime && !tween._paused && !tween._gc)) { + if (!tween._reversed) { + tween.render((time - tween._startTime) * tween._timeScale, suppressEvents, force); + } else { + tween.render(((!tween._dirty) ? tween._totalDuration : tween.totalDuration()) - ((time - tween._startTime) * tween._timeScale), suppressEvents, force); + } + } + tween = next; + } + }; + + p.rawTime = function() { + if (!_tickerActive) { + _ticker.wake(); + } + return this._totalTime; + }; + +/* + * ---------------------------------------------------------------- + * TweenLite + * ---------------------------------------------------------------- + */ + var TweenLite = _class("TweenLite", function(target, duration, vars) { + Animation.call(this, duration, vars); + this.render = TweenLite.prototype.render; //speed optimization (avoid prototype lookup on this "hot" method) + + if (target == null) { + throw "Cannot tween a null target."; + } + + this.target = target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target; + + var isSelector = (target.jquery || (target.length && target !== window && target[0] && (target[0] === window || (target[0].nodeType && target[0].style && !target.nodeType)))), + overwrite = this.vars.overwrite, + i, targ, targets; + + this._overwrite = overwrite = (overwrite == null) ? _overwriteLookup[TweenLite.defaultOverwrite] : (typeof(overwrite) === "number") ? overwrite >> 0 : _overwriteLookup[overwrite]; + + if ((isSelector || target instanceof Array || (target.push && _isArray(target))) && typeof(target[0]) !== "number") { + this._targets = targets = _slice(target); //don't use Array.prototype.slice.call(target, 0) because that doesn't work in IE8 with a NodeList that's returned by querySelectorAll() + this._propLookup = []; + this._siblings = []; + for (i = 0; i < targets.length; i++) { + targ = targets[i]; + if (!targ) { + targets.splice(i--, 1); + continue; + } else if (typeof(targ) === "string") { + targ = targets[i--] = TweenLite.selector(targ); //in case it's an array of strings + if (typeof(targ) === "string") { + targets.splice(i+1, 1); //to avoid an endless loop (can't imagine why the selector would return a string, but just in case) + } + continue; + } else if (targ.length && targ !== window && targ[0] && (targ[0] === window || (targ[0].nodeType && targ[0].style && !targ.nodeType))) { //in case the user is passing in an array of selector objects (like jQuery objects), we need to check one more level and pull things out if necessary. Also note that \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n
\n
\n\n
\n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n\n
\n \n \n\n
\n \n \n \n \n
\n
\n\n
\n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n \n\n \n" + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyForLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc__ = __webpack_require__("../../../../../src/app/loc.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js__ = __webpack_require__("../../../../../src/assets/modal.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__assets_modal_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ApplyForLocComponent = (function () { + function ApplyForLocComponent(creditTypesService, commonService, locService, modalComponent, modalService) { + this.creditTypesService = creditTypesService; + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.today = Date.now(); + this.loc = new __WEBPACK_IMPORTED_MODULE_1__loc__["a" /* Loc */](); + this.submitted = false; + } + ApplyForLocComponent.prototype.getCreditTypes = function () { + var _this = this; + this.creditTypesService.getCreditTypes().then(function (creditTypes) { return _this.creditTypes = creditTypes; }); + }; + ApplyForLocComponent.prototype.getCurrencies = function () { + var _this = this; + this.commonService.getCurrencies().then(function (currencies) { return _this.currencies = currencies; }); + }; + ApplyForLocComponent.prototype.getWeightUnits = function () { + var _this = this; + this.commonService.getWeightUnits().then(function (weightunits) { return _this.weightunits = weightunits; }); + }; + ApplyForLocComponent.prototype.getAdvisingBanks = function () { + var _this = this; + this.locService.getPeers().then(function (advisingBanks) { return _this.advisingBanks = advisingBanks; }); + }; + ApplyForLocComponent.prototype.getMe = function () { + var _this = this; + this.locService.getMe('').then(function (me) { return _this.applicant = me.name; }); + }; + ApplyForLocComponent.prototype.createLoc = function () { + var _this = this; + this.locService.createLoc(this.loc).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApplyForLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApplyForLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApplyForLocComponent.prototype.autoComplete = function () { + var d = new Date(); + this.loc.applicationDate = d; + this.loc.applicationId = this.orderRef[0]; + this.loc.typeCredit = 'SIGHT'; + this.loc.amount = 30000; + this.loc.issuer = 'Issuing'; + this.loc.currency = 'USD'; + var year = d.getFullYear() + 1; + var month = d.getMonth(); + var day = d.getDay(); + this.loc.expiryDate = new Date(year, month, day); + this.loc.portLoadingAddress = '1 Silicon Way'; + this.loc.portLoadingCity = 'San Francisco'; + this.loc.portLoadingCountry = 'US'; + this.loc.portDischargeAddress = '3 Sea Way'; + this.loc.portDischargeCity = 'Dover'; + this.loc.portDischargeCountry = 'UK'; + this.loc.goodsDescription = 'OLED 6" Screens'; + this.loc.goodsQuantity = 10000; + this.loc.goodsWeight = 1000; + this.loc.goodsWeightUnit = 'KG'; + this.loc.goodsUnitPrice = 400; + this.loc.goodsPurchaseOrderRef = this.orderRef[0]; + this.loc.placePresentationCountry = 'UK'; + this.loc.placePresentationCity = 'Dover'; + this.loc.placePresentationState = 'Dover'; + this.loc.lastShipmentDate = this.loc.expiryDate; + this.loc.periodPresentation = 1; + this.loc.beneficiary = 'Seller'; + this.loc.applicant = this.applicant; + this.loc.advisingBank = 'Advising'; + }; + ApplyForLocComponent.prototype.ngOnInit = function () { + this.getCreditTypes(); + this.getCurrencies(); + this.getWeightUnits(); + this.getAdvisingBanks(); + this.getMe(); + this.loc.applicant = this.applicant; + this.loc.applicationId = this.orderRef; + }; + ApplyForLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.loc.currency = 'USD'; + this.createLoc(); + }; + return ApplyForLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApplyForLocComponent.prototype, "orderRef", void 0); +ApplyForLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'apply-for-loc', + template: __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */], __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */], __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */]) === "function" && _d || Object, typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _e || Object]) +], ApplyForLocComponent); + +var _a, _b, _c, _d, _e; +//# sourceMappingURL=apply-for-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var ApproveLocComponent = (function () { + function ApproveLocComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + ApproveLocComponent.prototype.approveLoc = function () { + var _this = this; + this.locService.approveLoc(this.loc.txRef).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApproveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */], Object.assign({}, { class: 'gray' })); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApproveLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApproveLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.approveLoc(); + }; + ApproveLocComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return ApproveLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApproveLocComponent.prototype, "ref", void 0); +ApproveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'approve-loc', + template: __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], ApproveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=approve-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\n min-height: 250px; }\n\nbody {\n font: 25px Oswald; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalIssuerComponent = (function () { + function AwaitingApprovalIssuerComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalIssuerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Approval'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalIssuerComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocsIssuer().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalIssuerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalIssuerComponent; +}()); +AwaitingApprovalIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval-issuer', + template: __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalIssuerComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n\r\nbody {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalComponent = (function () { + function AwaitingApprovalComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Application'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocs().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalComponent; +}()); +AwaitingApprovalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval', + template: __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n
\n
\n \n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var BillOfLadingViewComponent = (function () { + function BillOfLadingViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + BillOfLadingViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBol(this.id, this.requestor).then(function (bol) { return _this.bol = bol; }); + } + }; + return BillOfLadingViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "requestor", void 0); +BillOfLadingViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading-view', + template: __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], BillOfLadingViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=bill-of-lading-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var BillOfLadingComponent = (function () { + function BillOfLadingComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.bol = new __WEBPACK_IMPORTED_MODULE_1__bol__["a" /* Bol */](); + this.submitted = false; + } + BillOfLadingComponent.prototype.createBol = function () { + var _this = this; + this.bol.advisingBank = this.loc[0].advisory; + this.bol.issuingBank = this.loc[0].issuer; + this.docsService.createBol(this.bol).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + BillOfLadingComponent.prototype.autoComplete = function () { + var d = new Date(); + this.bol.billOfLadingId = this.loc[0].orderRef; + this.bol.issueDate = d; + this.bol.carrierOwner = 'Alice'; + this.bol.nameOfVessel = 'SurfRider'; + this.bol.goodsDescription = this.loc[0].description; + this.bol.goodsQuantity = 10000; + this.bol.dateOfShipment = d; + this.bol.portOfLoadingCountry = 'China'; + this.bol.portOfLoadingCity = 'Beijing'; + this.bol.portOfLoadingAddress = '123 Street'; + this.bol.portOfDischargeCountry = 'USA'; + this.bol.portOfDischargeCity = 'Des Moines'; + this.bol.portOfDischargeAddress = 'ABC Street'; + this.bol.shipper = this.loc[0].beneficiary; + this.bol.notifyName = 'Foo Bar'; + this.bol.notifyAddress = '123 Street, London'; + this.bol.notifyPhone = '+442076909856'; + this.bol.consigneeName = this.loc[0].applicant; + this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.bol.consigneePhone = '+0027590043622'; + this.bol.grossWeight = 1000; + this.bol.grossWeightUnit = 'KG'; + this.bol.placeOfReceiptCountry = 'USA'; + this.bol.placeOfReceiptCity = 'Des Moines'; + this.bol.buyer = this.bol.consigneeName; + this.bol.advisingBank = this.loc[0].advisingBank; + }; + BillOfLadingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + BillOfLadingComponent.prototype.close = function () { + this.modalComponent.close(); + }; + BillOfLadingComponent.prototype.ngOnInit = function () { + }; + BillOfLadingComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createBol(); + }; + return BillOfLadingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], BillOfLadingComponent.prototype, "loc", void 0); +BillOfLadingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading', + template: __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], BillOfLadingComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=bill-of-lading.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol-events.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BolEvents; }); +var BolEvents = (function () { + function BolEvents() { + this.dict = []; + } + BolEvents.prototype.deserialize = function (input) { + var _this = this; + input.forEach(function (element) { + _this.dict.push({ + key: element.first, + value: element.second + }); + }); + return this; + }; + return BolEvents; +}()); + +//# sourceMappingURL=bol-events.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Bol; }); +var Bol = (function () { + function Bol() { + } + Bol.prototype.deserialize = function (input) { + this.owner = input.owner; + this.billOfLadingId = input.props.billOfLadingID; + this.issueDate = input.props.issueDate; + this.carrierOwner = input.props.carrierOwner; + this.nameOfVessel = input.props.nameOfVessel; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.dateOfShipment = input.props.dateOfShipment; + this.portOfLoadingCountry = input.props.portOfLoading.country; + this.portOfLoadingCity = input.props.portOfLoading.city; + this.portOfLoadingAddress = input.props.portOfLoading.address; + this.portOfDischargeCountry = input.props.portOfDischarge.country; + this.portOfDischargeCity = input.props.portOfDischarge.city; + this.portOfDischargeAddress = input.props.portOfDischarge.address; + this.shipper = input.props.carrierOwner; + this.notifyName = input.props.notify.name; + this.notifyAddress = input.props.notify.address; + this.notifyPhone = input.props.notify.phone; + this.consigneeName = input.props.consignee.name; + this.consigneeAddress = input.props.consignee.address; + this.consigneePhone = input.props.consignee.phone; + this.grossWeight = input.props.grossWeight.quantity; + this.grossWeightUnit = input.props.grossWeight.unit; + this.placeOfReceiptCountry = input.props.placeOfReceipt.country; + this.placeOfReceiptCity = input.props.placeOfReceipt.city; + this.buyer = input.beneficiary; + return this; + }; + return Bol; +}()); + +//# sourceMappingURL=bol.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "div {\r\n font-family: oswald !important;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n\n
CurrencyAmount
{{cashBalances.currency}}\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CashBalanceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var CashBalanceComponent = (function () { + function CashBalanceComponent(locService, route, refreshService) { + var _this = this; + this.locService = locService; + this.route = route; + this.refreshService = refreshService; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.getCashBalances(); + }); + } + CashBalanceComponent.prototype.getCashBalances = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getCashBalances(id).then(function (cashBalances) { return _this.cashBalances = cashBalances; }); + }; + CashBalanceComponent.prototype.ngOnInit = function () { + this.getCashBalances(); + }; + return CashBalanceComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], CashBalanceComponent.prototype, "node", void 0); +CashBalanceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'cash-balance', + template: __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.html"), + styles: [__webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], CashBalanceComponent); + +var _a, _b, _c; +//# sourceMappingURL=cash-balance.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Cash; }); +var Cash = (function () { + function Cash() { + } + Cash.prototype.deserialize = function (input) { + var temp = input.USD; + this.currency = Object.keys(input)[0]; + this.amount = temp.substring(0, temp.length - 7); + return this; + }; + return Cash; +}()); + +//# sourceMappingURL=cash.js.map + +/***/ }), + +/***/ "../../../../../src/app/claim-fund.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClaimFund; }); +var ClaimFund = (function () { + function ClaimFund(ref, party) { + this.ref = ref; + this.party = party; + } + return ClaimFund; +}()); + +//# sourceMappingURL=claim-fund.js.map + +/***/ }), + +/***/ "../../../../../src/app/comma-seperated-number.pipe.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommaSeperatedNumberPipe; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var CommaSeperatedNumberPipe = (function () { + function CommaSeperatedNumberPipe() { + } + CommaSeperatedNumberPipe.prototype.transform = function (value, args) { + return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); + }; + return CommaSeperatedNumberPipe; +}()); +CommaSeperatedNumberPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Pipe"])({ + name: 'comma-seperated-number' + }) +], CommaSeperatedNumberPipe); + +//# sourceMappingURL=comma-seperated-number.pipe.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardAdvisingComponent = (function () { + function DashboardAdvisingComponent() { + } + DashboardAdvisingComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardAdvisingComponent; +}()); +DashboardAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-advising', + template: __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardAdvisingComponent); + +//# sourceMappingURL=dashboard-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n background-color: black;\r\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\r\n background-repeat: repeat;\r\n color: white;\r\n font-family: 'Oswald', sans-serif;\r\n letter-spacing: .2rem;\r\n margin: 0;\r\n overflow: hidden;\r\n -webkit-perspective: 1000px;\r\n perspective: 1000px;\r\n text-transform: uppercase;\r\n}\r\n.site-wrap {\r\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.site-wrap.show-all {\r\n -webkit-transform: rotateY(-15deg) scale(0.2);\r\n transform: rotateY(-15deg) scale(0.2);\r\n}\r\n.panel-wrap {\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\nh1 {\r\n font-size: 20vmin;\r\n margin: 0;\r\n}\r\n.panel-wrap {\r\n -webkit-perspective: 2000px;\r\n perspective: 2000px;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.panel-wrap.animate--shrink,\r\n.panel-wrap.animate--tilt,\r\n.panel-wrap.animate--tilt2 {\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n}\r\n.panel {\r\n height: 100vh;\r\n position: absolute;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100vw;\r\n will-change: transform;\r\n}\r\n.panel:before {\r\n background-color: transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: 0;\r\n pointer-events: none;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n z-index: 2;\r\n}\r\n.show-all .panel:before {\r\n pointer-events: all;\r\n}\r\n.show-all .panel:hover:before {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n cursor: pointer;\r\n}\r\n.animate--shrink.animate .panel {\r\n -webkit-transform: scale(0.9);\r\n transform: scale(0.9);\r\n}\r\n.animate--tilt.animate .panel {\r\n -webkit-transform: scale(0.6) rotateY(-25deg);\r\n transform: scale(0.6) rotateY(-25deg);\r\n}\r\n.animate--tilt2.animate .panel {\r\n -webkit-transform: scale(0.8) rotateX(25deg);\r\n transform: scale(0.8) rotateX(25deg);\r\n}\r\n.panel h1 {\r\n cursor: default;\r\n left: 50%;\r\n line-height: 1;\r\n position: absolute;\r\n text-align: center;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%);\r\n transform: translateX(-50%) translateY(-50%);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel[data-x-pos=\"-2\"] {\r\n left: -200%;\r\n}\r\n.panel[data-x-pos=\"-1\"] {\r\n left: -100%;\r\n}\r\n.panel[data-x-pos=\"1\"] {\r\n left: 100%;\r\n}\r\n.panel[data-x-pos=\"2\"] {\r\n left: 200%;\r\n}\r\n.panel[data-y-pos=\"-2\"] {\r\n top: 200%;\r\n}\r\n.panel[data-y-pos=\"-1\"] {\r\n top: 100%;\r\n}\r\n.panel[data-y-pos=\"1\"] {\r\n top: -100%;\r\n}\r\n.panel[data-y-pos=\"2\"] {\r\n top: -200%;\r\n}\r\n.panel__zoom {\r\n cursor: pointer;\r\n left: 50%;\r\n opacity: .2;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n z-index: 10;\r\n}\r\n.panel__zoom:hover {\r\n opacity: 1;\r\n}\r\n.show-all .panel__zoom {\r\n pointer-events: none;\r\n}\r\n.panel__nav {\r\n cursor: pointer;\r\n opacity: .2;\r\n position: absolute;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n will-change: opacity;\r\n}\r\n.panel__nav--up {\r\n left: 50%;\r\n top: 1rem;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav--left {\r\n left: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n -webkit-transform-origin: top left;\r\n transform-origin: top left;\r\n}\r\n.panel__nav--left-top {\r\n left: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--left-down {\r\n bottom: 1rem;\r\n left: 1rem;\r\n}\r\n.panel__nav--right {\r\n right: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n -webkit-transform-origin: top right;\r\n transform-origin: top right;\r\n}\r\n.panel__nav--right-top {\r\n right: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--right-down {\r\n bottom: 1rem;\r\n right: 1rem;\r\n}\r\n.panel__nav--down {\r\n bottom: 1rem;\r\n left: 50%;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list {\r\n font-size: 3.3vmin;\r\n left: 50%;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n}\r\n.panel__animation-list span {\r\n cursor: pointer;\r\n display: inline-block;\r\n opacity: .2;\r\n position: relative;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel__animation-list span:after {\r\n border-bottom: .3vmin solid transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: -1px;\r\n position: absolute;\r\n right: 0;\r\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100%;\r\n}\r\n.panel__animation-list span.active,\r\n.panel__animation-list span:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list span.active:after,\r\n.panel__animation-list span:hover:after {\r\n border-color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n
\n\n\n
\n \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var DashboardBuyerComponent = (function () { + function DashboardBuyerComponent(modalService) { + this.modalService = modalService; + } + DashboardBuyerComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__["a" /* ApplyModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Apply'; + }; + DashboardBuyerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardBuyerComponent; +}()); +DashboardBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-buyer', + template: __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardBuyerComponent); + +var _a; +//# sourceMappingURL=dashboard-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardIssuerComponent = (function () { + function DashboardIssuerComponent() { + } + DashboardIssuerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardIssuerComponent; +}()); +DashboardIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-issuer', + template: __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardIssuerComponent); + +//# sourceMappingURL=dashboard-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardOverallComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardOverallComponent = (function () { + function DashboardOverallComponent() { + } + DashboardOverallComponent.prototype.ngOnInit = function () { + }; + return DashboardOverallComponent; +}()); +DashboardOverallComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-overall', + template: __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardOverallComponent); + +//# sourceMappingURL=dashboard-overall.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DashboardSellerComponent = (function () { + function DashboardSellerComponent(modalService) { + this.modalService = modalService; + } + DashboardSellerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardSellerComponent; +}()); +DashboardSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-seller', + template: __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardSellerComponent); + +var _a; +//# sourceMappingURL=dashboard-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DocsComponent = (function () { + function DocsComponent() { + } + DocsComponent.prototype.ngOnInit = function () { + }; + return DocsComponent; +}()); +DocsComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'docs', + template: __webpack_require__("../../../../../src/app/docs/docs.component.html"), + styles: [__webpack_require__("../../../../../src/app/docs/docs.component.css")] + }), + __metadata("design:paramtypes", []) +], DocsComponent); + +//# sourceMappingURL=docs.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.html": +/***/ (function(module, exports) { + +module.exports = "\n\n
\n\n
\n\n
\n\n

Select files

\n\n
\n Drop zone\n
\n\n
\n\n
\n
\n\n
\n\n
\n

Queue length: {{ uploader?.queue?.length }}

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n\n
\n
\n Queue progress:\n
\n
\n
\n
\n \n \n \n
\n\n
\n\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocumentUploadComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/ng2-file-upload.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocumentUploadComponent = (function () { + function DocumentUploadComponent() { + this.URL = 'http://localhost:10016/api/loc/get-loc'; + this.uploader = new __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__["FileUploader"]({ url: this.URL }); + this.hasBaseDropZoneOver = false; + this.hasAnotherDropZoneOver = false; + } + DocumentUploadComponent.prototype.fileOverBase = function (e) { + this.hasBaseDropZoneOver = e; + }; + DocumentUploadComponent.prototype.fileOverAnother = function (e) { + this.hasAnotherDropZoneOver = e; + }; + DocumentUploadComponent.prototype.ngOnInit = function () { + }; + return DocumentUploadComponent; +}()); +DocumentUploadComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'document-upload', + template: __webpack_require__("../../../../../src/app/document-upload/document-upload.component.html"), + styles: [__webpack_require__("../../../../../src/app/document-upload/document-upload.component.css")] + }), + __metadata("design:paramtypes", []) +], DocumentUploadComponent); + +//# sourceMappingURL=document-upload.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.html": +/***/ (function(module, exports) { + +module.exports = "\n
\n
Finances
\n
\n
\n \n
\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FinancesComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var FinancesComponent = (function () { + function FinancesComponent(locService) { + this.locService = locService; + this.stats = new __WEBPACK_IMPORTED_MODULE_1__stats__["a" /* Stats */](); + // Pie + this.pieChartLabels = ['Awaiting Approval', 'Active', 'Awaiting Payment']; + this.pieChartData = [1, 1, 1]; + this.pieChartType = 'pie'; + this.barChartOptions = { + scaleShowVerticalLines: false, + responsive: true + }; + this.barChartLabels = ['2015', '2016', '2017']; + this.barChartType = 'bar'; + this.barChartLegend = true; + this.barChartData = [ + { data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired' }, + { data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected' } + ]; + } + // events + FinancesComponent.prototype.chartClicked = function (e) { + console.log(e); + }; + FinancesComponent.prototype.chartHovered = function (e) { + console.log(e); + }; + FinancesComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getStats().then(function (stats) { return _this.stats = stats; }); + }; + return FinancesComponent; +}()); +FinancesComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'finances', + template: __webpack_require__("../../../../../src/app/finances/finances.component.html"), + styles: [__webpack_require__("../../../../../src/app/finances/finances.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], FinancesComponent); + +var _a; +//# sourceMappingURL=finances.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Goods Shipped
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantAmountDescriptionStatusPayment Received
\n {{loc.applicant}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n {{loc.advisingPayment}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoodsShippedComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var GoodsShippedComponent = (function () { + function GoodsShippedComponent(locService) { + this.locService = locService; + this.locs = []; + } + GoodsShippedComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getDummySummary().then(function (locs) { return _this.locs = locs; }); + }; + return GoodsShippedComponent; +}()); +GoodsShippedComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'goods-shipped', + template: __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.html"), + styles: [__webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], GoodsShippedComponent); + +var _a; +//# sourceMappingURL=goods-shipped.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "#h3 {\r\n color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n

{{me}} | Port: {{port}}

\n
\n\n
\n \n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var HeaderComponent = (function () { + function HeaderComponent(locService, route) { + this.locService = locService; + this.route = route; + this.cordaImage = 'assets/corda.png'; + } + HeaderComponent.prototype.getMe = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getMe(id).then(function (me) { return _this.me = me.name; }); + }; + HeaderComponent.prototype.getPort = function () { + var id = this.route.snapshot.url[0].toString(); + this.port = this.locService.getPort(id); + }; + HeaderComponent.prototype.ngOnInit = function () { + this.getMe(); + this.getPort(); + }; + return HeaderComponent; +}()); +HeaderComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'header', + template: __webpack_require__("../../../../../src/app/header/header.component.html"), + styles: [__webpack_require__("../../../../../src/app/header/header.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], HeaderComponent); + +var _a, _b; +//# sourceMappingURL=header.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.html": +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatePickerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var DatePickerComponent = (function () { + function DatePickerComponent() { + this.bsRangeValue = [new Date(2017, 7, 4), new Date(2017, 7, 20)]; + } + return DatePickerComponent; +}()); +DatePickerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'date-picker', + template: __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.html"), + styles: [__webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.css")] + }) +], DatePickerComponent); + +//# sourceMappingURL=date-picker.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/in-memory-data.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InMemoryDataService; }); +var InMemoryDataService = (function () { + function InMemoryDataService() { + } + InMemoryDataService.prototype.createDb = function () { + var locs = [ + { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit', + amount: 5, currency: 'USD', + expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London', + portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio', + portDischargeAddress: 'Stade de Brazil', + goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1, + goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio', + placePresentationCity: 'Rio', + lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5, + beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' } + ]; + var locsummary = [ + { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD', + description: 'Mock product', status: 'Approved' } + }, + { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD', + description: 'Mock product2', status: 'Approved' } + }, + { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD', + description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + }, + { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD', + description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + } + ]; + return { + locs: locs, + locsummary: locsummary + }; + }; + return InMemoryDataService; +}()); + +//# sourceMappingURL=in-memory-data.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceCreateComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var InvoiceCreateComponent = (function () { + function InvoiceCreateComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.inv = new __WEBPACK_IMPORTED_MODULE_1__invoice__["a" /* Invoice */](); + this.submitted = false; + } + InvoiceCreateComponent.prototype.createInvoice = function () { + var _this = this; + this.docsService.createInvoice(this.inv).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + InvoiceCreateComponent.prototype.autoComplete = function () { + var d = new Date(); + this.inv.invoiceDate = d, + this.inv.invoiceId = Math.round(Math.random() * 1000000).toString(); + this.inv.sellerName = 'Seller', + this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111', + this.inv.buyerName = 'Buyer', + this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222', + this.inv.term = 5, + this.inv.goodsDescription = 'OLED 6" Screens', + this.inv.goodsPurchaseOrderRef = 'Mock1', + this.inv.goodsQuantity = 10000, + this.inv.goodsUnitPrice = 3, + this.inv.goodsGrossWeight = 30; + }; + InvoiceCreateComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceCreateComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + InvoiceCreateComponent.prototype.ngOnInit = function () { + }; + InvoiceCreateComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createInvoice(); + }; + return InvoiceCreateComponent; +}()); +InvoiceCreateComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'create-invoice', + template: __webpack_require__("../../../../../src/app/invoice-create/invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-create/invoice.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceCreateComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var InvoiceViewComponent = (function () { + function InvoiceViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + InvoiceViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.docsService.getInvoice(this.ref).then(function (invoice) { return _this.inv = invoice; }); + } + }; + return InvoiceViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], InvoiceViewComponent.prototype, "ref", void 0); +InvoiceViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'invoice-view', + template: __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Invoice; }); +var Invoice = (function () { + function Invoice() { + } + Invoice.prototype.deserialize = function (input) { + this.invoiceDate = input.props.invoiceDate; + this.invoiceId = input.props.invoiceID; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.term = input.props.term; + this.goodsDescription = input.props.goods[0].description; + this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef; + this.goodsQuantity = input.props.goods[0].quantity; + this.goodsUnitPrice = input.props.goods[0].unitPrice; + this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit; + this.assigned = input.assigned; + return this; + }; + return Invoice; +}()); + +//# sourceMappingURL=invoice.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocAppViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var LocAppViewComponent = (function () { + function LocAppViewComponent(locService, modalComponent, modalService) { + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + LocAppViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocAppViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocAppViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocAppViewComponent.prototype, "ref", void 0); +LocAppViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-app-view', + template: __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], LocAppViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=loc-app-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateSummary; }); +var LocStateSummary = (function () { + function LocStateSummary() { + } + LocStateSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiaryPaid = input.second.beneficiaryPaid; + this.advisoryPaid = input.second.advisoryPaid; + this.issuerPaid = input.second.issuerPaid; + this.issued = input.second.issued; + this.terminated = input.second.terminated; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.advisory = input.second.advisoryBank; + this.issuer = input.second.issuingBank; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.quantity = input.second.quantity; + this.orderRef = input.second.purchaseOrderRef; + this.description = input.second.description; + this.status = input.second.status; + return this; + }; + return LocStateSummary; +}()); + +//# sourceMappingURL=loc-state-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var LocStateViewComponent = (function () { + function LocStateViewComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + LocStateViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocStateViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLoc(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocStateViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocStateViewComponent.prototype, "ref", void 0); +LocStateViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-state-view', + template: __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], LocStateViewComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=loc-state-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocSummary; }); +var LocSummary = (function () { + function LocSummary() { + } + LocSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.description = input.second.description; + this.orderRef = input.second.purchaseOrderRef; + this.status = input.second.status; + this.advisingPayment = input.second.advisingPayment; + this.issuingPayment = input.second.issuingPayment; + this.buyerPayment = input.second.buyerPayment; + return this; + }; + return LocSummary; +}()); + +//# sourceMappingURL=loc-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__claim_fund__ = __webpack_require__("../../../../../src/app/claim-fund.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cash__ = __webpack_require__("../../../../../src/app/cash.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +var LocService = (function () { + function LocService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + // mock data + this.mockSummary = 'api/locsummary'; + this.meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc'; + this.getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval'; + this.awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc'; + this.approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc'; + this.statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats'; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances'; + this.cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances'; + this.cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances'; + this.cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances'; + this.allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'; + this.allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app'; + this.allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all'; + this.allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all'; + this.claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds'; + this.paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller'; + this.payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser'; + this.payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + LocService.prototype.getLocApp = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocAppUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getLoc = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocApps = function (node) { + var _this = this; + var getAllUrl; + switch (node) { + case 'advising': + getAllUrl = this.allLocUrlAdviser; + break; + case 'buyer': + getAllUrl = this.allLocAppUrlBuyer; + break; + case 'seller': + getAllUrl = this.allLocUrlSeller; + break; + case 'issuer': + getAllUrl = this.allLocAppUrlIssuer; + break; + default: + break; + } + return this.http.get(getAllUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocs = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocsIssuer = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrlIssuer) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocsApps = function () { + var _this = this; + return this.http.get(this.activeLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocStateSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingPaymentLocs = function () { + var _this = this; + return this.http.get(this.awaitingPaymentLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getCashBalances = function (node) { + var url; + switch (node) { + case 'buyer': + url = this.cashBalancesBuyerUrl; + break; + case 'seller': + url = this.cashBalancesSellerUrl; + break; + case 'issuing': + url = this.cashBalancesIssuerUrl; + break; + case 'advising': + url = this.cashBalancesAdvisoryUrl; + break; + default: + url = this.cashBalancesIssuerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__cash__["a" /* Cash */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getMe = function (id) { + var url; + switch (id) { + case 'buyer': + url = this.meBuyerUrl; + break; + case 'seller': + url = this.meSellerUrl; + break; + case 'issuing': + url = this.meIssueUrl; + break; + case 'advising': + url = this.meAdvisoryUrl; + break; + default: + url = this.meBuyerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getPort = function (id) { + var port; + switch (id) { + case 'buyer': + port = this.buyer; + break; + case 'seller': + port = this.seller; + break; + case 'issuing': + port = this.issuer; + break; + case 'advising': + port = this.advisory; + break; + default: + port = 0; + break; + } + return port; + }; + LocService.prototype.getPeers = function () { + var _this = this; + return this.http.get(this.peersUrl) + .toPromise() + .then(function (response) { return _this.createPartyArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getStats = function () { + return this.http.get(this.statsUrl) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_7__stats__["a" /* Stats */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.createLoc = function (loc) { + return this.http + .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().deserialize(res.json()).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.approveLoc = function (ref) { + var url = this.approveLocUrl + "?ref=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.paySeller = function (ref) { + var url = this.paySellerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payAdviser = function (ref) { + var url = this.payAdvisoryUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payIssuer = function (ref) { + var url = this.payIssuerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.claimFunds = function (ref) { + var _this = this; + this.getMe('issuing').then(function (result) { + var claimFund = new __WEBPACK_IMPORTED_MODULE_4__claim_fund__["a" /* ClaimFund */](ref, result.name); + _this.http.post(_this.claimFundsUrl, JSON.stringify(claimFund), { headers: _this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(_this.handleError); + }); + }; + LocService.prototype.createPartyArray = function (input) { + var parties = new Array(); + input.peers.forEach(function (element) { + var party = new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserializeName(element); + parties.push(party); + }); + return parties; + }; + LocService.prototype.createLocSummaryArray = function (input) { + var locSummaries = new Array(); + input.forEach(function (element) { + var locSummary = new __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]().deserialize(element); + locSummaries.push(locSummary); + }); + return locSummaries; + }; + LocService.prototype.createLocStateSummaryArray = function (input) { + var locStateSummaries = new Array(); + input.forEach(function (element) { + var locStateSummary = new __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__["a" /* LocStateSummary */]().deserialize(element); + locStateSummaries.push(locStateSummary); + }); + return locStateSummaries; + }; + LocService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + /// MOCK DATA STUFF + LocService.prototype.getDummySummary = function () { + var _this = this; + return this.http.get(this.mockSummary) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json().data); }) + .catch(this.handleError); + }; + LocService.prototype.shipGoods = function (loc) { + var url = this.mockSummary + "/" + loc.id; + loc.status = 'Shipped'; + return this.http + .put(url, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function () { return loc; }) + .catch(this.handleError); + }; + return LocService; +}()); +LocService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], LocService); + +var _a; +//# sourceMappingURL=loc.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Loc; }); +var Loc = (function () { + function Loc() { + } + return Loc; +}()); + +//# sourceMappingURL=loc.js.map + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "html {\r\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\r\n background-size: cover;\r\n overflow: hidden;\r\n}\r\n\r\nimg{\r\n display: block;\r\n margin: auto;\r\n width: 100%;\r\n height: auto;\r\n}\r\n\r\n#login-button{\r\n cursor: pointer;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n padding: 30px;\r\n margin: auto;\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50%;\r\n background: rgba(3,3,3,.8);\r\n overflow: hidden;\r\n opacity: 0.6;\r\n box-shadow: 10px 10px 30px #000;}\r\n\r\n/* Login container */\r\n#container{\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n margin: auto;\r\n width: 260px;\r\n height: 260px;\r\n border-radius: 5px;\r\n background: rgba(3,3,3,0.25);\r\n box-shadow: 1px 1px 50px #000;\r\n display: none;\r\n}\r\n\r\n.close-btn{\r\n position: absolute;\r\n cursor: pointer;\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n line-height: 18px;\r\n top: 3px;\r\n right: 3px;\r\n width: 20px;\r\n height: 20px;\r\n text-align: center;\r\n border-radius: 10px;\r\n opacity: .2;\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\n.close-btn:hover{\r\n opacity: .5;\r\n}\r\n\r\n/* Heading */\r\nh1{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n position: relative;\r\n margin-top: 0px;\r\n text-align: center;\r\n font-size: 40px;\r\n color: #ddd;\r\n text-shadow: 3px 3px 10px #000;\r\n}\r\n\r\n/* Inputs */\r\na,\r\ninput{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-decoration: none;\r\n position: relative;\r\n width: 80%;\r\n display: block;\r\n margin: 9px auto;\r\n font-size: 17px;\r\n color: #fff;\r\n padding: 8px;\r\n border-radius: 6px;\r\n border: none;\r\n background: rgba(3,3,3,.1);\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\ninput:focus{\r\n outline: none;\r\n box-shadow: 3px 3px 10px #333;\r\n background: rgba(3,3,3,.18);\r\n}\r\n\r\n/* Placeholders */\r\n::-webkit-input-placeholder {\r\n color: #ddd; }\r\n:-moz-placeholder { /* Firefox 18- */\r\n color: red; }\r\n::-moz-placeholder { /* Firefox 19+ */\r\n color: red; }\r\n:-ms-input-placeholder {\r\n color: #333; }\r\n\r\n/* Link */\r\na{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-align: center;\r\n padding: 4px 8px;\r\n background: rgba(107,255,3,0.3);\r\n}\r\n\r\na:hover{\r\n opacity: 0.7;\r\n}\r\n\r\n#remember-container{\r\n position: relative;\r\n margin: -5px 20px;\r\n}\r\n\r\n.checkbox {\r\n position: relative;\r\n cursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tpadding: 5px;\r\n\tborder-radius: 4px;\r\n background: rgba(3,3,3,.2);\r\n\tdisplay: inline-block;\r\n width: 16px;\r\n height: 15px;\r\n}\r\n\r\n.checkbox:checked:active {\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\r\n}\r\n\r\n.checkbox:checked {\r\n background: rgba(3,3,3,.4);\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\r\n\tcolor: #fff;\r\n}\r\n\r\n.checkbox:checked:after {\r\n\tcontent: '\\2714';\r\n\tfont-size: 10px;\r\n\tposition: absolute;\r\n\ttop: 0px;\r\n\tleft: 4px;\r\n\tcolor: #fff;\r\n}\r\n\r\n#remember{\r\n position: absolute;\r\n font-size: 13px;\r\n font-family: 'Hind', sans-serif;\r\n color: rgba(255,255,255,.5);\r\n top: 7px;\r\n left: 20px;\r\n}\r\n\r\n.orange-btn{\r\n background: rgba(87,198,255,.5);\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Log In

\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n Log in\r\n
\r\n \r\n Remember me\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__ = __webpack_require__("../../../../gsap/TweenLite.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var LoginComponent = (function () { + function LoginComponent() { + } + LoginComponent.prototype.ngAfterViewInit = function () { + $('#login-button').click(function () { + $('#login-button').fadeOut('slow', function () { + $('#container').fadeIn(); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + }); + $('#logo').animate({ 'width': '40%', 'height': '40%' }, 1000); + }); + $('.close-btn').click(function () { + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { left: '0px', scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + $('#container, #forgotten-container').fadeOut(800, function () { + $('#login-button').fadeIn(800); + }); + $('#logo').animate({ 'width': '100%', 'height': '100%' }, 1000); + }); + /* Forgotten Password */ + $('#forgotten').click(function () { + $('#container').fadeOut(function () { + $('#forgotten-container').fadeIn(); + }); + }); + }; + LoginComponent.prototype.ngOnInit = function () { + }; + return LoginComponent; +}()); +LoginComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'app-login', + template: __webpack_require__("../../../../../src/app/login/login.component.html"), + styles: [__webpack_require__("../../../../../src/app/login/login.component.css")] + }), + __metadata("design:paramtypes", []) +], LoginComponent); + +//# sourceMappingURL=login.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".main-menu {\r\n /*background-color: #343436;*/\r\n padding: 15px;\r\n max-width: 200px;\r\n}\r\n\r\n.hype {\r\n border-radius: 999em;\r\n border: 1px solid #ccaaaa;\r\n -webkit-filter:blur(3px);\r\n filter:blur(3px);\r\n color: white;\r\n background: #fff;\r\n outline: none;\r\n width: 70px;\r\n height: 70px;\r\n font-size: 12px;\r\n display: inline-block;\r\n text-transform:uppercase;\r\n cursor: pointer;\r\n box-sizing: border-box;\r\n}\r\n\r\n.hype {\r\n position: relative;\r\n}\r\n.hype::before, .hype::after {\r\n content: '';\r\n position: absolute;\r\n box-sizing: border-box;\r\n border-radius: 999em;\r\n}\r\n.hype::after {\r\n top: 0;\r\n left: 0;\r\n z-index: 1;\r\n width: 70px;\r\n height: 70px;\r\n border: 1px solid #229999;\r\n filter:blur(2px);\r\n -webkit-filter:blur(1px);\r\n}\r\n.hype::before {\r\n z-index: -1;\r\n width: 70px;\r\n height: 70px;\r\n/* background: inherit; */\r\n opacity: .6;\r\n top: 0;\r\n left: 0;\r\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\r\n animation: pluse .6s ease-in-out 0s infinite alternate;\r\n}\r\n.hype:hover::after {\r\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\r\n animation: pulse-ring 1.5s ease-out 0s infinite;\r\n}\r\n@-webkit-keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@-webkit-keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n@keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n\r\n.btn {\r\n border-radius: 28px;\r\n font-family: Arial;\r\n color: #ffffff;\r\n font-size: 16px;\r\n background: #ff0000;\r\n padding: 10px 20px 10px 20px;\r\n text-decoration: none;\r\n min-width: 170px;\r\n margin-bottom: 25px;\r\n}\r\n.btn:hover {\r\n background: #fa5757;\r\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\r\n text-decoration: none;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MainMenuComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var MainMenuComponent = (function () { + function MainMenuComponent(modalService, route) { + this.modalService = modalService; + this.route = route; + } + MainMenuComponent.prototype.ngOnInit = function () { + var current = this.route.snapshot.url[0].toString(); + switch (current) { + case 'buyer': + this.buyer = 'btn-info'; + break; + case 'issuing': + this.issuing = 'btn-info'; + break; + case 'advising': + this.advising = 'btn-info'; + break; + case 'seller': + this.seller = 'btn-info'; + break; + case 'dashboard': + this.dashboard = 'btn-info'; + break; + } + }; + return MainMenuComponent; +}()); +MainMenuComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'main-menu', + template: __webpack_require__("../../../../../src/app/main-menu/main-menu.component.html"), + styles: [__webpack_require__("../../../../../src/app/main-menu/main-menu.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], MainMenuComponent); + +var _a, _b; +//# sourceMappingURL=main-menu.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/apply-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApplyModalComponent = (function () { + function ApplyModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApplyModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApplyModalComponent; +}()); +ApplyModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApplyModalComponent); + +var _a; +//# sourceMappingURL=apply-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/approve-loc-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApproveLocModalComponent = (function () { + function ApproveLocModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApproveLocModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApproveLocModalComponent; +}()); +ApproveLocModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApproveLocModalComponent); + +var _a; +//# sourceMappingURL=approve-loc-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateBolModalComponent = (function () { + function CreateBolModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateBolModalComponent; +}()); +CreateBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateBolModalComponent); + +var _a; +//# sourceMappingURL=create-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateInvoiceModalComponent = (function () { + function CreateInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateInvoiceModalComponent; +}()); +CreateInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateInvoiceModalComponent); + +var _a; +//# sourceMappingURL=create-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreatePlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreatePlModalComponent = (function () { + function CreatePlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreatePlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreatePlModalComponent; +}()); +CreatePlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreatePlModalComponent); + +var _a; +//# sourceMappingURL=create-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/docs-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocsModalComponent = (function () { + function DocsModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + DocsModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return DocsModalComponent; +}()); +DocsModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], DocsModalComponent); + +var _a; +//# sourceMappingURL=docs-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports +exports.push([module.i, "@import url(https://fonts.googleapis.com/css?family=Open+Sans);", ""]); + +// module +exports.push([module.i, ".modal-content {\r\n background-color: #000 !important;\r\n font-family: \"Open Sans\", Impact;\r\n}\r\n\r\n.svg {\r\n height: 200px;\r\n}\r\n\r\n.area {\r\n text-align: center;\r\n font-size: 2.5em;\r\n color: #fff;\r\n letter-spacing: -7px;\r\n font-weight: 700;\r\n text-transform: uppercase;\r\n -webkit-animation: blur 1s ease-out 5;\r\n animation: blur 1s ease-out 5;\r\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\r\n}\r\n\r\n@-webkit-keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n@keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "/*dark background to support form theme*/\n.modal-main {\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\n\n/*sass variables used*/\n/*site container*/\n.wrapper {\n width: 420px;\n height: 200px;\n margin: 0 auto; }\n\nh1 {\n text-align: center;\n padding: 30px 0px 0px 0px;\n font: 25px Oswald;\n color: #FFF;\n text-transform: uppercase;\n text-shadow: #000 0px 1px 5px;\n margin: 0px; }\n\np {\n font: 13px Open Sans;\n color: #6E6E6E;\n text-shadow: #000 0px 1px 5px;\n margin-bottom: 30px; }\n\n.name-help, .email-help {\n display: none;\n padding: 0px;\n margin: 0px 0px 15px 0px; }\n\n.optimize {\n position: fixed;\n right: 3%;\n top: 0px; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/response-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ResponseModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__ = __webpack_require__("../../../../rxjs/Rx.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ResponseModalComponent = (function () { + function ResponseModalComponent(bsModalRef, refreshService) { + this.bsModalRef = bsModalRef; + this.refreshService = refreshService; + } + ResponseModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + ResponseModalComponent.prototype.updateMessage = function (text) { + this.message = text; + }; + ResponseModalComponent.prototype.ngOnInit = function () { + var _this = this; + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(500).subscribe(function (t) { _this.updateMessage('Running'); }); + // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') }) + // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') }) + // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') }) + // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') }) + // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) }) + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.close(); }); + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.refreshService.confirmMission(); }); + }; + return ResponseModalComponent; +}()); +ResponseModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.css")], + template: "\n\n
\n \n
\n
\n
\n \n \n \n \n \n {{message}}\n \n \n \n
\n\n\n
\n" + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */]) === "function" && _b || Object]) +], ResponseModalComponent); + +var _a, _b; +//# sourceMappingURL=response-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal-nested.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n" + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ShipModalComponent = (function () { + function ShipModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ShipModalComponent.prototype.openModal = function (template) { + this.modalRef = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.openModal2 = function (template) { + this.modalRef2 = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ShipModalComponent; +}()); +ShipModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + template: __webpack_require__("../../../../../src/app/modals/ship-modal-nested.html") + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ShipModalComponent); + +var _a, _b; +//# sourceMappingURL=ship-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ViewBolModalComponent = (function () { + function ViewBolModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ViewBolModalComponent.prototype.openModal2 = function () { + this.modalRef2 = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */]); + this.modalRef2.content.id = this.id; + this.modalRef2.content.requestor = this.requestor; + }; + ViewBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolModalComponent; +}()); +ViewBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ViewBolModalComponent); + +var _a, _b; +//# sourceMappingURL=view-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-timeline-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolTimelineModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewBolTimelineModalComponent = (function () { + function ViewBolTimelineModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewBolTimelineModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolTimelineModalComponent; +}()); +ViewBolTimelineModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewBolTimelineModalComponent); + +var _a; +//# sourceMappingURL=view-bol-timeline-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewInvoiceModalComponent = (function () { + function ViewInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewInvoiceModalComponent; +}()); +ViewInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewInvoiceModalComponent); + +var _a; +//# sourceMappingURL=view-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-app-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocAppModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocAppModalComponent = (function () { + function ViewLocAppModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocAppModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocAppModalComponent; +}()); +ViewLocAppModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocAppModalComponent); + +var _a; +//# sourceMappingURL=view-loc-app-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-state-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocStateModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocStateModalComponent = (function () { + function ViewLocStateModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocStateModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocStateModalComponent; +}()); +ViewLocStateModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocStateModalComponent); + +var _a; +//# sourceMappingURL=view-loc-state-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewPlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewPlModalComponent = (function () { + function ViewPlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewPlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewPlModalComponent; +}()); +ViewPlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewPlModalComponent); + +var _a; +//# sourceMappingURL=view-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var PackingListViewComponent = (function () { + function PackingListViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + PackingListViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getPackingList(this.id, this.requestor).then(function (pl) { return _this.pl = pl; }); + } + }; + return PackingListViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "requestor", void 0); +PackingListViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list-view', + template: __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], PackingListViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=packing-list-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var PackingListComponent = (function () { + function PackingListComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.pl = new __WEBPACK_IMPORTED_MODULE_1__packinglist__["a" /* PackingList */](); + this.submitted = false; + } + PackingListComponent.prototype.createpl = function () { + var _this = this; + this.pl.advisingBank = this.loc[0].advisory; + this.pl.issuingBank = this.loc[0].issuer; + this.docsService.createPackingList(this.pl).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + PackingListComponent.prototype.autoComplete = function () { + var d = new Date(); + this.pl.issueDate = d; + this.pl.orderNumber = this.loc[0].orderRef; + this.pl.sellersOrderNumber = this.loc[0].orderRef; + this.pl.transportMethod = 'Ship'; + this.pl.nameOfVessel = 'SurfRider'; + this.pl.billOfLadingNumber = this.loc[0].orderRef; + this.pl.sellerName = 'Seller'; + this.pl.sellerAddress = '123 Street. Beijing, China'; + this.pl.buyerName = 'Buyer'; + this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.pl.goodsDescription = this.loc[0].description; + this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef; + this.pl.goodsQuantity = 10000; + this.pl.goodsUnitPrice = this.loc[0].amount; + this.pl.goodsGrossWeight = 1000; + }; + PackingListComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + PackingListComponent.prototype.close = function () { + this.modalComponent.close(); + }; + PackingListComponent.prototype.ngOnInit = function () { + }; + PackingListComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createpl(); + }; + return PackingListComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], PackingListComponent.prototype, "loc", void 0); +PackingListComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list', + template: __webpack_require__("../../../../../src/app/packing-list/packing-list.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list/packing-list.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], PackingListComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=packing-list.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packinglist.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingList; }); +var PackingList = (function () { + function PackingList() { + } + PackingList.prototype.deserialize = function (input) { + this.issueDate = input.props.issueDate; + this.orderNumber = input.props.orderNumber; + this.sellersOrderNumber = input.props.sellersOrderNumber; + this.transportMethod = input.props.transportMethod; + this.nameOfVessel = input.props.nameOfVessel; + this.billOfLadingNumber = input.props.billOfLadingNumber; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.sellerPhone = input.props.seller.phone; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.buyerPhone = input.props.buyer.phone; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice; + this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit; + this.attachmentHash = input.props.attachmentHash; + return this; + }; + return PackingList; +}()); + +//# sourceMappingURL=packinglist.js.map + +/***/ }), + +/***/ "../../../../../src/app/party.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Party; }); +var Party = (function () { + function Party() { + } + Party.prototype.deserialize = function (input) { + this.name = input.me; + return this; + }; + Party.prototype.deserializeName = function (input) { + this.name = input; + return this; + }; + return Party; +}()); + +//# sourceMappingURL=party.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/advising-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AdvisingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AdvisingBankService = (function () { + function AdvisingBankService(locService) { + this.locService = locService; + this.locService = locService; + } + return AdvisingBankService; +}()); +AdvisingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AdvisingBankService); + +var _a; +//# sourceMappingURL=advising-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/common.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommonService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_currency__ = __webpack_require__("../../../../../src/app/services/common/mock-currency.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__ = __webpack_require__("../../../../../src/app/services/common/mock-weight-unit.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + +var CommonService = (function () { + function CommonService() { + } + CommonService.prototype.getCurrencies = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_currency__["a" /* CURRENCY */]); + }; + CommonService.prototype.getWeightUnits = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__["a" /* WEIGHTUNIT */]); + }; + return CommonService; +}()); +CommonService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CommonService); + +//# sourceMappingURL=common.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-currency.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; }); +var CURRENCY = [ + { id: 'USD', name: 'USD' }, + { id: 'EUR', name: 'EUR' }, + { id: 'GBP', name: 'GBP' } +]; +//# sourceMappingURL=mock-currency.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-weight-unit.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WEIGHTUNIT; }); +var WEIGHTUNIT = [ + { id: 11, name: 'KG' }, + { id: 12, name: 'LBS' } +]; +//# sourceMappingURL=mock-weight-unit.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/credit-type.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreditTypeService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_credit_type__ = __webpack_require__("../../../../../src/app/services/credit-types/mock-credit-type.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + +var CreditTypeService = (function () { + function CreditTypeService() { + } + CreditTypeService.prototype.getCreditTypes = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_credit_type__["a" /* CREDITTYPES */]); + }; + return CreditTypeService; +}()); +CreditTypeService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CreditTypeService); + +//# sourceMappingURL=credit-type.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/mock-credit-type.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CREDITTYPES; }); +var CREDITTYPES = [ + { id: 'SIGHT', name: 'Sight' }, + { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' }, + { id: 'ACCEPTANCE', name: 'Acceptance' }, + { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' }, + { id: 'TRANSFERABLE', name: 'Transferable' }, + { id: 'STANDBY', name: 'Standby' }, + { id: 'REVOLVING', name: 'Revolving' }, + { id: 'RED_CLAUSE', name: 'Red Clause' }, + { id: 'GREEN_CLAUSE', name: 'Green Clause' }, +]; +//# sourceMappingURL=mock-credit-type.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/docs.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__bol_events__ = __webpack_require__("../../../../../src/app/bol-events.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var DocsService = (function () { + function DocsService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol'; + this.createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl'; + this.createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade'; + this.invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices'; + this.invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice'; + this.bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol'; + this.bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol'; + this.bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol'; + this.packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list'; + this.packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list'; + this.packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list'; + this.bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events'; + this.bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events'; + this.bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + DocsService.prototype.createBol = function (bol) { + return this.http + .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createPackingList = function (packingList) { + return this.http + .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoice = function (invoice) { + return this.http + .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.getBol = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_2__bol__["a" /* Bol */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getBolEvents = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolEventsUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolEventsUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolEventsUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_3__bol_events__["a" /* BolEvents */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getPackingList = function (id, requestor) { + var url; + switch (requestor) { + case 'buyer': { + url = this.packingListUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.packingListUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.packingListUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_4__packinglist__["a" /* PackingList */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoices = function () { + var _this = this; + return this.http.get(this.invoicesUrl) + .toPromise() + .then(function (response) { return _this.createInvoiceArray(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoice = function (id) { + var url = this.invoiceUrl + "?ref=" + id; + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoiceArray = function (input) { + var invoices = new Array(); + input.forEach(function (element) { + var invoice = new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(element); + invoices.push(invoice); + }); + return invoices; + }; + DocsService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return DocsService; +}()); +DocsService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], DocsService); + +var _a; +//# sourceMappingURL=docs.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/identity.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IdentityService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var IdentityService = (function () { + function IdentityService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + } + IdentityService.prototype.getAll = function () { + this.getBuyer(); + this.getIssuer(); + this.getAdvisory(); + this.getSeller(); + }; + IdentityService.prototype.getBuyer = function () { + var _this = this; + if (this.buyerId === undefined) { + this.http.get(this.buyerUrl) + .toPromise() + .then(function (response) { return _this.buyerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getIssuer = function () { + var _this = this; + if (this.issuerId === undefined) { + this.http.get(this.issuerId) + .toPromise() + .then(function (response) { return _this.issuerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getAdvisory = function () { + var _this = this; + if (this.advisoryId === undefined) { + this.http.get(this.advisoryId) + .toPromise() + .then(function (response) { return _this.advisoryId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getSeller = function () { + var _this = this; + if (this.sellerId === undefined) { + this.http.get(this.sellerId) + .toPromise() + .then(function (response) { return _this.sellerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return IdentityService; +}()); +IdentityService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], IdentityService); + +var _a; +//# sourceMappingURL=identity.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/issuing-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IssuingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var IssuingBankService = (function () { + function IssuingBankService() { + } + return IssuingBankService; +}()); +IssuingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], IssuingBankService); + +//# sourceMappingURL=issuing-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/refresh.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RefreshService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__ = __webpack_require__("../../../../rxjs/Subject.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var RefreshService = (function () { + function RefreshService() { + // Observable sources + this.confirmedSource = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__["Subject"](); + // Observable string streams + this.missionConfirmed$ = this.confirmedSource.asObservable(); + } + RefreshService.prototype.confirmMission = function () { + this.confirmedSource.next(true); + }; + return RefreshService; +}()); +RefreshService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], RefreshService); + +//# sourceMappingURL=refresh.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.html": +/***/ (function(module, exports) { + +module.exports = "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n" + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__ = __webpack_require__("../../../../rxjs/add/operator/switchMap.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ShipComponent = (function () { + function ShipComponent(locService) { + this.locService = locService; + } + ShipComponent.prototype.ngOnInit = function () { + }; + return ShipComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]) === "function" && _a || Object) +], ShipComponent.prototype, "loc", void 0); +ShipComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'ship', + template: __webpack_require__("../../../../../src/app/ship/ship.component.html"), + styles: [__webpack_require__("../../../../../src/app/ship/ship.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], ShipComponent); + +var _a, _b; +//# sourceMappingURL=ship.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n" + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.less": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\n background: #161616;\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\n}\n.stop {\n animation-play-state: paused;\n -moz-animation-play-state: paused;\n -webkit-animation-play-state: paused;\n}\n.trigger {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\n border: 1px solid #111;\n border-right-color: #333;\n border-bottom-color: #333;\n text-decoration: none;\n color: #fff;\n padding: 10px;\n font-family: Verdana, Geneva, sans-serif;\n font-size: 0.8em;\n text-transform: lowercase;\n margin: 10px auto;\n display: block;\n width: 140px;\n border-radius: 5px;\n text-align: center;\n}\n.trigger:hover {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\n}\n#ajaxloader1 {\n width: 30px !important;\n height: 30px !important;\n border: 8px solid #fff !important;\n border-radius: 50% !important;\n box-shadow: 0 0 25px 2px !important;\n color: #fff !important;\n border-color: #f00 !important;\n color: #cc0000 !important;\n border-right-color: transparent !important;\n border-top-color: transparent !important;\n -webkit-animation: spin-right 1s linear infinite normal !important;\n animation: spin-right 1s linear infinite normal !important;\n -webkit-animation-delay: 0 !important;\n animation-delay: 0 !important;\n margin: 30px auto 0 !important;\n}\n#ajaxloader1:after {\n display: block !important;\n width: 13px !important;\n height: 13px !important;\n margin: 3px !important;\n border: 6px solid #f00 !important;\n content: \" \" !important;\n border-radius: 50% !important;\n border-left-color: transparent !important;\n border-bottom-color: transparent !important;\n}\n@keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@-webkit-keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n }\n}\n@keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@-webkit-keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n }\n}\n@keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n}\n@-webkit-keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n}\n@keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@-webkit-keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n@-webkit-keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\n }\n}\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SpinnerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var SpinnerComponent = (function () { + function SpinnerComponent() { + } + SpinnerComponent.prototype.ngOnInit = function () { + }; + return SpinnerComponent; +}()); +SpinnerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'spinner', + template: __webpack_require__("../../../../../src/app/spinner/spinner.component.html"), + styles: [__webpack_require__("../../../../../src/app/spinner/spinner.component.less")] + }), + __metadata("design:paramtypes", []) +], SpinnerComponent); + +//# sourceMappingURL=spinner.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/stats.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Stats; }); +var Stats = (function () { + function Stats() { + } + Stats.prototype.deserialize = function (input) { + this.awaitingApproval = input.awaitingApproval; + this.active = input.active; + this.awaitingPayment = input.awaitingPayment; + return this; + }; + return Stats; +}()); + +//# sourceMappingURL=stats.js.map + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.html": +/***/ (function(module, exports) { + +module.exports = "
    \n\n
    \n\n
  • \n
    {{event.value}}
    \n
  • \n\n
  • \n
    \n
    \n
    \n

    Owned by {{event.key}}

    \n

    {{event.value}}

    \n
    \n
    \n
  • \n\n
    \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "img {\n border: 0;\n max-width: 100%; }\n\n.page-header h1 {\n font-size: 3.26em;\n text-align: center;\n color: #efefef;\n text-shadow: 1px 1px 0 #000; }\n\n/** timeline box structure **/\n.timeline {\n list-style: none;\n padding: 20px 0 20px;\n position: relative; }\n\n.timeline:before {\n top: 0;\n bottom: 0;\n position: absolute;\n content: \" \";\n width: 3px;\n background-color: #eee;\n left: 50%;\n margin-left: -1.5px; }\n\n.tldate {\n display: block;\n width: 200px;\n background: #414141;\n border: 3px solid #212121;\n color: #ededed;\n margin: 0 auto;\n padding: 3px 0;\n font-weight: bold;\n text-align: center;\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\n\n.timeline li {\n margin-bottom: 25px;\n position: relative; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n.timeline li:after {\n clear: both; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n/** timeline panels **/\n.timeline li .timeline-panel {\n width: 46%;\n float: left;\n background: #fff;\n border: 1px solid #d4d4d4;\n padding: 20px;\n position: relative;\n border-radius: 8px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\n\n/** panel arrows **/\n.timeline li .timeline-panel:before {\n position: absolute;\n top: 26px;\n right: -15px;\n display: inline-block;\n border-top: 15px solid transparent;\n border-left: 15px solid #ccc;\n border-right: 0 solid #ccc;\n border-bottom: 15px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel:after {\n position: absolute;\n top: 27px;\n right: -14px;\n display: inline-block;\n border-top: 14px solid transparent;\n border-left: 14px solid #fff;\n border-right: 0 solid #fff;\n border-bottom: 14px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\n top: 0;\n right: 0;\n display: none;\n border: 0; }\n\n.timeline li.timeline-inverted .timeline-panel {\n float: right; }\n\n.timeline li.timeline-inverted .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n\n.timeline li.timeline-inverted .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; }\n\n/** timeline circle icons **/\n.timeline li .tl-circ {\n position: absolute;\n top: 23px;\n left: 50%;\n text-align: center;\n background: #6a8db3;\n color: #fff;\n width: 35px;\n height: 35px;\n line-height: 35px;\n margin-left: -16px;\n border: 3px solid #90acc7;\n border-top-right-radius: 50%;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n border-bottom-left-radius: 50%;\n z-index: 99999; }\n\n/** timeline content **/\n.tl-heading h4 {\n margin: 0;\n color: #c25b4e; }\n\n.tl-body p, .tl-body ul {\n margin-bottom: 0; }\n\n.tl-body > p + p {\n margin-top: 5px; }\n\n/** media queries **/\n@media (max-width: 991px) {\n .timeline li .timeline-panel {\n width: 44%; } }\n\n@media (max-width: 700px) {\n .page-header h1 {\n font-size: 1.8em; }\n ul.timeline:before {\n left: 40px; }\n .tldate {\n width: 140px; }\n ul.timeline li .timeline-panel {\n width: calc(100% - 90px);\n width: -webkit-calc(100% - 90px); }\n ul.timeline li .tl-circ {\n top: 22px;\n left: 22px;\n margin-left: 0; }\n ul.timeline > li > .tldate {\n margin: 0; }\n ul.timeline > li > .timeline-panel {\n float: right; }\n ul.timeline > li > .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n ul.timeline > li > .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; } }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TimelineComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var TimelineComponent = (function () { + function TimelineComponent(docsService) { + this.docsService = docsService; + } + TimelineComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBolEvents(this.id, this.requestor).then(function (bolEvents) { return _this.bolEvents = bolEvents; }); + } + }; + return TimelineComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "requestor", void 0); +TimelineComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'timeline', + template: __webpack_require__("../../../../../src/app/timeline/timeline.component.html"), + styles: [__webpack_require__("../../../../../src/app/timeline/timeline.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object]) +], TimelineComponent); + +var _a; +//# sourceMappingURL=timeline.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/tx.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tx; }); +var Tx = (function () { + function Tx() { + } + Tx.prototype.deserialize = function (input) { + this.txResponse = input.message; + return this; + }; + Tx.prototype.text = function (input) { + this.txResponse = input; + return this; + }; + return Tx; +}()); + +//# sourceMappingURL=tx.js.map + +/***/ }), + +/***/ "../../../../../src/assets/modal.js": +/***/ (function(module, exports) { + +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) + + +/***/ }), + +/***/ "../../../../../src/main.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__("../../../platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("../../../../../src/app/app.module.ts"); + + + +Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["enableProdMode"])(); +Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */]); +//# sourceMappingURL=main.js.map + +/***/ }), + +/***/ "../../../../moment/locale recursive ^\\.\\/.*$": +/***/ (function(module, exports, __webpack_require__) { + +var map = { + "./af": "../../../../moment/locale/af.js", + "./af.js": "../../../../moment/locale/af.js", + "./ar": "../../../../moment/locale/ar.js", + "./ar-dz": "../../../../moment/locale/ar-dz.js", + "./ar-dz.js": "../../../../moment/locale/ar-dz.js", + "./ar-kw": "../../../../moment/locale/ar-kw.js", + "./ar-kw.js": "../../../../moment/locale/ar-kw.js", + "./ar-ly": "../../../../moment/locale/ar-ly.js", + "./ar-ly.js": "../../../../moment/locale/ar-ly.js", + "./ar-ma": "../../../../moment/locale/ar-ma.js", + "./ar-ma.js": "../../../../moment/locale/ar-ma.js", + "./ar-sa": "../../../../moment/locale/ar-sa.js", + "./ar-sa.js": "../../../../moment/locale/ar-sa.js", + "./ar-tn": "../../../../moment/locale/ar-tn.js", + "./ar-tn.js": "../../../../moment/locale/ar-tn.js", + "./ar.js": "../../../../moment/locale/ar.js", + "./az": "../../../../moment/locale/az.js", + "./az.js": "../../../../moment/locale/az.js", + "./be": "../../../../moment/locale/be.js", + "./be.js": "../../../../moment/locale/be.js", + "./bg": "../../../../moment/locale/bg.js", + "./bg.js": "../../../../moment/locale/bg.js", + "./bn": "../../../../moment/locale/bn.js", + "./bn.js": "../../../../moment/locale/bn.js", + "./bo": "../../../../moment/locale/bo.js", + "./bo.js": "../../../../moment/locale/bo.js", + "./br": "../../../../moment/locale/br.js", + "./br.js": "../../../../moment/locale/br.js", + "./bs": "../../../../moment/locale/bs.js", + "./bs.js": "../../../../moment/locale/bs.js", + "./ca": "../../../../moment/locale/ca.js", + "./ca.js": "../../../../moment/locale/ca.js", + "./cs": "../../../../moment/locale/cs.js", + "./cs.js": "../../../../moment/locale/cs.js", + "./cv": "../../../../moment/locale/cv.js", + "./cv.js": "../../../../moment/locale/cv.js", + "./cy": "../../../../moment/locale/cy.js", + "./cy.js": "../../../../moment/locale/cy.js", + "./da": "../../../../moment/locale/da.js", + "./da.js": "../../../../moment/locale/da.js", + "./de": "../../../../moment/locale/de.js", + "./de-at": "../../../../moment/locale/de-at.js", + "./de-at.js": "../../../../moment/locale/de-at.js", + "./de-ch": "../../../../moment/locale/de-ch.js", + "./de-ch.js": "../../../../moment/locale/de-ch.js", + "./de.js": "../../../../moment/locale/de.js", + "./dv": "../../../../moment/locale/dv.js", + "./dv.js": "../../../../moment/locale/dv.js", + "./el": "../../../../moment/locale/el.js", + "./el.js": "../../../../moment/locale/el.js", + "./en-au": "../../../../moment/locale/en-au.js", + "./en-au.js": "../../../../moment/locale/en-au.js", + "./en-ca": "../../../../moment/locale/en-ca.js", + "./en-ca.js": "../../../../moment/locale/en-ca.js", + "./en-gb": "../../../../moment/locale/en-gb.js", + "./en-gb.js": "../../../../moment/locale/en-gb.js", + "./en-ie": "../../../../moment/locale/en-ie.js", + "./en-ie.js": "../../../../moment/locale/en-ie.js", + "./en-nz": "../../../../moment/locale/en-nz.js", + "./en-nz.js": "../../../../moment/locale/en-nz.js", + "./eo": "../../../../moment/locale/eo.js", + "./eo.js": "../../../../moment/locale/eo.js", + "./es": "../../../../moment/locale/es.js", + "./es-do": "../../../../moment/locale/es-do.js", + "./es-do.js": "../../../../moment/locale/es-do.js", + "./es.js": "../../../../moment/locale/es.js", + "./et": "../../../../moment/locale/et.js", + "./et.js": "../../../../moment/locale/et.js", + "./eu": "../../../../moment/locale/eu.js", + "./eu.js": "../../../../moment/locale/eu.js", + "./fa": "../../../../moment/locale/fa.js", + "./fa.js": "../../../../moment/locale/fa.js", + "./fi": "../../../../moment/locale/fi.js", + "./fi.js": "../../../../moment/locale/fi.js", + "./fo": "../../../../moment/locale/fo.js", + "./fo.js": "../../../../moment/locale/fo.js", + "./fr": "../../../../moment/locale/fr.js", + "./fr-ca": "../../../../moment/locale/fr-ca.js", + "./fr-ca.js": "../../../../moment/locale/fr-ca.js", + "./fr-ch": "../../../../moment/locale/fr-ch.js", + "./fr-ch.js": "../../../../moment/locale/fr-ch.js", + "./fr.js": "../../../../moment/locale/fr.js", + "./fy": "../../../../moment/locale/fy.js", + "./fy.js": "../../../../moment/locale/fy.js", + "./gd": "../../../../moment/locale/gd.js", + "./gd.js": "../../../../moment/locale/gd.js", + "./gl": "../../../../moment/locale/gl.js", + "./gl.js": "../../../../moment/locale/gl.js", + "./gom-latn": "../../../../moment/locale/gom-latn.js", + "./gom-latn.js": "../../../../moment/locale/gom-latn.js", + "./he": "../../../../moment/locale/he.js", + "./he.js": "../../../../moment/locale/he.js", + "./hi": "../../../../moment/locale/hi.js", + "./hi.js": "../../../../moment/locale/hi.js", + "./hr": "../../../../moment/locale/hr.js", + "./hr.js": "../../../../moment/locale/hr.js", + "./hu": "../../../../moment/locale/hu.js", + "./hu.js": "../../../../moment/locale/hu.js", + "./hy-am": "../../../../moment/locale/hy-am.js", + "./hy-am.js": "../../../../moment/locale/hy-am.js", + "./id": "../../../../moment/locale/id.js", + "./id.js": "../../../../moment/locale/id.js", + "./is": "../../../../moment/locale/is.js", + "./is.js": "../../../../moment/locale/is.js", + "./it": "../../../../moment/locale/it.js", + "./it.js": "../../../../moment/locale/it.js", + "./ja": "../../../../moment/locale/ja.js", + "./ja.js": "../../../../moment/locale/ja.js", + "./jv": "../../../../moment/locale/jv.js", + "./jv.js": "../../../../moment/locale/jv.js", + "./ka": "../../../../moment/locale/ka.js", + "./ka.js": "../../../../moment/locale/ka.js", + "./kk": "../../../../moment/locale/kk.js", + "./kk.js": "../../../../moment/locale/kk.js", + "./km": "../../../../moment/locale/km.js", + "./km.js": "../../../../moment/locale/km.js", + "./kn": "../../../../moment/locale/kn.js", + "./kn.js": "../../../../moment/locale/kn.js", + "./ko": "../../../../moment/locale/ko.js", + "./ko.js": "../../../../moment/locale/ko.js", + "./ky": "../../../../moment/locale/ky.js", + "./ky.js": "../../../../moment/locale/ky.js", + "./lb": "../../../../moment/locale/lb.js", + "./lb.js": "../../../../moment/locale/lb.js", + "./lo": "../../../../moment/locale/lo.js", + "./lo.js": "../../../../moment/locale/lo.js", + "./lt": "../../../../moment/locale/lt.js", + "./lt.js": "../../../../moment/locale/lt.js", + "./lv": "../../../../moment/locale/lv.js", + "./lv.js": "../../../../moment/locale/lv.js", + "./me": "../../../../moment/locale/me.js", + "./me.js": "../../../../moment/locale/me.js", + "./mi": "../../../../moment/locale/mi.js", + "./mi.js": "../../../../moment/locale/mi.js", + "./mk": "../../../../moment/locale/mk.js", + "./mk.js": "../../../../moment/locale/mk.js", + "./ml": "../../../../moment/locale/ml.js", + "./ml.js": "../../../../moment/locale/ml.js", + "./mr": "../../../../moment/locale/mr.js", + "./mr.js": "../../../../moment/locale/mr.js", + "./ms": "../../../../moment/locale/ms.js", + "./ms-my": "../../../../moment/locale/ms-my.js", + "./ms-my.js": "../../../../moment/locale/ms-my.js", + "./ms.js": "../../../../moment/locale/ms.js", + "./my": "../../../../moment/locale/my.js", + "./my.js": "../../../../moment/locale/my.js", + "./nb": "../../../../moment/locale/nb.js", + "./nb.js": "../../../../moment/locale/nb.js", + "./ne": "../../../../moment/locale/ne.js", + "./ne.js": "../../../../moment/locale/ne.js", + "./nl": "../../../../moment/locale/nl.js", + "./nl-be": "../../../../moment/locale/nl-be.js", + "./nl-be.js": "../../../../moment/locale/nl-be.js", + "./nl.js": "../../../../moment/locale/nl.js", + "./nn": "../../../../moment/locale/nn.js", + "./nn.js": "../../../../moment/locale/nn.js", + "./pa-in": "../../../../moment/locale/pa-in.js", + "./pa-in.js": "../../../../moment/locale/pa-in.js", + "./pl": "../../../../moment/locale/pl.js", + "./pl.js": "../../../../moment/locale/pl.js", + "./pt": "../../../../moment/locale/pt.js", + "./pt-br": "../../../../moment/locale/pt-br.js", + "./pt-br.js": "../../../../moment/locale/pt-br.js", + "./pt.js": "../../../../moment/locale/pt.js", + "./ro": "../../../../moment/locale/ro.js", + "./ro.js": "../../../../moment/locale/ro.js", + "./ru": "../../../../moment/locale/ru.js", + "./ru.js": "../../../../moment/locale/ru.js", + "./sd": "../../../../moment/locale/sd.js", + "./sd.js": "../../../../moment/locale/sd.js", + "./se": "../../../../moment/locale/se.js", + "./se.js": "../../../../moment/locale/se.js", + "./si": "../../../../moment/locale/si.js", + "./si.js": "../../../../moment/locale/si.js", + "./sk": "../../../../moment/locale/sk.js", + "./sk.js": "../../../../moment/locale/sk.js", + "./sl": "../../../../moment/locale/sl.js", + "./sl.js": "../../../../moment/locale/sl.js", + "./sq": "../../../../moment/locale/sq.js", + "./sq.js": "../../../../moment/locale/sq.js", + "./sr": "../../../../moment/locale/sr.js", + "./sr-cyrl": "../../../../moment/locale/sr-cyrl.js", + "./sr-cyrl.js": "../../../../moment/locale/sr-cyrl.js", + "./sr.js": "../../../../moment/locale/sr.js", + "./ss": "../../../../moment/locale/ss.js", + "./ss.js": "../../../../moment/locale/ss.js", + "./sv": "../../../../moment/locale/sv.js", + "./sv.js": "../../../../moment/locale/sv.js", + "./sw": "../../../../moment/locale/sw.js", + "./sw.js": "../../../../moment/locale/sw.js", + "./ta": "../../../../moment/locale/ta.js", + "./ta.js": "../../../../moment/locale/ta.js", + "./te": "../../../../moment/locale/te.js", + "./te.js": "../../../../moment/locale/te.js", + "./tet": "../../../../moment/locale/tet.js", + "./tet.js": "../../../../moment/locale/tet.js", + "./th": "../../../../moment/locale/th.js", + "./th.js": "../../../../moment/locale/th.js", + "./tl-ph": "../../../../moment/locale/tl-ph.js", + "./tl-ph.js": "../../../../moment/locale/tl-ph.js", + "./tlh": "../../../../moment/locale/tlh.js", + "./tlh.js": "../../../../moment/locale/tlh.js", + "./tr": "../../../../moment/locale/tr.js", + "./tr.js": "../../../../moment/locale/tr.js", + "./tzl": "../../../../moment/locale/tzl.js", + "./tzl.js": "../../../../moment/locale/tzl.js", + "./tzm": "../../../../moment/locale/tzm.js", + "./tzm-latn": "../../../../moment/locale/tzm-latn.js", + "./tzm-latn.js": "../../../../moment/locale/tzm-latn.js", + "./tzm.js": "../../../../moment/locale/tzm.js", + "./uk": "../../../../moment/locale/uk.js", + "./uk.js": "../../../../moment/locale/uk.js", + "./ur": "../../../../moment/locale/ur.js", + "./ur.js": "../../../../moment/locale/ur.js", + "./uz": "../../../../moment/locale/uz.js", + "./uz-latn": "../../../../moment/locale/uz-latn.js", + "./uz-latn.js": "../../../../moment/locale/uz-latn.js", + "./uz.js": "../../../../moment/locale/uz.js", + "./vi": "../../../../moment/locale/vi.js", + "./vi.js": "../../../../moment/locale/vi.js", + "./x-pseudo": "../../../../moment/locale/x-pseudo.js", + "./x-pseudo.js": "../../../../moment/locale/x-pseudo.js", + "./yo": "../../../../moment/locale/yo.js", + "./yo.js": "../../../../moment/locale/yo.js", + "./zh-cn": "../../../../moment/locale/zh-cn.js", + "./zh-cn.js": "../../../../moment/locale/zh-cn.js", + "./zh-hk": "../../../../moment/locale/zh-hk.js", + "./zh-hk.js": "../../../../moment/locale/zh-hk.js", + "./zh-tw": "../../../../moment/locale/zh-tw.js", + "./zh-tw.js": "../../../../moment/locale/zh-tw.js" +}; +function webpackContext(req) { + return __webpack_require__(webpackContextResolve(req)); +}; +function webpackContextResolve(req) { + var id = map[req]; + if(!(id + 1)) // check for number or string + throw new Error("Cannot find module '" + req + "'."); + return id; +}; +webpackContext.keys = function webpackContextKeys() { + return Object.keys(map); +}; +webpackContext.resolve = webpackContextResolve; +module.exports = webpackContext; +webpackContext.id = "../../../../moment/locale recursive ^\\.\\/.*$"; + +/***/ }), + +/***/ 0: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/main.ts"); + + +/***/ }) + +},[0]); +//# sourceMappingURL=main.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/out/production/resources/loc/polyfills.bundle.js b/kotlin-source/out/production/resources/loc/polyfills.bundle.js new file mode 100644 index 0000000..eacbc2a --- /dev/null +++ b/kotlin-source/out/production/resources/loc/polyfills.bundle.js @@ -0,0 +1,5393 @@ +webpackJsonp(["polyfills"],{ + +/***/ "../../../../../src/polyfills.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__("../../../../core-js/es6/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__("../../../../core-js/es7/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__ = __webpack_require__("../../../../zone.js/dist/zone.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__); +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html + */ +/*************************************************************************************************** + * BROWSER POLYFILLS + */ +/** IE9, IE10 and IE11 requires all of the following polyfills. **/ +// import 'core-js/es6/symbol'; +// import 'core-js/es6/object'; +// import 'core-js/es6/function'; +// import 'core-js/es6/parse-int'; +// import 'core-js/es6/parse-float'; +// import 'core-js/es6/number'; +// import 'core-js/es6/math'; +// import 'core-js/es6/string'; +// import 'core-js/es6/date'; +// import 'core-js/es6/array'; +// import 'core-js/es6/regexp'; +// import 'core-js/es6/map'; +// import 'core-js/es6/weak-map'; +// import 'core-js/es6/set'; +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. +/** Evergreen browsers require these. **/ + + +/** + * Required to support Web Animations `@angular/animation`. + * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. +/*************************************************************************************************** + * Zone JS is required by Angular itself. + */ + // Included with Angular CLI. +/*************************************************************************************************** + * APPLICATION IMPORTS + */ +/** + * Date, currency, decimal and percent pipes. + * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 + */ +// import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en'; +//# sourceMappingURL=polyfills.js.map + +/***/ }), + +/***/ "../../../../core-js/es6/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es6.reflect.apply.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.construct.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.define-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.delete-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.enumerate.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-prototype-of.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.has.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.is-extensible.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.own-keys.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.prevent-extensions.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set-prototype-of.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/es7/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es7.reflect.define-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.delete-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.metadata.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/modules/_a-function.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-instance.js": +/***/ (function(module, exports) { + +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { + throw TypeError(name + ': incorrect invocation!'); + } return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-object.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-from-iterable.js": +/***/ (function(module, exports, __webpack_require__) { + +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); + +module.exports = function (iter, ITERATOR) { + var result = []; + forOf(iter, false, result.push, result, ITERATOR); + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-includes.js": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var toAbsoluteIndex = __webpack_require__("../../../../core-js/modules/_to-absolute-index.js"); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-methods.js": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var asc = __webpack_require__("../../../../core-js/modules/_array-species-create.js"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-constructor.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var isArray = __webpack_require__("../../../../core-js/modules/_is-array.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("../../../../core-js/modules/_array-species-constructor.js"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_bind.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var invoke = __webpack_require__("../../../../core-js/modules/_invoke.js"); +var arraySlice = [].slice; +var factories = {}; + +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); + } return factories[len](F, args); +}; + +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { + var args = partArgs.concat(arraySlice.call(arguments)); + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); + }; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; + return bound; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_classof.js": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_cof.js": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-strong.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var $iterDefine = __webpack_require__("../../../../core-js/modules/_iter-define.js"); +var step = __webpack_require__("../../../../core-js/modules/_iter-step.js"); +var setSpecies = __webpack_require__("../../../../core-js/modules/_set-species.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var fastKey = __webpack_require__("../../../../core-js/modules/_meta.js").fastKey; +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SIZE = DESCRIPTORS ? '_s' : 'size'; + +var getEntry = function (that, key) { + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; + // frozen object case + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = create(null); // index + that._f = undefined; // first entry + that._l = undefined; // last entry + that[SIZE] = 0; // size + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.1.3.1 Map.prototype.clear() + // 23.2.3.2 Set.prototype.clear() + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { + entry.r = true; + if (entry.p) entry.p = entry.p.n = undefined; + delete data[entry.i]; + } + that._f = that._l = undefined; + that[SIZE] = 0; + }, + // 23.1.3.3 Map.prototype.delete(key) + // 23.2.3.4 Set.prototype.delete(value) + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; + delete that._i[entry.i]; + entry.r = true; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; + that[SIZE]--; + } return !!entry; + }, + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { + f(entry.v, entry.k, this); + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + } + }, + // 23.1.3.7 Map.prototype.has(key) + // 23.2.3.7 Set.prototype.has(value) + has: function has(key) { + return !!getEntry(validate(this, NAME), key); + } + }); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; + } + }); + return C; + }, + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; + // change existing entry + if (entry) { + entry.v = value; + // create new entry + } else { + that._l = entry = { + i: index = fastKey(key, true), // <- index + k: key, // <- key + v: value, // <- value + p: prev = that._l, // <- previous entry + n: undefined, // <- next entry + r: false // <- removed + }; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; + that[SIZE]++; + // add to index + if (index !== 'F') that._i[index] = entry; + } return that; + }, + getEntry: getEntry, + setStrong: function (C, NAME, IS_MAP) { + // add .keys, .values, .entries, [@@iterator] + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + // get next entry + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { + // or finish the iteration + that._t = undefined; + return step(1); + } + // return step by kind + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); + return step(0, [entry.k, entry.v]); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // add [@@species], 23.1.2.2, 23.2.2.2 + setSpecies(NAME); + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-weak.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var getWeak = __webpack_require__("../../../../core-js/modules/_meta.js").getWeak; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var createArrayMethod = __webpack_require__("../../../../core-js/modules/_array-methods.js"); +var $has = __webpack_require__("../../../../core-js/modules/_has.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); +}; +var UncaughtFrozenStore = function () { + this.a = []; +}; +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { + return it[0] === key; + }); +}; +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.a.push([key, value]); + }, + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { + return it[0] === key; + }); + if (~index) this.a.splice(index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = id++; // collection id + that._l = undefined; // leak store for uncaught frozen objects + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.3.3.2 WeakMap.prototype.delete(key) + // 23.4.3.3 WeakSet.prototype.delete(value) + 'delete': function (key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); + return data && $has(data, this._i) && delete data[this._i]; + }, + // 23.3.3.4 WeakMap.prototype.has(key) + // 23.4.3.4 WeakSet.prototype.has(value) + has: function has(key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); + return data && $has(data, this._i); + } + }); + return C; + }, + def: function (that, key, value) { + var data = getWeak(anObject(key), true); + if (data === true) uncaughtFrozenStore(that).set(key, value); + else data[that._i] = value; + return that; + }, + ufstore: uncaughtFrozenStore +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var $iterDetect = __webpack_require__("../../../../core-js/modules/_iter-detect.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__("../../../../core-js/modules/_inherit-if-required.js"); + +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + var fixMethod = function (KEY) { + var fn = proto[KEY]; + redefine(proto, KEY, + KEY == 'delete' ? function (a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'has' ? function has(a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'get' ? function get(a) { + return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } + : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } + ); + }; + if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { + new C().entries().next(); + }))) { + // create collection constructor + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); + redefineAll(C.prototype, methods); + meta.NEED = true; + } else { + var instance = new C(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new C(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + C = wrapper(function (target, iterable) { + anInstance(target, C, NAME); + var that = inheritIfRequired(new Base(), target, C); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + return that; + }); + C.prototype = proto; + proto.constructor = C; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + // weak collections should not contains .clear method + if (IS_WEAK && proto.clear) delete proto.clear; + } + + setToStringTag(C, NAME); + + O[NAME] = C; + $export($export.G + $export.W + $export.F * (C != Base), O); + + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); + + return C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_core.js": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.5.0' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_ctx.js": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_defined.js": +/***/ (function(module, exports) { + +// 7.2.1 RequireObjectCoercible(argument) +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_descriptors.js": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_dom-create.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_enum-bug-keys.js": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "../../../../core-js/modules/_export.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var core = __webpack_require__("../../../../core-js/modules/_core.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var PROTOTYPE = 'prototype'; + +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; + + +/***/ }), + +/***/ "../../../../core-js/modules/_fails.js": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_for-of.js": +/***/ (function(module, exports, __webpack_require__) { + +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var call = __webpack_require__("../../../../core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__("../../../../core-js/modules/_is-array-iter.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var getIterFn = __webpack_require__("../../../../core-js/modules/core.get-iterator-method.js"); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); + // fast case for arrays with default iterator + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { + result = call(iterator, f, step.value, entries); + if (result === BREAK || result === RETURN) return result; + } +}; +exports.BREAK = BREAK; +exports.RETURN = RETURN; + + +/***/ }), + +/***/ "../../../../core-js/modules/_global.js": +/***/ (function(module, exports) { + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_has.js": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_hide.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_html.js": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "../../../../core-js/modules/_ie8-dom-define.js": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("../../../../core-js/modules/_descriptors.js") && !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__("../../../../core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_inherit-if-required.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var setPrototypeOf = __webpack_require__("../../../../core-js/modules/_set-proto.js").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_invoke.js": +/***/ (function(module, exports) { + +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function (fn, args, that) { + var un = that === undefined; + switch (args.length) { + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array-iter.js": +/***/ (function(module, exports, __webpack_require__) { + +// check on default Array iterator +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var ArrayProto = Array.prototype; + +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-object.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-call.js": +/***/ (function(module, exports, __webpack_require__) { + +// call something on iterator step with safe closing on error +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +module.exports = function (iterator, fn, value, entries) { + try { + return entries ? fn(anObject(value)[0], value[1]) : fn(value); + // 7.4.6 IteratorClose(iterator, completion) + } catch (e) { + var ret = iterator['return']; + if (ret !== undefined) anObject(ret.call(iterator)); + throw e; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-create.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var descriptor = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("../../../../core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-define.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("../../../../core-js/modules/_library.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var $iterCreate = __webpack_require__("../../../../core-js/modules/_iter-create.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; + +var returnThis = function () { return this; }; + +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-detect.js": +/***/ (function(module, exports, __webpack_require__) { + +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var SAFE_CLOSING = false; + +try { + var riter = [7][ITERATOR](); + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } + +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; + var safe = false; + try { + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; + exec(arr); + } catch (e) { /* empty */ } + return safe; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-step.js": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iterators.js": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_library.js": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "../../../../core-js/modules/_meta.js": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("../../../../core-js/modules/_uid.js")('meta'); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var setDesc = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); +}; +var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var Map = __webpack_require__("../../../../core-js/modules/es6.map.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('metadata'); +var store = shared.store || (shared.store = new (__webpack_require__("../../../../core-js/modules/es6.weak-map.js"))()); + +var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return undefined; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return undefined; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; +}; +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); +}; +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); +}; +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); +}; +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); + return keys; +}; +var toMetaKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); +}; +var exp = function (O) { + $export($export.S, 'Reflect', O); +}; + +module.exports = { + store: store, + map: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + key: toMetaKey, + exp: exp +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-assign.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 19.1.2.1 Object.assign(target, source, ...) +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var $assign = Object.assign; + +// should work with symbols and should have deterministic property order (V8 bug) +module.exports = !$assign || __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; + } return T; +} : $assign; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var dPs = __webpack_require__("../../../../core-js/modules/_object-dps.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = __webpack_require__("../../../../core-js/modules/_dom-create.js")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("../../../../core-js/modules/_html.js").appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); +}; + +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dp.js": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dps.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); + +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopd.js": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopn.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var hiddenKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gops.js": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gpo.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var ObjectProto = Object.prototype; + +module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys-internal.js": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var arrayIndexOf = __webpack_require__("../../../../core-js/modules/_array-includes.js")(false); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); + +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-pie.js": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "../../../../core-js/modules/_own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// all object keys, includes non-enumerable and symbols +var gOPN = __webpack_require__("../../../../core-js/modules/_object-gopn.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Reflect = __webpack_require__("../../../../core-js/modules/_global.js").Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; + return getSymbols ? keys.concat(getSymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_property-desc.js": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine-all.js": +/***/ (function(module, exports, __webpack_require__) { + +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +module.exports = function (target, src, safe) { + for (var key in src) redefine(target, key, src[key], safe); + return target; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var SRC = __webpack_require__("../../../../core-js/modules/_uid.js")('src'); +var TO_STRING = 'toString'; +var $toString = Function[TO_STRING]; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("../../../../core-js/modules/_core.js").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-proto.js": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("../../../../core-js/modules/_ctx.js")(Function.call, __webpack_require__("../../../../core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-species.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (KEY) { + var C = global[KEY]; + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { + configurable: true, + get: function () { return this; } + }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-to-string-tag.js": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared-key.js": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('keys'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); +module.exports = function (key) { + return store[key] || (store[key] = {}); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-absolute-index.js": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-integer.js": +/***/ (function(module, exports) { + +// 7.1.4 ToInteger +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-length.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-object.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-primitive.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_uid.js": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_validate-collection.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_wks.js": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("../../../../core-js/modules/_shared.js")('wks'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +var Symbol = __webpack_require__("../../../../core-js/modules/_global.js").Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; + +var $exports = module.exports = function (name) { + return store[name] || (store[name] = + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); +}; + +$exports.store = store; + + +/***/ }), + +/***/ "../../../../core-js/modules/core.get-iterator-method.js": +/***/ (function(module, exports, __webpack_require__) { + +var classof = __webpack_require__("../../../../core-js/modules/_classof.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] + || it['@@iterator'] + || Iterators[classof(it)]; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var MAP = 'Map'; + +// 23.1 Map Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.1.3.6 Map.prototype.get(key) + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); + return entry && entry.v; + }, + // 23.1.3.9 Map.prototype.set(key, value) + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); + } +}, strong, true); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.apply.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var rApply = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).apply; +var fApply = Function.apply; +// MS Edge argumentsList argument is optional +$export($export.S + $export.F * !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + rApply(function () { /* empty */ }); +}), 'Reflect', { + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); + return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.construct.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var bind = __webpack_require__("../../../../core-js/modules/_bind.js"); +var rConstruct = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).construct; + +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); +}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); +}); + +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { + construct: function construct(Target, args /* , newTarget */) { + aFunction(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + $args.push.apply($args, args); + return new (bind.apply(Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); + return isObject(result) ? result : instance; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.define-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +$export($export.S + $export.F * __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); +}), 'Reflect', { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + propertyKey = toPrimitive(propertyKey, true); + anObject(attributes); + try { + dP.f(target, propertyKey, attributes); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.delete-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.4 Reflect.deleteProperty(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js").f; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + deleteProperty: function deleteProperty(target, propertyKey) { + var desc = gOPD(anObject(target), propertyKey); + return desc && !desc.configurable ? false : delete target[propertyKey]; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.enumerate.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 26.1.5 Reflect.enumerate(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Enumerate = function (iterated) { + this._t = anObject(iterated); // target + this._i = 0; // next index + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); +}; +__webpack_require__("../../../../core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; + do { + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; +}); + +$export($export.S, 'Reflect', { + enumerate: function enumerate(target) { + return new Enumerate(target); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return gOPD.f(anObject(target), propertyKey); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.8 Reflect.getPrototypeOf(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var getProto = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getPrototypeOf: function getPrototypeOf(target) { + return getProto(anObject(target)); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') + ? desc.value + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); +} + +$export($export.S, 'Reflect', { get: get }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.has.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.9 Reflect.has(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.is-extensible.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.10 Reflect.isExtensible(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $isExtensible = Object.isExtensible; + +$export($export.S, 'Reflect', { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible ? $isExtensible(target) : true; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.11 Reflect.ownKeys(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { ownKeys: __webpack_require__("../../../../core-js/modules/_own-keys.js") }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.prevent-extensions.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.12 Reflect.preventExtensions(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $preventExtensions = Object.preventExtensions; + +$export($export.S, 'Reflect', { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + if ($preventExtensions) $preventExtensions(target); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.14 Reflect.setPrototypeOf(target, proto) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var setProto = __webpack_require__("../../../../core-js/modules/_set-proto.js"); + +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { + setProto.check(target, proto); + try { + setProto.set(target, proto); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); + +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { + return set(proto, propertyKey, V, receiver); + } + ownDesc = createDesc(0); + } + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; + existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + return true; + } + return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +} + +$export($export.S, 'Reflect', { set: set }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.set.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SET = 'Set'; + +// 23.2 Set Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.2.3.1 Set.prototype.add(value) + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); + } +}, strong); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.weak-map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var each = __webpack_require__("../../../../core-js/modules/_array-methods.js")(0); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var assign = __webpack_require__("../../../../core-js/modules/_object-assign.js"); +var weak = __webpack_require__("../../../../core-js/modules/_collection-weak.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var tmp = {}; +var InternalMap; + +var wrapper = function (get) { + return function WeakMap() { + return get(this, arguments.length > 0 ? arguments[0] : undefined); + }; +}; + +var methods = { + // 23.3.3.3 WeakMap.prototype.get(key) + get: function get(key) { + if (isObject(key)) { + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); + return data ? data[this._i] : undefined; + } + }, + // 23.3.3.5 WeakMap.prototype.set(key, value) + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); + } +}; + +// 23.3 WeakMap Objects +var $WeakMap = module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); + +// IE11 WeakMap frozen keys fix +if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); + assign(InternalMap.prototype, methods); + meta.NEED = true; + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { + // store frozen objects on internal weakmap shim + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); + var result = this._f[key](a, b); + return key == 'set' ? this : result; + // store all the rest on native weakmap + } return method.call(this, a, b); + }); + }); +} + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.define-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var ordinaryDefineOwnMetadata = metadata.set; + +metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.delete-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var getOrCreateMetadataMap = metadata.map; +var store = metadata.store; + +metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var Set = __webpack_require__("../../../../core-js/modules/es6.set.js"); +var from = __webpack_require__("../../../../core-js/modules/_array-from-iterable.js"); +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; +}; + +metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; +}; + +metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; +}; + +metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var $metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var toMetaKey = $metadata.key; +var ordinaryDefineOwnMetadata = $metadata.set; + +$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, targetKey) { + ordinaryDefineOwnMetadata( + metadataKey, metadataValue, + (targetKey !== undefined ? anObject : aFunction)(target), + toMetaKey(targetKey) + ); + }; +} }); + + +/***/ }), + +/***/ "../../../../webpack/buildin/global.js": +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), + +/***/ "../../../../zone.js/dist/zone.js": +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global) {/** +* @license +* Copyright Google Inc. All Rights Reserved. +* +* Use of this source code is governed by an MIT-style license that can be +* found in the LICENSE file at https://angular.io/license +*/ +(function (global, factory) { + true ? factory() : + typeof define === 'function' && define.amd ? define(factory) : + (factory()); +}(this, (function () { 'use strict'; + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +var Zone$1 = (function (global) { + var FUNCTION = 'function'; + var performance = global['performance']; + function mark(name) { + performance && performance['mark'] && performance['mark'](name); + } + function performanceMeasure(name, label) { + performance && performance['measure'] && performance['measure'](name, label); + } + mark('Zone'); + if (global['Zone']) { + throw new Error('Zone already loaded.'); + } + var Zone = (function () { + function Zone(parent, zoneSpec) { + this._properties = null; + this._parent = parent; + this._name = zoneSpec ? zoneSpec.name || 'unnamed' : ''; + this._properties = zoneSpec && zoneSpec.properties || {}; + this._zoneDelegate = + new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); + } + Zone.assertZonePatched = function () { + if (global['Promise'] !== patches['ZoneAwarePromise']) { + throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + + 'has been overwritten.\n' + + 'Most 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(Zone, "root", { + get: function () { + var zone = Zone.current; + while (zone.parent) { + zone = zone.parent; + } + return zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Zone, "current", { + get: function () { + return _currentZoneFrame.zone; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone, "currentTask", { + get: function () { + return _currentTask; + }, + enumerable: true, + configurable: true + }); + + Zone.__load_patch = function (name, fn) { + if (patches.hasOwnProperty(name)) { + throw Error('Already loaded patch: ' + name); + } + else if (!global['__Zone_disable_' + name]) { + var perfName = 'Zone:' + name; + mark(perfName); + patches[name] = fn(global, Zone, _api); + performanceMeasure(perfName, perfName); + } + }; + Object.defineProperty(Zone.prototype, "parent", { + get: function () { + return this._parent; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + + Zone.prototype.get = function (key) { + var zone = this.getZoneWith(key); + if (zone) + return zone._properties[key]; + }; + Zone.prototype.getZoneWith = function (key) { + var current = this; + while (current) { + if (current._properties.hasOwnProperty(key)) { + return current; + } + current = current._parent; + } + return null; + }; + Zone.prototype.fork = function (zoneSpec) { + if (!zoneSpec) + throw new Error('ZoneSpec required!'); + return this._zoneDelegate.fork(this, zoneSpec); + }; + Zone.prototype.wrap = function (callback, source) { + if (typeof callback !== FUNCTION) { + throw new Error('Expecting function got: ' + callback); + } + var _callback = this._zoneDelegate.intercept(this, callback, source); + var zone = this; + return function () { + return zone.runGuarded(_callback, this, arguments, source); + }; + }; + Zone.prototype.run = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = undefined; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = null; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runTask = function (task, applyThis, applyArgs) { + if (task.zone != this) { + throw new Error('A task can only be run in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + } + // https://github.com/angular/zone.js/issues/778, sometimes eventTask + // will run in notScheduled(canceled) state, we should not try to + // run such kind of task but just return + // we have to define an variable here, if not + // typescript compiler will complain below + var isNotScheduled = task.state === notScheduled; + if (isNotScheduled && task.type === eventTask) { + return; + } + var reEntryGuard = task.state != running; + reEntryGuard && task._transitionTo(running, scheduled); + task.runCount++; + var previousTask = _currentTask; + _currentTask = task; + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + if (task.type == macroTask && task.data && !task.data.isPeriodic) { + task.cancelFn = null; + } + try { + return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + // if the task's state is notScheduled or unknown, then it has already been cancelled + // we should not reset the state to scheduled + if (task.state !== notScheduled && task.state !== unknown) { + if (task.type == eventTask || (task.data && task.data.isPeriodic)) { + reEntryGuard && task._transitionTo(scheduled, running); + } + else { + task.runCount = 0; + this._updateTaskCount(task, -1); + reEntryGuard && + task._transitionTo(notScheduled, running, notScheduled); + } + } + _currentZoneFrame = _currentZoneFrame.parent; + _currentTask = previousTask; + } + }; + Zone.prototype.scheduleTask = function (task) { + if (task.zone && task.zone !== this) { + // check if the task was rescheduled, the newZone + // should not be the children of the original zone + var newZone = this; + while (newZone) { + if (newZone === task.zone) { + throw Error("can not reschedule task to " + this + .name + " which is descendants of the original zone " + task.zone.name); + } + newZone = newZone.parent; + } + } + task._transitionTo(scheduling, notScheduled); + var zoneDelegates = []; + task._zoneDelegates = zoneDelegates; + task._zone = this; + try { + task = this._zoneDelegate.scheduleTask(this, task); + } + catch (err) { + // should set task's state to unknown when scheduleTask throw error + // because the err may from reschedule, so the fromState maybe notScheduled + task._transitionTo(unknown, scheduling, notScheduled); + // TODO: @JiaLiPassion, should we check the result from handleError? + this._zoneDelegate.handleError(this, err); + throw err; + } + if (task._zoneDelegates === zoneDelegates) { + // we have to check because internally the delegate can reschedule the task. + this._updateTaskCount(task, 1); + } + if (task.state == scheduling) { + task._transitionTo(scheduled, scheduling); + } + return task; + }; + Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { + return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null)); + }; + Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.cancelTask = function (task) { + if (task.zone != this) + throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + task._transitionTo(canceling, scheduled, running); + try { + this._zoneDelegate.cancelTask(this, task); + } + catch (err) { + // if error occurs when cancelTask, transit the state to unknown + task._transitionTo(unknown, canceling); + this._zoneDelegate.handleError(this, err); + throw err; + } + this._updateTaskCount(task, -1); + task._transitionTo(notScheduled, canceling); + task.runCount = 0; + return task; + }; + Zone.prototype._updateTaskCount = function (task, count) { + var zoneDelegates = task._zoneDelegates; + if (count == -1) { + task._zoneDelegates = null; + } + for (var i = 0; i < zoneDelegates.length; i++) { + zoneDelegates[i]._updateTaskCount(task.type, count); + } + }; + return Zone; + }()); + Zone.__symbol__ = __symbol__; + var DELEGATE_ZS = { + name: '', + onHasTask: function (delegate, _, target, hasTaskState) { + return delegate.hasTask(target, hasTaskState); + }, + onScheduleTask: function (delegate, _, target, task) { + return delegate.scheduleTask(target, task); + }, + onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); }, + onCancelTask: function (delegate, _, target, task) { + return delegate.cancelTask(target, task); + } + }; + var ZoneDelegate = (function () { + function ZoneDelegate(zone, parentDelegate, zoneSpec) { + this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 }; + this.zone = zone; + this._parentDelegate = parentDelegate; + this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); + this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); + this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone); + this._interceptZS = + zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); + this._interceptDlgt = + zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); + this._interceptCurrZone = + zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone); + this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); + this._invokeDlgt = + zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); + this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone); + this._handleErrorZS = + zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); + this._handleErrorDlgt = + zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); + this._handleErrorCurrZone = + zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone); + this._scheduleTaskZS = + zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); + this._scheduleTaskDlgt = + zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); + this._scheduleTaskCurrZone = + zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone); + this._invokeTaskZS = + zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); + this._invokeTaskDlgt = + zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); + this._invokeTaskCurrZone = + zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone); + this._cancelTaskZS = + zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); + this._cancelTaskDlgt = + zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); + this._cancelTaskCurrZone = + zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone); + this._hasTaskZS = null; + this._hasTaskDlgt = null; + this._hasTaskDlgtOwner = null; + this._hasTaskCurrZone = null; + var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; + var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; + if (zoneSpecHasTask || parentHasTask) { + // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such + // a case all task related interceptors must go through this ZD. We can't short circuit it. + this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; + this._hasTaskDlgt = parentDelegate; + this._hasTaskDlgtOwner = this; + this._hasTaskCurrZone = zone; + if (!zoneSpec.onScheduleTask) { + this._scheduleTaskZS = DELEGATE_ZS; + this._scheduleTaskDlgt = parentDelegate; + this._scheduleTaskCurrZone = this.zone; + } + if (!zoneSpec.onInvokeTask) { + this._invokeTaskZS = DELEGATE_ZS; + this._invokeTaskDlgt = parentDelegate; + this._invokeTaskCurrZone = this.zone; + } + if (!zoneSpec.onCancelTask) { + this._cancelTaskZS = DELEGATE_ZS; + this._cancelTaskDlgt = parentDelegate; + this._cancelTaskCurrZone = this.zone; + } + } + } + ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { + return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : + new Zone(targetZone, zoneSpec); + }; + ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { + return this._interceptZS ? + this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : + callback; + }; + ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { + return this._invokeZS ? + this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : + callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.handleError = function (targetZone, error) { + return this._handleErrorZS ? + this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : + true; + }; + ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { + var returnTask = task; + if (this._scheduleTaskZS) { + if (this._hasTaskZS) { + returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); + } + returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); + if (!returnTask) + returnTask = task; + } + else { + if (task.scheduleFn) { + task.scheduleFn(task); + } + else if (task.type == microTask) { + scheduleMicroTask(task); + } + else { + throw new Error('Task is missing scheduleFn.'); + } + } + return returnTask; + }; + ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { + return this._invokeTaskZS ? + this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : + task.callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.cancelTask = function (targetZone, task) { + var value; + if (this._cancelTaskZS) { + value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); + } + else { + if (!task.cancelFn) { + throw Error('Task is not cancelable'); + } + value = task.cancelFn(task); + } + return value; + }; + ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { + // hasTask should not throw error so other ZoneDelegate + // can still trigger hasTask callback + try { + return this._hasTaskZS && + this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); + } + catch (err) { + this.handleError(targetZone, err); + } + }; + ZoneDelegate.prototype._updateTaskCount = function (type, count) { + var counts = this._taskCounts; + var prev = counts[type]; + var next = counts[type] = prev + count; + if (next < 0) { + throw new Error('More tasks executed then were scheduled.'); + } + if (prev == 0 || next == 0) { + var isEmpty = { + microTask: counts['microTask'] > 0, + macroTask: counts['macroTask'] > 0, + eventTask: counts['eventTask'] > 0, + change: type + }; + this.hasTask(this.zone, isEmpty); + } + }; + return ZoneDelegate; + }()); + var ZoneTask = (function () { + function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { + this._zone = null; + this.runCount = 0; + this._zoneDelegates = null; + this._state = 'notScheduled'; + this.type = type; + this.source = source; + this.data = options; + this.scheduleFn = scheduleFn; + this.cancelFn = cancelFn; + this.callback = callback; + var self = this; + if (type === eventTask && options && options.isUsingGlobalCallback) { + this.invoke = ZoneTask.invokeTask; + } + else { + this.invoke = function () { + return ZoneTask.invokeTask.apply(global, [self, this, arguments]); + }; + } + } + ZoneTask.invokeTask = function (task, target, args) { + if (!task) { + task = this; + } + _numberOfNestedTaskFrames++; + try { + task.runCount++; + return task.zone.runTask(task, target, args); + } + finally { + if (_numberOfNestedTaskFrames == 1) { + drainMicroTaskQueue(); + } + _numberOfNestedTaskFrames--; + } + }; + Object.defineProperty(ZoneTask.prototype, "zone", { + get: function () { + return this._zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ZoneTask.prototype, "state", { + get: function () { + return this._state; + }, + enumerable: true, + configurable: true + }); + ZoneTask.prototype.cancelScheduleRequest = function () { + this._transitionTo(notScheduled, scheduling); + }; + ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { + if (this._state === fromState1 || this._state === fromState2) { + this._state = toState; + if (toState == notScheduled) { + this._zoneDelegates = null; + } + } + else { + throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? + ' or \'' + fromState2 + '\'' : + '') + ", was '" + this._state + "'."); + } + }; + ZoneTask.prototype.toString = function () { + if (this.data && typeof this.data.handleId !== 'undefined') { + return this.data.handleId; + } + else { + return Object.prototype.toString.call(this); + } + }; + // add toJSON method to prevent cyclic error when + // call JSON.stringify(zoneTask) + ZoneTask.prototype.toJSON = function () { + return { + type: this.type, + state: this.state, + source: this.source, + zone: this.zone.name, + invoke: this.invoke, + scheduleFn: this.scheduleFn, + cancelFn: this.cancelFn, + runCount: this.runCount, + callback: this.callback + }; + }; + return ZoneTask; + }()); + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// MICROTASK QUEUE + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var symbolSetTimeout = __symbol__('setTimeout'); + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + var _microTaskQueue = []; + var _isDrainingMicrotaskQueue = false; + var nativeMicroTaskQueuePromise; + function scheduleMicroTask(task) { + // if we are not running in any task, and there has not been anything scheduled + // we must bootstrap the initial task creation by manually scheduling the drain + if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { + // We are not running in Task, so we need to kickstart the microtask queue. + if (!nativeMicroTaskQueuePromise) { + if (global[symbolPromise]) { + nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); + } + } + if (nativeMicroTaskQueuePromise) { + nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue); + } + else { + global[symbolSetTimeout](drainMicroTaskQueue, 0); + } + } + task && _microTaskQueue.push(task); + } + function drainMicroTaskQueue() { + if (!_isDrainingMicrotaskQueue) { + _isDrainingMicrotaskQueue = true; + while (_microTaskQueue.length) { + var queue = _microTaskQueue; + _microTaskQueue = []; + for (var i = 0; i < queue.length; i++) { + var task = queue[i]; + try { + task.zone.runTask(task, null, null); + } + catch (error) { + _api.onUnhandledError(error); + } + } + } + var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; + _api.microtaskDrainDone(); + _isDrainingMicrotaskQueue = false; + } + } + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// BOOTSTRAP + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var NO_ZONE = { name: 'NO ZONE' }; + var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown'; + var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask'; + var patches = {}; + var _api = { + symbol: __symbol__, + currentZoneFrame: function () { return _currentZoneFrame; }, + onUnhandledError: noop, + microtaskDrainDone: noop, + scheduleMicroTask: scheduleMicroTask, + showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; }, + patchEventTarget: function () { return []; }, + patchOnProperties: noop, + patchMethod: function () { return noop; }, + }; + var _currentZoneFrame = { parent: null, zone: new Zone(null, null) }; + var _currentTask = null; + var _numberOfNestedTaskFrames = 0; + function noop() { } + function __symbol__(name) { + return '__zone_symbol__' + name; + } + performanceMeasure('Zone', 'Zone'); + return global['Zone'] = Zone; +})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { + var __symbol__ = api.symbol; + var _uncaughtPromiseErrors = []; + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + api.onUnhandledError = function (e) { + if (api.showUncaughtError()) { + var rejection = e && e.rejection; + if (rejection) { + console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); + } + else { + console.error(e); + } + } + }; + api.microtaskDrainDone = function () { + while (_uncaughtPromiseErrors.length) { + var _loop_1 = function () { + var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); + try { + uncaughtPromiseError.zone.runGuarded(function () { + throw uncaughtPromiseError; + }); + } + catch (error) { + handleUnhandledRejection(error); + } + }; + while (_uncaughtPromiseErrors.length) { + _loop_1(); + } + } + }; + var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); + function handleUnhandledRejection(e) { + api.onUnhandledError(e); + try { + var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; + if (handler && typeof handler === 'function') { + handler.apply(this, [e]); + } + } + catch (err) { + } + } + function isThenable(value) { + return value && value.then; + } + function forwardResolution(value) { + return value; + } + function forwardRejection(rejection) { + return ZoneAwarePromise.reject(rejection); + } + var symbolState = __symbol__('state'); + var symbolValue = __symbol__('value'); + var source = 'Promise.then'; + var UNRESOLVED = null; + var RESOLVED = true; + var REJECTED = false; + var REJECTED_NO_CATCH = 0; + function makeResolver(promise, state) { + return function (v) { + try { + resolvePromise(promise, state, v); + } + catch (err) { + resolvePromise(promise, false, err); + } + // Do not return value or you will break the Promise spec. + }; + } + var once = function () { + var wasCalled = false; + return function wrapper(wrappedFunction) { + return function () { + if (wasCalled) { + return; + } + wasCalled = true; + wrappedFunction.apply(null, arguments); + }; + }; + }; + var TYPE_ERROR = 'Promise resolved with itself'; + var OBJECT = 'object'; + var FUNCTION = 'function'; + var CURRENT_TASK_SYMBOL = __symbol__('currentTask'); + // Promise Resolution + function resolvePromise(promise, state, value) { + var onceWrapper = once(); + if (promise === value) { + throw new TypeError(TYPE_ERROR); + } + if (promise[symbolState] === UNRESOLVED) { + // should only get value.then once based on promise spec. + var then = null; + try { + if (typeof value === OBJECT || typeof value === FUNCTION) { + then = value && value.then; + } + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + return promise; + } + // if (value instanceof ZoneAwarePromise) { + if (state !== REJECTED && value instanceof ZoneAwarePromise && + value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && + value[symbolState] !== UNRESOLVED) { + clearRejectedNoCatch(value); + resolvePromise(promise, value[symbolState], value[symbolValue]); + } + else if (state !== REJECTED && typeof then === FUNCTION) { + try { + then.apply(value, [ + onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)) + ]); + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + } + } + else { + promise[symbolState] = state; + var queue = promise[symbolValue]; + promise[symbolValue] = value; + // record task information in value when error occurs, so we can + // do some additional work such as render longStackTrace + if (state === REJECTED && value instanceof Error) { + value[CURRENT_TASK_SYMBOL] = Zone.currentTask; + } + for (var i = 0; i < queue.length;) { + scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); + } + if (queue.length == 0 && state == REJECTED) { + promise[symbolState] = REJECTED_NO_CATCH; + try { + throw new Error('Uncaught (in promise): ' + value + + (value && value.stack ? '\n' + value.stack : '')); + } + catch (err) { + var error_1 = err; + error_1.rejection = value; + error_1.promise = promise; + error_1.zone = Zone.current; + error_1.task = Zone.currentTask; + _uncaughtPromiseErrors.push(error_1); + api.scheduleMicroTask(); // to make sure that it is running + } + } + } + } + // Resolving an already resolved promise is a noop. + return promise; + } + var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); + function clearRejectedNoCatch(promise) { + if (promise[symbolState] === REJECTED_NO_CATCH) { + // if the promise is rejected no catch status + // and queue.length > 0, means there is a error handler + // here to handle the rejected promise, we should trigger + // windows.rejectionhandled eventHandler or nodejs rejectionHandled + // eventHandler + try { + var handler = Zone[REJECTION_HANDLED_HANDLER]; + if (handler && typeof handler === FUNCTION) { + handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]); + } + } + catch (err) { + } + promise[symbolState] = REJECTED; + for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { + if (promise === _uncaughtPromiseErrors[i].promise) { + _uncaughtPromiseErrors.splice(i, 1); + } + } + } + } + function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { + clearRejectedNoCatch(promise); + var delegate = promise[symbolState] ? + (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution : + (typeof onRejected === FUNCTION) ? onRejected : forwardRejection; + zone.scheduleMicroTask(source, function () { + try { + resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]])); + } + catch (error) { + resolvePromise(chainPromise, false, error); + } + }); + } + var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; + var ZoneAwarePromise = (function () { + function ZoneAwarePromise(executor) { + var promise = this; + if (!(promise instanceof ZoneAwarePromise)) { + throw new Error('Must be an instanceof Promise.'); + } + promise[symbolState] = UNRESOLVED; + promise[symbolValue] = []; // queue; + try { + executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); + } + catch (error) { + resolvePromise(promise, false, error); + } + } + ZoneAwarePromise.toString = function () { + return ZONE_AWARE_PROMISE_TO_STRING; + }; + ZoneAwarePromise.resolve = function (value) { + return resolvePromise(new this(null), RESOLVED, value); + }; + ZoneAwarePromise.reject = function (error) { + return resolvePromise(new this(null), REJECTED, error); + }; + ZoneAwarePromise.race = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + _a = [res, rej], resolve = _a[0], reject = _a[1]; + var _a; + }); + function onResolve(value) { + promise && (promise = null || resolve(value)); + } + function onReject(error) { + promise && (promise = null || reject(error)); + } + for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { + var value = values_1[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then(onResolve, onReject); + } + return promise; + }; + ZoneAwarePromise.all = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + resolve = res; + reject = rej; + }); + var count = 0; + var resolvedValues = []; + for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { + var value = values_2[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then((function (index) { return function (value) { + resolvedValues[index] = value; + count--; + if (!count) { + resolve(resolvedValues); + } + }; })(count), reject); + count++; + } + if (!count) + resolve(resolvedValues); + return promise; + }; + ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { + var chainPromise = new this.constructor(null); + var zone = Zone.current; + if (this[symbolState] == UNRESOLVED) { + this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); + } + else { + scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); + } + return chainPromise; + }; + ZoneAwarePromise.prototype.catch = function (onRejected) { + return this.then(null, onRejected); + }; + return ZoneAwarePromise; + }()); + // Protect against aggressive optimizers dropping seemingly unused properties. + // E.g. Closure Compiler in advanced mode. + ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; + ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; + ZoneAwarePromise['race'] = ZoneAwarePromise.race; + ZoneAwarePromise['all'] = ZoneAwarePromise.all; + var NativePromise = global[symbolPromise] = global['Promise']; + global['Promise'] = ZoneAwarePromise; + var symbolThenPatched = __symbol__('thenPatched'); + function patchThen(Ctor) { + var proto = Ctor.prototype; + var originalThen = proto.then; + // Keep a reference to the original method. + proto[symbolThen] = originalThen; + // check Ctor.prototype.then propertyDescritor is writable or not + // in meteor env, writable is false, we have to make it to be true. + var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then'); + if (prop && prop.writable === false && prop.configurable) { + Object.defineProperty(Ctor.prototype, 'then', { writable: true }); + } + Ctor.prototype.then = function (onResolve, onReject) { + var _this = this; + var wrapped = new ZoneAwarePromise(function (resolve, reject) { + originalThen.call(_this, resolve, reject); + }); + return wrapped.then(onResolve, onReject); + }; + Ctor[symbolThenPatched] = true; + } + function zoneify(fn) { + return function () { + var resultPromise = fn.apply(this, arguments); + if (resultPromise instanceof ZoneAwarePromise) { + return resultPromise; + } + var ctor = resultPromise.constructor; + if (!ctor[symbolThenPatched]) { + patchThen(ctor); + } + return resultPromise; + }; + } + if (NativePromise) { + patchThen(NativePromise); + var fetch_1 = global['fetch']; + if (typeof fetch_1 == FUNCTION) { + global['fetch'] = zoneify(fetch_1); + } + } + // This is not part of public API, but it is useful for tests, so we expose it. + Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; + return ZoneAwarePromise; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * Suppress closure compiler errors about unknown 'Zone' variable + * @fileoverview + * @suppress {undefinedVars,globalThis,missingRequire} + */ +var zoneSymbol = Zone.__symbol__; +var _global = typeof window === 'object' && window || typeof self === 'object' && self || global; +var FUNCTION = 'function'; +var UNDEFINED = 'undefined'; +var REMOVE_ATTRIBUTE = 'removeAttribute'; +function bindArguments(args, source) { + for (var i = args.length - 1; i >= 0; i--) { + if (typeof args[i] === FUNCTION) { + args[i] = Zone.current.wrap(args[i], source + '_' + i); + } + } + return args; +} +function patchPrototype(prototype, fnNames) { + var source = prototype.constructor['name']; + var _loop_1 = function (i) { + var name_1 = fnNames[i]; + var delegate = prototype[name_1]; + if (delegate) { + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1); + if (!isPropertyWritable(prototypeDesc)) { + return "continue"; + } + prototype[name_1] = (function (delegate) { + var patched = function () { + return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); + }; + attachOriginToPatched(patched, delegate); + return patched; + })(delegate); + } + }; + for (var i = 0; i < fnNames.length; i++) { + _loop_1(i); + } +} +function isPropertyWritable(propertyDesc) { + if (!propertyDesc) { + return true; + } + if (propertyDesc.writable === false) { + return false; + } + if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) { + return false; + } + return true; +} +var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope); +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]'); +var isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']); +// we are in electron of nw, so we are both browser and nodejs +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isMix = typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]' && !isWebWorker && + !!(typeof window !== 'undefined' && window['HTMLElement']); +var ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler'); +var zoneSymbolEventNames = {}; +var wrapFn = function (event) { + var eventNameSymbol = zoneSymbolEventNames[event.type]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); + } + var listener = this[eventNameSymbol]; + var result = listener && listener.apply(this, arguments); + if (result != undefined && !result) { + event.preventDefault(); + } + return result; +}; +function patchProperty(obj, prop, prototype) { + var desc = Object.getOwnPropertyDescriptor(obj, prop); + if (!desc && prototype) { + // when patch window object, use prototype to check prop exist or not + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop); + if (prototypeDesc) { + desc = { enumerable: true, configurable: true }; + } + } + // if the descriptor not exists or is not configurable + // just return + if (!desc || !desc.configurable) { + return; + } + // A property descriptor cannot have getter/setter and be writable + // deleting the writable and value properties avoids this error: + // + // TypeError: property descriptors must not specify a value or be writable when a + // getter or setter has been specified + delete desc.writable; + delete desc.value; + var originalDescGet = desc.get; + // substr(2) cuz 'onclick' -> 'click', etc + var eventName = prop.substr(2); + var eventNameSymbol = zoneSymbolEventNames[eventName]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); + } + desc.set = function (newValue) { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return; + } + var previousValue = target[eventNameSymbol]; + if (previousValue) { + target.removeEventListener(eventName, wrapFn); + } + if (typeof newValue === 'function') { + target[eventNameSymbol] = newValue; + target.addEventListener(eventName, wrapFn, false); + } + else { + target[eventNameSymbol] = null; + } + }; + // The getter would return undefined for unassigned properties but the default value of an + // unassigned property is null + desc.get = function () { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return null; + } + if (target[eventNameSymbol]) { + return wrapFn; + } + else if (originalDescGet) { + // result will be null when use inline event attribute, + // such as + // because the onclick function is internal raw uncompiled handler + // the onclick will be evaluated when first time event was triggered or + // the property is accessed, https://github.com/angular/zone.js/issues/525 + // so we should use original native get to retrieve the handler + var value = originalDescGet && originalDescGet.apply(this); + if (value) { + desc.set.apply(this, [value]); + if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) { + target.removeAttribute(prop); + } + return value; + } + } + return null; + }; + Object.defineProperty(obj, prop, desc); +} +function patchOnProperties(obj, properties, prototype) { + if (properties) { + for (var i = 0; i < properties.length; i++) { + patchProperty(obj, 'on' + properties[i], prototype); + } + } + else { + var onProperties = []; + for (var prop in obj) { + if (prop.substr(0, 2) == 'on') { + onProperties.push(prop); + } + } + for (var j = 0; j < onProperties.length; j++) { + patchProperty(obj, onProperties[j], prototype); + } + } +} +var originalInstanceKey = zoneSymbol('originalInstance'); +// wrap some native API on `window` +function patchClass(className) { + var OriginalClass = _global[className]; + if (!OriginalClass) + return; + // keep original class in global + _global[zoneSymbol(className)] = OriginalClass; + _global[className] = function () { + var a = bindArguments(arguments, className); + switch (a.length) { + case 0: + this[originalInstanceKey] = new OriginalClass(); + break; + case 1: + this[originalInstanceKey] = new OriginalClass(a[0]); + break; + case 2: + this[originalInstanceKey] = new OriginalClass(a[0], a[1]); + break; + case 3: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); + break; + case 4: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); + break; + default: + throw new Error('Arg list too long.'); + } + }; + // attach original delegate to patched function + attachOriginToPatched(_global[className], OriginalClass); + var instance = new OriginalClass(function () { }); + var prop; + for (prop in instance) { + // https://bugs.webkit.org/show_bug.cgi?id=44721 + if (className === 'XMLHttpRequest' && prop === 'responseBlob') + continue; + (function (prop) { + if (typeof instance[prop] === 'function') { + _global[className].prototype[prop] = function () { + return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); + }; + } + else { + Object.defineProperty(_global[className].prototype, prop, { + set: function (fn) { + if (typeof fn === 'function') { + this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop); + // keep callback in wrapped function so we can + // use it in Function.prototype.toString to return + // the native one. + attachOriginToPatched(this[originalInstanceKey][prop], fn); + } + else { + this[originalInstanceKey][prop] = fn; + } + }, + get: function () { + return this[originalInstanceKey][prop]; + } + }); + } + }(prop)); + } + for (prop in OriginalClass) { + if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { + _global[className][prop] = OriginalClass[prop]; + } + } +} +function patchMethod(target, name, patchFn) { + var proto = target; + while (proto && !proto.hasOwnProperty(name)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && target[name]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = target; + } + var delegateName = zoneSymbol(name); + var delegate; + if (proto && !(delegate = proto[delegateName])) { + delegate = proto[delegateName] = proto[name]; + // check whether proto[name] is writable + // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob + var desc = proto && Object.getOwnPropertyDescriptor(proto, name); + if (isPropertyWritable(desc)) { + var patchDelegate_1 = patchFn(delegate, delegateName, name); + proto[name] = function () { + return patchDelegate_1(this, arguments); + }; + attachOriginToPatched(proto[name], delegate); + } + } + return delegate; +} +// TODO: @JiaLiPassion, support cancel task later if necessary +function patchMacroTask(obj, funcName, metaCreator) { + var setNative = null; + function scheduleTask(task) { + var data = task.data; + data.args[data.callbackIndex] = function () { + task.invoke.apply(this, arguments); + }; + setNative.apply(data.target, data.args); + return task; + } + setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) { + var meta = metaCreator(self, args); + if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') { + var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null); + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(self, args); + } + }; }); +} + +function attachOriginToPatched(patched, original) { + patched[zoneSymbol('OriginalDelegate')] = original; +} +var isDetectedIEOrEdge = false; +var ieOrEdge = false; +function isIEOrEdge() { + if (isDetectedIEOrEdge) { + return ieOrEdge; + } + isDetectedIEOrEdge = true; + try { + var ua = window.navigator.userAgent; + var msie = ua.indexOf('MSIE '); + if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { + ieOrEdge = true; + } + return ieOrEdge; + } + catch (error) { + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// override Function.prototype.toString to make zone.js patched function +// look like native function +Zone.__load_patch('toString', function (global, Zone, api) { + // patch Func.prototype.toString to let them look like native + var originalFunctionToString = Zone['__zone_symbol__originalToString'] = + Function.prototype.toString; + var FUNCTION = 'function'; + var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); + var PROMISE_SYMBOL = zoneSymbol('Promise'); + var ERROR_SYMBOL = zoneSymbol('Error'); + Function.prototype.toString = function () { + if (typeof this === FUNCTION) { + var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; + if (originalDelegate) { + if (typeof originalDelegate === FUNCTION) { + return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments); + } + else { + return Object.prototype.toString.call(originalDelegate); + } + } + if (this === Promise) { + var nativePromise = global[PROMISE_SYMBOL]; + if (nativePromise) { + return originalFunctionToString.apply(nativePromise, arguments); + } + } + if (this === Error) { + var nativeError = global[ERROR_SYMBOL]; + if (nativeError) { + return originalFunctionToString.apply(nativeError, arguments); + } + } + } + return originalFunctionToString.apply(this, arguments); + }; + // patch Object.prototype.toString to let them look like native + var originalObjectToString = Object.prototype.toString; + var PROMISE_OBJECT_TO_STRING = '[object Promise]'; + Object.prototype.toString = function () { + if (this instanceof Promise) { + return PROMISE_OBJECT_TO_STRING; + } + return originalObjectToString.apply(this, arguments); + }; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +var TRUE_STR = 'true'; +var FALSE_STR = 'false'; +// an identifier to tell ZoneTask do not create a new invoke closure +var OPTIMIZED_ZONE_EVENT_TASK_DATA = { + isUsingGlobalCallback: true +}; +var zoneSymbolEventNames$1 = {}; +var globalSources = {}; +var CONSTRUCTOR_NAME = 'name'; +var FUNCTION_TYPE = 'function'; +var OBJECT_TYPE = 'object'; +var ZONE_SYMBOL_PREFIX = '__zone_symbol__'; +var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/; +function patchEventTarget(_global, apis, patchOptions) { + var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener'; + var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener'; + var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners'; + var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners'; + var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); + var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; + var PREPEND_EVENT_LISTENER = 'prependListener'; + var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; + var invokeTask = function (task, target, event) { + // for better performance, check isRemoved which is set + // by removeEventListener + if (task.isRemoved) { + return; + } + var delegate = task.callback; + if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) { + // create the bind version of handleEvent when invoke + task.callback = function (event) { return delegate.handleEvent(event); }; + task.originalDelegate = delegate; + } + // invoke static task.invoke + task.invoke(task, target, [event]); + var options = task.options; + if (options && typeof options === 'object' && options.once) { + // if options.once is true, after invoke once remove listener here + // only browser need to do this, nodejs eventEmitter will cal removeListener + // inside EventEmitter.once + var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; + target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]); + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = false + var globalZoneAwareCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = true + var globalZoneAwareCaptureCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + function patchEventTargetMethods(obj, patchOptions) { + if (!obj) { + return false; + } + var useGlobalCallback = true; + if (patchOptions && patchOptions.useGlobalCallback !== undefined) { + useGlobalCallback = patchOptions.useGlobalCallback; + } + var validateHandler = patchOptions && patchOptions.validateHandler; + var checkDuplicate = true; + if (patchOptions && patchOptions.checkDuplicate !== undefined) { + checkDuplicate = patchOptions.checkDuplicate; + } + var returnTarget = false; + if (patchOptions && patchOptions.returnTarget !== undefined) { + returnTarget = patchOptions.returnTarget; + } + var proto = obj; + while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && obj[ADD_EVENT_LISTENER]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = obj; + } + if (!proto) { + return false; + } + if (proto[zoneSymbolAddEventListener]) { + return false; + } + // a shared global taskData to pass data for scheduleEventTask + // so we do not need to create a new object just for pass some data + var taskData = {}; + var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; + var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = + proto[REMOVE_EVENT_LISTENER]; + var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = + proto[LISTENERS_EVENT_LISTENER]; + var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; + var nativePrependEventListener; + if (patchOptions && patchOptions.prependEventListenerFnName) { + nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] = + proto[patchOptions.prependEventListenerFnName]; + } + var customScheduleGlobal = function (task) { + // if there is already a task for the eventName + capture, + // just return, because we use the shared globalZoneAwareCallback here. + if (taskData.isExisting) { + return; + } + return nativeAddEventListener.apply(taskData.target, [ + taskData.eventName, + taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + taskData.options + ]); + }; + var customCancelGlobal = function (task) { + // if task is not marked as isRemoved, this call is directly + // from Zone.prototype.cancelTask, we should remove the task + // from tasksList of target first + if (!task.isRemoved) { + var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; + var symbolEventName = void 0; + if (symbolEventNames) { + symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && task.target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + if (existingTask === task) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + task.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + task.allRemoved = true; + task.target[symbolEventName] = null; + } + break; + } + } + } + } + // if all tasks for the eventName + capture have gone, + // we will really remove the global event callback, + // if not, return + if (!task.allRemoved) { + return; + } + return nativeRemoveEventListener.apply(task.target, [ + task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + task.options + ]); + }; + var customScheduleNonGlobal = function (task) { + return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customSchedulePrepend = function (task) { + return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customCancelNonGlobal = function (task) { + return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]); + }; + var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; + var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; + var compareTaskCallbackVsDelegate = function (task, delegate) { + var typeOfDelegate = typeof delegate; + if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) || + (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) { + // same callback, same capture, same event name, just return + return true; + } + return false; + }; + var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ? + patchOptions.compareTaskCallbackVsDelegate : + compareTaskCallbackVsDelegate; + var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { + if (returnTarget === void 0) { returnTarget = false; } + if (prepend === void 0) { prepend = false; } + return function () { + var target = this || _global; + var targetZone = Zone.current; + var delegate = arguments[1]; + if (!delegate) { + return nativeListener.apply(this, arguments); + } + // don't create the bind delegate function for handleEvent + // case here to improve addEventListener performance + // we will create the bind delegate when invoke + var isHandleEvent = false; + if (typeof delegate !== FUNCTION_TYPE) { + if (!delegate.handleEvent) { + return nativeListener.apply(this, arguments); + } + isHandleEvent = true; + } + if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { + return; + } + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + var once = false; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + once = options ? !!options.once : false; + } + var zone = Zone.current; + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (!symbolEventNames) { + // the code is duplicate, but I just want to get some better performance + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + symbolEventName = capture ? symbolCapture : symbol; + } + else { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = target[symbolEventName]; + var isExisting = false; + if (existingTasks) { + // already have task registered + isExisting = true; + if (checkDuplicate) { + for (var i = 0; i < existingTasks.length; i++) { + if (compare(existingTasks[i], delegate)) { + // same callback, same capture, same event name, just return + return; + } + } + } + } + else { + existingTasks = target[symbolEventName] = []; + } + var source; + var constructorName = target.constructor[CONSTRUCTOR_NAME]; + var targetSource = globalSources[constructorName]; + if (targetSource) { + source = targetSource[eventName]; + } + if (!source) { + source = constructorName + addSource + eventName; + } + // do not create a new object as task.data to pass those things + // just use the global shared one + taskData.options = options; + if (once) { + // if addEventListener with once options, we don't pass it to + // native addEventListener, instead we keep the once setting + // and handle ourselves. + taskData.options.once = false; + } + taskData.target = target; + taskData.capture = capture; + taskData.eventName = eventName; + taskData.isExisting = isExisting; + var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null; + var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); + // have to save those information to task in case + // application may call task.zone.cancelTask() directly + if (once) { + options.once = true; + } + task.options = options; + task.target = target; + task.capture = capture; + task.eventName = eventName; + if (isHandleEvent) { + // save original delegate for compare to check duplicate + task.originalDelegate = delegate; + } + if (!prepend) { + existingTasks.push(task); + } + else { + existingTasks.unshift(task); + } + if (returnTarget) { + return target; + } + }; + }; + proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); + if (nativePrependEventListener) { + proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); + } + proto[REMOVE_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + } + var delegate = arguments[1]; + if (!delegate) { + return nativeRemoveEventListener.apply(this, arguments); + } + if (validateHandler && + !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { + return; + } + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (symbolEventNames) { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + var typeOfDelegate = typeof delegate; + if (compare(existingTask, delegate)) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + existingTask.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + existingTask.allRemoved = true; + target[symbolEventName] = null; + } + existingTask.zone.cancelTask(existingTask); + return; + } + } + } + }; + proto[LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var listeners = []; + var tasks = findEventTasks(target, eventName); + for (var i = 0; i < tasks.length; i++) { + var task = tasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + listeners.push(delegate); + } + return listeners; + }; + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + if (!eventName) { + var keys = Object.keys(target); + for (var i = 0; i < keys.length; i++) { + var prop = keys[i]; + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + // in nodejs EventEmitter, removeListener event is + // used for monitoring the removeListener call, + // so just keep removeListener eventListener until + // all other eventListeners are removed + if (evtName && evtName !== 'removeListener') { + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]); + } + } + // remove removeListener listener finally + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']); + } + else { + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + if (symbolEventNames) { + var symbolEventName = symbolEventNames[FALSE_STR]; + var symbolCaptureEventName = symbolEventNames[TRUE_STR]; + var tasks = target[symbolEventName]; + var captureTasks = target[symbolCaptureEventName]; + if (tasks) { + var removeTasks = tasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + if (captureTasks) { + var removeTasks = captureTasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + } + } + }; + // for native toString patch + attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); + attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); + if (nativeRemoveAllListeners) { + attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); + } + if (nativeListeners) { + attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); + } + return true; + } + var results = []; + for (var i = 0; i < apis.length; i++) { + results[i] = patchEventTargetMethods(apis[i], patchOptions); + } + return results; +} +function findEventTasks(target, eventName) { + var foundTasks = []; + for (var prop in target) { + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + if (evtName && (!eventName || evtName === eventName)) { + var tasks = target[prop]; + if (tasks) { + for (var i = 0; i < tasks.length; i++) { + foundTasks.push(tasks[i]); + } + } + } + } + return foundTasks; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +function patchTimer(window, setName, cancelName, nameSuffix) { + var setNative = null; + var clearNative = null; + setName += nameSuffix; + cancelName += nameSuffix; + var tasksByHandleId = {}; + var NUMBER = 'number'; + var STRING = 'string'; + var FUNCTION = 'function'; + var INTERVAL = 'Interval'; + var TIMEOUT = 'Timeout'; + var NOT_SCHEDULED = 'notScheduled'; + function scheduleTask(task) { + var data = task.data; + function timer() { + try { + task.invoke.apply(this, arguments); + } + finally { + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[data.handleId]; + } + } + } + data.args[0] = timer; + data.handleId = setNative.apply(window, data.args); + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds -> no need to keep them around. Additionally, + // this throws an + // exception in older node versions and has no effect there, because of the stringified key. + tasksByHandleId[data.handleId] = task; + } + return task; + } + function clearTask(task) { + if (typeof task.data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[task.data.handleId]; + } + return clearNative(task.data.handleId); + } + setNative = + patchMethod(window, setName, function (delegate) { return function (self, args) { + if (typeof args[0] === FUNCTION) { + var zone = Zone.current; + var options = { + handleId: null, + isPeriodic: nameSuffix === INTERVAL, + delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null, + args: args + }; + var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask); + if (!task) { + return task; + } + // Node.js must additionally support the ref and unref functions. + var handle = task.data.handleId; + // check whether handle is null, because some polyfill or browser + // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame + if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION && + typeof handle.unref === FUNCTION) { + task.ref = handle.ref.bind(handle); + task.unref = handle.unref.bind(handle); + } + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(window, args); + } + }; }); + clearNative = + patchMethod(window, cancelName, function (delegate) { return function (self, args) { + var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0]; + if (task && typeof task.type === STRING) { + if (task.state !== NOT_SCHEDULED && + (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { + // Do not cancel already canceled functions + task.zone.cancelTask(task); + } + } + else { + // cause an error by calling it directly. + delegate.apply(window, args); + } + }; }); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/* + * This is necessary for Chrome and Chrome mobile, to enable + * things like redefining `createdCallback` on an element. + */ +var _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty; +var _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] = + Object.getOwnPropertyDescriptor; +var _create = Object.create; +var unconfigurablesKey = zoneSymbol('unconfigurables'); +var PROTOTYPE = 'prototype'; +var OBJECT = 'object'; +var UNDEFINED$1 = 'undefined'; +function propertyPatch() { + Object.defineProperty = function (obj, prop, desc) { + if (isUnconfigurable(obj, prop)) { + throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); + } + var originalConfigurableFlag = desc.configurable; + if (prop !== PROTOTYPE) { + desc = rewriteDescriptor(obj, prop, desc); + } + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); + }; + Object.defineProperties = function (obj, props) { + Object.keys(props).forEach(function (prop) { + Object.defineProperty(obj, prop, props[prop]); + }); + return obj; + }; + Object.create = function (obj, proto) { + if (typeof proto === OBJECT && !Object.isFrozen(proto)) { + Object.keys(proto).forEach(function (prop) { + proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); + }); + } + return _create(obj, proto); + }; + Object.getOwnPropertyDescriptor = function (obj, prop) { + var desc = _getOwnPropertyDescriptor(obj, prop); + if (isUnconfigurable(obj, prop)) { + desc.configurable = false; + } + return desc; + }; +} +function _redefineProperty(obj, prop, desc) { + var originalConfigurableFlag = desc.configurable; + desc = rewriteDescriptor(obj, prop, desc); + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); +} +function isUnconfigurable(obj, prop) { + return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; +} +function rewriteDescriptor(obj, prop, desc) { + desc.configurable = true; + if (!desc.configurable) { + if (!obj[unconfigurablesKey]) { + _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} }); + } + obj[unconfigurablesKey][prop] = true; + } + return desc; +} +function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + if (desc.configurable) { + // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's + // retry with the original flag value + if (typeof originalConfigurableFlag == UNDEFINED$1) { + delete desc.configurable; + } + else { + desc.configurable = originalConfigurableFlag; + } + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + var descJson = null; + try { + descJson = JSON.stringify(desc); + } + catch (error) { + descJson = descJson.toString(); + } + console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); + } + } + else { + throw error; + } + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// we have to patch the instance since the proto is non-configurable +function apply(api, _global) { + var WS = _global.WebSocket; + // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener + // On older Chrome, no need since EventTarget was already patched + if (!_global.EventTarget) { + patchEventTarget(_global, [WS.prototype]); + } + _global.WebSocket = function (a, b) { + var socket = arguments.length > 1 ? new WS(a, b) : new WS(a); + var proxySocket; + var proxySocketProto; + // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance + var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage'); + if (onmessageDesc && onmessageDesc.configurable === false) { + proxySocket = Object.create(socket); + // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' + // but proxySocket not, so we will keep socket as prototype and pass it to + // patchOnProperties method + proxySocketProto = socket; + ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) { + proxySocket[propName] = function () { + var args = Array.prototype.slice.call(arguments); + if (propName === 'addEventListener' || propName === 'removeEventListener') { + var eventName = args.length > 0 ? args[0] : undefined; + if (eventName) { + var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); + socket[propertySymbol] = proxySocket[propertySymbol]; + } + } + return socket[propName].apply(socket, args); + }; + }); + } + else { + // we can patch the real socket + proxySocket = socket; + } + patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); + return proxySocket; + }; + var globalWebSocket = _global['WebSocket']; + for (var prop in WS) { + globalWebSocket[prop] = WS[prop]; + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {globalThis} + */ +var globalEventHandlersEventNames = [ + 'abort', + 'animationcancel', + 'animationend', + 'animationiteration', + 'auxclick', + 'beforeinput', + 'blur', + 'cancel', + 'canplay', + 'canplaythrough', + 'change', + 'compositionstart', + 'compositionupdate', + 'compositionend', + 'cuechange', + 'click', + 'close', + 'contextmenu', + 'curechange', + 'dblclick', + 'drag', + 'dragend', + 'dragenter', + 'dragexit', + 'dragleave', + 'dragover', + 'drop', + 'durationchange', + 'emptied', + 'ended', + 'error', + 'focus', + 'focusin', + 'focusout', + 'gotpointercapture', + 'input', + 'invalid', + 'keydown', + 'keypress', + 'keyup', + 'load', + 'loadstart', + 'loadeddata', + 'loadedmetadata', + 'lostpointercapture', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseout', + 'mouseover', + 'mouseup', + 'mousewheel', + 'pause', + 'play', + 'playing', + 'pointercancel', + 'pointerdown', + 'pointerenter', + 'pointerleave', + 'pointerlockchange', + 'mozpointerlockchange', + 'webkitpointerlockerchange', + 'pointerlockerror', + 'mozpointerlockerror', + 'webkitpointerlockerror', + 'pointermove', + 'pointout', + 'pointerover', + 'pointerup', + 'progress', + 'ratechange', + 'reset', + 'resize', + 'scroll', + 'seeked', + 'seeking', + 'select', + 'selectionchange', + 'selectstart', + 'show', + 'sort', + 'stalled', + 'submit', + 'suspend', + 'timeupdate', + 'volumechange', + 'touchcancel', + 'touchmove', + 'touchstart', + 'transitioncancel', + 'transitionend', + 'waiting', + 'wheel' +]; +var documentEventNames = [ + 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange', + 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', + 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange' +]; +var windowEventNames = [ + 'absolutedeviceorientation', + 'afterinput', + 'afterprint', + 'appinstalled', + 'beforeinstallprompt', + 'beforeprint', + 'beforeunload', + 'devicelight', + 'devicemotion', + 'deviceorientation', + 'deviceorientationabsolute', + 'deviceproximity', + 'hashchange', + 'languagechange', + 'message', + 'mozbeforepaint', + 'offline', + 'online', + 'paint', + 'pageshow', + 'pagehide', + 'popstate', + 'rejectionhandled', + 'storage', + 'unhandledrejection', + 'unload', + 'userproximity', + 'vrdisplyconnected', + 'vrdisplaydisconnected', + 'vrdisplaypresentchange' +]; +var htmlElementEventNames = [ + 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', + 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', + 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend' +]; +var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; +var ieElementEventNames = [ + 'activate', + 'afterupdate', + 'ariarequest', + 'beforeactivate', + 'beforedeactivate', + 'beforeeditfocus', + 'beforeupdate', + 'cellchange', + 'controlselect', + 'dataavailable', + 'datasetchanged', + 'datasetcomplete', + 'errorupdate', + 'filterchange', + 'layoutcomplete', + 'losecapture', + 'move', + 'moveend', + 'movestart', + 'propertychange', + 'resizeend', + 'resizestart', + 'rowenter', + 'rowexit', + 'rowsdelete', + 'rowsinserted', + 'command', + 'compassneedscalibration', + 'deactivate', + 'help', + 'mscontentzoom', + 'msmanipulationstatechanged', + 'msgesturechange', + 'msgesturedoubletap', + 'msgestureend', + 'msgesturehold', + 'msgesturestart', + 'msgesturetap', + 'msgotpointercapture', + 'msinertiastart', + 'mslostpointercapture', + 'mspointercancel', + 'mspointerdown', + 'mspointerenter', + 'mspointerhover', + 'mspointerleave', + 'mspointermove', + 'mspointerout', + 'mspointerover', + 'mspointerup', + 'pointerout', + 'mssitemodejumplistitemremoved', + 'msthumbnailclick', + 'stop', + 'storagecommit' +]; +var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; +var formEventNames = ['autocomplete', 'autocompleteerror']; +var detailEventNames = ['toggle']; +var frameEventNames = ['load']; +var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; +var marqueeEventNames = ['bounce', 'finish', 'start']; +var XMLHttpRequestEventNames = [ + 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', + 'readystatechange' +]; +var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; +var websocketEventNames = ['close', 'error', 'open', 'message']; +var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); +function filterProperties(target, onProperties, ignoreProperties) { + if (!ignoreProperties) { + return onProperties; + } + var tip = ignoreProperties.filter(function (ip) { return ip.target === target; }); + if (!tip || tip.length === 0) { + return onProperties; + } + var targetIgnoreProperties = tip[0].ignoreProperties; + return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; }); +} +function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { + var filteredProperties = filterProperties(target, onProperties, ignoreProperties); + patchOnProperties(target, filteredProperties, prototype); +} +function propertyDescriptorPatch(api, _global) { + if (isNode && !isMix) { + return; + } + var supportsWebSocket = typeof WebSocket !== 'undefined'; + if (canPatchViaPropertyDescriptor()) { + var ignoreProperties = _global.__Zone_ignore_on_properties; + // for browsers that we can patch the descriptor: Chrome & Firefox + if (isBrowser) { + // in IE/Edge, onProp not exist in window object, but in WindowPrototype + // so we need to pass WindowPrototype to check onProp exist or not + patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window)); + patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); + if (typeof window['SVGElement'] !== 'undefined') { + patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties); + } + patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); + patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); + patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); + var HTMLMarqueeElement_1 = window['HTMLMarqueeElement']; + if (HTMLMarqueeElement_1) { + patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); + } + } + patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); + var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); + } + if (typeof IDBIndex !== 'undefined') { + patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); + } + if (supportsWebSocket) { + patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); + } + } + else { + // Safari, Android browsers (Jelly Bean) + patchViaCapturingAllTheEvents(); + patchClass('XMLHttpRequest'); + if (supportsWebSocket) { + apply(api, _global); + } + } +} +function canPatchViaPropertyDescriptor() { + if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && + typeof Element !== 'undefined') { + // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 + // IDL interface attributes are not configurable + var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick'); + if (desc && !desc.configurable) + return false; + } + var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange'); + // add enumerable and configurable here because in opera + // by default XMLHttpRequest.prototype.onreadystatechange is undefined + // without adding enumerable and configurable will cause onreadystatechange + // non-configurable + // and if XMLHttpRequest.prototype.onreadystatechange is undefined, + // we should set a real desc instead a fake one + if (xhrDesc) { + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return true; + } + }); + var req = new XMLHttpRequest(); + var result = !!req.onreadystatechange; + // restore original desc + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {}); + return result; + } + else { + var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange'); + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; + }, + set: function (value) { + this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; + } + }); + var req = new XMLHttpRequest(); + var detectFunc = function () { }; + req.onreadystatechange = detectFunc; + var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; + req.onreadystatechange = null; + return result; + } +} + +var unboundKey = zoneSymbol('unbound'); +// Whenever any eventListener fires, we check the eventListener target and all parents +// for `onwhatever` properties and replace them with zone-bound functions +// - Chrome (for now) +function patchViaCapturingAllTheEvents() { + var _loop_1 = function (i) { + var property = eventNames[i]; + var onproperty = 'on' + property; + self.addEventListener(property, function (event) { + var elt = event.target, bound, source; + if (elt) { + source = elt.constructor['name'] + '.' + onproperty; + } + else { + source = 'unknown.' + onproperty; + } + while (elt) { + if (elt[onproperty] && !elt[onproperty][unboundKey]) { + bound = Zone.current.wrap(elt[onproperty], source); + bound[unboundKey] = elt[onproperty]; + elt[onproperty] = bound; + } + elt = elt.parentElement; + } + }, true); + }; + for (var i = 0; i < eventNames.length; i++) { + _loop_1(i); + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function eventTargetPatch(_global, api) { + var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; + var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket' + .split(','); + var EVENT_TARGET = 'EventTarget'; + var apis = []; + var isWtf = _global['wtf']; + var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); + if (isWtf) { + // Workaround for: https://github.com/google/tracing-framework/issues/555 + apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET); + } + else if (_global[EVENT_TARGET]) { + apis.push(EVENT_TARGET); + } + else { + // Note: EventTarget is not available in all browsers, + // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget + apis = NO_EVENT_TARGET; + } + var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; + var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; + var ieOrEdge = isIEOrEdge(); + var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; + var FUNCTION_WRAPPER = '[object FunctionWrapper]'; + var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; + // predefine all __zone_symbol__ + eventName + true/false string + for (var i = 0; i < eventNames.length; i++) { + var eventName = eventNames[i]; + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + } + // predefine all task.source string + for (var i = 0; i < WTF_ISSUE_555.length; i++) { + var target = WTF_ISSUE_555_ARRAY[i]; + var targets = globalSources[target] = {}; + for (var j = 0; j < eventNames.length; j++) { + var eventName = eventNames[j]; + targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; + } + } + var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) { + if (!isDisableIECheck && ieOrEdge) { + if (isEnableCrossContextCheck) { + try { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + else { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + } + else if (isEnableCrossContextCheck) { + try { + delegate.toString(); + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + return true; + }; + var apiTypes = []; + for (var i = 0; i < apis.length; i++) { + var type = _global[apis[i]]; + apiTypes.push(type && type.prototype); + } + patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext }); + api.patchEventTarget = patchEventTarget; + return true; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function registerElementPatch(_global) { + if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) { + return; + } + var _registerElement = document.registerElement; + var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; + document.registerElement = function (name, opts) { + if (opts && opts.prototype) { + callbacks.forEach(function (callback) { + var source = 'Document.registerElement::' + callback; + if (opts.prototype.hasOwnProperty(callback)) { + var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback); + if (descriptor && descriptor.value) { + descriptor.value = Zone.current.wrap(descriptor.value, source); + _redefineProperty(opts.prototype, callback, descriptor); + } + else { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + } + else if (opts.prototype[callback]) { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + }); + } + return _registerElement.apply(document, [name, opts]); + }; + attachOriginToPatched(document.registerElement, _registerElement); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +Zone.__load_patch('timers', function (global, Zone, api) { + var set = 'set'; + var clear = 'clear'; + patchTimer(global, set, clear, 'Timeout'); + patchTimer(global, set, clear, 'Interval'); + patchTimer(global, set, clear, 'Immediate'); +}); +Zone.__load_patch('requestAnimationFrame', function (global, Zone, api) { + patchTimer(global, 'request', 'cancel', 'AnimationFrame'); + patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); + patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); +}); +Zone.__load_patch('blocking', function (global, Zone, api) { + var blockingMethods = ['alert', 'prompt', 'confirm']; + for (var i = 0; i < blockingMethods.length; i++) { + var name_1 = blockingMethods[i]; + patchMethod(global, name_1, function (delegate, symbol, name) { + return function (s, args) { + return Zone.current.run(delegate, global, args, name); + }; + }); + } +}); +Zone.__load_patch('EventTarget', function (global, Zone, api) { + eventTargetPatch(global, api); + // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener + var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { + api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); + } + patchClass('MutationObserver'); + patchClass('WebKitMutationObserver'); + patchClass('IntersectionObserver'); + patchClass('FileReader'); +}); +Zone.__load_patch('on_property', function (global, Zone, api) { + propertyDescriptorPatch(api, global); + propertyPatch(); + registerElementPatch(global); +}); +Zone.__load_patch('canvas', function (global, Zone, api) { + var HTMLCanvasElement = global['HTMLCanvasElement']; + if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype && + HTMLCanvasElement.prototype.toBlob) { + patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) { + return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args }; + }); + } +}); +Zone.__load_patch('XHR', function (global, Zone, api) { + // Treat XMLHTTPRequest as a macrotask. + patchXHR(global); + var XHR_TASK = zoneSymbol('xhrTask'); + var XHR_SYNC = zoneSymbol('xhrSync'); + var XHR_LISTENER = zoneSymbol('xhrListener'); + var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); + function patchXHR(window) { + function findPendingTask(target) { + var pendingTask = target[XHR_TASK]; + return pendingTask; + } + var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener'); + var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener'); + var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER]; + var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER]; + if (!oriAddListener) { + var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER]; + } + } + var READY_STATE_CHANGE = 'readystatechange'; + var SCHEDULED = 'scheduled'; + function scheduleTask(task) { + XMLHttpRequest[XHR_SCHEDULED] = false; + var data = task.data; + var target = data.target; + // remove existing event listener + var listener = target[XHR_LISTENER]; + if (!oriAddListener) { + oriAddListener = target[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER]; + } + if (listener) { + oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]); + } + var newListener = target[XHR_LISTENER] = function () { + if (target.readyState === target.DONE) { + // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with + // readyState=4 multiple times, so we need to check task state here + if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) { + task.invoke(); + } + } + }; + oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]); + var storedTask = target[XHR_TASK]; + if (!storedTask) { + target[XHR_TASK] = task; + } + sendNative.apply(target, data.args); + XMLHttpRequest[XHR_SCHEDULED] = true; + return task; + } + function placeholderCallback() { } + function clearTask(task) { + var data = task.data; + // Note - ideally, we would call data.target.removeEventListener here, but it's too late + // to prevent it from firing. So instead, we store info for the event listener. + data.aborted = true; + return abortNative.apply(data.target, data.args); + } + var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) { + self[XHR_SYNC] = args[2] == false; + return openNative.apply(self, args); + }; }); + var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; + var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) { + var zone = Zone.current; + if (self[XHR_SYNC]) { + // if the XHR is sync there is no task to schedule, just execute the code. + return sendNative.apply(self, args); + } + else { + var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false }; + return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); + } + }; }); + var STRING_TYPE = 'string'; + var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) { + var task = findPendingTask(self); + if (task && typeof task.type == STRING_TYPE) { + // If the XHR has already completed, do nothing. + // If the XHR has already been aborted, do nothing. + // Fix #569, call abort multiple times before done will cause + // macroTask task count be negative number + if (task.cancelFn == null || (task.data && task.data.aborted)) { + return; + } + task.zone.cancelTask(task); + } + // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no + // task + // to cancel. Do nothing. + }; }); + } +}); +Zone.__load_patch('geolocation', function (global, Zone, api) { + /// GEO_LOCATION + if (global['navigator'] && global['navigator'].geolocation) { + patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); + } +}); +Zone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) { + // handle unhandled promise rejection + function findPromiseRejectionHandler(evtName) { + return function (e) { + var eventTasks = findEventTasks(global, evtName); + eventTasks.forEach(function (eventTask) { + // windows has added unhandledrejection event listener + // trigger the event listener + var PromiseRejectionEvent = global['PromiseRejectionEvent']; + if (PromiseRejectionEvent) { + var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection }); + eventTask.invoke(evt); + } + }); + }; + } + if (global['PromiseRejectionEvent']) { + Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = + findPromiseRejectionHandler('unhandledrejection'); + Zone[zoneSymbol('rejectionHandledHandler')] = + findPromiseRejectionHandler('rejectionhandled'); + } +}); +Zone.__load_patch('util', function (global, Zone, api) { + api.patchOnProperties = patchOnProperties; + api.patchMethod = patchMethod; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +}))); + +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("../../../../webpack/buildin/global.js"))) + +/***/ }), + +/***/ 1: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/polyfills.ts"); + + +/***/ }) + +},[1]); +//# sourceMappingURL=polyfills.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/out/production/resources/loc/scripts.bundle.js b/kotlin-source/out/production/resources/loc/scripts.bundle.js new file mode 100644 index 0000000..b977f96 --- /dev/null +++ b/kotlin-source/out/production/resources/loc/scripts.bundle.js @@ -0,0 +1,43 @@ +webpackJsonp(["scripts"],{ + +/***/ "../../../../raw-loader/index.js!../../../../jquery/dist/jquery.min.js": +/***/ (function(module, exports) { + +module.exports = "/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){\"use strict\";\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){\"use strict\";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement(\"script\");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q=\"3.2.1\",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=\"sizzle\"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(N),U=new RegExp(\"^\"+L+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L+\"|[*])\"),ATTR:new RegExp(\"^\"+M),PSEUDO:new RegExp(\"^\"+N),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),aa=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?\"\\0\"===a?\"\\ufffd\":a.slice(0,-1)+\"\\\\\"+a.charCodeAt(a.length-1).toString(16)+\" \":\"\\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&(\"form\"in a||\"label\"in a)},{dir:\"parentNode\",next:\"legend\"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],\"string\"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+\" \"]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if(\"object\"!==b.nodeName.toLowerCase()){(k=b.getAttribute(\"id\"))?k=k.replace(ba,ca):b.setAttribute(\"id\",k=u),o=g(a),h=o.length;while(h--)o[h]=\"#\"+k+\" \"+sa(o[h]);r=o.join(\",\"),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute(\"id\")}}}return i(a.replace(P,\"$1\"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement(\"fieldset\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split(\"|\"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function oa(a){return function(b){return\"form\"in b?b.parentNode&&b.disabled===!1?\"label\"in b?\"label\"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:\"label\"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&\"undefined\"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&\"HTML\"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(\"unload\",da,!1):e.attachEvent&&e.attachEvent(\"onunload\",da)),c.attributes=ja(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute(\"id\")===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c=\"undefined\"!=typeof a.getAttributeNode&&a.getAttributeNode(\"id\");return c&&c.value===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return\"undefined\"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(\"undefined\"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML=\"\",a.querySelectorAll(\"[msallowcapture^='']\").length&&q.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||q.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\"[id~=\"+u+\"-]\").length||q.push(\"~=\"),a.querySelectorAll(\":checked\").length||q.push(\":checked\"),a.querySelectorAll(\"a#\"+u+\"+*\").length||q.push(\".#.+[+~]\")}),ja(function(a){a.innerHTML=\"\";var b=n.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&q.push(\"name\"+K+\"*[*^$|!~]?=\"),2!==a.querySelectorAll(\":enabled\").length&&q.push(\":enabled\",\":disabled\"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(\":disabled\").length&&q.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),q.push(\",.*:\")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,\"*\"),s.call(a,\"[s!='']:x\"),r.push(\"!=\",N)}),q=q.length&&new RegExp(q.join(\"|\")),r=r.length&&new RegExp(r.join(\"|\")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,\"='$1']\"),c.matchesSelector&&p&&!A[b+\" \"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+\"\").replace(ba,ca)},ga.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||\"\").replace(_,aa),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||\"\":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&y(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||\"undefined\"!=typeof a.getAttribute&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?\"!=\"===b:!b||(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e.replace(O,\" \")+\" \").indexOf(c)>-1:\"|=\"===b&&(e===c||e.slice(0,c.length+1)===c+\"-\"))}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error(\"unsupported pseudo: \"+a);return e[u]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,\"$1\"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||\"\")||ga.error(\"unsupported lang: \"+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[\" \"],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:\" \"===a[i-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s=\"0\",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG(\"*\",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+\" \"];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m=\"function\"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split(\"\").sort(B).join(\"\")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement(\"fieldset\"))}),ja(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||ka(\"type|href|height|width\",function(a,b,c){if(!c)return a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||ka(\"value\",function(a,b,c){if(!c&&\"input\"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute(\"disabled\")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[\":\"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):\"string\"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if(\"string\"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,\"string\"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,\"string\"==typeof a){if(e=\"<\"===a[0]&&\">\"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?\"string\"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,\"parentNode\")},parentsUntil:function(a,b,c){return y(a,\"parentNode\",c)},next:function(a){return K(a,\"nextSibling\")},prev:function(a){return K(a,\"previousSibling\")},nextAll:function(a){return y(a,\"nextSibling\")},prevAll:function(a){return y(a,\"previousSibling\")},nextUntil:function(a,b,c){return y(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return y(a,\"previousSibling\",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,\"iframe\")?a.contentDocument:(B(a,\"template\")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a=\"string\"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c=\"\",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=\"\"),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[[\"notify\",\"progress\",r.Callbacks(\"memory\"),r.Callbacks(\"memory\"),2],[\"resolve\",\"done\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),1,\"rejected\"]],d=\"pending\",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},\"catch\":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+\"With\"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+\"With\"](this===f?void 0:this,arguments),this},f[b[0]+\"With\"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),\"pending\"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn(\"jQuery.Deferred exception: \"+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)[\"catch\"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener(\"DOMContentLoaded\",S),\na.removeEventListener(\"load\",S),r.ready()}\"complete\"===d.readyState||\"loading\"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener(\"DOMContentLoaded\",S),a.addEventListener(\"load\",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if(\"object\"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||\"fx\")+\"queue\",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||\"fx\";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks(\"once memory\").add(function(){W.remove(a,[b+\"queue\",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.length\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,\"\"],thead:[1,\"
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c=\"undefined\"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||\"*\"):\"undefined\"!=typeof a.querySelectorAll?a.querySelectorAll(b||\"*\"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),\"script\"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||\"\")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement(\"div\")),c=d.createElement(\"input\");c.setAttribute(\"type\",\"radio\"),c.setAttribute(\"checked\",\"checked\"),c.setAttribute(\"name\",\"t\"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML=\"\",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if(\"object\"==typeof b){\"string\"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(\"string\"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return\"undefined\"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(\".\")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+o.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&(\"**\"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,\"handle events\")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,\"events\")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&(\"click\"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/\\s*$/g;function Ea(a,b){return B(a,\"table\")&&B(11!==b.nodeType?b:b.firstChild,\"tr\")?r(\">tbody\",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute(\"type\"))+\"/\"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&\"string\"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,\"script\"),Fa),i=h.length;l\")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,\"script\")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent=\"\");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if(\"string\"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?\"\":\"px\")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,\"\"),b&&\"auto\"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:\"swing\"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e[\"margin\"+c]=e[\"padding\"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners[\"*\"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return\"undefined\"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+\"\"),c):e&&\"get\"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&\"radio\"===b&&B(a,\"input\")){var c=a.value;return a.setAttribute(\"type\",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&\"get\"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,\"tabindex\");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{\"for\":\"htmlFor\",\"class\":\"className\"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(\" \")}function qb(a){return a.getAttribute&&a.getAttribute(\"class\")||\"\"}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])d.indexOf(\" \"+f+\" \")<0&&(d+=f+\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr(\"class\",\"\");if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])while(d.indexOf(\" \"+f+\" \")>-1)d=d.replace(\" \"+f+\" \",\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},toggleClass:function(a,b){var c=typeof a;return\"boolean\"==typeof b&&\"string\"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if(\"string\"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&\"boolean\"!==c||(b=qb(this),b&&W.set(this,\"__className__\",b),this.setAttribute&&this.setAttribute(\"class\",b||a===!1?\"\":W.get(this,\"__className__\")||\"\"))})},hasClass:function(a){var b,c,d=0;b=\" \"+a+\" \";while(c=this[d++])if(1===c.nodeType&&(\" \"+pb(qb(c))+\" \").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e=\"\":\"number\"==typeof e?e+=\"\":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?\"\":a+\"\"})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&\"set\"in b&&void 0!==b.set(this,e,\"value\")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&\"get\"in b&&void 0!==(c=b.get(e,\"value\"))?c:(c=e.value,\"string\"==typeof c?c.replace(rb,\"\"):null==c?\"\":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,\"value\");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g=\"select-one\"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each([\"radio\",\"checkbox\"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute(\"value\")?\"on\":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,\"type\")?b.type:b,q=l.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(\".\")>-1&&(q=p.split(\".\"),p=q.shift(),q.sort()),k=p.indexOf(\":\")<0&&\"on\"+p,b=b[r.expando]?b:new r.Event(p,\"object\"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join(\".\"),b.rnamespace=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,\"events\")||{})[b.type]&&W.get(h,\"handle\"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin=\"onfocusin\"in a,o.focusin||r.each({focus:\"focusin\",blur:\"focusout\"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||\"string\"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,\"text/xml\")}catch(d){c=void 0}return c&&!c.getElementsByTagName(\"parsererror\").length||r.error(\"Invalid XML: \"+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+\"[\"+(\"object\"==typeof e&&null!=e?b:\"\")+\"]\",e,c,d)});else if(c||\"object\"!==r.type(b))d(a,b);else for(e in b)Ab(a+\"[\"+e+\"]\",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+\"=\"+encodeURIComponent(null==c?\"\":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join(\"&\")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,\"elements\");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(\":disabled\")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,\"\\r\\n\")}}):{name:b.name,value:c.replace(xb,\"\\r\\n\")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb=\"*/\".concat(\"*\"),Lb=d.createElement(\"a\");Lb.href=tb.href;function Mb(a){return function(b,c){\"string\"!=typeof b&&(c=b,b=\"*\");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])\"+\"===d[0]?(d=d.slice(1)||\"*\",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return\"string\"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e[\"*\"]&&g(\"*\")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while(\"*\"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader(\"Content-Type\"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+\" \"+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if(\"*\"===f)f=i;else if(\"*\"!==i&&i!==f){if(g=j[i+\" \"+f]||j[\"* \"+f],!g)for(e in j)if(h=e.split(\" \"),h[1]===f&&(g=j[i+\" \"+h[0]]||j[\"* \"+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a[\"throws\"])b=g(b);else try{b=g(b)}catch(l){return{state:\"parsererror\",error:g?l:\"No conversion from \"+i+\" to \"+f}}}return{state:\"success\",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:\"GET\",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Kb,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){\"object\"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks(\"once memory\"),u=o.statusCode||{},v={},w={},x=\"canceled\",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+\"\").replace(Hb,tb.protocol+\"//\"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||\"*\").toLowerCase().match(L)||[\"\"],null==o.crossDomain){j=d.createElement(\"a\");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+\"//\"+Lb.host!=j.protocol+\"//\"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&\"string\"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger(\"ajaxStart\"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,\"\"),o.hasContent?o.data&&o.processData&&0===(o.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(o.data=o.data.replace(Bb,\"+\")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?\"&\":\"?\")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,\"$1\"),n=(vb.test(f)?\"&\":\"?\")+\"_=\"+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader(\"If-Modified-Since\",r.lastModified[f]),r.etag[f]&&y.setRequestHeader(\"If-None-Match\",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader(\"Content-Type\",o.contentType),y.setRequestHeader(\"Accept\",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+(\"*\"!==o.dataTypes[0]?\", \"+Kb+\"; q=0.01\":\"\"):o.accepts[\"*\"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x=\"abort\",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger(\"ajaxSend\",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort(\"timeout\")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,\"No Transport\");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||\"\",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader(\"Last-Modified\"),w&&(r.lastModified[f]=w),w=y.getResponseHeader(\"etag\"),w&&(r.etag[f]=w)),204===b||\"HEAD\"===o.type?x=\"nocontent\":304===b?x=\"notmodified\":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x=\"error\",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+\"\",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?\"ajaxSuccess\":\"ajaxError\",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger(\"ajaxComplete\",[y,o]),--r.active||r.event.trigger(\"ajaxStop\")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,\"json\")},getScript:function(a,b){return r.get(a,void 0,b,\"script\")}}),r.each([\"get\",\"post\"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,\"throws\":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not(\"body\").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&\"withCredentials\"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e[\"X-Requested-With\"]||(e[\"X-Requested-With\"]=\"XMLHttpRequest\");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,\"abort\"===a?h.abort():\"error\"===a?\"number\"!=typeof h.status?f(0,\"error\"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,\"text\"!==(h.responseType||\"text\")||\"string\"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c(\"error\"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c(\"abort\");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter(\"script\",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type=\"GET\")}),r.ajaxTransport(\"script\",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(\" + * + * + * + * + * + * @param {!string} ns The namespace of the class definition, leaving off "com.greensock." as that's assumed. For example, "TweenLite" or "plugins.CSSPlugin" or "easing.Back". + * @param {!Array.} dependencies An array of dependencies (described as their namespaces minus "com.greensock." prefix). For example ["TweenLite","plugins.TweenPlugin","core.Animation"] + * @param {!function():Object} func The function that should be called and passed the resolved dependencies which will return the actual class for this definition. + * @param {boolean=} global If true, the class will be added to the global scope (typically window unless you define a window.GreenSockGlobals object) + */ + Definition = function(ns, dependencies, func, global) { + this.sc = (_defLookup[ns]) ? _defLookup[ns].sc : []; //subclasses + _defLookup[ns] = this; + this.gsClass = null; + this.func = func; + var _classes = []; + this.check = function(init) { + var i = dependencies.length, + missing = i, + cur, a, n, cl; + while (--i > -1) { + if ((cur = _defLookup[dependencies[i]] || new Definition(dependencies[i], [])).gsClass) { + _classes[i] = cur.gsClass; + missing--; + } else if (init) { + cur.sc.push(this); + } + } + if (missing === 0 && func) { + a = ("com.greensock." + ns).split("."); + n = a.pop(); + cl = _namespace(a.join("."))[n] = this.gsClass = func.apply(func, _classes); + + //exports to multiple environments + if (global) { + _globals[n] = _exports[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.) + if (typeof(module) !== "undefined" && module.exports) { //node + if (ns === moduleName) { + module.exports = _exports[moduleName] = cl; + for (i in _exports) { + cl[i] = _exports[i]; + } + } else if (_exports[moduleName]) { + _exports[moduleName][n] = cl; + } + } else if (true){ //AMD + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return cl; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + } + for (i = 0; i < this.sc.length; i++) { + this.sc[i].check(); + } + } + }; + this.check(true); + }, + + //used to create Definition instances (which basically registers a class that has dependencies). + _gsDefine = window._gsDefine = function(ns, dependencies, func, global) { + return new Definition(ns, dependencies, func, global); + }, + + //a quick way to create a class that doesn't have any dependencies. Returns the class, but first registers it in the GreenSock namespace so that other classes can grab it (other classes might be dependent on the class). + _class = gs._class = function(ns, func, global) { + func = func || function() {}; + _gsDefine(ns, [], function(){ return func; }, global); + return func; + }; + + _gsDefine.globals = _globals; + + + +/* + * ---------------------------------------------------------------- + * Ease + * ---------------------------------------------------------------- + */ + var _baseParams = [0, 0, 1, 1], + Ease = _class("easing.Ease", function(func, extraParams, type, power) { + this._func = func; + this._type = type || 0; + this._power = power || 0; + this._params = extraParams ? _baseParams.concat(extraParams) : _baseParams; + }, true), + _easeMap = Ease.map = {}, + _easeReg = Ease.register = function(ease, names, types, create) { + var na = names.split(","), + i = na.length, + ta = (types || "easeIn,easeOut,easeInOut").split(","), + e, name, j, type; + while (--i > -1) { + name = na[i]; + e = create ? _class("easing."+name, null, true) : gs.easing[name] || {}; + j = ta.length; + while (--j > -1) { + type = ta[j]; + _easeMap[name + "." + type] = _easeMap[type + name] = e[type] = ease.getRatio ? ease : ease[type] || new ease(); + } + } + }; + + p = Ease.prototype; + p._calcEnd = false; + p.getRatio = function(p) { + if (this._func) { + this._params[0] = p; + return this._func.apply(null, this._params); + } + var t = this._type, + pw = this._power, + r = (t === 1) ? 1 - p : (t === 2) ? p : (p < 0.5) ? p * 2 : (1 - p) * 2; + if (pw === 1) { + r *= r; + } else if (pw === 2) { + r *= r * r; + } else if (pw === 3) { + r *= r * r * r; + } else if (pw === 4) { + r *= r * r * r * r; + } + return (t === 1) ? 1 - r : (t === 2) ? r : (p < 0.5) ? r / 2 : 1 - (r / 2); + }; + + //create all the standard eases like Linear, Quad, Cubic, Quart, Quint, Strong, Power0, Power1, Power2, Power3, and Power4 (each with easeIn, easeOut, and easeInOut) + a = ["Linear","Quad","Cubic","Quart","Quint,Strong"]; + i = a.length; + while (--i > -1) { + p = a[i]+",Power"+i; + _easeReg(new Ease(null,null,1,i), p, "easeOut", true); + _easeReg(new Ease(null,null,2,i), p, "easeIn" + ((i === 0) ? ",easeNone" : "")); + _easeReg(new Ease(null,null,3,i), p, "easeInOut"); + } + _easeMap.linear = gs.easing.Linear.easeIn; + _easeMap.swing = gs.easing.Quad.easeInOut; //for jQuery folks + + +/* + * ---------------------------------------------------------------- + * EventDispatcher + * ---------------------------------------------------------------- + */ + var EventDispatcher = _class("events.EventDispatcher", function(target) { + this._listeners = {}; + this._eventTarget = target || this; + }); + p = EventDispatcher.prototype; + + p.addEventListener = function(type, callback, scope, useParam, priority) { + priority = priority || 0; + var list = this._listeners[type], + index = 0, + listener, i; + if (this === _ticker && !_tickerActive) { + _ticker.wake(); + } + if (list == null) { + this._listeners[type] = list = []; + } + i = list.length; + while (--i > -1) { + listener = list[i]; + if (listener.c === callback && listener.s === scope) { + list.splice(i, 1); + } else if (index === 0 && listener.pr < priority) { + index = i + 1; + } + } + list.splice(index, 0, {c:callback, s:scope, up:useParam, pr:priority}); + }; + + p.removeEventListener = function(type, callback) { + var list = this._listeners[type], i; + if (list) { + i = list.length; + while (--i > -1) { + if (list[i].c === callback) { + list.splice(i, 1); + return; + } + } + } + }; + + p.dispatchEvent = function(type) { + var list = this._listeners[type], + i, t, listener; + if (list) { + i = list.length; + if (i > 1) { + list = list.slice(0); //in case addEventListener() is called from within a listener/callback (otherwise the index could change, resulting in a skip) + } + t = this._eventTarget; + while (--i > -1) { + listener = list[i]; + if (listener) { + if (listener.up) { + listener.c.call(listener.s || t, {type:type, target:t}); + } else { + listener.c.call(listener.s || t); + } + } + } + } + }; + + +/* + * ---------------------------------------------------------------- + * Ticker + * ---------------------------------------------------------------- + */ + var _reqAnimFrame = window.requestAnimationFrame, + _cancelAnimFrame = window.cancelAnimationFrame, + _getTime = Date.now || function() {return new Date().getTime();}, + _lastUpdate = _getTime(); + + //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill. + a = ["ms","moz","webkit","o"]; + i = a.length; + while (--i > -1 && !_reqAnimFrame) { + _reqAnimFrame = window[a[i] + "RequestAnimationFrame"]; + _cancelAnimFrame = window[a[i] + "CancelAnimationFrame"] || window[a[i] + "CancelRequestAnimationFrame"]; + } + + _class("Ticker", function(fps, useRAF) { + var _self = this, + _startTime = _getTime(), + _useRAF = (useRAF !== false && _reqAnimFrame) ? "auto" : false, + _lagThreshold = 500, + _adjustedLag = 33, + _tickWord = "tick", //helps reduce gc burden + _fps, _req, _id, _gap, _nextTime, + _tick = function(manual) { + var elapsed = _getTime() - _lastUpdate, + overlap, dispatch; + if (elapsed > _lagThreshold) { + _startTime += elapsed - _adjustedLag; + } + _lastUpdate += elapsed; + _self.time = (_lastUpdate - _startTime) / 1000; + overlap = _self.time - _nextTime; + if (!_fps || overlap > 0 || manual === true) { + _self.frame++; + _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap); + dispatch = true; + } + if (manual !== true) { //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise. + _id = _req(_tick); + } + if (dispatch) { + _self.dispatchEvent(_tickWord); + } + }; + + EventDispatcher.call(_self); + _self.time = _self.frame = 0; + _self.tick = function() { + _tick(true); + }; + + _self.lagSmoothing = function(threshold, adjustedLag) { + if (!arguments.length) { //if lagSmoothing() is called with no arguments, treat it like a getter that returns a boolean indicating if it's enabled or not. This is purposely undocumented and is for internal use. + return (_lagThreshold < 1 / _tinyNum); + } + _lagThreshold = threshold || (1 / _tinyNum); //zero should be interpreted as basically unlimited + _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0); + }; + + _self.sleep = function() { + if (_id == null) { + return; + } + if (!_useRAF || !_cancelAnimFrame) { + clearTimeout(_id); + } else { + _cancelAnimFrame(_id); + } + _req = _emptyFunc; + _id = null; + if (_self === _ticker) { + _tickerActive = false; + } + }; + + _self.wake = function(seamless) { + if (_id !== null) { + _self.sleep(); + } else if (seamless) { + _startTime += -_lastUpdate + (_lastUpdate = _getTime()); + } else if (_self.frame > 10) { //don't trigger lagSmoothing if we're just waking up, and make sure that at least 10 frames have elapsed because of the iOS bug that we work around below with the 1.5-second setTimout(). + _lastUpdate = _getTime() - _lagThreshold + 5; + } + _req = (_fps === 0) ? _emptyFunc : (!_useRAF || !_reqAnimFrame) ? function(f) { return setTimeout(f, ((_nextTime - _self.time) * 1000 + 1) | 0); } : _reqAnimFrame; + if (_self === _ticker) { + _tickerActive = true; + } + _tick(2); + }; + + _self.fps = function(value) { + if (!arguments.length) { + return _fps; + } + _fps = value; + _gap = 1 / (_fps || 60); + _nextTime = this.time + _gap; + _self.wake(); + }; + + _self.useRAF = function(value) { + if (!arguments.length) { + return _useRAF; + } + _self.sleep(); + _useRAF = value; + _self.fps(_fps); + }; + _self.fps(fps); + + //a bug in iOS 6 Safari occasionally prevents the requestAnimationFrame from working initially, so we use a 1.5-second timeout that automatically falls back to setTimeout() if it senses this condition. + setTimeout(function() { + if (_useRAF === "auto" && _self.frame < 5 && _doc.visibilityState !== "hidden") { + _self.useRAF(false); + } + }, 1500); + }); + + p = gs.Ticker.prototype = new gs.events.EventDispatcher(); + p.constructor = gs.Ticker; + + +/* + * ---------------------------------------------------------------- + * Animation + * ---------------------------------------------------------------- + */ + var Animation = _class("core.Animation", function(duration, vars) { + this.vars = vars = vars || {}; + this._duration = this._totalDuration = duration || 0; + this._delay = Number(vars.delay) || 0; + this._timeScale = 1; + this._active = (vars.immediateRender === true); + this.data = vars.data; + this._reversed = (vars.reversed === true); + + if (!_rootTimeline) { + return; + } + if (!_tickerActive) { //some browsers (like iOS 6 Safari) shut down JavaScript execution when the tab is disabled and they [occasionally] neglect to start up requestAnimationFrame again when returning - this code ensures that the engine starts up again properly. + _ticker.wake(); + } + + var tl = this.vars.useFrames ? _rootFramesTimeline : _rootTimeline; + tl.add(this, tl._time); + + if (this.vars.paused) { + this.paused(true); + } + }); + + _ticker = Animation.ticker = new gs.Ticker(); + p = Animation.prototype; + p._dirty = p._gc = p._initted = p._paused = false; + p._totalTime = p._time = 0; + p._rawPrevTime = -1; + p._next = p._last = p._onUpdate = p._timeline = p.timeline = null; + p._paused = false; + + + //some browsers (like iOS) occasionally drop the requestAnimationFrame event when the user switches to a different tab and then comes back again, so we use a 2-second setTimeout() to sense if/when that condition occurs and then wake() the ticker. + var _checkTimeout = function() { + if (_tickerActive && _getTime() - _lastUpdate > 2000 && (_doc.visibilityState !== "hidden" || !_ticker.lagSmoothing())) { //note: if the tab is hidden, we should still wake if lagSmoothing has been disabled. + _ticker.wake(); + } + var t = setTimeout(_checkTimeout, 2000); + if (t.unref) { + // allows a node process to exit even if the timeout’s callback hasn't been invoked. Without it, the node process could hang as this function is called every two seconds. + t.unref(); + } + }; + _checkTimeout(); + + + p.play = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.reversed(false).paused(false); + }; + + p.pause = function(atTime, suppressEvents) { + if (atTime != null) { + this.seek(atTime, suppressEvents); + } + return this.paused(true); + }; + + p.resume = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.paused(false); + }; + + p.seek = function(time, suppressEvents) { + return this.totalTime(Number(time), suppressEvents !== false); + }; + + p.restart = function(includeDelay, suppressEvents) { + return this.reversed(false).paused(false).totalTime(includeDelay ? -this._delay : 0, (suppressEvents !== false), true); + }; + + p.reverse = function(from, suppressEvents) { + if (from != null) { + this.seek((from || this.totalDuration()), suppressEvents); + } + return this.reversed(true).paused(false); + }; + + p.render = function(time, suppressEvents, force) { + //stub - we override this method in subclasses. + }; + + p.invalidate = function() { + this._time = this._totalTime = 0; + this._initted = this._gc = false; + this._rawPrevTime = -1; + if (this._gc || !this.timeline) { + this._enabled(true); + } + return this; + }; + + p.isActive = function() { + var tl = this._timeline, //the 2 root timelines won't have a _timeline; they're always active. + startTime = this._startTime, + rawTime; + return (!tl || (!this._gc && !this._paused && tl.isActive() && (rawTime = tl.rawTime(true)) >= startTime && rawTime < startTime + this.totalDuration() / this._timeScale - 0.0000001)); + }; + + p._enabled = function (enabled, ignoreTimeline) { + if (!_tickerActive) { + _ticker.wake(); + } + this._gc = !enabled; + this._active = this.isActive(); + if (ignoreTimeline !== true) { + if (enabled && !this.timeline) { + this._timeline.add(this, this._startTime - this._delay); + } else if (!enabled && this.timeline) { + this._timeline._remove(this, true); + } + } + return false; + }; + + + p._kill = function(vars, target) { + return this._enabled(false, false); + }; + + p.kill = function(vars, target) { + this._kill(vars, target); + return this; + }; + + p._uncache = function(includeSelf) { + var tween = includeSelf ? this : this.timeline; + while (tween) { + tween._dirty = true; + tween = tween.timeline; + } + return this; + }; + + p._swapSelfInParams = function(params) { + var i = params.length, + copy = params.concat(); + while (--i > -1) { + if (params[i] === "{self}") { + copy[i] = this; + } + } + return copy; + }; + + p._callback = function(type) { + var v = this.vars, + callback = v[type], + params = v[type + "Params"], + scope = v[type + "Scope"] || v.callbackScope || this, + l = params ? params.length : 0; + switch (l) { //speed optimization; call() is faster than apply() so use it when there are only a few parameters (which is by far most common). Previously we simply did var v = this.vars; v[type].apply(v[type + "Scope"] || v.callbackScope || this, v[type + "Params"] || _blankArray); + case 0: callback.call(scope); break; + case 1: callback.call(scope, params[0]); break; + case 2: callback.call(scope, params[0], params[1]); break; + default: callback.apply(scope, params); + } + }; + +//----Animation getters/setters -------------------------------------------------------- + + p.eventCallback = function(type, callback, params, scope) { + if ((type || "").substr(0,2) === "on") { + var v = this.vars; + if (arguments.length === 1) { + return v[type]; + } + if (callback == null) { + delete v[type]; + } else { + v[type] = callback; + v[type + "Params"] = (_isArray(params) && params.join("").indexOf("{self}") !== -1) ? this._swapSelfInParams(params) : params; + v[type + "Scope"] = scope; + } + if (type === "onUpdate") { + this._onUpdate = callback; + } + } + return this; + }; + + p.delay = function(value) { + if (!arguments.length) { + return this._delay; + } + if (this._timeline.smoothChildTiming) { + this.startTime( this._startTime + value - this._delay ); + } + this._delay = value; + return this; + }; + + p.duration = function(value) { + if (!arguments.length) { + this._dirty = false; + return this._duration; + } + this._duration = this._totalDuration = value; + this._uncache(true); //true in case it's a TweenMax or TimelineMax that has a repeat - we'll need to refresh the totalDuration. + if (this._timeline.smoothChildTiming) if (this._time > 0) if (this._time < this._duration) if (value !== 0) { + this.totalTime(this._totalTime * (value / this._duration), true); + } + return this; + }; + + p.totalDuration = function(value) { + this._dirty = false; + return (!arguments.length) ? this._totalDuration : this.duration(value); + }; + + p.time = function(value, suppressEvents) { + if (!arguments.length) { + return this._time; + } + if (this._dirty) { + this.totalDuration(); + } + return this.totalTime((value > this._duration) ? this._duration : value, suppressEvents); + }; + + p.totalTime = function(time, suppressEvents, uncapped) { + if (!_tickerActive) { + _ticker.wake(); + } + if (!arguments.length) { + return this._totalTime; + } + if (this._timeline) { + if (time < 0 && !uncapped) { + time += this.totalDuration(); + } + if (this._timeline.smoothChildTiming) { + if (this._dirty) { + this.totalDuration(); + } + var totalDuration = this._totalDuration, + tl = this._timeline; + if (time > totalDuration && !uncapped) { + time = totalDuration; + } + this._startTime = (this._paused ? this._pauseTime : tl._time) - ((!this._reversed ? time : totalDuration - time) / this._timeScale); + if (!tl._dirty) { //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here. + this._uncache(false); + } + //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The startTime of that child would get pushed out, but one of the ancestors may have completed. + if (tl._timeline) { + while (tl._timeline) { + if (tl._timeline._time !== (tl._startTime + tl._totalTime) / tl._timeScale) { + tl.totalTime(tl._totalTime, true); + } + tl = tl._timeline; + } + } + } + if (this._gc) { + this._enabled(true, false); + } + if (this._totalTime !== time || this._duration === 0) { + if (_lazyTweens.length) { + _lazyRender(); + } + this.render(time, suppressEvents, false); + if (_lazyTweens.length) { //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render. + _lazyRender(); + } + } + } + return this; + }; + + p.progress = p.totalProgress = function(value, suppressEvents) { + var duration = this.duration(); + return (!arguments.length) ? (duration ? this._time / duration : this.ratio) : this.totalTime(duration * value, suppressEvents); + }; + + p.startTime = function(value) { + if (!arguments.length) { + return this._startTime; + } + if (value !== this._startTime) { + this._startTime = value; + if (this.timeline) if (this.timeline._sortChildren) { + this.timeline.add(this, value - this._delay); //ensures that any necessary re-sequencing of Animations in the timeline occurs to make sure the rendering order is correct. + } + } + return this; + }; + + p.endTime = function(includeRepeats) { + return this._startTime + ((includeRepeats != false) ? this.totalDuration() : this.duration()) / this._timeScale; + }; + + p.timeScale = function(value) { + if (!arguments.length) { + return this._timeScale; + } + var pauseTime, t; + value = value || _tinyNum; //can't allow zero because it'll throw the math off + if (this._timeline && this._timeline.smoothChildTiming) { + pauseTime = this._pauseTime; + t = (pauseTime || pauseTime === 0) ? pauseTime : this._timeline.totalTime(); + this._startTime = t - ((t - this._startTime) * this._timeScale / value); + } + this._timeScale = value; + t = this.timeline; + while (t && t.timeline) { //must update the duration/totalDuration of all ancestor timelines immediately in case in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though. + t._dirty = true; + t.totalDuration(); + t = t.timeline; + } + return this; + }; + + p.reversed = function(value) { + if (!arguments.length) { + return this._reversed; + } + if (value != this._reversed) { + this._reversed = value; + this.totalTime(((this._timeline && !this._timeline.smoothChildTiming) ? this.totalDuration() - this._totalTime : this._totalTime), true); + } + return this; + }; + + p.paused = function(value) { + if (!arguments.length) { + return this._paused; + } + var tl = this._timeline, + raw, elapsed; + if (value != this._paused) if (tl) { + if (!_tickerActive && !value) { + _ticker.wake(); + } + raw = tl.rawTime(); + elapsed = raw - this._pauseTime; + if (!value && tl.smoothChildTiming) { + this._startTime += elapsed; + this._uncache(false); + } + this._pauseTime = value ? raw : null; + this._paused = value; + this._active = this.isActive(); + if (!value && elapsed !== 0 && this._initted && this.duration()) { + raw = tl.smoothChildTiming ? this._totalTime : (raw - this._startTime) / this._timeScale; + this.render(raw, (raw === this._totalTime), true); //in case the target's properties changed via some other tween or manual update by the user, we should force a render. + } + } + if (this._gc && !value) { + this._enabled(true, false); + } + return this; + }; + + +/* + * ---------------------------------------------------------------- + * SimpleTimeline + * ---------------------------------------------------------------- + */ + var SimpleTimeline = _class("core.SimpleTimeline", function(vars) { + Animation.call(this, 0, vars); + this.autoRemoveChildren = this.smoothChildTiming = true; + }); + + p = SimpleTimeline.prototype = new Animation(); + p.constructor = SimpleTimeline; + p.kill()._gc = false; + p._first = p._last = p._recent = null; + p._sortChildren = false; + + p.add = p.insert = function(child, position, align, stagger) { + var prevTween, st; + child._startTime = Number(position || 0) + child._delay; + if (child._paused) if (this !== child._timeline) { //we only adjust the _pauseTime if it wasn't in this timeline already. Remember, sometimes a tween will be inserted again into the same timeline when its startTime is changed so that the tweens in the TimelineLite/Max are re-ordered properly in the linked list (so everything renders in the proper order). + child._pauseTime = child._startTime + ((this.rawTime() - child._startTime) / child._timeScale); + } + if (child.timeline) { + child.timeline._remove(child, true); //removes from existing timeline so that it can be properly added to this one. + } + child.timeline = child._timeline = this; + if (child._gc) { + child._enabled(true, true); + } + prevTween = this._last; + if (this._sortChildren) { + st = child._startTime; + while (prevTween && prevTween._startTime > st) { + prevTween = prevTween._prev; + } + } + if (prevTween) { + child._next = prevTween._next; + prevTween._next = child; + } else { + child._next = this._first; + this._first = child; + } + if (child._next) { + child._next._prev = child; + } else { + this._last = child; + } + child._prev = prevTween; + this._recent = child; + if (this._timeline) { + this._uncache(true); + } + return this; + }; + + p._remove = function(tween, skipDisable) { + if (tween.timeline === this) { + if (!skipDisable) { + tween._enabled(false, true); + } + + if (tween._prev) { + tween._prev._next = tween._next; + } else if (this._first === tween) { + this._first = tween._next; + } + if (tween._next) { + tween._next._prev = tween._prev; + } else if (this._last === tween) { + this._last = tween._prev; + } + tween._next = tween._prev = tween.timeline = null; + if (tween === this._recent) { + this._recent = this._last; + } + + if (this._timeline) { + this._uncache(true); + } + } + return this; + }; + + p.render = function(time, suppressEvents, force) { + var tween = this._first, + next; + this._totalTime = this._time = this._rawPrevTime = time; + while (tween) { + next = tween._next; //record it here because the value could change after rendering... + if (tween._active || (time >= tween._startTime && !tween._paused && !tween._gc)) { + if (!tween._reversed) { + tween.render((time - tween._startTime) * tween._timeScale, suppressEvents, force); + } else { + tween.render(((!tween._dirty) ? tween._totalDuration : tween.totalDuration()) - ((time - tween._startTime) * tween._timeScale), suppressEvents, force); + } + } + tween = next; + } + }; + + p.rawTime = function() { + if (!_tickerActive) { + _ticker.wake(); + } + return this._totalTime; + }; + +/* + * ---------------------------------------------------------------- + * TweenLite + * ---------------------------------------------------------------- + */ + var TweenLite = _class("TweenLite", function(target, duration, vars) { + Animation.call(this, duration, vars); + this.render = TweenLite.prototype.render; //speed optimization (avoid prototype lookup on this "hot" method) + + if (target == null) { + throw "Cannot tween a null target."; + } + + this.target = target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target; + + var isSelector = (target.jquery || (target.length && target !== window && target[0] && (target[0] === window || (target[0].nodeType && target[0].style && !target.nodeType)))), + overwrite = this.vars.overwrite, + i, targ, targets; + + this._overwrite = overwrite = (overwrite == null) ? _overwriteLookup[TweenLite.defaultOverwrite] : (typeof(overwrite) === "number") ? overwrite >> 0 : _overwriteLookup[overwrite]; + + if ((isSelector || target instanceof Array || (target.push && _isArray(target))) && typeof(target[0]) !== "number") { + this._targets = targets = _slice(target); //don't use Array.prototype.slice.call(target, 0) because that doesn't work in IE8 with a NodeList that's returned by querySelectorAll() + this._propLookup = []; + this._siblings = []; + for (i = 0; i < targets.length; i++) { + targ = targets[i]; + if (!targ) { + targets.splice(i--, 1); + continue; + } else if (typeof(targ) === "string") { + targ = targets[i--] = TweenLite.selector(targ); //in case it's an array of strings + if (typeof(targ) === "string") { + targets.splice(i+1, 1); //to avoid an endless loop (can't imagine why the selector would return a string, but just in case) + } + continue; + } else if (targ.length && targ !== window && targ[0] && (targ[0] === window || (targ[0].nodeType && targ[0].style && !targ.nodeType))) { //in case the user is passing in an array of selector objects (like jQuery objects), we need to check one more level and pull things out if necessary. Also note that \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n
\n
\n\n
\n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n\n
\n \n \n\n
\n \n \n \n \n
\n
\n\n
\n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n \n\n \n" + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyForLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc__ = __webpack_require__("../../../../../src/app/loc.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js__ = __webpack_require__("../../../../../src/assets/modal.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__assets_modal_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ApplyForLocComponent = (function () { + function ApplyForLocComponent(creditTypesService, commonService, locService, modalComponent, modalService) { + this.creditTypesService = creditTypesService; + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.today = Date.now(); + this.loc = new __WEBPACK_IMPORTED_MODULE_1__loc__["a" /* Loc */](); + this.submitted = false; + } + ApplyForLocComponent.prototype.getCreditTypes = function () { + var _this = this; + this.creditTypesService.getCreditTypes().then(function (creditTypes) { return _this.creditTypes = creditTypes; }); + }; + ApplyForLocComponent.prototype.getCurrencies = function () { + var _this = this; + this.commonService.getCurrencies().then(function (currencies) { return _this.currencies = currencies; }); + }; + ApplyForLocComponent.prototype.getWeightUnits = function () { + var _this = this; + this.commonService.getWeightUnits().then(function (weightunits) { return _this.weightunits = weightunits; }); + }; + ApplyForLocComponent.prototype.getAdvisingBanks = function () { + var _this = this; + this.locService.getPeers().then(function (advisingBanks) { return _this.advisingBanks = advisingBanks; }); + }; + ApplyForLocComponent.prototype.getMe = function () { + var _this = this; + this.locService.getMe('').then(function (me) { return _this.applicant = me.name; }); + }; + ApplyForLocComponent.prototype.createLoc = function () { + var _this = this; + this.locService.createLoc(this.loc).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApplyForLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApplyForLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApplyForLocComponent.prototype.autoComplete = function () { + var d = new Date(); + this.loc.applicationDate = d; + this.loc.applicationId = this.orderRef[0]; + this.loc.typeCredit = 'SIGHT'; + this.loc.amount = 30000; + this.loc.issuer = 'Issuer Bank'; + this.loc.currency = 'USD'; + var year = d.getFullYear() + 1; + var month = d.getMonth(); + var day = d.getDay(); + this.loc.expiryDate = new Date(year, month, day); + this.loc.portLoadingAddress = '1 Silicon Way'; + this.loc.portLoadingCity = 'San Francisco'; + this.loc.portLoadingCountry = 'US'; + this.loc.portDischargeAddress = '3 Sea Way'; + this.loc.portDischargeCity = 'Dover'; + this.loc.portDischargeCountry = 'GB'; + this.loc.goodsDescription = 'OLED 6" Screens'; + this.loc.goodsQuantity = 10000; + this.loc.goodsWeight = 1000; + this.loc.goodsWeightUnit = 'KG'; + this.loc.goodsUnitPrice = 400; + this.loc.goodsPurchaseOrderRef = this.orderRef[0]; + this.loc.placePresentationCountry = 'GB'; + this.loc.placePresentationCity = 'Dover'; + this.loc.placePresentationState = 'Dover'; + this.loc.lastShipmentDate = this.loc.expiryDate; + this.loc.periodPresentation = 1; + this.loc.beneficiary = 'Seller'; + this.loc.applicant = this.applicant; + this.loc.advisingBank = 'Advisory Bank'; + }; + ApplyForLocComponent.prototype.ngOnInit = function () { + this.getCreditTypes(); + this.getCurrencies(); + this.getWeightUnits(); + this.getAdvisingBanks(); + this.getMe(); + this.loc.applicant = this.applicant; + this.loc.applicationId = this.orderRef; + }; + ApplyForLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.loc.currency = 'USD'; + this.createLoc(); + }; + return ApplyForLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApplyForLocComponent.prototype, "orderRef", void 0); +ApplyForLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'apply-for-loc', + template: __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */], __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */], __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */]) === "function" && _d || Object, typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _e || Object]) +], ApplyForLocComponent); + +var _a, _b, _c, _d, _e; +//# sourceMappingURL=apply-for-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var ApproveLocComponent = (function () { + function ApproveLocComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + ApproveLocComponent.prototype.approveLoc = function () { + var _this = this; + this.locService.approveLoc(this.loc.txRef).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApproveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */], Object.assign({}, { class: 'gray' })); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApproveLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApproveLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.approveLoc(); + }; + ApproveLocComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return ApproveLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApproveLocComponent.prototype, "ref", void 0); +ApproveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'approve-loc', + template: __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], ApproveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=approve-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\n min-height: 250px; }\n\nbody {\n font: 25px Oswald; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalIssuerComponent = (function () { + function AwaitingApprovalIssuerComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalIssuerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Approval'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalIssuerComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocsIssuer().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalIssuerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalIssuerComponent; +}()); +AwaitingApprovalIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval-issuer', + template: __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalIssuerComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n\r\nbody {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalComponent = (function () { + function AwaitingApprovalComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Application'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocs().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalComponent; +}()); +AwaitingApprovalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval', + template: __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n
\n
\n \n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var BillOfLadingViewComponent = (function () { + function BillOfLadingViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + BillOfLadingViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBol(this.id, this.requestor).then(function (bol) { return _this.bol = bol; }); + } + }; + return BillOfLadingViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "requestor", void 0); +BillOfLadingViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading-view', + template: __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], BillOfLadingViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=bill-of-lading-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var BillOfLadingComponent = (function () { + function BillOfLadingComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.bol = new __WEBPACK_IMPORTED_MODULE_1__bol__["a" /* Bol */](); + this.submitted = false; + } + BillOfLadingComponent.prototype.createBol = function () { + var _this = this; + this.bol.advisingBank = this.loc[0].advisory; + this.bol.issuingBank = this.loc[0].issuer; + this.docsService.createBol(this.bol).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + BillOfLadingComponent.prototype.autoComplete = function () { + var d = new Date(); + this.bol.billOfLadingId = this.loc[0].orderRef; + this.bol.issueDate = d; + this.bol.carrierOwner = 'Alice'; + this.bol.nameOfVessel = 'SurfRider'; + this.bol.goodsDescription = this.loc[0].description; + this.bol.goodsQuantity = 10000; + this.bol.dateOfShipment = d; + this.bol.portOfLoadingCountry = 'China'; + this.bol.portOfLoadingCity = 'Beijing'; + this.bol.portOfLoadingAddress = '123 Street'; + this.bol.portOfDischargeCountry = 'USA'; + this.bol.portOfDischargeCity = 'Des Moines'; + this.bol.portOfDischargeAddress = 'ABC Street'; + this.bol.shipper = this.loc[0].beneficiary; + this.bol.notifyName = 'Foo Bar'; + this.bol.notifyAddress = '123 Street, London'; + this.bol.notifyPhone = '+442076909856'; + this.bol.consigneeName = this.loc[0].applicant; + this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.bol.consigneePhone = '+0027590043622'; + this.bol.grossWeight = 1000; + this.bol.grossWeightUnit = 'KG'; + this.bol.placeOfReceiptCountry = 'USA'; + this.bol.placeOfReceiptCity = 'Des Moines'; + this.bol.buyer = this.bol.consigneeName; + this.bol.advisingBank = this.loc[0].advisingBank; + }; + BillOfLadingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + BillOfLadingComponent.prototype.close = function () { + this.modalComponent.close(); + }; + BillOfLadingComponent.prototype.ngOnInit = function () { + }; + BillOfLadingComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createBol(); + }; + return BillOfLadingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], BillOfLadingComponent.prototype, "loc", void 0); +BillOfLadingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading', + template: __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], BillOfLadingComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=bill-of-lading.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol-events.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BolEvents; }); +var BolEvents = (function () { + function BolEvents() { + this.dict = []; + } + BolEvents.prototype.deserialize = function (input) { + var _this = this; + input.forEach(function (element) { + _this.dict.push({ + key: element.first, + value: element.second + }); + }); + return this; + }; + return BolEvents; +}()); + +//# sourceMappingURL=bol-events.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Bol; }); +var Bol = (function () { + function Bol() { + } + Bol.prototype.deserialize = function (input) { + this.owner = input.owner; + this.billOfLadingId = input.props.billOfLadingID; + this.issueDate = input.props.issueDate; + this.carrierOwner = input.props.carrierOwner; + this.nameOfVessel = input.props.nameOfVessel; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.dateOfShipment = input.props.dateOfShipment; + this.portOfLoadingCountry = input.props.portOfLoading.country; + this.portOfLoadingCity = input.props.portOfLoading.city; + this.portOfLoadingAddress = input.props.portOfLoading.address; + this.portOfDischargeCountry = input.props.portOfDischarge.country; + this.portOfDischargeCity = input.props.portOfDischarge.city; + this.portOfDischargeAddress = input.props.portOfDischarge.address; + this.shipper = input.props.carrierOwner; + this.notifyName = input.props.notify.name; + this.notifyAddress = input.props.notify.address; + this.notifyPhone = input.props.notify.phone; + this.consigneeName = input.props.consignee.name; + this.consigneeAddress = input.props.consignee.address; + this.consigneePhone = input.props.consignee.phone; + this.grossWeight = input.props.grossWeight.quantity; + this.grossWeightUnit = input.props.grossWeight.unit; + this.placeOfReceiptCountry = input.props.placeOfReceipt.country; + this.placeOfReceiptCity = input.props.placeOfReceipt.city; + this.buyer = input.beneficiary; + return this; + }; + return Bol; +}()); + +//# sourceMappingURL=bol.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "div {\r\n font-family: oswald !important;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n\n
CurrencyAmount
{{cashBalances.currency}}\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CashBalanceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var CashBalanceComponent = (function () { + function CashBalanceComponent(locService, route, refreshService) { + var _this = this; + this.locService = locService; + this.route = route; + this.refreshService = refreshService; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.getCashBalances(); + }); + } + CashBalanceComponent.prototype.getCashBalances = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getCashBalances(id).then(function (cashBalances) { return _this.cashBalances = cashBalances; }); + }; + CashBalanceComponent.prototype.ngOnInit = function () { + this.getCashBalances(); + }; + return CashBalanceComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], CashBalanceComponent.prototype, "node", void 0); +CashBalanceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'cash-balance', + template: __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.html"), + styles: [__webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], CashBalanceComponent); + +var _a, _b, _c; +//# sourceMappingURL=cash-balance.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Cash; }); +var Cash = (function () { + function Cash() { + } + Cash.prototype.deserialize = function (input) { + var temp = input.USD; + this.currency = Object.keys(input)[0]; + this.amount = temp.substring(0, temp.length - 7); + return this; + }; + return Cash; +}()); + +//# sourceMappingURL=cash.js.map + +/***/ }), + +/***/ "../../../../../src/app/claim-fund.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClaimFund; }); +var ClaimFund = (function () { + function ClaimFund(ref, party) { + this.ref = ref; + this.party = party; + } + return ClaimFund; +}()); + +//# sourceMappingURL=claim-fund.js.map + +/***/ }), + +/***/ "../../../../../src/app/comma-seperated-number.pipe.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommaSeperatedNumberPipe; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var CommaSeperatedNumberPipe = (function () { + function CommaSeperatedNumberPipe() { + } + CommaSeperatedNumberPipe.prototype.transform = function (value, args) { + return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); + }; + return CommaSeperatedNumberPipe; +}()); +CommaSeperatedNumberPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Pipe"])({ + name: 'comma-seperated-number' + }) +], CommaSeperatedNumberPipe); + +//# sourceMappingURL=comma-seperated-number.pipe.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardAdvisingComponent = (function () { + function DashboardAdvisingComponent() { + } + DashboardAdvisingComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardAdvisingComponent; +}()); +DashboardAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-advising', + template: __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardAdvisingComponent); + +//# sourceMappingURL=dashboard-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n background-color: black;\r\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\r\n background-repeat: repeat;\r\n color: white;\r\n font-family: 'Oswald', sans-serif;\r\n letter-spacing: .2rem;\r\n margin: 0;\r\n overflow: hidden;\r\n -webkit-perspective: 1000px;\r\n perspective: 1000px;\r\n text-transform: uppercase;\r\n}\r\n.site-wrap {\r\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.site-wrap.show-all {\r\n -webkit-transform: rotateY(-15deg) scale(0.2);\r\n transform: rotateY(-15deg) scale(0.2);\r\n}\r\n.panel-wrap {\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\nh1 {\r\n font-size: 20vmin;\r\n margin: 0;\r\n}\r\n.panel-wrap {\r\n -webkit-perspective: 2000px;\r\n perspective: 2000px;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.panel-wrap.animate--shrink,\r\n.panel-wrap.animate--tilt,\r\n.panel-wrap.animate--tilt2 {\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n}\r\n.panel {\r\n height: 100vh;\r\n position: absolute;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100vw;\r\n will-change: transform;\r\n}\r\n.panel:before {\r\n background-color: transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: 0;\r\n pointer-events: none;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n z-index: 2;\r\n}\r\n.show-all .panel:before {\r\n pointer-events: all;\r\n}\r\n.show-all .panel:hover:before {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n cursor: pointer;\r\n}\r\n.animate--shrink.animate .panel {\r\n -webkit-transform: scale(0.9);\r\n transform: scale(0.9);\r\n}\r\n.animate--tilt.animate .panel {\r\n -webkit-transform: scale(0.6) rotateY(-25deg);\r\n transform: scale(0.6) rotateY(-25deg);\r\n}\r\n.animate--tilt2.animate .panel {\r\n -webkit-transform: scale(0.8) rotateX(25deg);\r\n transform: scale(0.8) rotateX(25deg);\r\n}\r\n.panel h1 {\r\n cursor: default;\r\n left: 50%;\r\n line-height: 1;\r\n position: absolute;\r\n text-align: center;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%);\r\n transform: translateX(-50%) translateY(-50%);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel[data-x-pos=\"-2\"] {\r\n left: -200%;\r\n}\r\n.panel[data-x-pos=\"-1\"] {\r\n left: -100%;\r\n}\r\n.panel[data-x-pos=\"1\"] {\r\n left: 100%;\r\n}\r\n.panel[data-x-pos=\"2\"] {\r\n left: 200%;\r\n}\r\n.panel[data-y-pos=\"-2\"] {\r\n top: 200%;\r\n}\r\n.panel[data-y-pos=\"-1\"] {\r\n top: 100%;\r\n}\r\n.panel[data-y-pos=\"1\"] {\r\n top: -100%;\r\n}\r\n.panel[data-y-pos=\"2\"] {\r\n top: -200%;\r\n}\r\n.panel__zoom {\r\n cursor: pointer;\r\n left: 50%;\r\n opacity: .2;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n z-index: 10;\r\n}\r\n.panel__zoom:hover {\r\n opacity: 1;\r\n}\r\n.show-all .panel__zoom {\r\n pointer-events: none;\r\n}\r\n.panel__nav {\r\n cursor: pointer;\r\n opacity: .2;\r\n position: absolute;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n will-change: opacity;\r\n}\r\n.panel__nav--up {\r\n left: 50%;\r\n top: 1rem;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav--left {\r\n left: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n -webkit-transform-origin: top left;\r\n transform-origin: top left;\r\n}\r\n.panel__nav--left-top {\r\n left: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--left-down {\r\n bottom: 1rem;\r\n left: 1rem;\r\n}\r\n.panel__nav--right {\r\n right: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n -webkit-transform-origin: top right;\r\n transform-origin: top right;\r\n}\r\n.panel__nav--right-top {\r\n right: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--right-down {\r\n bottom: 1rem;\r\n right: 1rem;\r\n}\r\n.panel__nav--down {\r\n bottom: 1rem;\r\n left: 50%;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list {\r\n font-size: 3.3vmin;\r\n left: 50%;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n}\r\n.panel__animation-list span {\r\n cursor: pointer;\r\n display: inline-block;\r\n opacity: .2;\r\n position: relative;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel__animation-list span:after {\r\n border-bottom: .3vmin solid transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: -1px;\r\n position: absolute;\r\n right: 0;\r\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100%;\r\n}\r\n.panel__animation-list span.active,\r\n.panel__animation-list span:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list span.active:after,\r\n.panel__animation-list span:hover:after {\r\n border-color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n
\n\n\n
\n \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var DashboardBuyerComponent = (function () { + function DashboardBuyerComponent(modalService) { + this.modalService = modalService; + } + DashboardBuyerComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__["a" /* ApplyModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Apply'; + }; + DashboardBuyerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardBuyerComponent; +}()); +DashboardBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-buyer', + template: __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardBuyerComponent); + +var _a; +//# sourceMappingURL=dashboard-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardIssuerComponent = (function () { + function DashboardIssuerComponent() { + } + DashboardIssuerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardIssuerComponent; +}()); +DashboardIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-issuer', + template: __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardIssuerComponent); + +//# sourceMappingURL=dashboard-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardOverallComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardOverallComponent = (function () { + function DashboardOverallComponent() { + } + DashboardOverallComponent.prototype.ngOnInit = function () { + }; + return DashboardOverallComponent; +}()); +DashboardOverallComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-overall', + template: __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardOverallComponent); + +//# sourceMappingURL=dashboard-overall.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DashboardSellerComponent = (function () { + function DashboardSellerComponent(modalService) { + this.modalService = modalService; + } + DashboardSellerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardSellerComponent; +}()); +DashboardSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-seller', + template: __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardSellerComponent); + +var _a; +//# sourceMappingURL=dashboard-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DocsComponent = (function () { + function DocsComponent() { + } + DocsComponent.prototype.ngOnInit = function () { + }; + return DocsComponent; +}()); +DocsComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'docs', + template: __webpack_require__("../../../../../src/app/docs/docs.component.html"), + styles: [__webpack_require__("../../../../../src/app/docs/docs.component.css")] + }), + __metadata("design:paramtypes", []) +], DocsComponent); + +//# sourceMappingURL=docs.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.html": +/***/ (function(module, exports) { + +module.exports = "\n\n
\n\n
\n\n
\n\n

Select files

\n\n
\n Drop zone\n
\n\n
\n\n
\n
\n\n
\n\n
\n

Queue length: {{ uploader?.queue?.length }}

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n\n
\n
\n Queue progress:\n
\n
\n
\n
\n \n \n \n
\n\n
\n\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocumentUploadComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/ng2-file-upload.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocumentUploadComponent = (function () { + function DocumentUploadComponent() { + this.URL = 'http://localhost:10016/api/loc/get-loc'; + this.uploader = new __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__["FileUploader"]({ url: this.URL }); + this.hasBaseDropZoneOver = false; + this.hasAnotherDropZoneOver = false; + } + DocumentUploadComponent.prototype.fileOverBase = function (e) { + this.hasBaseDropZoneOver = e; + }; + DocumentUploadComponent.prototype.fileOverAnother = function (e) { + this.hasAnotherDropZoneOver = e; + }; + DocumentUploadComponent.prototype.ngOnInit = function () { + }; + return DocumentUploadComponent; +}()); +DocumentUploadComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'document-upload', + template: __webpack_require__("../../../../../src/app/document-upload/document-upload.component.html"), + styles: [__webpack_require__("../../../../../src/app/document-upload/document-upload.component.css")] + }), + __metadata("design:paramtypes", []) +], DocumentUploadComponent); + +//# sourceMappingURL=document-upload.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.html": +/***/ (function(module, exports) { + +module.exports = "\n
\n
Finances
\n
\n
\n \n
\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FinancesComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var FinancesComponent = (function () { + function FinancesComponent(locService) { + this.locService = locService; + this.stats = new __WEBPACK_IMPORTED_MODULE_1__stats__["a" /* Stats */](); + // Pie + this.pieChartLabels = ['Awaiting Approval', 'Active', 'Awaiting Payment']; + this.pieChartData = [1, 1, 1]; + this.pieChartType = 'pie'; + this.barChartOptions = { + scaleShowVerticalLines: false, + responsive: true + }; + this.barChartLabels = ['2015', '2016', '2017']; + this.barChartType = 'bar'; + this.barChartLegend = true; + this.barChartData = [ + { data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired' }, + { data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected' } + ]; + } + // events + FinancesComponent.prototype.chartClicked = function (e) { + console.log(e); + }; + FinancesComponent.prototype.chartHovered = function (e) { + console.log(e); + }; + FinancesComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getStats().then(function (stats) { return _this.stats = stats; }); + }; + return FinancesComponent; +}()); +FinancesComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'finances', + template: __webpack_require__("../../../../../src/app/finances/finances.component.html"), + styles: [__webpack_require__("../../../../../src/app/finances/finances.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], FinancesComponent); + +var _a; +//# sourceMappingURL=finances.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Goods Shipped
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantAmountDescriptionStatusPayment Received
\n {{loc.applicant}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n {{loc.advisingPayment}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoodsShippedComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var GoodsShippedComponent = (function () { + function GoodsShippedComponent(locService) { + this.locService = locService; + this.locs = []; + } + GoodsShippedComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getDummySummary().then(function (locs) { return _this.locs = locs; }); + }; + return GoodsShippedComponent; +}()); +GoodsShippedComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'goods-shipped', + template: __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.html"), + styles: [__webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], GoodsShippedComponent); + +var _a; +//# sourceMappingURL=goods-shipped.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "#h3 {\r\n color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n

{{me}} | Port: {{port}}

\n
\n\n
\n \n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var HeaderComponent = (function () { + function HeaderComponent(locService, route) { + this.locService = locService; + this.route = route; + this.cordaImage = 'assets/corda.png'; + } + HeaderComponent.prototype.getMe = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getMe(id).then(function (me) { return _this.me = me.name; }); + }; + HeaderComponent.prototype.getPort = function () { + var id = this.route.snapshot.url[0].toString(); + this.port = this.locService.getPort(id); + }; + HeaderComponent.prototype.ngOnInit = function () { + this.getMe(); + this.getPort(); + }; + return HeaderComponent; +}()); +HeaderComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'header', + template: __webpack_require__("../../../../../src/app/header/header.component.html"), + styles: [__webpack_require__("../../../../../src/app/header/header.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], HeaderComponent); + +var _a, _b; +//# sourceMappingURL=header.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.html": +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatePickerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var DatePickerComponent = (function () { + function DatePickerComponent() { + this.bsRangeValue = [new Date(2017, 7, 4), new Date(2017, 7, 20)]; + } + return DatePickerComponent; +}()); +DatePickerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'date-picker', + template: __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.html"), + styles: [__webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.css")] + }) +], DatePickerComponent); + +//# sourceMappingURL=date-picker.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/in-memory-data.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InMemoryDataService; }); +var InMemoryDataService = (function () { + function InMemoryDataService() { + } + InMemoryDataService.prototype.createDb = function () { + var locs = [ + { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit', + amount: 5, currency: 'USD', + expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London', + portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio', + portDischargeAddress: 'Stade de Brazil', + goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1, + goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio', + placePresentationCity: 'Rio', + lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5, + beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' } + ]; + var locsummary = [ + { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD', + description: 'Mock product', status: 'Approved' } + }, + { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD', + description: 'Mock product2', status: 'Approved' } + }, + { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD', + description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + }, + { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD', + description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + } + ]; + return { + locs: locs, + locsummary: locsummary + }; + }; + return InMemoryDataService; +}()); + +//# sourceMappingURL=in-memory-data.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceCreateComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var InvoiceCreateComponent = (function () { + function InvoiceCreateComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.inv = new __WEBPACK_IMPORTED_MODULE_1__invoice__["a" /* Invoice */](); + this.submitted = false; + } + InvoiceCreateComponent.prototype.createInvoice = function () { + var _this = this; + this.docsService.createInvoice(this.inv).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + InvoiceCreateComponent.prototype.autoComplete = function () { + var d = new Date(); + this.inv.invoiceDate = d, + this.inv.invoiceId = Math.round(Math.random() * 1000000).toString(); + this.inv.sellerName = 'Seller', + this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111', + this.inv.buyerName = 'Buyer', + this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222', + this.inv.term = 5, + this.inv.goodsDescription = 'OLED 6" Screens', + this.inv.goodsPurchaseOrderRef = 'Mock1', + this.inv.goodsQuantity = 10000, + this.inv.goodsUnitPrice = 3, + this.inv.goodsGrossWeight = 30; + }; + InvoiceCreateComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceCreateComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + InvoiceCreateComponent.prototype.ngOnInit = function () { + }; + InvoiceCreateComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createInvoice(); + }; + return InvoiceCreateComponent; +}()); +InvoiceCreateComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'create-invoice', + template: __webpack_require__("../../../../../src/app/invoice-create/invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-create/invoice.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceCreateComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var InvoiceViewComponent = (function () { + function InvoiceViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + InvoiceViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.docsService.getInvoice(this.ref).then(function (invoice) { return _this.inv = invoice; }); + } + }; + return InvoiceViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], InvoiceViewComponent.prototype, "ref", void 0); +InvoiceViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'invoice-view', + template: __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Invoice; }); +var Invoice = (function () { + function Invoice() { + } + Invoice.prototype.deserialize = function (input) { + this.invoiceDate = input.props.invoiceDate; + this.invoiceId = input.props.invoiceID; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.term = input.props.term; + this.goodsDescription = input.props.goods[0].description; + this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef; + this.goodsQuantity = input.props.goods[0].quantity; + this.goodsUnitPrice = input.props.goods[0].unitPrice; + this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit; + this.assigned = input.assigned; + return this; + }; + return Invoice; +}()); + +//# sourceMappingURL=invoice.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocAppViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var LocAppViewComponent = (function () { + function LocAppViewComponent(locService, modalComponent, modalService) { + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + LocAppViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocAppViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocAppViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocAppViewComponent.prototype, "ref", void 0); +LocAppViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-app-view', + template: __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], LocAppViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=loc-app-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateSummary; }); +var LocStateSummary = (function () { + function LocStateSummary() { + } + LocStateSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiaryPaid = input.second.beneficiaryPaid; + this.advisoryPaid = input.second.advisoryPaid; + this.issuerPaid = input.second.issuerPaid; + this.issued = input.second.issued; + this.terminated = input.second.terminated; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.advisory = input.second.advisoryBank; + this.issuer = input.second.issuingBank; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.quantity = input.second.quantity; + this.orderRef = input.second.purchaseOrderRef; + this.description = input.second.description; + this.status = input.second.status; + return this; + }; + return LocStateSummary; +}()); + +//# sourceMappingURL=loc-state-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var LocStateViewComponent = (function () { + function LocStateViewComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + LocStateViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocStateViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLoc(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocStateViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocStateViewComponent.prototype, "ref", void 0); +LocStateViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-state-view', + template: __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], LocStateViewComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=loc-state-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocSummary; }); +var LocSummary = (function () { + function LocSummary() { + } + LocSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.description = input.second.description; + this.orderRef = input.second.purchaseOrderRef; + this.status = input.second.status; + this.advisingPayment = input.second.advisingPayment; + this.issuingPayment = input.second.issuingPayment; + this.buyerPayment = input.second.buyerPayment; + return this; + }; + return LocSummary; +}()); + +//# sourceMappingURL=loc-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__claim_fund__ = __webpack_require__("../../../../../src/app/claim-fund.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cash__ = __webpack_require__("../../../../../src/app/cash.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +var LocService = (function () { + function LocService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + // mock data + this.mockSummary = 'api/locsummary'; + this.meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc'; + this.getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval'; + this.awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc'; + this.approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc'; + this.statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats'; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances'; + this.cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances'; + this.cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances'; + this.cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances'; + this.allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'; + this.allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app'; + this.allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all'; + this.allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all'; + this.claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds'; + this.paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller'; + this.payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser'; + this.payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + LocService.prototype.getLocApp = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocAppUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getLoc = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocApps = function (node) { + var _this = this; + var getAllUrl; + switch (node) { + case 'advising': + getAllUrl = this.allLocUrlAdviser; + break; + case 'buyer': + getAllUrl = this.allLocAppUrlBuyer; + break; + case 'seller': + getAllUrl = this.allLocUrlSeller; + break; + case 'issuer': + getAllUrl = this.allLocAppUrlIssuer; + break; + default: + break; + } + return this.http.get(getAllUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocs = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocsIssuer = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrlIssuer) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocsApps = function () { + var _this = this; + return this.http.get(this.activeLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocStateSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingPaymentLocs = function () { + var _this = this; + return this.http.get(this.awaitingPaymentLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getCashBalances = function (node) { + var url; + switch (node) { + case 'buyer': + url = this.cashBalancesBuyerUrl; + break; + case 'seller': + url = this.cashBalancesSellerUrl; + break; + case 'issuing': + url = this.cashBalancesIssuerUrl; + break; + case 'advising': + url = this.cashBalancesAdvisoryUrl; + break; + default: + url = this.cashBalancesIssuerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__cash__["a" /* Cash */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getMe = function (id) { + var url; + switch (id) { + case 'buyer': + url = this.meBuyerUrl; + break; + case 'seller': + url = this.meSellerUrl; + break; + case 'issuing': + url = this.meIssueUrl; + break; + case 'advising': + url = this.meAdvisoryUrl; + break; + default: + url = this.meBuyerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getPort = function (id) { + var port; + switch (id) { + case 'buyer': + port = this.buyer; + break; + case 'seller': + port = this.seller; + break; + case 'issuing': + port = this.issuer; + break; + case 'advising': + port = this.advisory; + break; + default: + port = 0; + break; + } + return port; + }; + LocService.prototype.getPeers = function () { + var _this = this; + return this.http.get(this.peersUrl) + .toPromise() + .then(function (response) { return _this.createPartyArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getStats = function () { + return this.http.get(this.statsUrl) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_7__stats__["a" /* Stats */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.createLoc = function (loc) { + return this.http + .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().deserialize(res.json()).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.approveLoc = function (ref) { + var url = this.approveLocUrl + "?ref=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.paySeller = function (ref) { + var url = this.paySellerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payAdviser = function (ref) { + var url = this.payAdvisoryUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payIssuer = function (ref) { + var url = this.payIssuerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.claimFunds = function (ref) { + var _this = this; + this.getMe('issuing').then(function (result) { + var claimFund = new __WEBPACK_IMPORTED_MODULE_4__claim_fund__["a" /* ClaimFund */](ref, result.name); + _this.http.post(_this.claimFundsUrl, JSON.stringify(claimFund), { headers: _this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(_this.handleError); + }); + }; + LocService.prototype.createPartyArray = function (input) { + var parties = new Array(); + input.peers.forEach(function (element) { + var party = new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserializeName(element); + parties.push(party); + }); + return parties; + }; + LocService.prototype.createLocSummaryArray = function (input) { + var locSummaries = new Array(); + input.forEach(function (element) { + var locSummary = new __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]().deserialize(element); + locSummaries.push(locSummary); + }); + return locSummaries; + }; + LocService.prototype.createLocStateSummaryArray = function (input) { + var locStateSummaries = new Array(); + input.forEach(function (element) { + var locStateSummary = new __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__["a" /* LocStateSummary */]().deserialize(element); + locStateSummaries.push(locStateSummary); + }); + return locStateSummaries; + }; + LocService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + /// MOCK DATA STUFF + LocService.prototype.getDummySummary = function () { + var _this = this; + return this.http.get(this.mockSummary) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json().data); }) + .catch(this.handleError); + }; + LocService.prototype.shipGoods = function (loc) { + var url = this.mockSummary + "/" + loc.id; + loc.status = 'Shipped'; + return this.http + .put(url, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function () { return loc; }) + .catch(this.handleError); + }; + return LocService; +}()); +LocService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], LocService); + +var _a; +//# sourceMappingURL=loc.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Loc; }); +var Loc = (function () { + function Loc() { + } + return Loc; +}()); + +//# sourceMappingURL=loc.js.map + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "html {\r\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\r\n background-size: cover;\r\n overflow: hidden;\r\n}\r\n\r\nimg{\r\n display: block;\r\n margin: auto;\r\n width: 100%;\r\n height: auto;\r\n}\r\n\r\n#login-button{\r\n cursor: pointer;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n padding: 30px;\r\n margin: auto;\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50%;\r\n background: rgba(3,3,3,.8);\r\n overflow: hidden;\r\n opacity: 0.6;\r\n box-shadow: 10px 10px 30px #000;}\r\n\r\n/* Login container */\r\n#container{\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n margin: auto;\r\n width: 260px;\r\n height: 260px;\r\n border-radius: 5px;\r\n background: rgba(3,3,3,0.25);\r\n box-shadow: 1px 1px 50px #000;\r\n display: none;\r\n}\r\n\r\n.close-btn{\r\n position: absolute;\r\n cursor: pointer;\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n line-height: 18px;\r\n top: 3px;\r\n right: 3px;\r\n width: 20px;\r\n height: 20px;\r\n text-align: center;\r\n border-radius: 10px;\r\n opacity: .2;\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\n.close-btn:hover{\r\n opacity: .5;\r\n}\r\n\r\n/* Heading */\r\nh1{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n position: relative;\r\n margin-top: 0px;\r\n text-align: center;\r\n font-size: 40px;\r\n color: #ddd;\r\n text-shadow: 3px 3px 10px #000;\r\n}\r\n\r\n/* Inputs */\r\na,\r\ninput{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-decoration: none;\r\n position: relative;\r\n width: 80%;\r\n display: block;\r\n margin: 9px auto;\r\n font-size: 17px;\r\n color: #fff;\r\n padding: 8px;\r\n border-radius: 6px;\r\n border: none;\r\n background: rgba(3,3,3,.1);\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\ninput:focus{\r\n outline: none;\r\n box-shadow: 3px 3px 10px #333;\r\n background: rgba(3,3,3,.18);\r\n}\r\n\r\n/* Placeholders */\r\n::-webkit-input-placeholder {\r\n color: #ddd; }\r\n:-moz-placeholder { /* Firefox 18- */\r\n color: red; }\r\n::-moz-placeholder { /* Firefox 19+ */\r\n color: red; }\r\n:-ms-input-placeholder {\r\n color: #333; }\r\n\r\n/* Link */\r\na{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-align: center;\r\n padding: 4px 8px;\r\n background: rgba(107,255,3,0.3);\r\n}\r\n\r\na:hover{\r\n opacity: 0.7;\r\n}\r\n\r\n#remember-container{\r\n position: relative;\r\n margin: -5px 20px;\r\n}\r\n\r\n.checkbox {\r\n position: relative;\r\n cursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tpadding: 5px;\r\n\tborder-radius: 4px;\r\n background: rgba(3,3,3,.2);\r\n\tdisplay: inline-block;\r\n width: 16px;\r\n height: 15px;\r\n}\r\n\r\n.checkbox:checked:active {\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\r\n}\r\n\r\n.checkbox:checked {\r\n background: rgba(3,3,3,.4);\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\r\n\tcolor: #fff;\r\n}\r\n\r\n.checkbox:checked:after {\r\n\tcontent: '\\2714';\r\n\tfont-size: 10px;\r\n\tposition: absolute;\r\n\ttop: 0px;\r\n\tleft: 4px;\r\n\tcolor: #fff;\r\n}\r\n\r\n#remember{\r\n position: absolute;\r\n font-size: 13px;\r\n font-family: 'Hind', sans-serif;\r\n color: rgba(255,255,255,.5);\r\n top: 7px;\r\n left: 20px;\r\n}\r\n\r\n.orange-btn{\r\n background: rgba(87,198,255,.5);\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Log In

\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n Log in\r\n
\r\n \r\n Remember me\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__ = __webpack_require__("../../../../gsap/TweenLite.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var LoginComponent = (function () { + function LoginComponent() { + } + LoginComponent.prototype.ngAfterViewInit = function () { + $('#login-button').click(function () { + $('#login-button').fadeOut('slow', function () { + $('#container').fadeIn(); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + }); + $('#logo').animate({ 'width': '40%', 'height': '40%' }, 1000); + }); + $('.close-btn').click(function () { + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { left: '0px', scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + $('#container, #forgotten-container').fadeOut(800, function () { + $('#login-button').fadeIn(800); + }); + $('#logo').animate({ 'width': '100%', 'height': '100%' }, 1000); + }); + /* Forgotten Password */ + $('#forgotten').click(function () { + $('#container').fadeOut(function () { + $('#forgotten-container').fadeIn(); + }); + }); + }; + LoginComponent.prototype.ngOnInit = function () { + }; + return LoginComponent; +}()); +LoginComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'app-login', + template: __webpack_require__("../../../../../src/app/login/login.component.html"), + styles: [__webpack_require__("../../../../../src/app/login/login.component.css")] + }), + __metadata("design:paramtypes", []) +], LoginComponent); + +//# sourceMappingURL=login.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".main-menu {\r\n /*background-color: #343436;*/\r\n padding: 15px;\r\n max-width: 200px;\r\n}\r\n\r\n.hype {\r\n border-radius: 999em;\r\n border: 1px solid #ccaaaa;\r\n -webkit-filter:blur(3px);\r\n filter:blur(3px);\r\n color: white;\r\n background: #fff;\r\n outline: none;\r\n width: 70px;\r\n height: 70px;\r\n font-size: 12px;\r\n display: inline-block;\r\n text-transform:uppercase;\r\n cursor: pointer;\r\n box-sizing: border-box;\r\n}\r\n\r\n.hype {\r\n position: relative;\r\n}\r\n.hype::before, .hype::after {\r\n content: '';\r\n position: absolute;\r\n box-sizing: border-box;\r\n border-radius: 999em;\r\n}\r\n.hype::after {\r\n top: 0;\r\n left: 0;\r\n z-index: 1;\r\n width: 70px;\r\n height: 70px;\r\n border: 1px solid #229999;\r\n filter:blur(2px);\r\n -webkit-filter:blur(1px);\r\n}\r\n.hype::before {\r\n z-index: -1;\r\n width: 70px;\r\n height: 70px;\r\n/* background: inherit; */\r\n opacity: .6;\r\n top: 0;\r\n left: 0;\r\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\r\n animation: pluse .6s ease-in-out 0s infinite alternate;\r\n}\r\n.hype:hover::after {\r\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\r\n animation: pulse-ring 1.5s ease-out 0s infinite;\r\n}\r\n@-webkit-keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@-webkit-keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n@keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n\r\n.btn {\r\n border-radius: 28px;\r\n font-family: Arial;\r\n color: #ffffff;\r\n font-size: 16px;\r\n background: #ff0000;\r\n padding: 10px 20px 10px 20px;\r\n text-decoration: none;\r\n min-width: 170px;\r\n margin-bottom: 25px;\r\n}\r\n.btn:hover {\r\n background: #fa5757;\r\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\r\n text-decoration: none;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MainMenuComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var MainMenuComponent = (function () { + function MainMenuComponent(modalService, route) { + this.modalService = modalService; + this.route = route; + } + MainMenuComponent.prototype.ngOnInit = function () { + var current = this.route.snapshot.url[0].toString(); + switch (current) { + case 'buyer': + this.buyer = 'btn-info'; + break; + case 'issuing': + this.issuing = 'btn-info'; + break; + case 'advising': + this.advising = 'btn-info'; + break; + case 'seller': + this.seller = 'btn-info'; + break; + case 'dashboard': + this.dashboard = 'btn-info'; + break; + } + }; + return MainMenuComponent; +}()); +MainMenuComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'main-menu', + template: __webpack_require__("../../../../../src/app/main-menu/main-menu.component.html"), + styles: [__webpack_require__("../../../../../src/app/main-menu/main-menu.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], MainMenuComponent); + +var _a, _b; +//# sourceMappingURL=main-menu.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/apply-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApplyModalComponent = (function () { + function ApplyModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApplyModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApplyModalComponent; +}()); +ApplyModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApplyModalComponent); + +var _a; +//# sourceMappingURL=apply-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/approve-loc-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApproveLocModalComponent = (function () { + function ApproveLocModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApproveLocModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApproveLocModalComponent; +}()); +ApproveLocModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApproveLocModalComponent); + +var _a; +//# sourceMappingURL=approve-loc-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateBolModalComponent = (function () { + function CreateBolModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateBolModalComponent; +}()); +CreateBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateBolModalComponent); + +var _a; +//# sourceMappingURL=create-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateInvoiceModalComponent = (function () { + function CreateInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateInvoiceModalComponent; +}()); +CreateInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateInvoiceModalComponent); + +var _a; +//# sourceMappingURL=create-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreatePlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreatePlModalComponent = (function () { + function CreatePlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreatePlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreatePlModalComponent; +}()); +CreatePlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreatePlModalComponent); + +var _a; +//# sourceMappingURL=create-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/docs-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocsModalComponent = (function () { + function DocsModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + DocsModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return DocsModalComponent; +}()); +DocsModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], DocsModalComponent); + +var _a; +//# sourceMappingURL=docs-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports +exports.push([module.i, "@import url(https://fonts.googleapis.com/css?family=Open+Sans);", ""]); + +// module +exports.push([module.i, ".modal-content {\r\n background-color: #000 !important;\r\n font-family: \"Open Sans\", Impact;\r\n}\r\n\r\n.svg {\r\n height: 200px;\r\n}\r\n\r\n.area {\r\n text-align: center;\r\n font-size: 2.5em;\r\n color: #fff;\r\n letter-spacing: -7px;\r\n font-weight: 700;\r\n text-transform: uppercase;\r\n -webkit-animation: blur 1s ease-out 5;\r\n animation: blur 1s ease-out 5;\r\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\r\n}\r\n\r\n@-webkit-keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n@keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "/*dark background to support form theme*/\n.modal-main {\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\n\n/*sass variables used*/\n/*site container*/\n.wrapper {\n width: 420px;\n height: 200px;\n margin: 0 auto; }\n\nh1 {\n text-align: center;\n padding: 30px 0px 0px 0px;\n font: 25px Oswald;\n color: #FFF;\n text-transform: uppercase;\n text-shadow: #000 0px 1px 5px;\n margin: 0px; }\n\np {\n font: 13px Open Sans;\n color: #6E6E6E;\n text-shadow: #000 0px 1px 5px;\n margin-bottom: 30px; }\n\n.name-help, .email-help {\n display: none;\n padding: 0px;\n margin: 0px 0px 15px 0px; }\n\n.optimize {\n position: fixed;\n right: 3%;\n top: 0px; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/response-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ResponseModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__ = __webpack_require__("../../../../rxjs/Rx.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ResponseModalComponent = (function () { + function ResponseModalComponent(bsModalRef, refreshService) { + this.bsModalRef = bsModalRef; + this.refreshService = refreshService; + } + ResponseModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + ResponseModalComponent.prototype.updateMessage = function (text) { + this.message = text; + }; + ResponseModalComponent.prototype.ngOnInit = function () { + var _this = this; + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(500).subscribe(function (t) { _this.updateMessage('Running'); }); + // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') }) + // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') }) + // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') }) + // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') }) + // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) }) + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.close(); }); + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.refreshService.confirmMission(); }); + }; + return ResponseModalComponent; +}()); +ResponseModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.css")], + template: "\n\n
\n \n
\n
\n
\n \n \n \n \n \n {{message}}\n \n \n \n
\n\n\n
\n" + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */]) === "function" && _b || Object]) +], ResponseModalComponent); + +var _a, _b; +//# sourceMappingURL=response-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal-nested.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n" + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ShipModalComponent = (function () { + function ShipModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ShipModalComponent.prototype.openModal = function (template) { + this.modalRef = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.openModal2 = function (template) { + this.modalRef2 = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ShipModalComponent; +}()); +ShipModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + template: __webpack_require__("../../../../../src/app/modals/ship-modal-nested.html") + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ShipModalComponent); + +var _a, _b; +//# sourceMappingURL=ship-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ViewBolModalComponent = (function () { + function ViewBolModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ViewBolModalComponent.prototype.openModal2 = function () { + this.modalRef2 = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */]); + this.modalRef2.content.id = this.id; + this.modalRef2.content.requestor = this.requestor; + }; + ViewBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolModalComponent; +}()); +ViewBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ViewBolModalComponent); + +var _a, _b; +//# sourceMappingURL=view-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-timeline-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolTimelineModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewBolTimelineModalComponent = (function () { + function ViewBolTimelineModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewBolTimelineModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolTimelineModalComponent; +}()); +ViewBolTimelineModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewBolTimelineModalComponent); + +var _a; +//# sourceMappingURL=view-bol-timeline-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewInvoiceModalComponent = (function () { + function ViewInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewInvoiceModalComponent; +}()); +ViewInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewInvoiceModalComponent); + +var _a; +//# sourceMappingURL=view-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-app-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocAppModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocAppModalComponent = (function () { + function ViewLocAppModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocAppModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocAppModalComponent; +}()); +ViewLocAppModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocAppModalComponent); + +var _a; +//# sourceMappingURL=view-loc-app-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-state-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocStateModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocStateModalComponent = (function () { + function ViewLocStateModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocStateModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocStateModalComponent; +}()); +ViewLocStateModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocStateModalComponent); + +var _a; +//# sourceMappingURL=view-loc-state-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewPlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewPlModalComponent = (function () { + function ViewPlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewPlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewPlModalComponent; +}()); +ViewPlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewPlModalComponent); + +var _a; +//# sourceMappingURL=view-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var PackingListViewComponent = (function () { + function PackingListViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + PackingListViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getPackingList(this.id, this.requestor).then(function (pl) { return _this.pl = pl; }); + } + }; + return PackingListViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "requestor", void 0); +PackingListViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list-view', + template: __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], PackingListViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=packing-list-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var PackingListComponent = (function () { + function PackingListComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.pl = new __WEBPACK_IMPORTED_MODULE_1__packinglist__["a" /* PackingList */](); + this.submitted = false; + } + PackingListComponent.prototype.createpl = function () { + var _this = this; + this.pl.advisingBank = this.loc[0].advisory; + this.pl.issuingBank = this.loc[0].issuer; + this.docsService.createPackingList(this.pl).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + PackingListComponent.prototype.autoComplete = function () { + var d = new Date(); + this.pl.issueDate = d; + this.pl.orderNumber = this.loc[0].orderRef; + this.pl.sellersOrderNumber = this.loc[0].orderRef; + this.pl.transportMethod = 'Ship'; + this.pl.nameOfVessel = 'SurfRider'; + this.pl.billOfLadingNumber = this.loc[0].orderRef; + this.pl.sellerName = 'Seller'; + this.pl.sellerAddress = '123 Street. Beijing, China'; + this.pl.buyerName = 'Buyer'; + this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.pl.goodsDescription = this.loc[0].description; + this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef; + this.pl.goodsQuantity = 10000; + this.pl.goodsUnitPrice = this.loc[0].amount; + this.pl.goodsGrossWeight = 1000; + }; + PackingListComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + PackingListComponent.prototype.close = function () { + this.modalComponent.close(); + }; + PackingListComponent.prototype.ngOnInit = function () { + }; + PackingListComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createpl(); + }; + return PackingListComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], PackingListComponent.prototype, "loc", void 0); +PackingListComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list', + template: __webpack_require__("../../../../../src/app/packing-list/packing-list.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list/packing-list.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], PackingListComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=packing-list.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packinglist.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingList; }); +var PackingList = (function () { + function PackingList() { + } + PackingList.prototype.deserialize = function (input) { + this.issueDate = input.props.issueDate; + this.orderNumber = input.props.orderNumber; + this.sellersOrderNumber = input.props.sellersOrderNumber; + this.transportMethod = input.props.transportMethod; + this.nameOfVessel = input.props.nameOfVessel; + this.billOfLadingNumber = input.props.billOfLadingNumber; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.sellerPhone = input.props.seller.phone; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.buyerPhone = input.props.buyer.phone; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice; + this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit; + this.attachmentHash = input.props.attachmentHash; + return this; + }; + return PackingList; +}()); + +//# sourceMappingURL=packinglist.js.map + +/***/ }), + +/***/ "../../../../../src/app/party.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Party; }); +var Party = (function () { + function Party() { + } + Party.prototype.deserialize = function (input) { + this.name = input.me; + return this; + }; + Party.prototype.deserializeName = function (input) { + this.name = input; + return this; + }; + return Party; +}()); + +//# sourceMappingURL=party.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/advising-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AdvisingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AdvisingBankService = (function () { + function AdvisingBankService(locService) { + this.locService = locService; + this.locService = locService; + } + return AdvisingBankService; +}()); +AdvisingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AdvisingBankService); + +var _a; +//# sourceMappingURL=advising-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/common.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommonService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_currency__ = __webpack_require__("../../../../../src/app/services/common/mock-currency.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__ = __webpack_require__("../../../../../src/app/services/common/mock-weight-unit.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + +var CommonService = (function () { + function CommonService() { + } + CommonService.prototype.getCurrencies = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_currency__["a" /* CURRENCY */]); + }; + CommonService.prototype.getWeightUnits = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__["a" /* WEIGHTUNIT */]); + }; + return CommonService; +}()); +CommonService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CommonService); + +//# sourceMappingURL=common.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-currency.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; }); +var CURRENCY = [ + { id: 'USD', name: 'USD' }, + { id: 'EUR', name: 'EUR' }, + { id: 'GBP', name: 'GBP' } +]; +//# sourceMappingURL=mock-currency.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-weight-unit.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WEIGHTUNIT; }); +var WEIGHTUNIT = [ + { id: 11, name: 'KG' }, + { id: 12, name: 'LBS' } +]; +//# sourceMappingURL=mock-weight-unit.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/credit-type.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreditTypeService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_credit_type__ = __webpack_require__("../../../../../src/app/services/credit-types/mock-credit-type.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + +var CreditTypeService = (function () { + function CreditTypeService() { + } + CreditTypeService.prototype.getCreditTypes = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_credit_type__["a" /* CREDITTYPES */]); + }; + return CreditTypeService; +}()); +CreditTypeService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CreditTypeService); + +//# sourceMappingURL=credit-type.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/mock-credit-type.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CREDITTYPES; }); +var CREDITTYPES = [ + { id: 'SIGHT', name: 'Sight' }, + { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' }, + { id: 'ACCEPTANCE', name: 'Acceptance' }, + { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' }, + { id: 'TRANSFERABLE', name: 'Transferable' }, + { id: 'STANDBY', name: 'Standby' }, + { id: 'REVOLVING', name: 'Revolving' }, + { id: 'RED_CLAUSE', name: 'Red Clause' }, + { id: 'GREEN_CLAUSE', name: 'Green Clause' }, +]; +//# sourceMappingURL=mock-credit-type.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/docs.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__bol_events__ = __webpack_require__("../../../../../src/app/bol-events.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var DocsService = (function () { + function DocsService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol'; + this.createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl'; + this.createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade'; + this.invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices'; + this.invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice'; + this.bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol'; + this.bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol'; + this.bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol'; + this.packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list'; + this.packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list'; + this.packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list'; + this.bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events'; + this.bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events'; + this.bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + DocsService.prototype.createBol = function (bol) { + return this.http + .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createPackingList = function (packingList) { + return this.http + .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoice = function (invoice) { + return this.http + .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.getBol = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_2__bol__["a" /* Bol */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getBolEvents = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolEventsUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolEventsUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolEventsUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_3__bol_events__["a" /* BolEvents */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getPackingList = function (id, requestor) { + var url; + switch (requestor) { + case 'buyer': { + url = this.packingListUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.packingListUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.packingListUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_4__packinglist__["a" /* PackingList */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoices = function () { + var _this = this; + return this.http.get(this.invoicesUrl) + .toPromise() + .then(function (response) { return _this.createInvoiceArray(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoice = function (id) { + var url = this.invoiceUrl + "?ref=" + id; + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoiceArray = function (input) { + var invoices = new Array(); + input.forEach(function (element) { + var invoice = new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(element); + invoices.push(invoice); + }); + return invoices; + }; + DocsService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return DocsService; +}()); +DocsService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], DocsService); + +var _a; +//# sourceMappingURL=docs.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/identity.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IdentityService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var IdentityService = (function () { + function IdentityService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + } + IdentityService.prototype.getAll = function () { + this.getBuyer(); + this.getIssuer(); + this.getAdvisory(); + this.getSeller(); + }; + IdentityService.prototype.getBuyer = function () { + var _this = this; + if (this.buyerId === undefined) { + this.http.get(this.buyerUrl) + .toPromise() + .then(function (response) { return _this.buyerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getIssuer = function () { + var _this = this; + if (this.issuerId === undefined) { + this.http.get(this.issuerId) + .toPromise() + .then(function (response) { return _this.issuerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getAdvisory = function () { + var _this = this; + if (this.advisoryId === undefined) { + this.http.get(this.advisoryId) + .toPromise() + .then(function (response) { return _this.advisoryId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getSeller = function () { + var _this = this; + if (this.sellerId === undefined) { + this.http.get(this.sellerId) + .toPromise() + .then(function (response) { return _this.sellerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return IdentityService; +}()); +IdentityService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], IdentityService); + +var _a; +//# sourceMappingURL=identity.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/issuing-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IssuingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var IssuingBankService = (function () { + function IssuingBankService() { + } + return IssuingBankService; +}()); +IssuingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], IssuingBankService); + +//# sourceMappingURL=issuing-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/refresh.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RefreshService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__ = __webpack_require__("../../../../rxjs/Subject.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var RefreshService = (function () { + function RefreshService() { + // Observable sources + this.confirmedSource = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__["Subject"](); + // Observable string streams + this.missionConfirmed$ = this.confirmedSource.asObservable(); + } + RefreshService.prototype.confirmMission = function () { + this.confirmedSource.next(true); + }; + return RefreshService; +}()); +RefreshService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], RefreshService); + +//# sourceMappingURL=refresh.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.html": +/***/ (function(module, exports) { + +module.exports = "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n" + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__ = __webpack_require__("../../../../rxjs/add/operator/switchMap.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ShipComponent = (function () { + function ShipComponent(locService) { + this.locService = locService; + } + ShipComponent.prototype.ngOnInit = function () { + }; + return ShipComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]) === "function" && _a || Object) +], ShipComponent.prototype, "loc", void 0); +ShipComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'ship', + template: __webpack_require__("../../../../../src/app/ship/ship.component.html"), + styles: [__webpack_require__("../../../../../src/app/ship/ship.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], ShipComponent); + +var _a, _b; +//# sourceMappingURL=ship.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n" + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.less": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\n background: #161616;\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\n}\n.stop {\n animation-play-state: paused;\n -moz-animation-play-state: paused;\n -webkit-animation-play-state: paused;\n}\n.trigger {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\n border: 1px solid #111;\n border-right-color: #333;\n border-bottom-color: #333;\n text-decoration: none;\n color: #fff;\n padding: 10px;\n font-family: Verdana, Geneva, sans-serif;\n font-size: 0.8em;\n text-transform: lowercase;\n margin: 10px auto;\n display: block;\n width: 140px;\n border-radius: 5px;\n text-align: center;\n}\n.trigger:hover {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\n}\n#ajaxloader1 {\n width: 30px !important;\n height: 30px !important;\n border: 8px solid #fff !important;\n border-radius: 50% !important;\n box-shadow: 0 0 25px 2px !important;\n color: #fff !important;\n border-color: #f00 !important;\n color: #cc0000 !important;\n border-right-color: transparent !important;\n border-top-color: transparent !important;\n -webkit-animation: spin-right 1s linear infinite normal !important;\n animation: spin-right 1s linear infinite normal !important;\n -webkit-animation-delay: 0 !important;\n animation-delay: 0 !important;\n margin: 30px auto 0 !important;\n}\n#ajaxloader1:after {\n display: block !important;\n width: 13px !important;\n height: 13px !important;\n margin: 3px !important;\n border: 6px solid #f00 !important;\n content: \" \" !important;\n border-radius: 50% !important;\n border-left-color: transparent !important;\n border-bottom-color: transparent !important;\n}\n@keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@-webkit-keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n }\n}\n@keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@-webkit-keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n }\n}\n@keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n}\n@-webkit-keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n}\n@keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@-webkit-keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n@-webkit-keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\n }\n}\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SpinnerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var SpinnerComponent = (function () { + function SpinnerComponent() { + } + SpinnerComponent.prototype.ngOnInit = function () { + }; + return SpinnerComponent; +}()); +SpinnerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'spinner', + template: __webpack_require__("../../../../../src/app/spinner/spinner.component.html"), + styles: [__webpack_require__("../../../../../src/app/spinner/spinner.component.less")] + }), + __metadata("design:paramtypes", []) +], SpinnerComponent); + +//# sourceMappingURL=spinner.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/stats.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Stats; }); +var Stats = (function () { + function Stats() { + } + Stats.prototype.deserialize = function (input) { + this.awaitingApproval = input.awaitingApproval; + this.active = input.active; + this.awaitingPayment = input.awaitingPayment; + return this; + }; + return Stats; +}()); + +//# sourceMappingURL=stats.js.map + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.html": +/***/ (function(module, exports) { + +module.exports = "
    \n\n
    \n\n
  • \n
    {{event.value}}
    \n
  • \n\n
  • \n
    \n
    \n
    \n

    Owned by {{event.key}}

    \n

    {{event.value}}

    \n
    \n
    \n
  • \n\n
    \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "img {\n border: 0;\n max-width: 100%; }\n\n.page-header h1 {\n font-size: 3.26em;\n text-align: center;\n color: #efefef;\n text-shadow: 1px 1px 0 #000; }\n\n/** timeline box structure **/\n.timeline {\n list-style: none;\n padding: 20px 0 20px;\n position: relative; }\n\n.timeline:before {\n top: 0;\n bottom: 0;\n position: absolute;\n content: \" \";\n width: 3px;\n background-color: #eee;\n left: 50%;\n margin-left: -1.5px; }\n\n.tldate {\n display: block;\n width: 200px;\n background: #414141;\n border: 3px solid #212121;\n color: #ededed;\n margin: 0 auto;\n padding: 3px 0;\n font-weight: bold;\n text-align: center;\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\n\n.timeline li {\n margin-bottom: 25px;\n position: relative; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n.timeline li:after {\n clear: both; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n/** timeline panels **/\n.timeline li .timeline-panel {\n width: 46%;\n float: left;\n background: #fff;\n border: 1px solid #d4d4d4;\n padding: 20px;\n position: relative;\n border-radius: 8px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\n\n/** panel arrows **/\n.timeline li .timeline-panel:before {\n position: absolute;\n top: 26px;\n right: -15px;\n display: inline-block;\n border-top: 15px solid transparent;\n border-left: 15px solid #ccc;\n border-right: 0 solid #ccc;\n border-bottom: 15px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel:after {\n position: absolute;\n top: 27px;\n right: -14px;\n display: inline-block;\n border-top: 14px solid transparent;\n border-left: 14px solid #fff;\n border-right: 0 solid #fff;\n border-bottom: 14px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\n top: 0;\n right: 0;\n display: none;\n border: 0; }\n\n.timeline li.timeline-inverted .timeline-panel {\n float: right; }\n\n.timeline li.timeline-inverted .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n\n.timeline li.timeline-inverted .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; }\n\n/** timeline circle icons **/\n.timeline li .tl-circ {\n position: absolute;\n top: 23px;\n left: 50%;\n text-align: center;\n background: #6a8db3;\n color: #fff;\n width: 35px;\n height: 35px;\n line-height: 35px;\n margin-left: -16px;\n border: 3px solid #90acc7;\n border-top-right-radius: 50%;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n border-bottom-left-radius: 50%;\n z-index: 99999; }\n\n/** timeline content **/\n.tl-heading h4 {\n margin: 0;\n color: #c25b4e; }\n\n.tl-body p, .tl-body ul {\n margin-bottom: 0; }\n\n.tl-body > p + p {\n margin-top: 5px; }\n\n/** media queries **/\n@media (max-width: 991px) {\n .timeline li .timeline-panel {\n width: 44%; } }\n\n@media (max-width: 700px) {\n .page-header h1 {\n font-size: 1.8em; }\n ul.timeline:before {\n left: 40px; }\n .tldate {\n width: 140px; }\n ul.timeline li .timeline-panel {\n width: calc(100% - 90px);\n width: -webkit-calc(100% - 90px); }\n ul.timeline li .tl-circ {\n top: 22px;\n left: 22px;\n margin-left: 0; }\n ul.timeline > li > .tldate {\n margin: 0; }\n ul.timeline > li > .timeline-panel {\n float: right; }\n ul.timeline > li > .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n ul.timeline > li > .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; } }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TimelineComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var TimelineComponent = (function () { + function TimelineComponent(docsService) { + this.docsService = docsService; + } + TimelineComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBolEvents(this.id, this.requestor).then(function (bolEvents) { return _this.bolEvents = bolEvents; }); + } + }; + return TimelineComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "requestor", void 0); +TimelineComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'timeline', + template: __webpack_require__("../../../../../src/app/timeline/timeline.component.html"), + styles: [__webpack_require__("../../../../../src/app/timeline/timeline.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object]) +], TimelineComponent); + +var _a; +//# sourceMappingURL=timeline.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/tx.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tx; }); +var Tx = (function () { + function Tx() { + } + Tx.prototype.deserialize = function (input) { + this.txResponse = input.message; + return this; + }; + Tx.prototype.text = function (input) { + this.txResponse = input; + return this; + }; + return Tx; +}()); + +//# sourceMappingURL=tx.js.map + +/***/ }), + +/***/ "../../../../../src/assets/modal.js": +/***/ (function(module, exports) { + +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) + + +/***/ }), + +/***/ "../../../../../src/main.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__("../../../platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("../../../../../src/app/app.module.ts"); + + + +Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["enableProdMode"])(); +Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */]); +//# sourceMappingURL=main.js.map + +/***/ }), + +/***/ "../../../../moment/locale recursive ^\\.\\/.*$": +/***/ (function(module, exports, __webpack_require__) { + +var map = { + "./af": "../../../../moment/locale/af.js", + "./af.js": "../../../../moment/locale/af.js", + "./ar": "../../../../moment/locale/ar.js", + "./ar-dz": "../../../../moment/locale/ar-dz.js", + "./ar-dz.js": "../../../../moment/locale/ar-dz.js", + "./ar-kw": "../../../../moment/locale/ar-kw.js", + "./ar-kw.js": "../../../../moment/locale/ar-kw.js", + "./ar-ly": "../../../../moment/locale/ar-ly.js", + "./ar-ly.js": "../../../../moment/locale/ar-ly.js", + "./ar-ma": "../../../../moment/locale/ar-ma.js", + "./ar-ma.js": "../../../../moment/locale/ar-ma.js", + "./ar-sa": "../../../../moment/locale/ar-sa.js", + "./ar-sa.js": "../../../../moment/locale/ar-sa.js", + "./ar-tn": "../../../../moment/locale/ar-tn.js", + "./ar-tn.js": "../../../../moment/locale/ar-tn.js", + "./ar.js": "../../../../moment/locale/ar.js", + "./az": "../../../../moment/locale/az.js", + "./az.js": "../../../../moment/locale/az.js", + "./be": "../../../../moment/locale/be.js", + "./be.js": "../../../../moment/locale/be.js", + "./bg": "../../../../moment/locale/bg.js", + "./bg.js": "../../../../moment/locale/bg.js", + "./bn": "../../../../moment/locale/bn.js", + "./bn.js": "../../../../moment/locale/bn.js", + "./bo": "../../../../moment/locale/bo.js", + "./bo.js": "../../../../moment/locale/bo.js", + "./br": "../../../../moment/locale/br.js", + "./br.js": "../../../../moment/locale/br.js", + "./bs": "../../../../moment/locale/bs.js", + "./bs.js": "../../../../moment/locale/bs.js", + "./ca": "../../../../moment/locale/ca.js", + "./ca.js": "../../../../moment/locale/ca.js", + "./cs": "../../../../moment/locale/cs.js", + "./cs.js": "../../../../moment/locale/cs.js", + "./cv": "../../../../moment/locale/cv.js", + "./cv.js": "../../../../moment/locale/cv.js", + "./cy": "../../../../moment/locale/cy.js", + "./cy.js": "../../../../moment/locale/cy.js", + "./da": "../../../../moment/locale/da.js", + "./da.js": "../../../../moment/locale/da.js", + "./de": "../../../../moment/locale/de.js", + "./de-at": "../../../../moment/locale/de-at.js", + "./de-at.js": "../../../../moment/locale/de-at.js", + "./de-ch": "../../../../moment/locale/de-ch.js", + "./de-ch.js": "../../../../moment/locale/de-ch.js", + "./de.js": "../../../../moment/locale/de.js", + "./dv": "../../../../moment/locale/dv.js", + "./dv.js": "../../../../moment/locale/dv.js", + "./el": "../../../../moment/locale/el.js", + "./el.js": "../../../../moment/locale/el.js", + "./en-au": "../../../../moment/locale/en-au.js", + "./en-au.js": "../../../../moment/locale/en-au.js", + "./en-ca": "../../../../moment/locale/en-ca.js", + "./en-ca.js": "../../../../moment/locale/en-ca.js", + "./en-gb": "../../../../moment/locale/en-gb.js", + "./en-gb.js": "../../../../moment/locale/en-gb.js", + "./en-ie": "../../../../moment/locale/en-ie.js", + "./en-ie.js": "../../../../moment/locale/en-ie.js", + "./en-nz": "../../../../moment/locale/en-nz.js", + "./en-nz.js": "../../../../moment/locale/en-nz.js", + "./eo": "../../../../moment/locale/eo.js", + "./eo.js": "../../../../moment/locale/eo.js", + "./es": "../../../../moment/locale/es.js", + "./es-do": "../../../../moment/locale/es-do.js", + "./es-do.js": "../../../../moment/locale/es-do.js", + "./es.js": "../../../../moment/locale/es.js", + "./et": "../../../../moment/locale/et.js", + "./et.js": "../../../../moment/locale/et.js", + "./eu": "../../../../moment/locale/eu.js", + "./eu.js": "../../../../moment/locale/eu.js", + "./fa": "../../../../moment/locale/fa.js", + "./fa.js": "../../../../moment/locale/fa.js", + "./fi": "../../../../moment/locale/fi.js", + "./fi.js": "../../../../moment/locale/fi.js", + "./fo": "../../../../moment/locale/fo.js", + "./fo.js": "../../../../moment/locale/fo.js", + "./fr": "../../../../moment/locale/fr.js", + "./fr-ca": "../../../../moment/locale/fr-ca.js", + "./fr-ca.js": "../../../../moment/locale/fr-ca.js", + "./fr-ch": "../../../../moment/locale/fr-ch.js", + "./fr-ch.js": "../../../../moment/locale/fr-ch.js", + "./fr.js": "../../../../moment/locale/fr.js", + "./fy": "../../../../moment/locale/fy.js", + "./fy.js": "../../../../moment/locale/fy.js", + "./gd": "../../../../moment/locale/gd.js", + "./gd.js": "../../../../moment/locale/gd.js", + "./gl": "../../../../moment/locale/gl.js", + "./gl.js": "../../../../moment/locale/gl.js", + "./gom-latn": "../../../../moment/locale/gom-latn.js", + "./gom-latn.js": "../../../../moment/locale/gom-latn.js", + "./he": "../../../../moment/locale/he.js", + "./he.js": "../../../../moment/locale/he.js", + "./hi": "../../../../moment/locale/hi.js", + "./hi.js": "../../../../moment/locale/hi.js", + "./hr": "../../../../moment/locale/hr.js", + "./hr.js": "../../../../moment/locale/hr.js", + "./hu": "../../../../moment/locale/hu.js", + "./hu.js": "../../../../moment/locale/hu.js", + "./hy-am": "../../../../moment/locale/hy-am.js", + "./hy-am.js": "../../../../moment/locale/hy-am.js", + "./id": "../../../../moment/locale/id.js", + "./id.js": "../../../../moment/locale/id.js", + "./is": "../../../../moment/locale/is.js", + "./is.js": "../../../../moment/locale/is.js", + "./it": "../../../../moment/locale/it.js", + "./it.js": "../../../../moment/locale/it.js", + "./ja": "../../../../moment/locale/ja.js", + "./ja.js": "../../../../moment/locale/ja.js", + "./jv": "../../../../moment/locale/jv.js", + "./jv.js": "../../../../moment/locale/jv.js", + "./ka": "../../../../moment/locale/ka.js", + "./ka.js": "../../../../moment/locale/ka.js", + "./kk": "../../../../moment/locale/kk.js", + "./kk.js": "../../../../moment/locale/kk.js", + "./km": "../../../../moment/locale/km.js", + "./km.js": "../../../../moment/locale/km.js", + "./kn": "../../../../moment/locale/kn.js", + "./kn.js": "../../../../moment/locale/kn.js", + "./ko": "../../../../moment/locale/ko.js", + "./ko.js": "../../../../moment/locale/ko.js", + "./ky": "../../../../moment/locale/ky.js", + "./ky.js": "../../../../moment/locale/ky.js", + "./lb": "../../../../moment/locale/lb.js", + "./lb.js": "../../../../moment/locale/lb.js", + "./lo": "../../../../moment/locale/lo.js", + "./lo.js": "../../../../moment/locale/lo.js", + "./lt": "../../../../moment/locale/lt.js", + "./lt.js": "../../../../moment/locale/lt.js", + "./lv": "../../../../moment/locale/lv.js", + "./lv.js": "../../../../moment/locale/lv.js", + "./me": "../../../../moment/locale/me.js", + "./me.js": "../../../../moment/locale/me.js", + "./mi": "../../../../moment/locale/mi.js", + "./mi.js": "../../../../moment/locale/mi.js", + "./mk": "../../../../moment/locale/mk.js", + "./mk.js": "../../../../moment/locale/mk.js", + "./ml": "../../../../moment/locale/ml.js", + "./ml.js": "../../../../moment/locale/ml.js", + "./mr": "../../../../moment/locale/mr.js", + "./mr.js": "../../../../moment/locale/mr.js", + "./ms": "../../../../moment/locale/ms.js", + "./ms-my": "../../../../moment/locale/ms-my.js", + "./ms-my.js": "../../../../moment/locale/ms-my.js", + "./ms.js": "../../../../moment/locale/ms.js", + "./my": "../../../../moment/locale/my.js", + "./my.js": "../../../../moment/locale/my.js", + "./nb": "../../../../moment/locale/nb.js", + "./nb.js": "../../../../moment/locale/nb.js", + "./ne": "../../../../moment/locale/ne.js", + "./ne.js": "../../../../moment/locale/ne.js", + "./nl": "../../../../moment/locale/nl.js", + "./nl-be": "../../../../moment/locale/nl-be.js", + "./nl-be.js": "../../../../moment/locale/nl-be.js", + "./nl.js": "../../../../moment/locale/nl.js", + "./nn": "../../../../moment/locale/nn.js", + "./nn.js": "../../../../moment/locale/nn.js", + "./pa-in": "../../../../moment/locale/pa-in.js", + "./pa-in.js": "../../../../moment/locale/pa-in.js", + "./pl": "../../../../moment/locale/pl.js", + "./pl.js": "../../../../moment/locale/pl.js", + "./pt": "../../../../moment/locale/pt.js", + "./pt-br": "../../../../moment/locale/pt-br.js", + "./pt-br.js": "../../../../moment/locale/pt-br.js", + "./pt.js": "../../../../moment/locale/pt.js", + "./ro": "../../../../moment/locale/ro.js", + "./ro.js": "../../../../moment/locale/ro.js", + "./ru": "../../../../moment/locale/ru.js", + "./ru.js": "../../../../moment/locale/ru.js", + "./sd": "../../../../moment/locale/sd.js", + "./sd.js": "../../../../moment/locale/sd.js", + "./se": "../../../../moment/locale/se.js", + "./se.js": "../../../../moment/locale/se.js", + "./si": "../../../../moment/locale/si.js", + "./si.js": "../../../../moment/locale/si.js", + "./sk": "../../../../moment/locale/sk.js", + "./sk.js": "../../../../moment/locale/sk.js", + "./sl": "../../../../moment/locale/sl.js", + "./sl.js": "../../../../moment/locale/sl.js", + "./sq": "../../../../moment/locale/sq.js", + "./sq.js": "../../../../moment/locale/sq.js", + "./sr": "../../../../moment/locale/sr.js", + "./sr-cyrl": "../../../../moment/locale/sr-cyrl.js", + "./sr-cyrl.js": "../../../../moment/locale/sr-cyrl.js", + "./sr.js": "../../../../moment/locale/sr.js", + "./ss": "../../../../moment/locale/ss.js", + "./ss.js": "../../../../moment/locale/ss.js", + "./sv": "../../../../moment/locale/sv.js", + "./sv.js": "../../../../moment/locale/sv.js", + "./sw": "../../../../moment/locale/sw.js", + "./sw.js": "../../../../moment/locale/sw.js", + "./ta": "../../../../moment/locale/ta.js", + "./ta.js": "../../../../moment/locale/ta.js", + "./te": "../../../../moment/locale/te.js", + "./te.js": "../../../../moment/locale/te.js", + "./tet": "../../../../moment/locale/tet.js", + "./tet.js": "../../../../moment/locale/tet.js", + "./th": "../../../../moment/locale/th.js", + "./th.js": "../../../../moment/locale/th.js", + "./tl-ph": "../../../../moment/locale/tl-ph.js", + "./tl-ph.js": "../../../../moment/locale/tl-ph.js", + "./tlh": "../../../../moment/locale/tlh.js", + "./tlh.js": "../../../../moment/locale/tlh.js", + "./tr": "../../../../moment/locale/tr.js", + "./tr.js": "../../../../moment/locale/tr.js", + "./tzl": "../../../../moment/locale/tzl.js", + "./tzl.js": "../../../../moment/locale/tzl.js", + "./tzm": "../../../../moment/locale/tzm.js", + "./tzm-latn": "../../../../moment/locale/tzm-latn.js", + "./tzm-latn.js": "../../../../moment/locale/tzm-latn.js", + "./tzm.js": "../../../../moment/locale/tzm.js", + "./uk": "../../../../moment/locale/uk.js", + "./uk.js": "../../../../moment/locale/uk.js", + "./ur": "../../../../moment/locale/ur.js", + "./ur.js": "../../../../moment/locale/ur.js", + "./uz": "../../../../moment/locale/uz.js", + "./uz-latn": "../../../../moment/locale/uz-latn.js", + "./uz-latn.js": "../../../../moment/locale/uz-latn.js", + "./uz.js": "../../../../moment/locale/uz.js", + "./vi": "../../../../moment/locale/vi.js", + "./vi.js": "../../../../moment/locale/vi.js", + "./x-pseudo": "../../../../moment/locale/x-pseudo.js", + "./x-pseudo.js": "../../../../moment/locale/x-pseudo.js", + "./yo": "../../../../moment/locale/yo.js", + "./yo.js": "../../../../moment/locale/yo.js", + "./zh-cn": "../../../../moment/locale/zh-cn.js", + "./zh-cn.js": "../../../../moment/locale/zh-cn.js", + "./zh-hk": "../../../../moment/locale/zh-hk.js", + "./zh-hk.js": "../../../../moment/locale/zh-hk.js", + "./zh-tw": "../../../../moment/locale/zh-tw.js", + "./zh-tw.js": "../../../../moment/locale/zh-tw.js" +}; +function webpackContext(req) { + return __webpack_require__(webpackContextResolve(req)); +}; +function webpackContextResolve(req) { + var id = map[req]; + if(!(id + 1)) // check for number or string + throw new Error("Cannot find module '" + req + "'."); + return id; +}; +webpackContext.keys = function webpackContextKeys() { + return Object.keys(map); +}; +webpackContext.resolve = webpackContextResolve; +module.exports = webpackContext; +webpackContext.id = "../../../../moment/locale recursive ^\\.\\/.*$"; + +/***/ }), + +/***/ 0: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/main.ts"); + + +/***/ }) + +},[0]); +//# sourceMappingURL=main.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/backup/main.bundle.js.map b/kotlin-source/src/main/resources/loc/backup/main.bundle.js.map new file mode 100644 index 0000000..f7829e3 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/backup/main.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["C:/Dev/CorDapps/locWeb/src/$_gendir lazy","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.scss","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.css","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.html","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/app-routing.module.ts","C:/Dev/CorDapps/locWeb/src/app/app.component.html","C:/Dev/CorDapps/locWeb/src/app/app.component.scss","C:/Dev/CorDapps/locWeb/src/app/app.component.ts","C:/Dev/CorDapps/locWeb/src/app/app.module.ts","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.css","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.html","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.ts","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.html","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.css","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.html","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.ts","C:/Dev/CorDapps/locWeb/src/app/bol-events.ts","C:/Dev/CorDapps/locWeb/src/app/bol.ts","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.css","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.html","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.ts","C:/Dev/CorDapps/locWeb/src/app/cash.ts","C:/Dev/CorDapps/locWeb/src/app/claim-fund.ts","C:/Dev/CorDapps/locWeb/src/app/comma-seperated-number.pipe.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.css","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.html","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.ts","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.css","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.html","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.ts","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.css","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.html","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.ts","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.css","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.html","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.ts","C:/Dev/CorDapps/locWeb/src/app/header/header.component.css","C:/Dev/CorDapps/locWeb/src/app/header/header.component.html","C:/Dev/CorDapps/locWeb/src/app/header/header.component.ts","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.css","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.html","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.ts","C:/Dev/CorDapps/locWeb/src/app/in-memory-data.service.ts","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.css","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.html","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.ts","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.css","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.html","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/invoice.ts","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.html","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/loc-state-summary.ts","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.html","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/loc-summary.ts","C:/Dev/CorDapps/locWeb/src/app/loc.service.ts","C:/Dev/CorDapps/locWeb/src/app/loc.ts","C:/Dev/CorDapps/locWeb/src/app/login/login.component.css","C:/Dev/CorDapps/locWeb/src/app/login/login.component.html","C:/Dev/CorDapps/locWeb/src/app/login/login.component.ts","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.css","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.html","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/apply-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/approve-loc-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-bol-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-invoice-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-pl-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/docs-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.css","C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.scss","C:/Dev/CorDapps/locWeb/src/app/modals/response-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal-nested.html","C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-timeline-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-invoice-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-app-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-state-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-pl-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.html","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.css","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.html","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.ts","C:/Dev/CorDapps/locWeb/src/app/packinglist.ts","C:/Dev/CorDapps/locWeb/src/app/party.ts","C:/Dev/CorDapps/locWeb/src/app/services/advising-bank.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/common.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/mock-currency.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/mock-weight-unit.ts","C:/Dev/CorDapps/locWeb/src/app/services/credit-types/credit-type.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/credit-types/mock-credit-type.ts","C:/Dev/CorDapps/locWeb/src/app/services/docs.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/identity.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/issuing-bank.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/refresh.service.ts","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.css","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.html","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.ts","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.html","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.less","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.ts","C:/Dev/CorDapps/locWeb/src/app/stats.ts","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.html","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.scss","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.ts","C:/Dev/CorDapps/locWeb/src/app/tx.ts","C:/Dev/CorDapps/locWeb/src/assets/modal.js","C:/Dev/CorDapps/locWeb/src/main.ts","C:/Dev/CorDapps/locWeb/node_modules/moment/locale ^\\.\\/.*$"],"names":[],"mappings":"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,eAAe,CAAC,kEAAS,CAAC,CAAC;;;;;;;;ACLpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qE","file":"main.bundle.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\treturn new Promise(function(resolve, reject) { reject(new Error(\"Cannot find module '\" + req + \"'.\")); });\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"../../../../../src/$$_gendir lazy recursive\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/$$_gendir lazy\n// module id = ../../../../../src/$$_gendir lazy recursive\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.css\n// module id = ../../../../../src/app/active-loc/active-loc.component.css\n// module chunks = main","module.exports = \"
\\r\\n
Active
\\r\\n
\\r\\n
\\r\\n
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
ApplicantBeneficiaryAmountDescriptionAdvisory PaidPayment from Buyer
\\r\\n {{loc.applicant}}\\r\\n \\r\\n {{loc.beneficiary}}\\r\\n \\r\\n {{loc.amount + \\\" \\\" + loc.currency}}\\r\\n \\r\\n {{loc.description}}\\r\\n \\r\\n {{loc.advisoryPaid}}\\r\\n \\r\\n {{loc.issuerPaid}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.html\n// module id = ../../../../../src/app/active-loc/active-loc.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\r\nimport { LocStateSummary } from './../loc-state-summary';\r\nimport { LocService } from './../loc.service';\r\nimport { DocsService } from './../services/docs.service'\r\nimport { CurrencyPipe } from '@angular/common';\r\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\r\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\r\nimport { ResponseModalComponent } from './../modals/response-modal.component';\r\nimport { RefreshService } from './../services/refresh.service';\r\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\r\n\r\n@Component({\r\n selector: 'active-loc',\r\n templateUrl: './active-loc.component.html',\r\n styleUrls: ['./active-loc.component.css']\r\n})\r\nexport class ActiveLocComponent implements OnInit {\r\n bsModalRef: BsModalRef;\r\n\r\n locs: LocStateSummary[] = []\r\n\r\n constructor(private modalService: BsModalService,\r\n private locService: LocService,\r\n private refreshService: RefreshService,\r\n private route: ActivatedRoute) {\r\n refreshService.missionConfirmed$.subscribe(\r\n result => {\r\n this.update();\r\n });\r\n }\r\n\r\n public payAdvisory(id: string) {\r\n this.locService.payAdviser(id).then(response => this.callResponse(response));\r\n }\r\n\r\n public openBol(id: string) {\r\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\r\n this.bsModalRef.content.id = id;\r\n this.bsModalRef.content.title = 'Bill of Lading';\r\n this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString();\r\n }\r\n\r\n public openPackingList(id: string) {\r\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\r\n this.bsModalRef.content.id = id;\r\n this.bsModalRef.content.title = 'Packing List';\r\n this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString();\r\n }\r\n\r\n public openLocModal(ref: string) {\r\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\r\n this.bsModalRef.content.title = 'Letter of Credit';\r\n this.bsModalRef.content.locId = ref;\r\n }\r\n\r\n callResponse(result: String): void {\r\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\r\n this.bsModalRef.content.title = 'Response';\r\n this.bsModalRef.content.body = result;\r\n }\r\n\r\n update() {\r\n this.locService.getActiveLocs().then(locs => this.locs = locs);\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n this.update();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.ts","module.exports = \"
\\n
Purchase Orders Submitted
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
DateIdCounterpartyDescriptionQuantityUnit Price
\\n {{invoice.invoiceDate | date}}\\n \\n {{invoice.invoiceId}}\\n \\n {{invoice.buyerName}}\\n \\n {{invoice.goodsDescription}}\\n \\n {{invoice.goodsQuantity}}\\n \\n {{invoice.goodsUnitPrice}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.html\n// module id = ../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.scss\n// module id = ../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Invoice } from './../invoice';\nimport { DocsService } from './../services/docs.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { RefreshService } from './../services/refresh.service';\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\n\n@Component({\n selector: 'all-invoice-seller',\n templateUrl: './all-invoice-seller.component.html',\n styleUrls: ['./all-invoice-seller.component.scss']\n})\nexport class AllInvoiceSellerComponent implements OnInit {\n bsModalRef: BsModalRef;\n invoices: Invoice[] = []\n\n constructor(private docService: DocsService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openInvoiceModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewInvoiceModalComponent);\n this.bsModalRef.content.title = 'Invoice';\n this.bsModalRef.content.invoiceId = ref;\n }\n\n update() {\n this.docService.getInvoices().then(invoices => this.invoices = invoices)\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\r\\n font:25px Oswald;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.css\n// module id = ../../../../../src/app/all-invoice/all-invoice.component.css\n// module chunks = main","module.exports = \"
\\n
Purchase Orders
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
DateIdCounterpartyDescriptionQuantityUnit Price
\\n {{invoice.invoiceDate | date}}\\n \\n {{invoice.invoiceId}}\\n \\n {{invoice.sellerName}}\\n \\n {{invoice.goodsDescription}}\\n \\n {{invoice.goodsQuantity}}\\n \\n {{invoice.goodsUnitPrice}}\\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.html\n// module id = ../../../../../src/app/all-invoice/all-invoice.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Invoice } from './../invoice';\nimport { DocsService } from './../services/docs.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\nimport { CommaSeperatedNumberPipe } from './../comma-seperated-number.pipe';\n\n@Component({\n selector: 'all-invoice',\n templateUrl: './all-invoice.component.html',\n styleUrls: ['./all-invoice.component.css'],\n})\nexport class AllInvoiceComponent implements OnInit {\n bsModalRef: BsModalRef;\n invoices: Invoice[] = []\n\n constructor(private docService: DocsService,\n private modalService: BsModalService) { }\n\n public openModalWithComponent(ref: string) {\n this.bsModalRef = this.modalService.show(ApplyModalComponent);\n this.bsModalRef.content.title = 'Apply';\n this.bsModalRef.content.id = ref;\n }\n\n public openInvoiceModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewInvoiceModalComponent);\n this.bsModalRef.content.title = 'Invoice';\n this.bsModalRef.content.invoiceId = ref;\n }\n\n ngOnInit() {\n this.docService.getInvoices().then(invoices => this.invoices = invoices)\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.css\n// module id = ../../../../../src/app/all-loc-advising/all-loc-advising.component.css\n// module chunks = main","module.exports = \"
\\n
Letters of Credit
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
IdApplicantBeneficiaryAmountDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.html\n// module id = ../../../../../src/app/all-loc-advising/all-loc-advising.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocStateSummary } from './../loc-state-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { DocsModalComponent } from './../modals/docs-modal.component';\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { ResponseModalComponent } from './../modals/response-modal.component';\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\n\n@Component({\n selector: 'all-loc-advising',\n templateUrl: './all-loc-advising.component.html',\n styleUrls: ['./all-loc-advising.component.css']\n})\nexport class AllLocAdvisingComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocStateSummary[] = []\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService,\n private locService: LocService) { }\n\n public openModalWithComponent() {\n this.bsModalRef = this.modalService.show(DocsModalComponent);\n this.bsModalRef.content.title = 'Documents';\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Letter of Credit';\n this.bsModalRef.content.locId = ref;\n }\n\n\n public openBol(id: string) {\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Bill of Lading';\n }\n\n public openPackingList(id: string) {\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Packing List';\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n public payBeneficiary(id: string) {\n this.locService.paySeller(id).then(response => this.callResponse(response));\n }\n\n public claimFunds(id: string) {\n this.locService.claimFunds(id);\n }\n\n ngOnInit() {\n this.locService.getActiveLocs().then(locs => this.locs = locs);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.css\n// module id = ../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css\n// module chunks = main","module.exports = \"
\\n
Live Orders
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
IdApplicantBeneficiaryAmountDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.html\n// module id = ../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { ResponseModalComponent } from './../modals/response-modal.component';\nimport { RefreshService } from './../services/refresh.service';\n\n@Component({\n selector: 'all-loc-buyer',\n templateUrl: './all-loc-buyer.component.html',\n styleUrls: ['./all-loc-buyer.component.css']\n})\nexport class AllLocBuyerComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocSummary[] = []\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService,\n private locService: LocService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openBol(id: string) {\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Bill of Lading';\n }\n\n public openPackingList(id: string) {\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Packing List';\n }\n\n public payIssuer(id: string) {\n this.locService.payIssuer(id).then(response => this.callResponse(response));\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n update() {\n this.locService.getAllLocs().then(locs => this.locs = locs);\n }\n\n ngOnInit(): void {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.css\n// module id = ../../../../../src/app/all-loc-seller/all-loc-seller.component.css\n// module chunks = main","module.exports = \"
\\n
\\n Orders\\n \\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
Order RefBuyerAdvising BankAmountQuantityDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.advisory}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.quantity}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.html\n// module id = ../../../../../src/app/all-loc-seller/all-loc-seller.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocStateSummary } from './../loc-state-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ShipModalComponent } from './../modals/ship-modal.component';\nimport { CreateBolModalComponent } from './../modals/create-bol-modal.component'\nimport { CreatePlModalComponent } from './../modals/create-pl-modal.component'\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component'\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component';\n\n@Component({\n selector: 'all-loc-seller',\n templateUrl: './all-loc-seller.component.html',\n styleUrls: ['./all-loc-seller.component.css']\n})\nexport class AllLocSellerComponent implements OnInit {\n @Input() getAllUrl: string;\n bsModalRef: BsModalRef;\n locs: LocStateSummary[] = []\n\n constructor(private locService: LocService,\n private modalService: BsModalService) { }\n\n /*shipGoods(loc: LocSummary): void {\n if (confirm('Confirm you want to ship ' + loc.id)) {\n this.locService.shipGoods(loc);\n }\n }*/\n\n createInvoice() {\n this.bsModalRef = this.modalService.show(CreateInvoiceModalComponent);\n this.bsModalRef.content.title = 'Create';\n }\n\n shipGoods(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(ShipModalComponent);\n this.bsModalRef.content.title = 'Upload trade documents';\n this.bsModalRef.content.locSummary = loc;\n }\n\n addBol(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(CreateBolModalComponent);\n this.bsModalRef.content.title = 'Bill of Lading';\n this.bsModalRef.content.locSummary = loc;\n }\n\n addPl(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(CreatePlModalComponent);\n this.bsModalRef.content.title = 'Packing List';\n this.bsModalRef.content.locSummary = loc;\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Letter of Credit';\n this.bsModalRef.content.locId = ref;\n }\n\n rejectOrder(loc: LocStateSummary) {\n }\n\n ngOnInit(): void {\n this.locService.getActiveLocs().then(locs => this.locs = locs);\n // this.locService.getDummySummary().then(locs => this.locs = locs);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.css\n// module id = ../../../../../src/app/all-loc/all-loc.component.css\n// module chunks = main","module.exports = \"
\\n
Letters of Credit
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.html\n// module id = ../../../../../src/app/all-loc/all-loc.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\n\n@Component({\n selector: 'all-loc',\n templateUrl: './all-loc.component.html',\n styleUrls: ['./all-loc.component.css']\n})\nexport class AllLocComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocSummary[] = []\n\n constructor(private locService: LocService) { }\n\n ngOnInit(): void {\n this.locService.getAllLocApps(this.getAllUrl).then(locs => this.locs = locs);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.ts","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nimport { DashboardIssuerComponent } from './dashboard-issuer/dashboard-issuer.component';\r\nimport { DashboardAdvisingComponent } from './dashboard-advising/dashboard-advising.component';\r\nimport { DashboardBuyerComponent } from './dashboard-buyer/dashboard-buyer.component';\r\nimport { DashboardSellerComponent } from './dashboard-seller/dashboard-seller.component';\r\nimport { DashboardOverallComponent } from './dashboard-overall/dashboard-overall.component';\r\nimport { ActiveLocComponent } from './active-loc/active-loc.component';\r\nimport { ApplyForLocComponent } from './apply-for-loc/apply-for-loc.component';\r\nimport { ApproveLocComponent } from './approve-loc/approve-loc.component';\r\nimport { BillOfLadingComponent } from './bill-of-lading/bill-of-lading.component';\r\nimport { PackingListComponent } from './packing-list/packing-list.component';\r\nimport { InvoiceCreateComponent } from './invoice-create/invoice.component';\r\nimport { ShipComponent } from './ship/ship.component';\r\nimport { AllLocSellerComponent } from './all-loc-seller/all-loc-seller.component';\r\nimport { SpinnerComponent } from './spinner/spinner.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { TimelineComponent } from'./timeline/timeline.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: '/login', pathMatch: 'full' },\r\n { path: 'dashboard', component: DashboardOverallComponent },\r\n { path: 'approve/:id', component: ApproveLocComponent },\r\n { path: 'activeloc', component: ActiveLocComponent },\r\n { path: 'buyer', component: DashboardBuyerComponent },\r\n { path: 'seller', component: DashboardSellerComponent },\r\n { path: 'issuing', component: DashboardIssuerComponent},\r\n { path: 'advising', component: DashboardAdvisingComponent},\r\n { path: 'applyforloc', component: ApplyForLocComponent },\r\n { path: 'billoflading', component: BillOfLadingComponent },\r\n { path: 'packinglist', component: PackingListComponent },\r\n { path: 'invoice', component: InvoiceCreateComponent },\r\n { path: 'invoice/:id', component: InvoiceCreateComponent },\r\n { path: 'ship/:id', component: ShipComponent },\r\n { path: 'locsummary/:first', component: AllLocSellerComponent },\r\n { path: 'login', component: LoginComponent },\r\n { path: '**', component: LoginComponent },\r\n { path: 'test', component: TimelineComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [ RouterModule.forRoot(routes) ],\r\n exports: [ RouterModule ]\r\n})\r\nexport class AppRoutingModule {}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app-routing.module.ts","module.exports = \"\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/app.component.html\n// module id = ../../../../../src/app/app.component.html\n// module chunks = main","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/app.component.scss\n// module id = ../../../../../src/app/app.component.scss\n// module chunks = main","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'my-app',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n title = 'Trade Finance'\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app.component.ts","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { FormsModule } from '@angular/forms';\nimport { HttpModule } from '@angular/http';\n\nimport { AppRoutingModule } from './app-routing.module'\n\n// Imports for loading & configuring the in-memory web api\nimport { InMemoryWebApiModule } from 'angular-in-memory-web-api';\nimport { InMemoryDataService } from './in-memory-data.service';\n\nimport { RefreshService } from './services/refresh.service';\n\nimport { AppComponent } from './app.component';\nimport { ActiveLocComponent } from './active-loc/active-loc.component';\nimport { ApplyForLocComponent } from './apply-for-loc/apply-for-loc.component';\nimport { LocService } from './loc.service';\nimport { DocsService } from './services/docs.service'\nimport { CreditTypeService } from './services/credit-types/credit-type.service';\nimport { CommonService } from './services/common/common.service';\nimport { IssuingBankService } from './services/issuing-bank.service';\nimport { AdvisingBankService } from './services/advising-bank.service';\nimport { RouterModule } from '@angular/router';\nimport { MainMenuComponent } from './main-menu/main-menu.component';\nimport { HeaderComponent } from './header/header.component';\nimport { AwaitingApprovalComponent } from './awaiting-approval/awaiting-approval.component';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { DatePickerComponent } from './helpers/date-picker/date-picker.component';\nimport { ModalModule } from 'ngx-bootstrap';\nimport { ApplyModalComponent } from './modals/apply-modal.component';\nimport { DocsModalComponent } from './modals/docs-modal.component';\nimport { ShipModalComponent } from './modals/ship-modal.component';\nimport { CreatePlModalComponent } from './modals/create-pl-modal.component';\nimport { CreateBolModalComponent } from './modals/create-bol-modal.component';\nimport { CreateInvoiceModalComponent } from './modals/create-invoice-modal.component';\nimport { ViewInvoiceModalComponent } from './modals/view-invoice-modal.component';\nimport { ApproveLocModalComponent } from './modals/approve-loc-modal.component';\nimport { ViewLocStateModalComponent } from './modals/view-loc-state-modal.component';\nimport { ViewLocAppModalComponent } from './modals/view-loc-app-modal.component';\nimport { ViewBolModalComponent } from './modals/view-bol-modal.component';\nimport { ViewPlModalComponent } from './modals/view-pl-modal.component';\nimport { ResponseModalComponent } from './modals/response-modal.component';\nimport { FinancesComponent } from './finances/finances.component';\nimport { CashBalanceComponent } from './cash-balance/cash-balance.component';\nimport { ChartsModule } from 'ng2-charts';\nimport { AllLocComponent } from './all-loc/all-loc.component';\nimport { AllLocSellerComponent } from './all-loc-seller/all-loc-seller.component';\nimport { ApproveLocComponent } from './approve-loc/approve-loc.component';\nimport { BillOfLadingComponent } from './bill-of-lading/bill-of-lading.component';\nimport { PackingListComponent } from './packing-list/packing-list.component';\nimport { InvoiceCreateComponent } from './invoice-create/invoice.component';\nimport { InvoiceViewComponent } from './invoice-view/invoice-view.component'\nimport { DashboardIssuerComponent } from './dashboard-issuer/dashboard-issuer.component';\nimport { DashboardAdvisingComponent } from './dashboard-advising/dashboard-advising.component';\nimport { DashboardBuyerComponent } from './dashboard-buyer/dashboard-buyer.component';\nimport { DashboardSellerComponent } from './dashboard-seller/dashboard-seller.component';\nimport { DashboardOverallComponent } from './dashboard-overall/dashboard-overall.component';\nimport { ShipComponent } from './ship/ship.component';\nimport { GoodsShippedComponent } from './goods-shipped/goods-shipped.component';\nimport { AllLocBuyerComponent } from './all-loc-buyer/all-loc-buyer.component';\nimport { DocsComponent } from './docs/docs.component';\nimport { AllLocAdvisingComponent } from './all-loc-advising/all-loc-advising.component';\nimport { DocumentUploadComponent } from './document-upload/document-upload.component';\nimport { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload';\nimport { AllInvoiceComponent } from './all-invoice/all-invoice.component';\nimport { AllInvoiceSellerComponent } from './all-invoice-seller/all-invoice-seller.component';\nimport { LocStateViewComponent } from './loc-state-view/loc-state-view.component';\nimport { LocAppViewComponent } from './loc-app-view/loc-app-view.component';\nimport { AwaitingApprovalIssuerComponent } from './awaiting-approval-issuer/awaiting-approval-issuer.component';\nimport { SpinnerComponent } from './spinner/spinner.component';\nimport { BillOfLadingViewComponent } from './bill-of-lading-view/bill-of-lading-view.component';\nimport { PackingListViewComponent } from './packing-list-view/packing-list-view.component';\nimport { LoginComponent } from './login/login.component';\nimport { CommaSeperatedNumberPipe } from './comma-seperated-number.pipe';\nimport { IdentityService } from './services/identity.service'\nimport { Ng2OdometerModule } from 'ng2-odometer';\nimport { TimelineComponent } from './timeline/timeline.component';\nimport { ViewBolTimelineModalComponent } from'./modals/view-bol-timeline-modal.component'\n\n@NgModule({\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n FormsModule,\n HttpModule,\n InMemoryWebApiModule.forRoot(InMemoryDataService, {\n passThruUnknownUrl: true\n }),\n AppRoutingModule,\n DatepickerModule.forRoot(),\n ModalModule.forRoot(),\n ChartsModule,\n Ng2OdometerModule.forRoot()\n ],\n declarations: [\n AppComponent,\n ActiveLocComponent,\n ApplyForLocComponent,\n MainMenuComponent,\n HeaderComponent,\n AwaitingApprovalComponent,\n FinancesComponent,\n DatePickerComponent,\n ApplyModalComponent,\n DocsModalComponent,\n ShipModalComponent,\n CreatePlModalComponent,\n CreateBolModalComponent,\n CreateInvoiceModalComponent,\n ViewInvoiceModalComponent,\n ApproveLocModalComponent,\n ViewLocStateModalComponent,\n ViewLocAppModalComponent,\n ViewPlModalComponent,\n ViewBolModalComponent,\n ResponseModalComponent,\n CashBalanceComponent,\n AllLocComponent,\n AllLocSellerComponent,\n ApproveLocComponent,\n BillOfLadingComponent,\n PackingListComponent,\n InvoiceCreateComponent,\n InvoiceViewComponent,\n DashboardIssuerComponent,\n DashboardAdvisingComponent,\n DashboardBuyerComponent,\n DashboardSellerComponent,\n DashboardOverallComponent,\n ShipComponent,\n GoodsShippedComponent,\n AllLocBuyerComponent,\n DocsComponent,\n AllLocAdvisingComponent,\n DocumentUploadComponent,\n FileSelectDirective,\n FileDropDirective,\n AllInvoiceComponent,\n AllInvoiceSellerComponent,\n LocStateViewComponent,\n LocAppViewComponent,\n AwaitingApprovalIssuerComponent,\n SpinnerComponent,\n BillOfLadingViewComponent,\n PackingListViewComponent,\n LoginComponent,\n CommaSeperatedNumberPipe,\n TimelineComponent,\n ViewBolTimelineModalComponent\n],\n providers: [\n LocService,\n DocsService,\n CreditTypeService,\n CommonService,\n IssuingBankService,\n AdvisingBankService,\n RefreshService,\n IdentityService\n ],\n entryComponents: [ApplyModalComponent, DocsModalComponent, ShipModalComponent, CreatePlModalComponent,\n CreateBolModalComponent, CreateInvoiceModalComponent, ResponseModalComponent, ViewInvoiceModalComponent,\n ApproveLocModalComponent, ViewLocStateModalComponent, ViewLocAppModalComponent,\n ViewPlModalComponent, ViewBolModalComponent, ViewBolTimelineModalComponent,\n MainMenuComponent, AllLocBuyerComponent, AllLocSellerComponent, DashboardSellerComponent,\n AllInvoiceComponent, AwaitingApprovalComponent, BillOfLadingComponent, PackingListComponent],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app.module.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ng-valid[required], .ng-valid.required {\\r\\n border-left: 5px solid #42A948; /* green */\\r\\n}\\r\\n\\r\\n.ng-invalid:not(form) {\\r\\n border-left: 5px solid #a94442; /* red */\\r\\n}\\r\\n\\r\\n\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.css\n// module id = ../../../../../src/app/apply-for-loc/apply-for-loc.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n\\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.html\n// module id = ../../../../../src/app/apply-for-loc/apply-for-loc.component.html\n// module chunks = main","import { Component, OnInit, Input} from '@angular/core';\nimport { Loc } from './../loc';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { CreditTypeService } from './../services/credit-types/credit-type.service';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ApplyModalComponent } from './../modals/apply-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport './../../assets/modal.js'\n\n@Component({\n selector: 'apply-for-loc',\n templateUrl: './apply-for-loc.component.html',\n styleUrls: ['./apply-for-loc.component.css'],\n providers: [CreditTypeService, CommonService, LocService]\n})\nexport class ApplyForLocComponent implements OnInit {\n\n creditTypes: CreditType[];\n currencies: Currency[];\n weightunits: WeightUnit[];\n advisingBanks: Party[];\n applicant: string;\n today: number = Date.now();\n bsModalRef: BsModalRef;\n\n loc = new Loc();\n @Input() orderRef: string;\n submitted = false;\n\n constructor(\n private creditTypesService: CreditTypeService,\n private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ApplyModalComponent,\n private modalService: BsModalService) {\n }\n\n getCreditTypes(): void {\n this.creditTypesService.getCreditTypes().then(creditTypes => this.creditTypes = creditTypes);\n }\n\n getCurrencies(): void {\n this.commonService.getCurrencies().then(currencies => this.currencies = currencies);\n }\n\n getWeightUnits(): void {\n this.commonService.getWeightUnits().then(weightunits => this.weightunits = weightunits);\n }\n\n getAdvisingBanks(): void {\n this.locService.getPeers().then(advisingBanks => this.advisingBanks = advisingBanks)\n }\n\n getMe(): void {\n this.locService.getMe('').then(me => this.applicant = me.name)\n }\n\n createLoc(): void {\n this.locService.createLoc(this.loc).then(result => this.callResponse(result));\n this.close()\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n autoComplete(): void {\n let d = new Date()\n this.loc.applicationDate = d;\n this.loc.applicationId = this.orderRef[0];\n this.loc.typeCredit = 'SIGHT';\n this.loc.amount = 30000;\n this.loc.issuer = 'Issuer Bank';\n this.loc.currency = 'USD';\n let year = d.getFullYear() + 1;\n let month = d.getMonth();\n let day = d.getDay();\n this.loc.expiryDate = new Date(year, month, day)\n this.loc.portLoadingAddress = '1 Silicon Way';\n this.loc.portLoadingCity = 'San Francisco';\n this.loc.portLoadingCountry = 'US'\n this.loc.portDischargeAddress = '3 Sea Way';\n this.loc.portDischargeCity = 'Dover';\n this.loc.portDischargeCountry = 'UK';\n this.loc.goodsDescription = 'OLED 6\" Screens';\n this.loc.goodsQuantity = 10000;\n this.loc.goodsWeight = 1000;\n this.loc.goodsWeightUnit = 'KG';\n this.loc.goodsUnitPrice = 400;\n this.loc.goodsPurchaseOrderRef = this.orderRef[0];\n this.loc.placePresentationCountry = 'UK';\n this.loc.placePresentationCity = 'Dover';\n this.loc.placePresentationState = 'Dover';\n this.loc.lastShipmentDate = this.loc.expiryDate;\n this.loc.periodPresentation = 1;\n this.loc.beneficiary = 'Seller'\n this.loc.applicant = this.applicant;\n this.loc.advisingBank = 'Advisory Bank'\n }\n\n ngOnInit() {\n this.getCreditTypes();\n this.getCurrencies();\n this.getWeightUnits();\n this.getAdvisingBanks();\n this.getMe();\n this.loc.applicant = this.applicant;\n this.loc.applicationId = this.orderRef;\n }\n\n onSubmit() {\n this.submitted = true;\n this.loc.currency = 'USD'\n this.createLoc();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.css\n// module id = ../../../../../src/app/approve-loc/approve-loc.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.html\n// module id = ../../../../../src/app/approve-loc/approve-loc.component.html\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Loc } from './../loc';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\n\n@Component({\n selector: 'approve-loc',\n templateUrl: './approve-loc.component.html',\n styleUrls: ['./approve-loc.component.css'],\n providers: [LocService]\n})\nexport class ApproveLocComponent implements OnChanges {\n @Input() ref: string;\n loc: Loc;\n submitted = false;\n txResponse: string;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(\n private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ApproveLocModalComponent,\n private modalService: BsModalService) { }\n\n approveLoc(): void {\n this.locService.approveLoc(this.loc.txRef).then(result => this.callResponse(result));\n this.close()\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent, Object.assign({}, {class: 'gray'}));\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n onSubmit() {\n this.submitted = true;\n this.approveLoc();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLocApp(this.ref).then(loc => this.loc = loc);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.ts","module.exports = \"
\\n
Applications awaiting approval
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html\n// module id = ../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\n min-height: 250px; }\\n\\nbody {\\n font: 25px Oswald; }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss\n// module id = ../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss\n// module chunks = main","import { Component, OnInit, ElementRef } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { RefreshService } from './../services/refresh.service';\n\n@Component({\n selector: 'awaiting-approval-issuer',\n templateUrl: './awaiting-approval-issuer.component.html',\n styleUrls: ['./awaiting-approval-issuer.component.scss']\n})\nexport class AwaitingApprovalIssuerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n locs: LocSummary[] = [];\n\n constructor(private locService: LocService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ApproveLocModalComponent, Object.assign({}, { class: 'gray modal-lg' }));\n this.bsModalRef.content.title = 'Letter of Credit Approval';\n this.bsModalRef.content.locId = ref;\n this.bsModalRef.content.readOnly = true;\n }\n\n update() {\n this.locService.getAwaitingApprovalLocsIssuer().then(locs => this.locs = locs);\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n font:25px Oswald;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.css\n// module id = ../../../../../src/app/awaiting-approval/awaiting-approval.component.css\n// module chunks = main","module.exports = \"
\\n
Applications awaiting approval
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.html\n// module id = ../../../../../src/app/awaiting-approval/awaiting-approval.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { ViewLocAppModalComponent } from './../modals/view-loc-app-modal.component';\nimport { RefreshService } from './../services/refresh.service';\ndeclare var $: any;\n\n@Component({\n selector: 'awaiting-approval',\n templateUrl: './awaiting-approval.component.html',\n styleUrls: ['./awaiting-approval.component.css']\n})\nexport class AwaitingApprovalComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n locs: LocSummary[] = [];\n\n constructor(private locService: LocService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocAppModalComponent, Object.assign({}, { class: 'gray modal-lg' }));\n this.bsModalRef.content.title = 'Letter of Credit Application';\n this.bsModalRef.content.locId = ref;\n this.bsModalRef.content.readOnly = true;\n }\n\n update() {\n this.locService.getAwaitingApprovalLocs().then(locs => this.locs = locs);\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.ts","module.exports = \"
\\n
\\n \\n
\\n \\n
\\n
\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.html\n// module id = ../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.scss\n// module id = ../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Bol } from './../bol'\nimport { DocsService } from './../services/docs.service'\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'bill-of-lading-view',\n templateUrl: './bill-of-lading-view.component.html',\n styleUrls: ['./bill-of-lading-view.component.scss']\n})\nexport class BillOfLadingViewComponent implements OnChanges {\n @Input() id: string\n @Input() requestor: string\n bol: Bol;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewBolModalComponent,\n private modalService: BsModalService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getBol(this.id, this.requestor).then(bol => this.bol = bol);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.css\n// module id = ../../../../../src/app/bill-of-lading/bill-of-lading.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n\\n \\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.html\n// module id = ../../../../../src/app/bill-of-lading/bill-of-lading.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Bol } from './../bol'\nimport { Party } from './../party'\nimport { DocsService } from './../services/docs.service'\nimport { CreateBolModalComponent } from './../modals/create-bol-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport { LocStateSummary } from './../loc-state-summary'\n\n@Component({\n selector: 'bill-of-lading',\n templateUrl: './bill-of-lading.component.html',\n styleUrls: ['./bill-of-lading.component.css']\n})\nexport class BillOfLadingComponent implements OnInit {\n bol = new Bol();\n submitted = false;\n bsModalRef: BsModalRef;\n @Input() loc: LocStateSummary;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreateBolModalComponent,\n private modalService: BsModalService) { }\n\n createBol(): void {\n this.bol.advisingBank = this.loc[0].advisory;\n this.bol.issuingBank = this.loc[0].issuer;\n this.docsService.createBol(this.bol).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.bol.billOfLadingId = this.loc[0].orderRef;\n this.bol.issueDate = d;\n this.bol.carrierOwner = 'Alice';\n\n this.bol.nameOfVessel = 'SurfRider';\n this.bol.goodsDescription = this.loc[0].description;\n this.bol.goodsQuantity = 10000;\n this.bol.dateOfShipment = d;\n\n this.bol.portOfLoadingCountry = 'China'\n this.bol.portOfLoadingCity = 'Beijing'\n this.bol.portOfLoadingAddress = '123 Street'\n\n this.bol.portOfDischargeCountry = 'USA'\n this.bol.portOfDischargeCity = 'Des Moines'\n this.bol.portOfDischargeAddress = 'ABC Street'\n\n this.bol.shipper = this.loc[0].beneficiary;\n this.bol.notifyName = 'Foo Bar'\n this.bol.notifyAddress = '123 Street, London'\n this.bol.notifyPhone = '+442076909856'\n\n this.bol.consigneeName = this.loc[0].applicant\n this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111';\n this.bol.consigneePhone = '+0027590043622'\n\n this.bol.grossWeight = 1000\n this.bol.grossWeightUnit = 'KG'\n\n this.bol.placeOfReceiptCountry = 'USA'\n this.bol.placeOfReceiptCity = 'Des Moines'\n\n this.bol.buyer = this.bol.consigneeName\n this.bol.advisingBank = this.loc[0].advisingBank;\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createBol();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.ts","import { Serializable } from './serializable'\n\nexport class BolEvents implements Serializable {\n public dict: any[] = [];\n\n deserialize(input: any): BolEvents {\n input.forEach((element: any) => {\n this.dict.push({\n key: element.first,\n value: element.second\n });\n });\n return this;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bol-events.ts","import { Serializable } from './serializable';\r\n\r\nexport class Bol implements Serializable {\r\n\r\n public owner: string;\r\n\r\n public billOfLadingId: string;\r\n public issueDate: Date;\r\n public carrierOwner: string;\r\n\r\n public nameOfVessel: string;\r\n public goodsDescription: string;\r\n public goodsQuantity: number;\r\n public dateOfShipment: Date;\r\n\r\n public portOfLoadingCountry: string;\r\n public portOfLoadingCity: string;\r\n public portOfLoadingAddress: string;\r\n\r\n public portOfDischargeCountry: string;\r\n public portOfDischargeCity: string;\r\n public portOfDischargeAddress: string;\r\n\r\n public shipper: string;\r\n public notifyName: string;\r\n public notifyAddress: string;\r\n public notifyPhone: string;\r\n\r\n public consigneeName: string;\r\n public consigneeAddress: string;\r\n public consigneePhone: string;\r\n\r\n public grossWeight: number;\r\n public grossWeightUnit: string;\r\n\r\n public placeOfReceiptCountry: string;\r\n public placeOfReceiptCity: string;\r\n\r\n public buyer: string;\r\n public advisingBank: string;\r\n public issuingBank: string;\r\n\r\n deserialize(input: any) {\r\n this.owner = input.owner;\r\n\r\n this.billOfLadingId = input.props.billOfLadingID;\r\n this.issueDate = input.props.issueDate;\r\n this.carrierOwner = input.props.carrierOwner;\r\n\r\n this.nameOfVessel = input.props.nameOfVessel;\r\n this.goodsDescription = input.props.descriptionOfGoods[0].description;\r\n this.goodsQuantity = input.props.descriptionOfGoods[0].quantity;\r\n this.dateOfShipment = input.props.dateOfShipment;\r\n\r\n this.portOfLoadingCountry = input.props.portOfLoading.country;\r\n this.portOfLoadingCity = input.props.portOfLoading.city;\r\n this.portOfLoadingAddress = input.props.portOfLoading.address;\r\n\r\n this.portOfDischargeCountry = input.props.portOfDischarge.country;\r\n this.portOfDischargeCity = input.props.portOfDischarge.city;\r\n this.portOfDischargeAddress = input.props.portOfDischarge.address;\r\n\r\n this.shipper = input.props.carrierOwner;\r\n this.notifyName = input.props.notify.name;\r\n this.notifyAddress = input.props.notify.address;\r\n this.notifyPhone = input.props.notify.phone;\r\n\r\n this.consigneeName = input.props.consignee.name;\r\n this.consigneeAddress = input.props.consignee.address;\r\n this.consigneePhone = input.props.consignee.phone;\r\n\r\n this.grossWeight = input.props.grossWeight.quantity;\r\n this.grossWeightUnit = input.props.grossWeight.unit;\r\n\r\n this.placeOfReceiptCountry = input.props.placeOfReceipt.country;\r\n this.placeOfReceiptCity = input.props.placeOfReceipt.city;\r\n\r\n this.buyer = input.beneficiary;\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bol.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"div {\\r\\n font-family: oswald !important;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.css\n// module id = ../../../../../src/app/cash-balance/cash-balance.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n
\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n
CurrencyAmount
{{cashBalances.currency}}\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.html\n// module id = ../../../../../src/app/cash-balance/cash-balance.component.html\n// module chunks = main","import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Cash } from './../cash'\nimport { LocService } from './../loc.service'\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\nimport { RefreshService } from './../services/refresh.service';\ndeclare var $: any;\n\n@Component({\n selector: 'cash-balance',\n templateUrl: './cash-balance.component.html',\n styleUrls: ['./cash-balance.component.css']\n})\nexport class CashBalanceComponent implements OnInit {\n @Input() node: string;\n cashBalances: Cash\n\n constructor(private locService: LocService,\n private route: ActivatedRoute,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.getCashBalances();\n });\n }\n\n getCashBalances() {\n let id = this.route.snapshot.url[0].toString();\n this.locService.getCashBalances(id).then(cashBalances => this.cashBalances = cashBalances);\n }\n\n ngOnInit() {\n this.getCashBalances();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.ts","import { Serializable } from './serializable'\r\n\r\nexport class Cash implements Serializable {\r\n currency: string;\r\n amount: number;\r\n\r\n deserialize(input: any) {\r\n let temp = input.USD;\r\n this.currency = Object.keys(input)[0];\r\n this.amount = temp.substring(0, temp.length - 7);\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/cash.ts","export class ClaimFund {\r\n public ref: string;\r\n public party: string;\r\n\r\n constructor(ref: string, party: string) {\r\n this.ref = ref;\r\n this.party = party;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/claim-fund.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'comma-seperated-number'\n})\nexport class CommaSeperatedNumberPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n return value.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/comma-seperated-number.pipe.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.css\n// module id = ../../../../../src/app/dashboard-advising/dashboard-advising.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.html\n// module id = ../../../../../src/app/dashboard-advising/dashboard-advising.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-advising',\n templateUrl: './dashboard-advising.component.html',\n styleUrls: ['./dashboard-advising.component.css']\n})\nexport class DashboardAdvisingComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\r\\n background-color: black;\\r\\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\\r\\n background-repeat: repeat;\\r\\n color: white;\\r\\n font-family: 'Oswald', sans-serif;\\r\\n letter-spacing: .2rem;\\r\\n margin: 0;\\r\\n overflow: hidden;\\r\\n -webkit-perspective: 1000px;\\r\\n perspective: 1000px;\\r\\n text-transform: uppercase;\\r\\n}\\r\\n.site-wrap {\\r\\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n}\\r\\n.site-wrap.show-all {\\r\\n -webkit-transform: rotateY(-15deg) scale(0.2);\\r\\n transform: rotateY(-15deg) scale(0.2);\\r\\n}\\r\\n.panel-wrap {\\r\\n height: 100vh;\\r\\n width: 100vw;\\r\\n}\\r\\nh1 {\\r\\n font-size: 20vmin;\\r\\n margin: 0;\\r\\n}\\r\\n.panel-wrap {\\r\\n -webkit-perspective: 2000px;\\r\\n perspective: 2000px;\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n}\\r\\n.panel-wrap.animate--shrink,\\r\\n.panel-wrap.animate--tilt,\\r\\n.panel-wrap.animate--tilt2 {\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n}\\r\\n.panel {\\r\\n height: 100vh;\\r\\n position: absolute;\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n width: 100vw;\\r\\n will-change: transform;\\r\\n}\\r\\n.panel:before {\\r\\n background-color: transparent;\\r\\n bottom: 0;\\r\\n content: \\\"\\\";\\r\\n left: 0;\\r\\n pointer-events: none;\\r\\n position: absolute;\\r\\n right: 0;\\r\\n top: 0;\\r\\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n z-index: 2;\\r\\n}\\r\\n.show-all .panel:before {\\r\\n pointer-events: all;\\r\\n}\\r\\n.show-all .panel:hover:before {\\r\\n background-color: rgba(255, 255, 255, 0.1);\\r\\n cursor: pointer;\\r\\n}\\r\\n.animate--shrink.animate .panel {\\r\\n -webkit-transform: scale(0.9);\\r\\n transform: scale(0.9);\\r\\n}\\r\\n.animate--tilt.animate .panel {\\r\\n -webkit-transform: scale(0.6) rotateY(-25deg);\\r\\n transform: scale(0.6) rotateY(-25deg);\\r\\n}\\r\\n.animate--tilt2.animate .panel {\\r\\n -webkit-transform: scale(0.8) rotateX(25deg);\\r\\n transform: scale(0.8) rotateX(25deg);\\r\\n}\\r\\n.panel h1 {\\r\\n cursor: default;\\r\\n left: 50%;\\r\\n line-height: 1;\\r\\n position: absolute;\\r\\n text-align: center;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%);\\r\\n transform: translateX(-50%) translateY(-50%);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n}\\r\\n.panel[data-x-pos=\\\"-2\\\"] {\\r\\n left: -200%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"-1\\\"] {\\r\\n left: -100%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"1\\\"] {\\r\\n left: 100%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"2\\\"] {\\r\\n left: 200%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"-2\\\"] {\\r\\n top: 200%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"-1\\\"] {\\r\\n top: 100%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"1\\\"] {\\r\\n top: -100%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"2\\\"] {\\r\\n top: -200%;\\r\\n}\\r\\n.panel__zoom {\\r\\n cursor: pointer;\\r\\n left: 50%;\\r\\n opacity: .2;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\\r\\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n z-index: 10;\\r\\n}\\r\\n.panel__zoom:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.show-all .panel__zoom {\\r\\n pointer-events: none;\\r\\n}\\r\\n.panel__nav {\\r\\n cursor: pointer;\\r\\n opacity: .2;\\r\\n position: absolute;\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n will-change: opacity;\\r\\n}\\r\\n.panel__nav--up {\\r\\n left: 50%;\\r\\n top: 1rem;\\r\\n -webkit-transform: translateX(-50%);\\r\\n transform: translateX(-50%);\\r\\n}\\r\\n.panel__nav--left {\\r\\n left: 1rem;\\r\\n top: 50%;\\r\\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\\r\\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\\r\\n -webkit-transform-origin: top left;\\r\\n transform-origin: top left;\\r\\n}\\r\\n.panel__nav--left-top {\\r\\n left: 1rem;\\r\\n top: 1rem;\\r\\n}\\r\\n.panel__nav--left-down {\\r\\n bottom: 1rem;\\r\\n left: 1rem;\\r\\n}\\r\\n.panel__nav--right {\\r\\n right: 1rem;\\r\\n top: 50%;\\r\\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\\r\\n transform: translateY(-50%) rotate(90deg) translateX(100%);\\r\\n -webkit-transform-origin: top right;\\r\\n transform-origin: top right;\\r\\n}\\r\\n.panel__nav--right-top {\\r\\n right: 1rem;\\r\\n top: 1rem;\\r\\n}\\r\\n.panel__nav--right-down {\\r\\n bottom: 1rem;\\r\\n right: 1rem;\\r\\n}\\r\\n.panel__nav--down {\\r\\n bottom: 1rem;\\r\\n left: 50%;\\r\\n -webkit-transform: translateX(-50%);\\r\\n transform: translateX(-50%);\\r\\n}\\r\\n.panel__nav:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.panel__animation-list {\\r\\n font-size: 3.3vmin;\\r\\n left: 50%;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\\r\\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\\r\\n}\\r\\n.panel__animation-list span {\\r\\n cursor: pointer;\\r\\n display: inline-block;\\r\\n opacity: .2;\\r\\n position: relative;\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n}\\r\\n.panel__animation-list span:after {\\r\\n border-bottom: .3vmin solid transparent;\\r\\n bottom: 0;\\r\\n content: \\\"\\\";\\r\\n left: -1px;\\r\\n position: absolute;\\r\\n right: 0;\\r\\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n width: 100%;\\r\\n}\\r\\n.panel__animation-list span.active,\\r\\n.panel__animation-list span:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.panel__animation-list span.active:after,\\r\\n.panel__animation-list span:hover:after {\\r\\n border-color: white;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.css\n// module id = ../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.html\n// module id = ../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-buyer',\n templateUrl: './dashboard-buyer.component.html',\n styleUrls: ['./dashboard-buyer.component.css']\n})\nexport class DashboardBuyerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService) { }\n\n public openModalWithComponent() {\n this.bsModalRef = this.modalService.show(ApplyModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Apply';\n }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.css\n// module id = ../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n\\n
\\n
\\n \\n
\\n\\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.html\n// module id = ../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-issuer',\n templateUrl: './dashboard-issuer.component.html',\n styleUrls: ['./dashboard-issuer.component.css']\n})\nexport class DashboardIssuerComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.css\n// module id = ../../../../../src/app/dashboard-overall/dashboard-overall.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n\\n
\\n
\\n \\n
\\n\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.html\n// module id = ../../../../../src/app/dashboard-overall/dashboard-overall.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'dashboard-overall',\n templateUrl: './dashboard-overall.component.html',\n styleUrls: ['./dashboard-overall.component.css']\n})\nexport class DashboardOverallComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.css\n// module id = ../../../../../src/app/dashboard-seller/dashboard-seller.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.html\n// module id = ../../../../../src/app/dashboard-seller/dashboard-seller.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-seller',\n templateUrl: './dashboard-seller.component.html',\n styleUrls: ['./dashboard-seller.component.css']\n})\nexport class DashboardSellerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService) { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.css\n// module id = ../../../../../src/app/docs/docs.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.html\n// module id = ../../../../../src/app/docs/docs.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'docs',\n templateUrl: './docs.component.html',\n styleUrls: ['./docs.component.css']\n})\nexport class DocsComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.css\n// module id = ../../../../../src/app/document-upload/document-upload.component.css\n// module chunks = main","module.exports = \"\\n\\n
\\n\\n
\\n\\n
\\n\\n

Select files

\\n\\n
\\n Drop zone\\n
\\n\\n
\\n\\n
\\n
\\n\\n
\\n\\n
\\n

Queue length: {{ uploader?.queue?.length }}

\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n
\\n\\n
\\n
\\n Queue progress:\\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n\\n
\\n\\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.html\n// module id = ../../../../../src/app/document-upload/document-upload.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload/ng2-file-upload';\n\n@Component({\n selector: 'document-upload',\n templateUrl: './document-upload.component.html',\n styleUrls: ['./document-upload.component.css']\n})\nexport class DocumentUploadComponent implements OnInit {\n private URL = 'http://localhost:10016/api/loc/get-loc';\n\n public uploader: FileUploader = new FileUploader({url: this.URL});\n public hasBaseDropZoneOver = false;\n public hasAnotherDropZoneOver = false;\n\n public fileOverBase(e: any): void {\n this.hasBaseDropZoneOver = e;\n }\n\n public fileOverAnother(e: any): void {\n this.hasAnotherDropZoneOver = e;\n }\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.css\n// module id = ../../../../../src/app/finances/finances.component.css\n// module chunks = main","module.exports = \"\\n
\\n
Finances
\\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.html\n// module id = ../../../../../src/app/finances/finances.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { ChartsModule } from 'ng2-charts';\nimport { Stats } from './../stats'\nimport { LocService } from './../loc.service'\n\n@Component({\n selector: 'finances',\n templateUrl: './finances.component.html',\n styleUrls: ['./finances.component.css']\n})\n\nexport class FinancesComponent implements OnInit {\n stats: Stats = new Stats();\n // Pie\n public pieChartLabels: string[] = ['Awaiting Approval', 'Active', 'Awaiting Payment'];\n public pieChartData: number[] = [1, 1, 1];\n public pieChartType = 'pie';\n\n public barChartOptions: any = {\n scaleShowVerticalLines: false,\n responsive: true\n };\n public barChartLabels: string[] = ['2015', '2016', '2017'];\n public barChartType = 'bar';\n public barChartLegend = true;\n\n public barChartData: any[] = [\n {data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired'},\n {data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected'}\n ];\n\n // events\n public chartClicked(e: any): void {\n console.log(e);\n }\n public chartHovered(e: any): void {\n console.log(e);\n }\n\n constructor(private locService: LocService) { }\n\n ngOnInit() {\n this.locService.getStats().then(stats => this.stats = stats);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.css\n// module id = ../../../../../src/app/goods-shipped/goods-shipped.component.css\n// module chunks = main","module.exports = \"
\\n
Goods Shipped
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantAmountDescriptionStatusPayment Received
\\n {{loc.applicant}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n {{loc.advisingPayment}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.html\n// module id = ../../../../../src/app/goods-shipped/goods-shipped.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { NgClass } from '@angular/common'\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\n\n@Component({\n selector: 'goods-shipped',\n templateUrl: './goods-shipped.component.html',\n styleUrls: ['./goods-shipped.component.css']\n})\nexport class GoodsShippedComponent implements OnInit {\n locs: LocSummary[] = []\n\n constructor(private locService: LocService) { }\n\n ngOnInit(): void {\n this.locService.getDummySummary().then(locs => this.locs = locs);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#h3 {\\r\\n color: white;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.css\n// module id = ../../../../../src/app/header/header.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n\\n
\\n

{{me}} | Port: {{port}}

\\n
\\n\\n
\\n \\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.html\n// module id = ../../../../../src/app/header/header.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { Party } from './../party'\nimport { LocService } from './../loc.service'\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\n\n@Component({\n selector: 'header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.css']\n})\nexport class HeaderComponent implements OnInit {\n cordaImage: string;\n me: string;\n port: number;\n\n constructor(private locService: LocService, private route: ActivatedRoute) {\n this.cordaImage = 'assets/corda.png'\n }\n\n getMe(): void {\n let id = this.route.snapshot.url[0].toString();\n this.locService.getMe(id).then(me => this.me = me.name)\n }\n\n getPort(): void {\n let id = this.route.snapshot.url[0].toString();\n this.port = this.locService.getPort(id);\n }\n\n ngOnInit() {\n this.getMe();\n this.getPort();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.css\n// module id = ../../../../../src/app/helpers/date-picker/date-picker.component.css\n// module chunks = main","module.exports = \"\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.html\n// module id = ../../../../../src/app/helpers/date-picker/date-picker.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { DatepickerModule } from 'ngx-bootstrap';\n\n@Component({\n selector: 'date-picker',\n templateUrl: './date-picker.component.html',\n styleUrls: ['./date-picker.component.css']\n})\n\nexport class DatePickerComponent {\n public bsValue: any ;\n public bsRangeValue: any = [new Date(2017, 7, 4), new Date(2017, 7, 20)];\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.ts","import { InMemoryDbService } from 'angular-in-memory-web-api';\r\nexport class InMemoryDataService implements InMemoryDbService {\r\n createDb() {\r\n const locs = [\r\n { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit',\r\n amount: 5, currency: 'USD',\r\n expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London',\r\n portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio',\r\n portDischargeAddress: 'Stade de Brazil',\r\n goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1,\r\n goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio',\r\n placePresentationCity: 'Rio',\r\n lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5,\r\n beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' }\r\n ];\r\n\r\n const locsummary = [\r\n { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD',\r\n description: 'Mock product', status: 'Approved' }\r\n },\r\n { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD',\r\n description: 'Mock product2', status: 'Approved' }\r\n },\r\n { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD',\r\n description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false,\r\n buyerPayment: false }\r\n },\r\n { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD',\r\n description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false,\r\n buyerPayment: false }\r\n }\r\n ];\r\n\r\n return {\r\n locs,\r\n locsummary\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/in-memory-data.service.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.css\n// module id = ../../../../../src/app/invoice-create/invoice.component.css\n// module chunks = main","module.exports = \"
\\n
\\n \\n
\\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n \\n\\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.html\n// module id = ../../../../../src/app/invoice-create/invoice.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { Invoice } from './../invoice'\nimport { DocsService } from './../services/docs.service'\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component';\n\n@Component({\n selector: 'create-invoice',\n templateUrl: './invoice.component.html',\n styleUrls: ['./invoice.component.css']\n})\nexport class InvoiceCreateComponent implements OnInit {\n inv = new Invoice();\n submitted = false;\n bsModalRef: BsModalRef;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreateInvoiceModalComponent,\n private modalService: BsModalService) { }\n\n createInvoice(): void {\n this.docsService.createInvoice(this.inv).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.inv.invoiceDate = d,\n this.inv.invoiceId = Math.round(Math.random() * 1000000).toString();\n this.inv.sellerName = 'Seller',\n this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111',\n this.inv.buyerName = 'Buyer',\n this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222',\n this.inv.term = 5,\n this.inv.goodsDescription = 'OLED 6\" Screens',\n this.inv.goodsPurchaseOrderRef = 'Mock1',\n this.inv.goodsQuantity = 10000,\n this.inv.goodsUnitPrice = 3,\n this.inv.goodsGrossWeight = 30\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createInvoice();\n }\n\n }\n\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.css\n// module id = ../../../../../src/app/invoice-view/invoice-view.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.html\n// module id = ../../../../../src/app/invoice-view/invoice-view.component.html\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Invoice } from './../invoice'\nimport { DocsService } from './../services/docs.service'\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'invoice-view',\n templateUrl: './invoice-view.component.html',\n styleUrls: ['./invoice-view.component.css']\n})\nexport class InvoiceViewComponent implements OnChanges {\n @Input() ref: string;\n inv: Invoice\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewInvoiceModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.docsService.getInvoice(this.ref).then(invoice => this.inv = invoice);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Invoice implements Serializable {\r\n\r\n public invoiceId: string;\r\n public invoiceDate: Date;\r\n\r\n public sellerName: string;\r\n public sellerAddress: string;\r\n\r\n public buyerName: string;\r\n public buyerAddress: string;\r\n\r\n public term: number;\r\n\r\n public goodsDescription: string;\r\n public goodsPurchaseOrderRef: string;\r\n public goodsQuantity: number;\r\n public goodsUnitPrice: number;\r\n public goodsGrossWeight: number;\r\n\r\n public assigned: Boolean;\r\n\r\n deserialize(input: any) {\r\n this.invoiceDate = input.props.invoiceDate;\r\n this.invoiceId = input.props.invoiceID;\r\n\r\n this.sellerName = input.props.seller.name;\r\n this.sellerAddress = input.props.seller.address;\r\n\r\n this.buyerName = input.props.buyer.name;\r\n this.buyerAddress = input.props.buyer.address;\r\n\r\n this.term = input.props.term;\r\n\r\n this.goodsDescription = input.props.goods[0].description;\r\n this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef;\r\n this.goodsQuantity = input.props.goods[0].quantity;\r\n this.goodsUnitPrice = input.props.goods[0].unitPrice;\r\n this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit;\r\n\r\n this.assigned = input.assigned;\r\n\r\n return this;\r\n }\r\n\r\n }\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice.ts","module.exports = \"
\\n
\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.html\n// module id = ../../../../../src/app/loc-app-view/loc-app-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.scss\n// module id = ../../../../../src/app/loc-app-view/loc-app-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Loc } from './../loc';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ViewLocAppModalComponent } from './../modals/view-loc-app-modal.component';\n\n@Component({\n selector: 'loc-app-view',\n templateUrl: './loc-app-view.component.html',\n styleUrls: ['./loc-app-view.component.scss']\n})\nexport class LocAppViewComponent implements OnChanges {\n @Input() ref: string;\n loc: Loc;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(\n private locService: LocService,\n private modalComponent: ViewLocAppModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLocApp(this.ref).then(loc => this.loc = loc);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class LocStateSummary implements Serializable {\r\n id: string;\r\n beneficiaryPaid: Boolean;\r\n advisoryPaid: Boolean;\r\n issuerPaid: Boolean;\r\n issued: Boolean;\r\n terminated: Boolean;\r\n beneficiary: string;\r\n applicant: string;\r\n advisory: string;\r\n issuer: string;\r\n amount: number;\r\n currency: string;\r\n quantity: number;\r\n orderRef: string;\r\n description: string;\r\n status: string;\r\n\r\n deserialize(input: any) {\r\n this.id = input.first;\r\n this.beneficiaryPaid = input.second.beneficiaryPaid;\r\n this.advisoryPaid = input.second.advisoryPaid;\r\n this.issuerPaid = input.second.issuerPaid;\r\n this.issued = input.second.issued;\r\n this.terminated = input.second.terminated;\r\n this.beneficiary = input.second.beneficiary;\r\n this.applicant = input.second.applicant;\r\n this.advisory = input.second.advisoryBank;\r\n this.issuer = input.second.issuingBank;\r\n this.amount = input.second.amount;\r\n this.currency = input.second.currency;\r\n this.quantity = input.second.quantity;\r\n this.orderRef = input.second.purchaseOrderRef;\r\n this.description = input.second.description;\r\n this.status = input.second.status;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-summary.ts","module.exports = \"
\\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.html\n// module id = ../../../../../src/app/loc-state-view/loc-state-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.scss\n// module id = ../../../../../src/app/loc-state-view/loc-state-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { LocState } from './../loc-state';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\n\n@Component({\n selector: 'loc-state-view',\n templateUrl: './loc-state-view.component.html',\n styleUrls: ['./loc-state-view.component.scss']\n})\nexport class LocStateViewComponent implements OnChanges {\n @Input() ref: string;\n loc: LocState;\n submitted = false;\n txResponse: string;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ViewLocStateModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLoc(this.ref).then(loc => this.loc = loc);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class LocSummary implements Serializable {\r\n id: string;\r\n beneficiary: string;\r\n applicant: string;\r\n amount: number;\r\n currency: string;\r\n description: string;\r\n orderRef: string;\r\n status: string;\r\n advisingPayment: Boolean\r\n issuingPayment: Boolean\r\n buyerPayment: Boolean\r\n\r\n deserialize(input: any) {\r\n this.id = input.first;\r\n this.beneficiary = input.second.beneficiary;\r\n this.applicant = input.second.applicant;\r\n this.amount = input.second.amount;\r\n this.currency = input.second.currency;\r\n this.description = input.second.description;\r\n this.orderRef = input.second.purchaseOrderRef;\r\n this.status = input.second.status;\r\n this.advisingPayment = input.second.advisingPayment;\r\n this.issuingPayment = input.second.issuingPayment;\r\n this.buyerPayment = input.second.buyerPayment;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-summary.ts","import { Injectable } from '@angular/core';\r\nimport { Headers, Http } from '@angular/http'\r\nimport { Loc } from './loc'\r\nimport { LocState } from './loc-state'\r\nimport { LocSummary } from './loc-summary'\r\nimport { LocStateSummary } from './loc-state-summary'\r\nimport { ClaimFund } from './claim-fund'\r\nimport { Cash } from './cash'\r\nimport { Party } from './party'\r\nimport { Stats } from './stats'\r\nimport { Invoice } from './invoice'\r\nimport { Tx } from './tx'\r\nimport 'rxjs/add/operator/toPromise';\r\n\r\n@Injectable()\r\nexport class LocService {\r\n\r\n public buyer = 10013;\r\n public issuer = 10007;\r\n public advisory = 10010;\r\n public seller = 10016;\r\ncurrent = this.issuer;\r\n\r\n // mock data\r\n private mockSummary = 'api/locsummary';\r\n\r\n private meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me';\r\n private meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me';\r\n private meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me';\r\n private meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me';\r\n private peersUrl = 'http://localhost:' + this.current + '/api/loc/peers';\r\n\r\n private getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc';\r\n private getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app';\r\n private awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval';\r\n private awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval';\r\n private activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active';\r\n private awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment';\r\n private createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc';\r\n private approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc';\r\n private statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats';\r\n private allLocUrl = 'http://localhost:' + this.current + '/api/loc/all';\r\n\r\n private cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances';\r\n private cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances';\r\n private cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances';\r\n private cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances';\r\n\r\n private allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'\r\n private allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app';\r\n private allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all';\r\n private allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all';\r\n\r\n private claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds';\r\n\r\n private paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller';\r\n private payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser';\r\n private payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer';\r\n\r\n private headers = new Headers({'Content-Type': 'application/json'});\r\n\r\n constructor(private http: Http) {}\r\n\r\n getLocApp(id: string): Promise {\r\n let trimmedId = id[0];\r\n trimmedId = trimmedId.substring(0, trimmedId.length - 3);\r\n const url = `${this.getLocAppUrl}?ref=${trimmedId}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => response.json() as Loc)\r\n .catch(this.handleError);\r\n }\r\n\r\n getLoc(id: string): Promise {\r\n let trimmedId = id[0];\r\n trimmedId = trimmedId.substring(0, trimmedId.length - 3);\r\n const url = `${this.getLocUrl}?ref=${trimmedId}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => response.json() as LocState)\r\n .catch(this.handleError);\r\n }\r\n\r\n getAllLocApps(node: string): Promise {\r\n let getAllUrl: string;\r\n switch (node) {\r\n case 'advising':\r\n getAllUrl = this.allLocUrlAdviser;\r\n break;\r\n case 'buyer':\r\n getAllUrl = this.allLocAppUrlBuyer;\r\n break;\r\n case 'seller':\r\n getAllUrl = this.allLocUrlSeller;\r\n break;\r\n case 'issuer':\r\n getAllUrl = this.allLocAppUrlIssuer;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n return this.http.get(getAllUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingApprovalLocs(): Promise {\r\n return this.http.get(this.awaitingApprovalLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingApprovalLocsIssuer(): Promise {\r\n return this.http.get(this.awaitingApprovalLocUrlIssuer)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getActiveLocsApps(): Promise {\r\n return this.http.get(this.activeLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getActiveLocs(): Promise {\r\n return this.http.get(this.allLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocStateSummaryArray(response.json()) as LocStateSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAllLocs(): Promise {\r\n return this.http.get(this.allLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingPaymentLocs(): Promise {\r\n return this.http.get(this.awaitingPaymentLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getCashBalances(node: string): Promise {\r\n let url: string\r\n switch (node) {\r\n case 'buyer':\r\n url = this.cashBalancesBuyerUrl;\r\n break;\r\n case 'seller':\r\n url = this.cashBalancesSellerUrl;\r\n break;\r\n case 'issuing':\r\n url = this.cashBalancesIssuerUrl;\r\n break;\r\n case 'advising':\r\n url = this.cashBalancesAdvisoryUrl;\r\n break;\r\n default:\r\n url = this.cashBalancesIssuerUrl\r\n }\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => new Cash().deserialize(response.json()) as Cash)\r\n .catch(this.handleError)\r\n }\r\n\r\n getMe(id: string): Promise {\r\n let url: string\r\n switch (id) {\r\n case 'buyer':\r\n url = this.meBuyerUrl;\r\n break;\r\n case 'seller':\r\n url = this.meSellerUrl;\r\n break;\r\n case 'issuing':\r\n url = this.meIssueUrl;\r\n break;\r\n case 'advising':\r\n url = this.meAdvisoryUrl;\r\n break;\r\n default:\r\n url = this.meBuyerUrl\r\n }\r\n\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => new Party().deserialize(response.json()) as Party)\r\n .catch(this.handleError);\r\n }\r\n\r\n getPort(id: string): number {\r\n let port: number;\r\n switch (id) {\r\n case 'buyer':\r\n port = this.buyer;\r\n break;\r\n case 'seller':\r\n port = this.seller;\r\n break;\r\n case 'issuing':\r\n port = this.issuer;\r\n break;\r\n case 'advising':\r\n port = this.advisory;\r\n break;\r\n default:\r\n port = 0;\r\n break;\r\n }\r\n return port;\r\n }\r\n\r\n getPeers(): Promise {\r\n return this.http.get(this.peersUrl)\r\n .toPromise()\r\n .then(response => this.createPartyArray(response.json()) as Party[])\r\n .catch(this.handleError);\r\n }\r\n\r\n getStats(): Promise {\r\n return this.http.get(this.statsUrl)\r\n .toPromise()\r\n .then(response => new Stats().deserialize(response.json()) as Stats)\r\n .catch(this.handleError);\r\n }\r\n\r\n createLoc(loc: Loc): Promise {\r\n return this.http\r\n .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers })\r\n .toPromise()\r\n .then(res => new Tx().deserialize(res.json()).txResponse as string)\r\n .catch(this.handleError);\r\n }\r\n\r\n approveLoc(ref: string): Promise {\r\n const url = `${this.approveLocUrl}?ref=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError);\r\n }\r\n\r\n paySeller(ref: string): Promise {\r\n const url = `${this.paySellerUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n payAdviser(ref: string): Promise {\r\n const url = `${this.payAdvisoryUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n payIssuer(ref: string): Promise {\r\n const url = `${this.payIssuerUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n claimFunds(ref: string) {\r\n this.getMe('issuing').then(result => {\r\n let claimFund = new ClaimFund(ref, result.name);\r\n this.http.post(this.claimFundsUrl, JSON.stringify(claimFund), { headers: this.headers })\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError) })\r\n }\r\n\r\n private createPartyArray(input: any): Party[] {\r\n let parties = new Array();\r\n input.peers.forEach((element: string) => {\r\n let party = new Party().deserializeName(element);\r\n parties.push(party)\r\n });\r\n return parties;\r\n }\r\n\r\n private createLocSummaryArray(input: any): LocSummary[] {\r\n let locSummaries = new Array();\r\n input.forEach((element: string[]) => {\r\n let locSummary = new LocSummary().deserialize(element);\r\n locSummaries.push(locSummary)\r\n });\r\n return locSummaries;\r\n }\r\n\r\n private createLocStateSummaryArray(input: any): LocStateSummary[] {\r\n let locStateSummaries = new Array();\r\n input.forEach((element: string[]) => {\r\n let locStateSummary = new LocStateSummary().deserialize(element);\r\n locStateSummaries.push(locStateSummary)\r\n });\r\n return locStateSummaries;\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n /// MOCK DATA STUFF\r\n getDummySummary(): Promise {\r\n return this.http.get(this.mockSummary)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json().data) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n shipGoods(loc: LocSummary): Promise {\r\n const url = `${this.mockSummary}/${loc.id}`;\r\n loc.status = 'Shipped';\r\n return this.http\r\n .put(url, JSON.stringify(loc), {headers: this.headers})\r\n .toPromise()\r\n .then(() => loc)\r\n .catch(this.handleError);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc.service.ts","export class Loc {\r\n\r\n public applicationId: string;\r\n public applicationDate: Date;\r\n public typeCredit: string;\r\n public amount: number;\r\n public currency: string;\r\n public expiryDate: Date;\r\n\r\n public portLoadingCountry: string;\r\n public portLoadingCity: string;\r\n public portLoadingAddress: string;\r\n\r\n public portDischargeCountry: string;\r\n public portDischargeCity: string;\r\n public portDischargeAddress: string;\r\n\r\n public goodsDescription: string;\r\n public goodsQuantity: number;\r\n public goodsWeight: number;\r\n public goodsWeightUnit: string;\r\n public goodsUnitPrice: number;\r\n public goodsPurchaseOrderRef: string;\r\n\r\n public placePresentationCountry: string;\r\n public placePresentationState: string;\r\n public placePresentationCity: string;\r\n\r\n public lastShipmentDate: Date;\r\n\r\n public periodPresentation: number;\r\n public beneficiary: string;\r\n public issuer: string;\r\n public applicant: string;\r\n public advisingBank: string;\r\n\r\n public state: string;\r\n\r\n public txRef: string;\r\n\r\nconstructor(\r\n) { }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"html {\\r\\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\\r\\n background-size: cover;\\r\\n overflow: hidden;\\r\\n}\\r\\n\\r\\nimg{\\r\\n display: block;\\r\\n margin: auto;\\r\\n width: 100%;\\r\\n height: auto;\\r\\n}\\r\\n\\r\\n#login-button{\\r\\n cursor: pointer;\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n padding: 30px;\\r\\n margin: auto;\\r\\n width: 100px;\\r\\n height: 100px;\\r\\n border-radius: 50%;\\r\\n background: rgba(3,3,3,.8);\\r\\n overflow: hidden;\\r\\n opacity: 0.6;\\r\\n box-shadow: 10px 10px 30px #000;}\\r\\n\\r\\n/* Login container */\\r\\n#container{\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n margin: auto;\\r\\n width: 260px;\\r\\n height: 260px;\\r\\n border-radius: 5px;\\r\\n background: rgba(3,3,3,0.25);\\r\\n box-shadow: 1px 1px 50px #000;\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.close-btn{\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n line-height: 18px;\\r\\n top: 3px;\\r\\n right: 3px;\\r\\n width: 20px;\\r\\n height: 20px;\\r\\n text-align: center;\\r\\n border-radius: 10px;\\r\\n opacity: .2;\\r\\n transition: all 0.2s ease-in-out;\\r\\n}\\r\\n\\r\\n.close-btn:hover{\\r\\n opacity: .5;\\r\\n}\\r\\n\\r\\n/* Heading */\\r\\nh1{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n position: relative;\\r\\n margin-top: 0px;\\r\\n text-align: center;\\r\\n font-size: 40px;\\r\\n color: #ddd;\\r\\n text-shadow: 3px 3px 10px #000;\\r\\n}\\r\\n\\r\\n/* Inputs */\\r\\na,\\r\\ninput{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n text-decoration: none;\\r\\n position: relative;\\r\\n width: 80%;\\r\\n display: block;\\r\\n margin: 9px auto;\\r\\n font-size: 17px;\\r\\n color: #fff;\\r\\n padding: 8px;\\r\\n border-radius: 6px;\\r\\n border: none;\\r\\n background: rgba(3,3,3,.1);\\r\\n transition: all 0.2s ease-in-out;\\r\\n}\\r\\n\\r\\ninput:focus{\\r\\n outline: none;\\r\\n box-shadow: 3px 3px 10px #333;\\r\\n background: rgba(3,3,3,.18);\\r\\n}\\r\\n\\r\\n/* Placeholders */\\r\\n::-webkit-input-placeholder {\\r\\n color: #ddd; }\\r\\n:-moz-placeholder { /* Firefox 18- */\\r\\n color: red; }\\r\\n::-moz-placeholder { /* Firefox 19+ */\\r\\n color: red; }\\r\\n:-ms-input-placeholder {\\r\\n color: #333; }\\r\\n\\r\\n/* Link */\\r\\na{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n text-align: center;\\r\\n padding: 4px 8px;\\r\\n background: rgba(107,255,3,0.3);\\r\\n}\\r\\n\\r\\na:hover{\\r\\n opacity: 0.7;\\r\\n}\\r\\n\\r\\n#remember-container{\\r\\n position: relative;\\r\\n margin: -5px 20px;\\r\\n}\\r\\n\\r\\n.checkbox {\\r\\n position: relative;\\r\\n cursor: pointer;\\r\\n\\t-webkit-appearance: none;\\r\\n\\tpadding: 5px;\\r\\n\\tborder-radius: 4px;\\r\\n background: rgba(3,3,3,.2);\\r\\n\\tdisplay: inline-block;\\r\\n width: 16px;\\r\\n height: 15px;\\r\\n}\\r\\n\\r\\n.checkbox:checked:active {\\r\\n\\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\\r\\n}\\r\\n\\r\\n.checkbox:checked {\\r\\n background: rgba(3,3,3,.4);\\r\\n\\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\\r\\n\\tcolor: #fff;\\r\\n}\\r\\n\\r\\n.checkbox:checked:after {\\r\\n\\tcontent: '\\\\2714';\\r\\n\\tfont-size: 10px;\\r\\n\\tposition: absolute;\\r\\n\\ttop: 0px;\\r\\n\\tleft: 4px;\\r\\n\\tcolor: #fff;\\r\\n}\\r\\n\\r\\n#remember{\\r\\n position: absolute;\\r\\n font-size: 13px;\\r\\n font-family: 'Hind', sans-serif;\\r\\n color: rgba(255,255,255,.5);\\r\\n top: 7px;\\r\\n left: 20px;\\r\\n}\\r\\n\\r\\n.orange-btn{\\r\\n background: rgba(87,198,255,.5);\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.css\n// module id = ../../../../../src/app/login/login.component.css\n// module chunks = main","module.exports = \"
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

Log In

\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n Log in\\r\\n
\\r\\n \\r\\n Remember me\\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.html\n// module id = ../../../../../src/app/login/login.component.html\n// module chunks = main","import { Component, ViewChild, ElementRef, AfterViewInit } from '@angular/core';\nimport * as TweenMax from './../../../node_modules/gsap/TweenLite.js';\nimport * as Sine from './../../../node_modules/gsap/TweenLite.js';\ndeclare var $: any;\n\n@Component({\n selector: 'app-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements AfterViewInit {\n path: string;\n\n ngAfterViewInit(): void {\n\n$('#login-button').click(function(){\n $('#login-button').fadeOut('slow', function(){\n $('#container').fadeIn();\n TweenMax.from('#container', .4, { scale: 0, ease:Sine.easeInOut});\n TweenMax.to('#container', .4, { scale: 1, ease:Sine.easeInOut});\n });\n $('#logo').animate({'width': '40%', 'height': '40%'}, 1000);\n});\n\n$('.close-btn').click(function(){\n TweenMax.from('#container', .4, { scale: 1, ease:Sine.easeInOut});\n TweenMax.to('#container', .4, { left:'0px', scale: 0, ease:Sine.easeInOut});\n $('#container, #forgotten-container').fadeOut(800, function(){\n $('#login-button').fadeIn(800);\n });\n $('#logo').animate({'width': '100%', 'height': '100%'}, 1000);\n});\n\n/* Forgotten Password */\n$('#forgotten').click(function(){\n $('#container').fadeOut(function(){\n $('#forgotten-container').fadeIn();\n });\n});\n }\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".main-menu {\\r\\n /*background-color: #343436;*/\\r\\n padding: 15px;\\r\\n max-width: 200px;\\r\\n}\\r\\n\\r\\n.hype {\\r\\n border-radius: 999em;\\r\\n border: 1px solid #ccaaaa;\\r\\n -webkit-filter:blur(3px);\\r\\n filter:blur(3px);\\r\\n color: white;\\r\\n background: #fff;\\r\\n outline: none;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n font-size: 12px;\\r\\n display: inline-block;\\r\\n text-transform:uppercase;\\r\\n cursor: pointer;\\r\\n box-sizing: border-box;\\r\\n}\\r\\n\\r\\n.hype {\\r\\n position: relative;\\r\\n}\\r\\n.hype::before, .hype::after {\\r\\n content: '';\\r\\n position: absolute;\\r\\n box-sizing: border-box;\\r\\n border-radius: 999em;\\r\\n}\\r\\n.hype::after {\\r\\n top: 0;\\r\\n left: 0;\\r\\n z-index: 1;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n border: 1px solid #229999;\\r\\n filter:blur(2px);\\r\\n -webkit-filter:blur(1px);\\r\\n}\\r\\n.hype::before {\\r\\n z-index: -1;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n/* background: inherit; */\\r\\n opacity: .6;\\r\\n top: 0;\\r\\n left: 0;\\r\\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\\r\\n animation: pluse .6s ease-in-out 0s infinite alternate;\\r\\n}\\r\\n.hype:hover::after {\\r\\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\\r\\n animation: pulse-ring 1.5s ease-out 0s infinite;\\r\\n}\\r\\n@-webkit-keyframes pluse {\\r\\n 0% {\\r\\n -webkit-transform: scale(1.4, 1.4);\\r\\n transform: scale(1.4, 1.4);\\r\\n }\\r\\n 50% {\\r\\n -webkit-transform: scale(1.6, 1.6);\\r\\n transform: scale(1.6, 1.6);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(1.5, 1.5);\\r\\n transform: scale(1.5, 1.5);\\r\\n }\\r\\n}\\r\\n@keyframes pluse {\\r\\n 0% {\\r\\n -webkit-transform: scale(1.4, 1.4);\\r\\n transform: scale(1.4, 1.4);\\r\\n }\\r\\n 50% {\\r\\n -webkit-transform: scale(1.6, 1.6);\\r\\n transform: scale(1.6, 1.6);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(1.5, 1.5);\\r\\n transform: scale(1.5, 1.5);\\r\\n }\\r\\n}\\r\\n@-webkit-keyframes pulse-ring {\\r\\n 0% {\\r\\n -webkit-transform: scale(0, 0);\\r\\n transform: scale(0, 0);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(2, 2);\\r\\n transform: scale(2, 2);\\r\\n opacity: 0;\\r\\n }\\r\\n}\\r\\n@keyframes pulse-ring {\\r\\n 0% {\\r\\n -webkit-transform: scale(0, 0);\\r\\n transform: scale(0, 0);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(2, 2);\\r\\n transform: scale(2, 2);\\r\\n opacity: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n.btn {\\r\\n border-radius: 28px;\\r\\n font-family: Arial;\\r\\n color: #ffffff;\\r\\n font-size: 16px;\\r\\n background: #ff0000;\\r\\n padding: 10px 20px 10px 20px;\\r\\n text-decoration: none;\\r\\n min-width: 170px;\\r\\n margin-bottom: 25px;\\r\\n}\\r\\n.btn:hover {\\r\\n background: #fa5757;\\r\\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\\r\\n text-decoration: none;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.css\n// module id = ../../../../../src/app/main-menu/main-menu.component.css\n// module chunks = main","module.exports = \"\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.html\n// module id = ../../../../../src/app/main-menu/main-menu.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { ApplyForLocComponent } from './../apply-for-loc/apply-for-loc.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\n\n@Component({\n selector: 'main-menu',\n templateUrl: './main-menu.component.html',\n styleUrls: ['./main-menu.component.css']\n})\nexport class MainMenuComponent implements OnInit {\n bsModalRef: BsModalRef;\n buyer: string;\n issuing: string;\n advising: string;\n seller: string;\n dashboard: string;\n\n constructor(private modalService: BsModalService,\n private route: ActivatedRoute) { }\n\n ngOnInit() {\n let current = this.route.snapshot.url[0].toString();\n switch (current) {\n case 'buyer': this.buyer = 'btn-info';\n break;\n case 'issuing': this.issuing = 'btn-info';\n break;\n case 'advising': this.advising = 'btn-info';\n break;\n case 'seller': this.seller = 'btn-info';\n break;\n case 'dashboard': this.dashboard = 'btn-info';\n break;\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ApplyModalComponent {\r\n public title: string;\r\n public id: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/apply-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ApproveLocModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/approve-loc-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocStateSummary } from './../loc-state-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreateBolModalComponent {\r\n public title: string;\r\n public locSummary: LocStateSummary\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-bol-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreateInvoiceModalComponent {\r\n public title: string;\r\n public ref: string;\r\n public body: Component;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-invoice-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocStateSummary } from './../loc-state-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreatePlModalComponent {\r\n public title: string;\r\n public locSummary: LocStateSummary\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-pl-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class DocsModalComponent {\r\n public title: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/docs-modal.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.push([module.id, \"@import url(https://fonts.googleapis.com/css?family=Open+Sans);\", \"\"]);\n\n// module\nexports.push([module.id, \".modal-content {\\r\\n background-color: #000 !important;\\r\\n font-family: \\\"Open Sans\\\", Impact;\\r\\n}\\r\\n\\r\\n.svg {\\r\\n height: 200px;\\r\\n}\\r\\n\\r\\n.area {\\r\\n text-align: center;\\r\\n font-size: 2.5em;\\r\\n color: #fff;\\r\\n letter-spacing: -7px;\\r\\n font-weight: 700;\\r\\n text-transform: uppercase;\\r\\n -webkit-animation: blur 1s ease-out 5;\\r\\n animation: blur 1s ease-out 5;\\r\\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\\r\\n}\\r\\n\\r\\n@-webkit-keyframes blur {\\r\\n from {\\r\\n text-shadow:0px 0px 10px #fff,\\r\\n 0px 0px 10px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #7B96B8,\\r\\n 0px 0px 150px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8;\\r\\n }\\r\\n}\\r\\n\\r\\n@keyframes blur {\\r\\n from {\\r\\n text-shadow:0px 0px 10px #fff,\\r\\n 0px 0px 10px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #7B96B8,\\r\\n 0px 0px 150px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8;\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.css\n// module id = ../../../../../src/app/modals/modal.component.css\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"/*dark background to support form theme*/\\n.modal-main {\\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\\n\\n/*sass variables used*/\\n/*site container*/\\n.wrapper {\\n width: 420px;\\n height: 200px;\\n margin: 0 auto; }\\n\\nh1 {\\n text-align: center;\\n padding: 30px 0px 0px 0px;\\n font: 25px Oswald;\\n color: #FFF;\\n text-transform: uppercase;\\n text-shadow: #000 0px 1px 5px;\\n margin: 0px; }\\n\\np {\\n font: 13px Open Sans;\\n color: #6E6E6E;\\n text-shadow: #000 0px 1px 5px;\\n margin-bottom: 30px; }\\n\\n.name-help, .email-help {\\n display: none;\\n padding: 0px;\\n margin: 0px 0px 15px 0px; }\\n\\n.optimize {\\n position: fixed;\\n right: 3%;\\n top: 0px; }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.scss\n// module id = ../../../../../src/app/modals/modal.component.scss\n// module chunks = main","import { Component, OnInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { RefreshService } from './../services/refresh.service';\r\nimport { SpinnerComponent } from './../spinner/spinner.component';\r\nimport { Observable } from 'rxjs/Rx';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.css'],\r\n template: `\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{message}}\r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n`\r\n})\r\nexport class ResponseModalComponent implements OnInit {\r\n public title: string;\r\n public message: string;\r\n public body: string;\r\n constructor(public bsModalRef: BsModalRef,\r\n private refreshService: RefreshService) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n\r\n updateMessage(text: string) {\r\n this.message = text;\r\n }\r\n\r\n ngOnInit(): void {\r\n Observable.timer(500).subscribe(t => { this.updateMessage('Running') })\r\n // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') })\r\n // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') })\r\n // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') })\r\n // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') })\r\n // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) })\r\n Observable.timer(1200).subscribe(t => { this.close() })\r\n Observable.timer(1200).subscribe(t => { this.refreshService.confirmMission() })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/response-modal.component.ts","module.exports = \"
\\r\\n
\\r\\n

{{title}}

\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal-nested.html\n// module id = ../../../../../src/app/modals/ship-modal-nested.html\n// module chunks = main","import { Component, TemplateRef } from '@angular/core';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n templateUrl: './ship-modal-nested.html'\r\n})\r\nexport class ShipModalComponent {\r\n public title: string;\r\n public locSummary: LocSummary\r\n public modalRef: BsModalRef;\r\n public modalRef2: BsModalRef;\r\n constructor(public bsModalRef: BsModalRef,\r\n private modalService: BsModalService) {}\r\n\r\n public openModal(template: TemplateRef) {\r\n this.modalRef = this.modalService.show(template, {class: 'second'});\r\n }\r\n\r\n public openModal2(template: TemplateRef) {\r\n this.modalRef2 = this.modalService.show(template, {class: 'second'});\r\n }\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ViewBolTimelineModalComponent } from './view-bol-timeline-modal.component'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewBolModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n public modalRef2: BsModalRef;\r\n constructor(public bsModalRef: BsModalRef,\r\n private modalService: BsModalService) {}\r\n\r\n public openModal2() {\r\n this.modalRef2 = this.modalService.show(ViewBolTimelineModalComponent);\r\n this.modalRef2.content.id = this.id;\r\n this.modalRef2.content.requestor = this.requestor;\r\n }\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewBolTimelineModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-timeline-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewInvoiceModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public invoiceId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-invoice-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewLocAppModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-app-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewLocStateModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-state-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewPlModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-pl-modal.component.ts","module.exports = \"
\\n
\\n \\n
\\n \\n
\\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.html\n// module id = ../../../../../src/app/packing-list-view/packing-list-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.scss\n// module id = ../../../../../src/app/packing-list-view/packing-list-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { PackingList } from './../packinglist'\nimport { DocsService } from './../services/docs.service'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'packing-list-view',\n templateUrl: './packing-list-view.component.html',\n styleUrls: ['./packing-list-view.component.scss']\n})\nexport class PackingListViewComponent implements OnChanges {\n @Input() id: string\n @Input() requestor: string\n pl: PackingList;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewPlModalComponent,\n private modalService: BsModalService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getPackingList(this.id, this.requestor).then(pl => this.pl = pl);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.css\n// module id = ../../../../../src/app/packing-list/packing-list.component.css\n// module chunks = main","module.exports = \"
\\n
\\n \\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n \\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.html\n// module id = ../../../../../src/app/packing-list/packing-list.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { PackingList } from './../packinglist'\nimport { DocsService } from './../services/docs.service'\nimport { CreatePlModalComponent } from './../modals/create-pl-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport { LocStateSummary } from './../loc-state-summary'\n\n@Component({\n selector: 'packing-list',\n templateUrl: './packing-list.component.html',\n styleUrls: ['./packing-list.component.css']\n})\nexport class PackingListComponent implements OnInit {\n pl = new PackingList();\n submitted = false;\n bsModalRef: BsModalRef;\n @Input() loc: LocStateSummary;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreatePlModalComponent,\n private modalService: BsModalService) { }\n\n createpl(): void {\n this.pl.advisingBank = this.loc[0].advisory;\n this.pl.issuingBank = this.loc[0].issuer;\n this.docsService.createPackingList(this.pl).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.pl.issueDate = d;\n this.pl.orderNumber = this.loc[0].orderRef;\n this.pl.sellersOrderNumber = this.loc[0].orderRef;\n this.pl.transportMethod = 'Ship';\n this.pl.nameOfVessel = 'SurfRider';\n this.pl.billOfLadingNumber = this.loc[0].orderRef;\n this.pl.sellerName = 'Seller';\n this.pl.sellerAddress = '123 Street. Beijing, China';\n this.pl.buyerName = 'Buyer';\n this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111';\n this.pl.goodsDescription = this.loc[0].description;\n this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef;\n this.pl.goodsQuantity = 10000;\n this.pl.goodsUnitPrice = this.loc[0].amount;\n this.pl.goodsGrossWeight = 1000;\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createpl();\n }\n\n }\n\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class PackingList implements Serializable {\r\n\r\n public issueDate: Date;\r\n public orderNumber: string;\r\n public sellersOrderNumber: string;\r\n\r\n public transportMethod: string;\r\n public nameOfVessel: string;\r\n public billOfLadingNumber: string;\r\n\r\n public sellerName: string;\r\n public sellerAddress: string;\r\n public sellerPhone: string;\r\n\r\n public buyerName: string;\r\n public buyerAddress: string;\r\n public buyerPhone: string;\r\n\r\n public goodsDescription: string;\r\n public goodsPurchaseOrderRef: string;\r\n public goodsQuantity: number;\r\n public goodsUnitPrice: number;\r\n public goodsGrossWeight: number;\r\n\r\n public attachmentHash: string;\r\n\r\n public advisingBank: string;\r\n public issuingBank: string;\r\n\r\n deserialize(input: any) {\r\n this.issueDate = input.props.issueDate;\r\n this.orderNumber = input.props.orderNumber;\r\n this.sellersOrderNumber = input.props.sellersOrderNumber;\r\n\r\n this.transportMethod = input.props.transportMethod;\r\n this.nameOfVessel = input.props.nameOfVessel;\r\n this.billOfLadingNumber = input.props.billOfLadingNumber;\r\n\r\n this.sellerName = input.props.seller.name;\r\n this.sellerAddress = input.props.seller.address;\r\n this.sellerPhone = input.props.seller.phone;\r\n\r\n this.buyerName = input.props.buyer.name;\r\n this.buyerAddress = input.props.buyer.address;\r\n this.buyerPhone = input.props.buyer.phone;\r\n\r\n this.goodsDescription = input.props.descriptionOfGoods[0].description;\r\n this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef;\r\n this.goodsQuantity = input.props.descriptionOfGoods[0].quantity;\r\n this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice;\r\n this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit;\r\n\r\n this.attachmentHash = input.props.attachmentHash\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packinglist.ts","import { Serializable } from './serializable';\r\n\r\nexport class Party implements Serializable {\r\n name: string;\r\n\r\n deserialize(input: any) {\r\n this.name = input.me;\r\n return this;\r\n }\r\n\r\n deserializeName(input: any) {\r\n this.name = input;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/party.ts","import { Injectable } from '@angular/core';\nimport { LocService } from './../loc.service'\n\n@Injectable()\nexport class AdvisingBankService {\n\nservice: LocService;\n\nconstructor(private locService: LocService) {\n this.locService = locService;\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/advising-bank.service.ts","import { Injectable } from '@angular/core';\nimport { Currency } from './currency'\nimport { CURRENCY } from './mock-currency'\nimport { WeightUnit } from './weight-unit'\nimport { WEIGHTUNIT } from './mock-weight-unit'\n\n@Injectable()\nexport class CommonService {\n getCurrencies(): Promise {\n return Promise.resolve(CURRENCY);\n }\n\n getWeightUnits(): Promise {\n return Promise.resolve(WEIGHTUNIT);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/common.service.ts","import { Currency } from './currency'\r\n\r\nexport const CURRENCY: Currency[] = [\r\n { id: 'USD', name: 'USD' },\r\n { id: 'EUR', name: 'EUR' },\r\n { id: 'GBP', name: 'GBP' }\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/mock-currency.ts","import { WeightUnit } from './weight-unit'\r\n\r\nexport const WEIGHTUNIT: WeightUnit[] = [\r\n { id: 11, name: 'KG' },\r\n { id: 12, name: 'LBS' }\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/mock-weight-unit.ts","import { Injectable } from '@angular/core';\r\nimport { CreditType } from './credit-type'\r\nimport { CREDITTYPES } from './mock-credit-type'\r\n\r\n@Injectable()\r\nexport class CreditTypeService {\r\n getCreditTypes(): Promise {\r\n return Promise.resolve(CREDITTYPES);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/credit-types/credit-type.service.ts","import { CreditType } from './credit-type'\r\n\r\nexport const CREDITTYPES: CreditType[] = [\r\n { id: 'SIGHT', name: 'Sight' },\r\n { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' },\r\n { id: 'ACCEPTANCE', name: 'Acceptance' },\r\n { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' },\r\n { id: 'TRANSFERABLE', name: 'Transferable' },\r\n { id: 'STANDBY', name: 'Standby' },\r\n { id: 'REVOLVING', name: 'Revolving' },\r\n { id: 'RED_CLAUSE', name: 'Red Clause' },\r\n { id: 'GREEN_CLAUSE', name: 'Green Clause' },\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/credit-types/mock-credit-type.ts","import { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http'\nimport { Bol } from './../bol'\nimport { BolEvents } from './../bol-events'\nimport { PackingList } from './../packinglist'\nimport { Invoice } from './../invoice'\nimport { LocSummary } from './../loc-summary'\nimport { Party } from './../party'\nimport { Tx } from './../tx'\nimport 'rxjs/add/operator/toPromise';\n\n@Injectable()\nexport class DocsService {\n\n public buyer = 10013;\n public issuer = 10007;\n public advisory = 10010;\n public seller = 10016;\n current = this.issuer;\n\n private allLocUrl = 'http://localhost:' + this.current + '/api/loc/all';\n private awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval';\n private activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active';\n private awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment';\n private peersUrl = 'http://localhost:' + this.current + '/api/loc/peers';\n\n private createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol';\n private createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl';\n private createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade';\n\n private invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices';\n private invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice';\n\n private bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol';\n private bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol';\n private bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol';\n private packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list';\n private packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list';\n private packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list';\n\n private bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events';\n private bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events';\n private bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events';\n\n private headers = new Headers({'Content-Type': 'application/json'});\n\n constructor(private http: Http) {}\n\n createBol(bol: Bol): Promise {\n return this.http\n .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n createPackingList(packingList: PackingList): Promise {\n return this.http\n .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n createInvoice(invoice: Invoice): Promise {\n return this.http\n .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n getBol(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor[0]) {\n case 'buyer': {\n url = `${this.bolUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.bolUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.bolUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new Bol().deserialize(response.json()) as Bol)\n .catch(this.handleError);\n }\n\n getBolEvents(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor[0]) {\n case 'buyer': {\n url = `${this.bolEventsUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.bolEventsUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.bolEventsUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new BolEvents().deserialize(response.json()) as BolEvents)\n .catch(this.handleError);\n }\n\n getPackingList(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor) {\n case 'buyer': {\n url = `${this.packingListUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.packingListUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.packingListUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new PackingList().deserialize(response.json()) as PackingList)\n .catch(this.handleError);\n }\n\n getInvoices(): Promise {\n return this.http.get(this.invoicesUrl)\n .toPromise()\n .then(response => this.createInvoiceArray(response.json()) as Invoice[])\n .catch(this.handleError)\n }\n\n getInvoice(id: string): Promise {\n const url = `${this.invoiceUrl}?ref=${id}`;\n return this.http.get(url)\n .toPromise()\n .then(response => new Invoice().deserialize(response.json()) as Invoice)\n .catch(this.handleError);\n }\n\n private createInvoiceArray(input: any): Invoice[] {\n let invoices = new Array();\n input.forEach((element: string[]) => {\n let invoice = new Invoice().deserialize(element);\n invoices.push(invoice)\n });\n return invoices;\n }\n\n private handleError(error: any): Promise {\n console.error('An error occurred', error); // for demo purposes only\n return Promise.reject(error.message || error);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/docs.service.ts","import { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http'\nimport { Party } from './../party';\nimport 'rxjs/add/operator/toPromise';\n\n@Injectable()\nexport class IdentityService {\n\n public buyer = 10013;\n public issuer = 10007;\n public advisory = 10010;\n public seller = 10016;\n\n private buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me';\n private issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me';\n private advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me';\n private sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me';\n\n public buyerId: string;\n public issuerId: string;\n public advisoryId: string;\n public sellerId: string;\n\n constructor(private http: Http) { }\n\n getAll() {\n this.getBuyer();\n this.getIssuer();\n this.getAdvisory();\n this.getSeller();\n }\n\n getBuyer() {\n if (this.buyerId === undefined) {\n this.http.get(this.buyerUrl)\n .toPromise()\n .then(response => this.buyerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getIssuer() {\n if (this.issuerId === undefined) {\n this.http.get(this.issuerId)\n .toPromise()\n .then(response => this.issuerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getAdvisory() {\n if (this.advisoryId === undefined) {\n this.http.get(this.advisoryId)\n .toPromise()\n .then(response => this.advisoryId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getSeller() {\n if (this.sellerId === undefined) {\n this.http.get(this.sellerId)\n .toPromise()\n .then(response => this.sellerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n private handleError(error: any): Promise {\n console.error('An error occurred', error); // for demo purposes only\n return Promise.reject(error.message || error);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/identity.service.ts","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class IssuingBankService {\n\nconstructor() { }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/issuing-bank.service.ts","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs/Subject';\n\n@Injectable()\nexport class RefreshService {\n\n // Observable sources\n private confirmedSource = new Subject();\n\n // Observable string streams\n missionConfirmed$ = this.confirmedSource.asObservable();\n\n confirmMission() {\n this.confirmedSource.next(true);\n }\n\nconstructor() { }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/refresh.service.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.css\n// module id = ../../../../../src/app/ship/ship.component.css\n// module chunks = main","module.exports = \"\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.html\n// module id = ../../../../../src/app/ship/ship.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocService } from './../loc.service';\nimport { LocSummary } from './../loc-summary'\nimport 'rxjs/add/operator/switchMap';\n\n@Component({\n selector: 'ship',\n templateUrl: './ship.component.html',\n styleUrls: ['./ship.component.css']\n})\nexport class ShipComponent implements OnInit {\n @Input() loc: LocSummary\n\n constructor(private locService: LocService) { }\n\n ngOnInit() {\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.ts","module.exports = \"
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.html\n// module id = ../../../../../src/app/spinner/spinner.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\n background: #161616;\\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\\n}\\n.stop {\\n animation-play-state: paused;\\n -moz-animation-play-state: paused;\\n -webkit-animation-play-state: paused;\\n}\\n.trigger {\\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\\n border: 1px solid #111;\\n border-right-color: #333;\\n border-bottom-color: #333;\\n text-decoration: none;\\n color: #fff;\\n padding: 10px;\\n font-family: Verdana, Geneva, sans-serif;\\n font-size: 0.8em;\\n text-transform: lowercase;\\n margin: 10px auto;\\n display: block;\\n width: 140px;\\n border-radius: 5px;\\n text-align: center;\\n}\\n.trigger:hover {\\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\\n}\\n#ajaxloader1 {\\n width: 30px !important;\\n height: 30px !important;\\n border: 8px solid #fff !important;\\n border-radius: 50% !important;\\n box-shadow: 0 0 25px 2px !important;\\n color: #fff !important;\\n border-color: #f00 !important;\\n color: #cc0000 !important;\\n border-right-color: transparent !important;\\n border-top-color: transparent !important;\\n -webkit-animation: spin-right 1s linear infinite normal !important;\\n animation: spin-right 1s linear infinite normal !important;\\n -webkit-animation-delay: 0 !important;\\n animation-delay: 0 !important;\\n margin: 30px auto 0 !important;\\n}\\n#ajaxloader1:after {\\n display: block !important;\\n width: 13px !important;\\n height: 13px !important;\\n margin: 3px !important;\\n border: 6px solid #f00 !important;\\n content: \\\" \\\" !important;\\n border-radius: 50% !important;\\n border-left-color: transparent !important;\\n border-bottom-color: transparent !important;\\n}\\n@keyframes spin-right {\\n from {\\n -webkit-transform: rotate(0deg);\\n transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(180deg);\\n transform: rotate(180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n opacity: 0.2;\\n }\\n}\\n@-webkit-keyframes spin-right {\\n from {\\n -webkit-transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(360deg);\\n opacity: 0.2;\\n }\\n}\\n@keyframes spin-left {\\n from {\\n -webkit-transform: rotate(0deg);\\n transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(-180deg);\\n transform: rotate(-180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(-360deg);\\n transform: rotate(-360deg);\\n opacity: 0.2;\\n }\\n}\\n@-webkit-keyframes spin-left {\\n from {\\n -webkit-transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(-180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(-360deg);\\n opacity: 0.2;\\n }\\n}\\n@keyframes pulse {\\n from {\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n opacity: 1;\\n }\\n to {\\n -webkit-transform: scale(0.7);\\n transform: scale(0.7);\\n opacity: 0.1;\\n }\\n}\\n@-webkit-keyframes pulse {\\n from {\\n -webkit-transform: scale(1.2);\\n opacity: 1;\\n }\\n to {\\n -webkit-transform: scale(0.7);\\n opacity: 0.1;\\n }\\n}\\n@keyframes ball-circlex {\\n from {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n 25% {\\n -webkit-transform: translateX(25px);\\n transform: translateX(25px);\\n -webkit-animation-timing-function: ease-in;\\n animation-timing-function: ease-in;\\n }\\n 50% {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n 75% {\\n -webkit-transform: translateX(-25px);\\n transform: translateX(-25px);\\n -webkit-animation-timing-function: ease-in;\\n animation-timing-function: ease-in;\\n }\\n to {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n}\\n@-webkit-keyframes ball-circlex {\\n from {\\n -webkit-transform: translateX(0px);\\n }\\n 25% {\\n -webkit-transform: translateX(25px);\\n -webkit-animation-timing-function: ease-in;\\n }\\n 50% {\\n -webkit-transform: translateX(0px);\\n }\\n 75% {\\n -webkit-transform: translateX(-25px);\\n -webkit-animation-timing-function: ease-in;\\n }\\n to {\\n -webkit-transform: translateX(0px);\\n }\\n}\\n@keyframes facebook-pulse {\\n 10% {\\n margin-top: 5px;\\n height: 22px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 20% {\\n margin-top: 0px;\\n height: 32px;\\n border-color: #d1d7e2;\\n background-color: #bac5db;\\n }\\n 30% {\\n margin-top: 1px;\\n height: 30px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 40% {\\n margin-top: 3px;\\n height: 26px;\\n }\\n 50% {\\n margin-top: 5px;\\n height: 22px;\\n }\\n 60% {\\n margin-top: 6px;\\n height: 18px;\\n }\\n}\\n@-webkit-keyframes facebook-pulse {\\n 10% {\\n margin-top: 5px;\\n height: 22px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 20% {\\n margin-top: 0px;\\n height: 32px;\\n border-color: #d1d7e2;\\n background-color: #bac5db;\\n }\\n 30% {\\n margin-top: 1px;\\n height: 30px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 40% {\\n margin-top: 3px;\\n height: 26px;\\n }\\n 50% {\\n margin-top: 5px;\\n height: 22px;\\n }\\n 60% {\\n margin-top: 6px;\\n height: 18px;\\n }\\n}\\n@keyframes loadpulse-ball {\\n from {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n }\\n to {\\n -webkit-transform: scale(1);\\n transform: scale(1);\\n }\\n}\\n@-webkit-keyframes loadpulse-ball {\\n from {\\n -webkit-transform: scale(0);\\n }\\n to {\\n -webkit-transform: scale(1);\\n }\\n}\\n@keyframes loadpulse-glow {\\n from {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n opacity: 0;\\n }\\n 10% {\\n -webkit-transform: scale(1);\\n transform: scale(1);\\n opacity: 0.5;\\n }\\n 50% {\\n -webkit-transform: scale(1.75);\\n transform: scale(1.75);\\n opacity: 0;\\n }\\n to {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n opacity: 0;\\n }\\n}\\n@-webkit-keyframes loadpulse-glow {\\n from {\\n -webkit-transform: scale(0);\\n opacity: 0;\\n }\\n 10% {\\n -webkit-transform: scale(1);\\n opacity: 0.5;\\n }\\n 50% {\\n -webkit-transform: scale(1.75);\\n opacity: 0;\\n }\\n to {\\n -webkit-transform: scale(0);\\n opacity: 0;\\n }\\n}\\n@keyframes pound {\\n to {\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\\n }\\n}\\n@-webkit-keyframes pound {\\n to {\\n -webkit-transform: scale(1.2);\\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\\n }\\n}\\n@keyframes letters {\\n to {\\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\\n }\\n}\\n@-webkit-keyframes letters {\\n to {\\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\\n }\\n}\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.less\n// module id = ../../../../../src/app/spinner/spinner.component.less\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.less']\n})\nexport class SpinnerComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Stats implements Serializable {\r\n public awaitingApproval: number;\r\n public active: number;\r\n public awaitingPayment: number;\r\n\r\n deserialize(input: any) {\r\n this.awaitingApproval = input.awaitingApproval;\r\n this.active = input.active;\r\n this.awaitingPayment = input.awaitingPayment\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/stats.ts","module.exports = \"
    \\n\\n
    \\n\\n
  • \\n
    {{event.value}}
    \\n
  • \\n\\n
  • \\n
    \\n
    \\n
    \\n

    Owned by {{event.key}}

    \\n

    {{event.value}}

    \\n
    \\n
    \\n
  • \\n\\n
    \\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.html\n// module id = ../../../../../src/app/timeline/timeline.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"img {\\n border: 0;\\n max-width: 100%; }\\n\\n.page-header h1 {\\n font-size: 3.26em;\\n text-align: center;\\n color: #efefef;\\n text-shadow: 1px 1px 0 #000; }\\n\\n/** timeline box structure **/\\n.timeline {\\n list-style: none;\\n padding: 20px 0 20px;\\n position: relative; }\\n\\n.timeline:before {\\n top: 0;\\n bottom: 0;\\n position: absolute;\\n content: \\\" \\\";\\n width: 3px;\\n background-color: #eee;\\n left: 50%;\\n margin-left: -1.5px; }\\n\\n.tldate {\\n display: block;\\n width: 200px;\\n background: #414141;\\n border: 3px solid #212121;\\n color: #ededed;\\n margin: 0 auto;\\n padding: 3px 0;\\n font-weight: bold;\\n text-align: center;\\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\\n\\n.timeline li {\\n margin-bottom: 25px;\\n position: relative; }\\n\\n.timeline li:before, .timeline li:after {\\n content: \\\" \\\";\\n display: table; }\\n\\n.timeline li:after {\\n clear: both; }\\n\\n.timeline li:before, .timeline li:after {\\n content: \\\" \\\";\\n display: table; }\\n\\n/** timeline panels **/\\n.timeline li .timeline-panel {\\n width: 46%;\\n float: left;\\n background: #fff;\\n border: 1px solid #d4d4d4;\\n padding: 20px;\\n position: relative;\\n border-radius: 8px;\\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\\n\\n/** panel arrows **/\\n.timeline li .timeline-panel:before {\\n position: absolute;\\n top: 26px;\\n right: -15px;\\n display: inline-block;\\n border-top: 15px solid transparent;\\n border-left: 15px solid #ccc;\\n border-right: 0 solid #ccc;\\n border-bottom: 15px solid transparent;\\n content: \\\" \\\"; }\\n\\n.timeline li .timeline-panel:after {\\n position: absolute;\\n top: 27px;\\n right: -14px;\\n display: inline-block;\\n border-top: 14px solid transparent;\\n border-left: 14px solid #fff;\\n border-right: 0 solid #fff;\\n border-bottom: 14px solid transparent;\\n content: \\\" \\\"; }\\n\\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\\n top: 0;\\n right: 0;\\n display: none;\\n border: 0; }\\n\\n.timeline li.timeline-inverted .timeline-panel {\\n float: right; }\\n\\n.timeline li.timeline-inverted .timeline-panel:before {\\n border-left-width: 0;\\n border-right-width: 15px;\\n left: -15px;\\n right: auto; }\\n\\n.timeline li.timeline-inverted .timeline-panel:after {\\n border-left-width: 0;\\n border-right-width: 14px;\\n left: -14px;\\n right: auto; }\\n\\n/** timeline circle icons **/\\n.timeline li .tl-circ {\\n position: absolute;\\n top: 23px;\\n left: 50%;\\n text-align: center;\\n background: #6a8db3;\\n color: #fff;\\n width: 35px;\\n height: 35px;\\n line-height: 35px;\\n margin-left: -16px;\\n border: 3px solid #90acc7;\\n border-top-right-radius: 50%;\\n border-top-left-radius: 50%;\\n border-bottom-right-radius: 50%;\\n border-bottom-left-radius: 50%;\\n z-index: 99999; }\\n\\n/** timeline content **/\\n.tl-heading h4 {\\n margin: 0;\\n color: #c25b4e; }\\n\\n.tl-body p, .tl-body ul {\\n margin-bottom: 0; }\\n\\n.tl-body > p + p {\\n margin-top: 5px; }\\n\\n/** media queries **/\\n@media (max-width: 991px) {\\n .timeline li .timeline-panel {\\n width: 44%; } }\\n\\n@media (max-width: 700px) {\\n .page-header h1 {\\n font-size: 1.8em; }\\n ul.timeline:before {\\n left: 40px; }\\n .tldate {\\n width: 140px; }\\n ul.timeline li .timeline-panel {\\n width: calc(100% - 90px);\\n width: -webkit-calc(100% - 90px); }\\n ul.timeline li .tl-circ {\\n top: 22px;\\n left: 22px;\\n margin-left: 0; }\\n ul.timeline > li > .tldate {\\n margin: 0; }\\n ul.timeline > li > .timeline-panel {\\n float: right; }\\n ul.timeline > li > .timeline-panel:before {\\n border-left-width: 0;\\n border-right-width: 15px;\\n left: -15px;\\n right: auto; }\\n ul.timeline > li > .timeline-panel:after {\\n border-left-width: 0;\\n border-right-width: 14px;\\n left: -14px;\\n right: auto; } }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.scss\n// module id = ../../../../../src/app/timeline/timeline.component.scss\n// module chunks = main","import { Component, OnChanges, Input, SimpleChanges } from '@angular/core';\nimport { DocsService } from './../services/docs.service';\nimport { BolEvents } from './../bol-events';\n\n@Component({\n selector: 'timeline',\n templateUrl: './timeline.component.html',\n styleUrls: ['./timeline.component.scss']\n})\nexport class TimelineComponent implements OnChanges {\n @Input() id: string;\n @Input() requestor: string;\n bolEvents: BolEvents;\n\n constructor(private docsService: DocsService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getBolEvents(this.id, this.requestor).then(bolEvents => this.bolEvents = bolEvents);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Tx implements Serializable {\r\n\r\n public txResponse: string;\r\n\r\n deserialize(input: any) {\r\n this.txResponse = input.message;\r\n return this;\r\n }\r\n\r\n text(input: any) {\r\n this.txResponse = input;\r\n return this;\r\n }\r\n\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/tx.ts","var myExtObject = (function() {\r\n\r\n return {\r\n loadModal: function() {\r\n $('#modal-container').removeAttr('class').addClass('one');\r\n $('body').addClass('modal-active');\r\n setTimeout(this.closeModal(), 3000);\r\n },\r\n closeModal: function() {\r\n $('#modal-container').removeAttr('class');\r\n $(this).addClass('out');\r\n $('body').removeClass('modal-active');\r\n }\r\n }\r\n\r\n })(myExtObject||{})\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/assets/modal.js\n// module id = ../../../../../src/assets/modal.js\n// module chunks = main","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport { enableProdMode } from '@angular/core';\nimport { AppModule } from './app/app.module';\n\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/main.ts","var map = {\n\t\"./af\": \"../../../../moment/locale/af.js\",\n\t\"./af.js\": \"../../../../moment/locale/af.js\",\n\t\"./ar\": \"../../../../moment/locale/ar.js\",\n\t\"./ar-dz\": \"../../../../moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"../../../../moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"../../../../moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"../../../../moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"../../../../moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"../../../../moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"../../../../moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"../../../../moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"../../../../moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"../../../../moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"../../../../moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"../../../../moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"../../../../moment/locale/ar.js\",\n\t\"./az\": \"../../../../moment/locale/az.js\",\n\t\"./az.js\": \"../../../../moment/locale/az.js\",\n\t\"./be\": \"../../../../moment/locale/be.js\",\n\t\"./be.js\": \"../../../../moment/locale/be.js\",\n\t\"./bg\": \"../../../../moment/locale/bg.js\",\n\t\"./bg.js\": \"../../../../moment/locale/bg.js\",\n\t\"./bn\": \"../../../../moment/locale/bn.js\",\n\t\"./bn.js\": \"../../../../moment/locale/bn.js\",\n\t\"./bo\": \"../../../../moment/locale/bo.js\",\n\t\"./bo.js\": \"../../../../moment/locale/bo.js\",\n\t\"./br\": \"../../../../moment/locale/br.js\",\n\t\"./br.js\": \"../../../../moment/locale/br.js\",\n\t\"./bs\": \"../../../../moment/locale/bs.js\",\n\t\"./bs.js\": \"../../../../moment/locale/bs.js\",\n\t\"./ca\": \"../../../../moment/locale/ca.js\",\n\t\"./ca.js\": \"../../../../moment/locale/ca.js\",\n\t\"./cs\": \"../../../../moment/locale/cs.js\",\n\t\"./cs.js\": \"../../../../moment/locale/cs.js\",\n\t\"./cv\": \"../../../../moment/locale/cv.js\",\n\t\"./cv.js\": \"../../../../moment/locale/cv.js\",\n\t\"./cy\": \"../../../../moment/locale/cy.js\",\n\t\"./cy.js\": \"../../../../moment/locale/cy.js\",\n\t\"./da\": \"../../../../moment/locale/da.js\",\n\t\"./da.js\": \"../../../../moment/locale/da.js\",\n\t\"./de\": \"../../../../moment/locale/de.js\",\n\t\"./de-at\": \"../../../../moment/locale/de-at.js\",\n\t\"./de-at.js\": \"../../../../moment/locale/de-at.js\",\n\t\"./de-ch\": \"../../../../moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"../../../../moment/locale/de-ch.js\",\n\t\"./de.js\": \"../../../../moment/locale/de.js\",\n\t\"./dv\": \"../../../../moment/locale/dv.js\",\n\t\"./dv.js\": \"../../../../moment/locale/dv.js\",\n\t\"./el\": \"../../../../moment/locale/el.js\",\n\t\"./el.js\": \"../../../../moment/locale/el.js\",\n\t\"./en-au\": \"../../../../moment/locale/en-au.js\",\n\t\"./en-au.js\": \"../../../../moment/locale/en-au.js\",\n\t\"./en-ca\": \"../../../../moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"../../../../moment/locale/en-ca.js\",\n\t\"./en-gb\": \"../../../../moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"../../../../moment/locale/en-gb.js\",\n\t\"./en-ie\": \"../../../../moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"../../../../moment/locale/en-ie.js\",\n\t\"./en-nz\": \"../../../../moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"../../../../moment/locale/en-nz.js\",\n\t\"./eo\": \"../../../../moment/locale/eo.js\",\n\t\"./eo.js\": \"../../../../moment/locale/eo.js\",\n\t\"./es\": \"../../../../moment/locale/es.js\",\n\t\"./es-do\": \"../../../../moment/locale/es-do.js\",\n\t\"./es-do.js\": \"../../../../moment/locale/es-do.js\",\n\t\"./es.js\": \"../../../../moment/locale/es.js\",\n\t\"./et\": \"../../../../moment/locale/et.js\",\n\t\"./et.js\": \"../../../../moment/locale/et.js\",\n\t\"./eu\": \"../../../../moment/locale/eu.js\",\n\t\"./eu.js\": \"../../../../moment/locale/eu.js\",\n\t\"./fa\": \"../../../../moment/locale/fa.js\",\n\t\"./fa.js\": \"../../../../moment/locale/fa.js\",\n\t\"./fi\": \"../../../../moment/locale/fi.js\",\n\t\"./fi.js\": \"../../../../moment/locale/fi.js\",\n\t\"./fo\": \"../../../../moment/locale/fo.js\",\n\t\"./fo.js\": \"../../../../moment/locale/fo.js\",\n\t\"./fr\": \"../../../../moment/locale/fr.js\",\n\t\"./fr-ca\": \"../../../../moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"../../../../moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"../../../../moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"../../../../moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"../../../../moment/locale/fr.js\",\n\t\"./fy\": \"../../../../moment/locale/fy.js\",\n\t\"./fy.js\": \"../../../../moment/locale/fy.js\",\n\t\"./gd\": \"../../../../moment/locale/gd.js\",\n\t\"./gd.js\": \"../../../../moment/locale/gd.js\",\n\t\"./gl\": \"../../../../moment/locale/gl.js\",\n\t\"./gl.js\": \"../../../../moment/locale/gl.js\",\n\t\"./gom-latn\": \"../../../../moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"../../../../moment/locale/gom-latn.js\",\n\t\"./he\": \"../../../../moment/locale/he.js\",\n\t\"./he.js\": \"../../../../moment/locale/he.js\",\n\t\"./hi\": \"../../../../moment/locale/hi.js\",\n\t\"./hi.js\": \"../../../../moment/locale/hi.js\",\n\t\"./hr\": \"../../../../moment/locale/hr.js\",\n\t\"./hr.js\": \"../../../../moment/locale/hr.js\",\n\t\"./hu\": \"../../../../moment/locale/hu.js\",\n\t\"./hu.js\": \"../../../../moment/locale/hu.js\",\n\t\"./hy-am\": \"../../../../moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"../../../../moment/locale/hy-am.js\",\n\t\"./id\": \"../../../../moment/locale/id.js\",\n\t\"./id.js\": \"../../../../moment/locale/id.js\",\n\t\"./is\": \"../../../../moment/locale/is.js\",\n\t\"./is.js\": \"../../../../moment/locale/is.js\",\n\t\"./it\": \"../../../../moment/locale/it.js\",\n\t\"./it.js\": \"../../../../moment/locale/it.js\",\n\t\"./ja\": \"../../../../moment/locale/ja.js\",\n\t\"./ja.js\": \"../../../../moment/locale/ja.js\",\n\t\"./jv\": \"../../../../moment/locale/jv.js\",\n\t\"./jv.js\": \"../../../../moment/locale/jv.js\",\n\t\"./ka\": \"../../../../moment/locale/ka.js\",\n\t\"./ka.js\": \"../../../../moment/locale/ka.js\",\n\t\"./kk\": \"../../../../moment/locale/kk.js\",\n\t\"./kk.js\": \"../../../../moment/locale/kk.js\",\n\t\"./km\": \"../../../../moment/locale/km.js\",\n\t\"./km.js\": \"../../../../moment/locale/km.js\",\n\t\"./kn\": \"../../../../moment/locale/kn.js\",\n\t\"./kn.js\": \"../../../../moment/locale/kn.js\",\n\t\"./ko\": \"../../../../moment/locale/ko.js\",\n\t\"./ko.js\": \"../../../../moment/locale/ko.js\",\n\t\"./ky\": \"../../../../moment/locale/ky.js\",\n\t\"./ky.js\": \"../../../../moment/locale/ky.js\",\n\t\"./lb\": \"../../../../moment/locale/lb.js\",\n\t\"./lb.js\": \"../../../../moment/locale/lb.js\",\n\t\"./lo\": \"../../../../moment/locale/lo.js\",\n\t\"./lo.js\": \"../../../../moment/locale/lo.js\",\n\t\"./lt\": \"../../../../moment/locale/lt.js\",\n\t\"./lt.js\": \"../../../../moment/locale/lt.js\",\n\t\"./lv\": \"../../../../moment/locale/lv.js\",\n\t\"./lv.js\": \"../../../../moment/locale/lv.js\",\n\t\"./me\": \"../../../../moment/locale/me.js\",\n\t\"./me.js\": \"../../../../moment/locale/me.js\",\n\t\"./mi\": \"../../../../moment/locale/mi.js\",\n\t\"./mi.js\": \"../../../../moment/locale/mi.js\",\n\t\"./mk\": \"../../../../moment/locale/mk.js\",\n\t\"./mk.js\": \"../../../../moment/locale/mk.js\",\n\t\"./ml\": \"../../../../moment/locale/ml.js\",\n\t\"./ml.js\": \"../../../../moment/locale/ml.js\",\n\t\"./mr\": \"../../../../moment/locale/mr.js\",\n\t\"./mr.js\": \"../../../../moment/locale/mr.js\",\n\t\"./ms\": \"../../../../moment/locale/ms.js\",\n\t\"./ms-my\": \"../../../../moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"../../../../moment/locale/ms-my.js\",\n\t\"./ms.js\": \"../../../../moment/locale/ms.js\",\n\t\"./my\": \"../../../../moment/locale/my.js\",\n\t\"./my.js\": \"../../../../moment/locale/my.js\",\n\t\"./nb\": \"../../../../moment/locale/nb.js\",\n\t\"./nb.js\": \"../../../../moment/locale/nb.js\",\n\t\"./ne\": \"../../../../moment/locale/ne.js\",\n\t\"./ne.js\": \"../../../../moment/locale/ne.js\",\n\t\"./nl\": \"../../../../moment/locale/nl.js\",\n\t\"./nl-be\": \"../../../../moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"../../../../moment/locale/nl-be.js\",\n\t\"./nl.js\": \"../../../../moment/locale/nl.js\",\n\t\"./nn\": \"../../../../moment/locale/nn.js\",\n\t\"./nn.js\": \"../../../../moment/locale/nn.js\",\n\t\"./pa-in\": \"../../../../moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"../../../../moment/locale/pa-in.js\",\n\t\"./pl\": \"../../../../moment/locale/pl.js\",\n\t\"./pl.js\": \"../../../../moment/locale/pl.js\",\n\t\"./pt\": \"../../../../moment/locale/pt.js\",\n\t\"./pt-br\": \"../../../../moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"../../../../moment/locale/pt-br.js\",\n\t\"./pt.js\": \"../../../../moment/locale/pt.js\",\n\t\"./ro\": \"../../../../moment/locale/ro.js\",\n\t\"./ro.js\": \"../../../../moment/locale/ro.js\",\n\t\"./ru\": \"../../../../moment/locale/ru.js\",\n\t\"./ru.js\": \"../../../../moment/locale/ru.js\",\n\t\"./sd\": \"../../../../moment/locale/sd.js\",\n\t\"./sd.js\": \"../../../../moment/locale/sd.js\",\n\t\"./se\": \"../../../../moment/locale/se.js\",\n\t\"./se.js\": \"../../../../moment/locale/se.js\",\n\t\"./si\": \"../../../../moment/locale/si.js\",\n\t\"./si.js\": \"../../../../moment/locale/si.js\",\n\t\"./sk\": \"../../../../moment/locale/sk.js\",\n\t\"./sk.js\": \"../../../../moment/locale/sk.js\",\n\t\"./sl\": \"../../../../moment/locale/sl.js\",\n\t\"./sl.js\": \"../../../../moment/locale/sl.js\",\n\t\"./sq\": \"../../../../moment/locale/sq.js\",\n\t\"./sq.js\": \"../../../../moment/locale/sq.js\",\n\t\"./sr\": \"../../../../moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"../../../../moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"../../../../moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"../../../../moment/locale/sr.js\",\n\t\"./ss\": \"../../../../moment/locale/ss.js\",\n\t\"./ss.js\": \"../../../../moment/locale/ss.js\",\n\t\"./sv\": \"../../../../moment/locale/sv.js\",\n\t\"./sv.js\": \"../../../../moment/locale/sv.js\",\n\t\"./sw\": \"../../../../moment/locale/sw.js\",\n\t\"./sw.js\": \"../../../../moment/locale/sw.js\",\n\t\"./ta\": \"../../../../moment/locale/ta.js\",\n\t\"./ta.js\": \"../../../../moment/locale/ta.js\",\n\t\"./te\": \"../../../../moment/locale/te.js\",\n\t\"./te.js\": \"../../../../moment/locale/te.js\",\n\t\"./tet\": \"../../../../moment/locale/tet.js\",\n\t\"./tet.js\": \"../../../../moment/locale/tet.js\",\n\t\"./th\": \"../../../../moment/locale/th.js\",\n\t\"./th.js\": \"../../../../moment/locale/th.js\",\n\t\"./tl-ph\": \"../../../../moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"../../../../moment/locale/tl-ph.js\",\n\t\"./tlh\": \"../../../../moment/locale/tlh.js\",\n\t\"./tlh.js\": \"../../../../moment/locale/tlh.js\",\n\t\"./tr\": \"../../../../moment/locale/tr.js\",\n\t\"./tr.js\": \"../../../../moment/locale/tr.js\",\n\t\"./tzl\": \"../../../../moment/locale/tzl.js\",\n\t\"./tzl.js\": \"../../../../moment/locale/tzl.js\",\n\t\"./tzm\": \"../../../../moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"../../../../moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"../../../../moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"../../../../moment/locale/tzm.js\",\n\t\"./uk\": \"../../../../moment/locale/uk.js\",\n\t\"./uk.js\": \"../../../../moment/locale/uk.js\",\n\t\"./ur\": \"../../../../moment/locale/ur.js\",\n\t\"./ur.js\": \"../../../../moment/locale/ur.js\",\n\t\"./uz\": \"../../../../moment/locale/uz.js\",\n\t\"./uz-latn\": \"../../../../moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"../../../../moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"../../../../moment/locale/uz.js\",\n\t\"./vi\": \"../../../../moment/locale/vi.js\",\n\t\"./vi.js\": \"../../../../moment/locale/vi.js\",\n\t\"./x-pseudo\": \"../../../../moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"../../../../moment/locale/x-pseudo.js\",\n\t\"./yo\": \"../../../../moment/locale/yo.js\",\n\t\"./yo.js\": \"../../../../moment/locale/yo.js\",\n\t\"./zh-cn\": \"../../../../moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"../../../../moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"../../../../moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"../../../../moment/locale/zh-hk.js\",\n\t\"./zh-tw\": \"../../../../moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"../../../../moment/locale/zh-tw.js\"\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"../../../../moment/locale recursive ^\\\\.\\\\/.*$\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/moment/locale ^\\.\\/.*$\n// module id = ../../../../moment/locale recursive ^\\.\\/.*$\n// module chunks = main"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js b/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js new file mode 100644 index 0000000..eacbc2a --- /dev/null +++ b/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js @@ -0,0 +1,5393 @@ +webpackJsonp(["polyfills"],{ + +/***/ "../../../../../src/polyfills.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__("../../../../core-js/es6/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__("../../../../core-js/es7/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__ = __webpack_require__("../../../../zone.js/dist/zone.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__); +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html + */ +/*************************************************************************************************** + * BROWSER POLYFILLS + */ +/** IE9, IE10 and IE11 requires all of the following polyfills. **/ +// import 'core-js/es6/symbol'; +// import 'core-js/es6/object'; +// import 'core-js/es6/function'; +// import 'core-js/es6/parse-int'; +// import 'core-js/es6/parse-float'; +// import 'core-js/es6/number'; +// import 'core-js/es6/math'; +// import 'core-js/es6/string'; +// import 'core-js/es6/date'; +// import 'core-js/es6/array'; +// import 'core-js/es6/regexp'; +// import 'core-js/es6/map'; +// import 'core-js/es6/weak-map'; +// import 'core-js/es6/set'; +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. +/** Evergreen browsers require these. **/ + + +/** + * Required to support Web Animations `@angular/animation`. + * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. +/*************************************************************************************************** + * Zone JS is required by Angular itself. + */ + // Included with Angular CLI. +/*************************************************************************************************** + * APPLICATION IMPORTS + */ +/** + * Date, currency, decimal and percent pipes. + * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 + */ +// import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en'; +//# sourceMappingURL=polyfills.js.map + +/***/ }), + +/***/ "../../../../core-js/es6/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es6.reflect.apply.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.construct.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.define-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.delete-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.enumerate.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-prototype-of.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.has.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.is-extensible.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.own-keys.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.prevent-extensions.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set-prototype-of.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/es7/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es7.reflect.define-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.delete-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.metadata.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/modules/_a-function.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-instance.js": +/***/ (function(module, exports) { + +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { + throw TypeError(name + ': incorrect invocation!'); + } return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-object.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-from-iterable.js": +/***/ (function(module, exports, __webpack_require__) { + +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); + +module.exports = function (iter, ITERATOR) { + var result = []; + forOf(iter, false, result.push, result, ITERATOR); + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-includes.js": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var toAbsoluteIndex = __webpack_require__("../../../../core-js/modules/_to-absolute-index.js"); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-methods.js": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var asc = __webpack_require__("../../../../core-js/modules/_array-species-create.js"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-constructor.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var isArray = __webpack_require__("../../../../core-js/modules/_is-array.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("../../../../core-js/modules/_array-species-constructor.js"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_bind.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var invoke = __webpack_require__("../../../../core-js/modules/_invoke.js"); +var arraySlice = [].slice; +var factories = {}; + +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); + } return factories[len](F, args); +}; + +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { + var args = partArgs.concat(arraySlice.call(arguments)); + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); + }; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; + return bound; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_classof.js": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_cof.js": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-strong.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var $iterDefine = __webpack_require__("../../../../core-js/modules/_iter-define.js"); +var step = __webpack_require__("../../../../core-js/modules/_iter-step.js"); +var setSpecies = __webpack_require__("../../../../core-js/modules/_set-species.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var fastKey = __webpack_require__("../../../../core-js/modules/_meta.js").fastKey; +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SIZE = DESCRIPTORS ? '_s' : 'size'; + +var getEntry = function (that, key) { + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; + // frozen object case + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = create(null); // index + that._f = undefined; // first entry + that._l = undefined; // last entry + that[SIZE] = 0; // size + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.1.3.1 Map.prototype.clear() + // 23.2.3.2 Set.prototype.clear() + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { + entry.r = true; + if (entry.p) entry.p = entry.p.n = undefined; + delete data[entry.i]; + } + that._f = that._l = undefined; + that[SIZE] = 0; + }, + // 23.1.3.3 Map.prototype.delete(key) + // 23.2.3.4 Set.prototype.delete(value) + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; + delete that._i[entry.i]; + entry.r = true; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; + that[SIZE]--; + } return !!entry; + }, + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { + f(entry.v, entry.k, this); + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + } + }, + // 23.1.3.7 Map.prototype.has(key) + // 23.2.3.7 Set.prototype.has(value) + has: function has(key) { + return !!getEntry(validate(this, NAME), key); + } + }); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; + } + }); + return C; + }, + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; + // change existing entry + if (entry) { + entry.v = value; + // create new entry + } else { + that._l = entry = { + i: index = fastKey(key, true), // <- index + k: key, // <- key + v: value, // <- value + p: prev = that._l, // <- previous entry + n: undefined, // <- next entry + r: false // <- removed + }; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; + that[SIZE]++; + // add to index + if (index !== 'F') that._i[index] = entry; + } return that; + }, + getEntry: getEntry, + setStrong: function (C, NAME, IS_MAP) { + // add .keys, .values, .entries, [@@iterator] + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + // get next entry + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { + // or finish the iteration + that._t = undefined; + return step(1); + } + // return step by kind + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); + return step(0, [entry.k, entry.v]); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // add [@@species], 23.1.2.2, 23.2.2.2 + setSpecies(NAME); + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-weak.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var getWeak = __webpack_require__("../../../../core-js/modules/_meta.js").getWeak; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var createArrayMethod = __webpack_require__("../../../../core-js/modules/_array-methods.js"); +var $has = __webpack_require__("../../../../core-js/modules/_has.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); +}; +var UncaughtFrozenStore = function () { + this.a = []; +}; +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { + return it[0] === key; + }); +}; +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.a.push([key, value]); + }, + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { + return it[0] === key; + }); + if (~index) this.a.splice(index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = id++; // collection id + that._l = undefined; // leak store for uncaught frozen objects + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.3.3.2 WeakMap.prototype.delete(key) + // 23.4.3.3 WeakSet.prototype.delete(value) + 'delete': function (key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); + return data && $has(data, this._i) && delete data[this._i]; + }, + // 23.3.3.4 WeakMap.prototype.has(key) + // 23.4.3.4 WeakSet.prototype.has(value) + has: function has(key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); + return data && $has(data, this._i); + } + }); + return C; + }, + def: function (that, key, value) { + var data = getWeak(anObject(key), true); + if (data === true) uncaughtFrozenStore(that).set(key, value); + else data[that._i] = value; + return that; + }, + ufstore: uncaughtFrozenStore +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var $iterDetect = __webpack_require__("../../../../core-js/modules/_iter-detect.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__("../../../../core-js/modules/_inherit-if-required.js"); + +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + var fixMethod = function (KEY) { + var fn = proto[KEY]; + redefine(proto, KEY, + KEY == 'delete' ? function (a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'has' ? function has(a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'get' ? function get(a) { + return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } + : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } + ); + }; + if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { + new C().entries().next(); + }))) { + // create collection constructor + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); + redefineAll(C.prototype, methods); + meta.NEED = true; + } else { + var instance = new C(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new C(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + C = wrapper(function (target, iterable) { + anInstance(target, C, NAME); + var that = inheritIfRequired(new Base(), target, C); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + return that; + }); + C.prototype = proto; + proto.constructor = C; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + // weak collections should not contains .clear method + if (IS_WEAK && proto.clear) delete proto.clear; + } + + setToStringTag(C, NAME); + + O[NAME] = C; + $export($export.G + $export.W + $export.F * (C != Base), O); + + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); + + return C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_core.js": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.5.0' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_ctx.js": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_defined.js": +/***/ (function(module, exports) { + +// 7.2.1 RequireObjectCoercible(argument) +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_descriptors.js": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_dom-create.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_enum-bug-keys.js": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "../../../../core-js/modules/_export.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var core = __webpack_require__("../../../../core-js/modules/_core.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var PROTOTYPE = 'prototype'; + +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; + + +/***/ }), + +/***/ "../../../../core-js/modules/_fails.js": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_for-of.js": +/***/ (function(module, exports, __webpack_require__) { + +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var call = __webpack_require__("../../../../core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__("../../../../core-js/modules/_is-array-iter.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var getIterFn = __webpack_require__("../../../../core-js/modules/core.get-iterator-method.js"); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); + // fast case for arrays with default iterator + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { + result = call(iterator, f, step.value, entries); + if (result === BREAK || result === RETURN) return result; + } +}; +exports.BREAK = BREAK; +exports.RETURN = RETURN; + + +/***/ }), + +/***/ "../../../../core-js/modules/_global.js": +/***/ (function(module, exports) { + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_has.js": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_hide.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_html.js": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "../../../../core-js/modules/_ie8-dom-define.js": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("../../../../core-js/modules/_descriptors.js") && !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__("../../../../core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_inherit-if-required.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var setPrototypeOf = __webpack_require__("../../../../core-js/modules/_set-proto.js").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_invoke.js": +/***/ (function(module, exports) { + +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function (fn, args, that) { + var un = that === undefined; + switch (args.length) { + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array-iter.js": +/***/ (function(module, exports, __webpack_require__) { + +// check on default Array iterator +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var ArrayProto = Array.prototype; + +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-object.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-call.js": +/***/ (function(module, exports, __webpack_require__) { + +// call something on iterator step with safe closing on error +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +module.exports = function (iterator, fn, value, entries) { + try { + return entries ? fn(anObject(value)[0], value[1]) : fn(value); + // 7.4.6 IteratorClose(iterator, completion) + } catch (e) { + var ret = iterator['return']; + if (ret !== undefined) anObject(ret.call(iterator)); + throw e; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-create.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var descriptor = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("../../../../core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-define.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("../../../../core-js/modules/_library.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var $iterCreate = __webpack_require__("../../../../core-js/modules/_iter-create.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; + +var returnThis = function () { return this; }; + +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-detect.js": +/***/ (function(module, exports, __webpack_require__) { + +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var SAFE_CLOSING = false; + +try { + var riter = [7][ITERATOR](); + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } + +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; + var safe = false; + try { + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; + exec(arr); + } catch (e) { /* empty */ } + return safe; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-step.js": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iterators.js": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_library.js": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "../../../../core-js/modules/_meta.js": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("../../../../core-js/modules/_uid.js")('meta'); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var setDesc = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); +}; +var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var Map = __webpack_require__("../../../../core-js/modules/es6.map.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('metadata'); +var store = shared.store || (shared.store = new (__webpack_require__("../../../../core-js/modules/es6.weak-map.js"))()); + +var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return undefined; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return undefined; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; +}; +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); +}; +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); +}; +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); +}; +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); + return keys; +}; +var toMetaKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); +}; +var exp = function (O) { + $export($export.S, 'Reflect', O); +}; + +module.exports = { + store: store, + map: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + key: toMetaKey, + exp: exp +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-assign.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 19.1.2.1 Object.assign(target, source, ...) +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var $assign = Object.assign; + +// should work with symbols and should have deterministic property order (V8 bug) +module.exports = !$assign || __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; + } return T; +} : $assign; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var dPs = __webpack_require__("../../../../core-js/modules/_object-dps.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = __webpack_require__("../../../../core-js/modules/_dom-create.js")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("../../../../core-js/modules/_html.js").appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); +}; + +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dp.js": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dps.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); + +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopd.js": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopn.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var hiddenKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gops.js": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gpo.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var ObjectProto = Object.prototype; + +module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys-internal.js": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var arrayIndexOf = __webpack_require__("../../../../core-js/modules/_array-includes.js")(false); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); + +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-pie.js": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "../../../../core-js/modules/_own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// all object keys, includes non-enumerable and symbols +var gOPN = __webpack_require__("../../../../core-js/modules/_object-gopn.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Reflect = __webpack_require__("../../../../core-js/modules/_global.js").Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; + return getSymbols ? keys.concat(getSymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_property-desc.js": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine-all.js": +/***/ (function(module, exports, __webpack_require__) { + +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +module.exports = function (target, src, safe) { + for (var key in src) redefine(target, key, src[key], safe); + return target; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var SRC = __webpack_require__("../../../../core-js/modules/_uid.js")('src'); +var TO_STRING = 'toString'; +var $toString = Function[TO_STRING]; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("../../../../core-js/modules/_core.js").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-proto.js": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("../../../../core-js/modules/_ctx.js")(Function.call, __webpack_require__("../../../../core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-species.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (KEY) { + var C = global[KEY]; + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { + configurable: true, + get: function () { return this; } + }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-to-string-tag.js": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared-key.js": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('keys'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); +module.exports = function (key) { + return store[key] || (store[key] = {}); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-absolute-index.js": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-integer.js": +/***/ (function(module, exports) { + +// 7.1.4 ToInteger +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-length.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-object.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-primitive.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_uid.js": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_validate-collection.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_wks.js": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("../../../../core-js/modules/_shared.js")('wks'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +var Symbol = __webpack_require__("../../../../core-js/modules/_global.js").Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; + +var $exports = module.exports = function (name) { + return store[name] || (store[name] = + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); +}; + +$exports.store = store; + + +/***/ }), + +/***/ "../../../../core-js/modules/core.get-iterator-method.js": +/***/ (function(module, exports, __webpack_require__) { + +var classof = __webpack_require__("../../../../core-js/modules/_classof.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] + || it['@@iterator'] + || Iterators[classof(it)]; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var MAP = 'Map'; + +// 23.1 Map Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.1.3.6 Map.prototype.get(key) + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); + return entry && entry.v; + }, + // 23.1.3.9 Map.prototype.set(key, value) + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); + } +}, strong, true); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.apply.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var rApply = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).apply; +var fApply = Function.apply; +// MS Edge argumentsList argument is optional +$export($export.S + $export.F * !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + rApply(function () { /* empty */ }); +}), 'Reflect', { + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); + return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.construct.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var bind = __webpack_require__("../../../../core-js/modules/_bind.js"); +var rConstruct = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).construct; + +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); +}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); +}); + +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { + construct: function construct(Target, args /* , newTarget */) { + aFunction(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + $args.push.apply($args, args); + return new (bind.apply(Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); + return isObject(result) ? result : instance; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.define-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +$export($export.S + $export.F * __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); +}), 'Reflect', { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + propertyKey = toPrimitive(propertyKey, true); + anObject(attributes); + try { + dP.f(target, propertyKey, attributes); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.delete-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.4 Reflect.deleteProperty(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js").f; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + deleteProperty: function deleteProperty(target, propertyKey) { + var desc = gOPD(anObject(target), propertyKey); + return desc && !desc.configurable ? false : delete target[propertyKey]; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.enumerate.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 26.1.5 Reflect.enumerate(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Enumerate = function (iterated) { + this._t = anObject(iterated); // target + this._i = 0; // next index + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); +}; +__webpack_require__("../../../../core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; + do { + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; +}); + +$export($export.S, 'Reflect', { + enumerate: function enumerate(target) { + return new Enumerate(target); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return gOPD.f(anObject(target), propertyKey); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.8 Reflect.getPrototypeOf(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var getProto = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getPrototypeOf: function getPrototypeOf(target) { + return getProto(anObject(target)); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') + ? desc.value + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); +} + +$export($export.S, 'Reflect', { get: get }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.has.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.9 Reflect.has(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.is-extensible.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.10 Reflect.isExtensible(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $isExtensible = Object.isExtensible; + +$export($export.S, 'Reflect', { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible ? $isExtensible(target) : true; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.11 Reflect.ownKeys(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { ownKeys: __webpack_require__("../../../../core-js/modules/_own-keys.js") }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.prevent-extensions.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.12 Reflect.preventExtensions(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $preventExtensions = Object.preventExtensions; + +$export($export.S, 'Reflect', { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + if ($preventExtensions) $preventExtensions(target); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.14 Reflect.setPrototypeOf(target, proto) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var setProto = __webpack_require__("../../../../core-js/modules/_set-proto.js"); + +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { + setProto.check(target, proto); + try { + setProto.set(target, proto); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); + +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { + return set(proto, propertyKey, V, receiver); + } + ownDesc = createDesc(0); + } + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; + existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + return true; + } + return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +} + +$export($export.S, 'Reflect', { set: set }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.set.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SET = 'Set'; + +// 23.2 Set Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.2.3.1 Set.prototype.add(value) + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); + } +}, strong); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.weak-map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var each = __webpack_require__("../../../../core-js/modules/_array-methods.js")(0); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var assign = __webpack_require__("../../../../core-js/modules/_object-assign.js"); +var weak = __webpack_require__("../../../../core-js/modules/_collection-weak.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var tmp = {}; +var InternalMap; + +var wrapper = function (get) { + return function WeakMap() { + return get(this, arguments.length > 0 ? arguments[0] : undefined); + }; +}; + +var methods = { + // 23.3.3.3 WeakMap.prototype.get(key) + get: function get(key) { + if (isObject(key)) { + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); + return data ? data[this._i] : undefined; + } + }, + // 23.3.3.5 WeakMap.prototype.set(key, value) + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); + } +}; + +// 23.3 WeakMap Objects +var $WeakMap = module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); + +// IE11 WeakMap frozen keys fix +if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); + assign(InternalMap.prototype, methods); + meta.NEED = true; + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { + // store frozen objects on internal weakmap shim + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); + var result = this._f[key](a, b); + return key == 'set' ? this : result; + // store all the rest on native weakmap + } return method.call(this, a, b); + }); + }); +} + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.define-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var ordinaryDefineOwnMetadata = metadata.set; + +metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.delete-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var getOrCreateMetadataMap = metadata.map; +var store = metadata.store; + +metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var Set = __webpack_require__("../../../../core-js/modules/es6.set.js"); +var from = __webpack_require__("../../../../core-js/modules/_array-from-iterable.js"); +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; +}; + +metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; +}; + +metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; +}; + +metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var $metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var toMetaKey = $metadata.key; +var ordinaryDefineOwnMetadata = $metadata.set; + +$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, targetKey) { + ordinaryDefineOwnMetadata( + metadataKey, metadataValue, + (targetKey !== undefined ? anObject : aFunction)(target), + toMetaKey(targetKey) + ); + }; +} }); + + +/***/ }), + +/***/ "../../../../webpack/buildin/global.js": +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), + +/***/ "../../../../zone.js/dist/zone.js": +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global) {/** +* @license +* Copyright Google Inc. All Rights Reserved. +* +* Use of this source code is governed by an MIT-style license that can be +* found in the LICENSE file at https://angular.io/license +*/ +(function (global, factory) { + true ? factory() : + typeof define === 'function' && define.amd ? define(factory) : + (factory()); +}(this, (function () { 'use strict'; + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +var Zone$1 = (function (global) { + var FUNCTION = 'function'; + var performance = global['performance']; + function mark(name) { + performance && performance['mark'] && performance['mark'](name); + } + function performanceMeasure(name, label) { + performance && performance['measure'] && performance['measure'](name, label); + } + mark('Zone'); + if (global['Zone']) { + throw new Error('Zone already loaded.'); + } + var Zone = (function () { + function Zone(parent, zoneSpec) { + this._properties = null; + this._parent = parent; + this._name = zoneSpec ? zoneSpec.name || 'unnamed' : ''; + this._properties = zoneSpec && zoneSpec.properties || {}; + this._zoneDelegate = + new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); + } + Zone.assertZonePatched = function () { + if (global['Promise'] !== patches['ZoneAwarePromise']) { + throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + + 'has been overwritten.\n' + + 'Most 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(Zone, "root", { + get: function () { + var zone = Zone.current; + while (zone.parent) { + zone = zone.parent; + } + return zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Zone, "current", { + get: function () { + return _currentZoneFrame.zone; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone, "currentTask", { + get: function () { + return _currentTask; + }, + enumerable: true, + configurable: true + }); + + Zone.__load_patch = function (name, fn) { + if (patches.hasOwnProperty(name)) { + throw Error('Already loaded patch: ' + name); + } + else if (!global['__Zone_disable_' + name]) { + var perfName = 'Zone:' + name; + mark(perfName); + patches[name] = fn(global, Zone, _api); + performanceMeasure(perfName, perfName); + } + }; + Object.defineProperty(Zone.prototype, "parent", { + get: function () { + return this._parent; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + + Zone.prototype.get = function (key) { + var zone = this.getZoneWith(key); + if (zone) + return zone._properties[key]; + }; + Zone.prototype.getZoneWith = function (key) { + var current = this; + while (current) { + if (current._properties.hasOwnProperty(key)) { + return current; + } + current = current._parent; + } + return null; + }; + Zone.prototype.fork = function (zoneSpec) { + if (!zoneSpec) + throw new Error('ZoneSpec required!'); + return this._zoneDelegate.fork(this, zoneSpec); + }; + Zone.prototype.wrap = function (callback, source) { + if (typeof callback !== FUNCTION) { + throw new Error('Expecting function got: ' + callback); + } + var _callback = this._zoneDelegate.intercept(this, callback, source); + var zone = this; + return function () { + return zone.runGuarded(_callback, this, arguments, source); + }; + }; + Zone.prototype.run = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = undefined; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = null; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runTask = function (task, applyThis, applyArgs) { + if (task.zone != this) { + throw new Error('A task can only be run in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + } + // https://github.com/angular/zone.js/issues/778, sometimes eventTask + // will run in notScheduled(canceled) state, we should not try to + // run such kind of task but just return + // we have to define an variable here, if not + // typescript compiler will complain below + var isNotScheduled = task.state === notScheduled; + if (isNotScheduled && task.type === eventTask) { + return; + } + var reEntryGuard = task.state != running; + reEntryGuard && task._transitionTo(running, scheduled); + task.runCount++; + var previousTask = _currentTask; + _currentTask = task; + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + if (task.type == macroTask && task.data && !task.data.isPeriodic) { + task.cancelFn = null; + } + try { + return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + // if the task's state is notScheduled or unknown, then it has already been cancelled + // we should not reset the state to scheduled + if (task.state !== notScheduled && task.state !== unknown) { + if (task.type == eventTask || (task.data && task.data.isPeriodic)) { + reEntryGuard && task._transitionTo(scheduled, running); + } + else { + task.runCount = 0; + this._updateTaskCount(task, -1); + reEntryGuard && + task._transitionTo(notScheduled, running, notScheduled); + } + } + _currentZoneFrame = _currentZoneFrame.parent; + _currentTask = previousTask; + } + }; + Zone.prototype.scheduleTask = function (task) { + if (task.zone && task.zone !== this) { + // check if the task was rescheduled, the newZone + // should not be the children of the original zone + var newZone = this; + while (newZone) { + if (newZone === task.zone) { + throw Error("can not reschedule task to " + this + .name + " which is descendants of the original zone " + task.zone.name); + } + newZone = newZone.parent; + } + } + task._transitionTo(scheduling, notScheduled); + var zoneDelegates = []; + task._zoneDelegates = zoneDelegates; + task._zone = this; + try { + task = this._zoneDelegate.scheduleTask(this, task); + } + catch (err) { + // should set task's state to unknown when scheduleTask throw error + // because the err may from reschedule, so the fromState maybe notScheduled + task._transitionTo(unknown, scheduling, notScheduled); + // TODO: @JiaLiPassion, should we check the result from handleError? + this._zoneDelegate.handleError(this, err); + throw err; + } + if (task._zoneDelegates === zoneDelegates) { + // we have to check because internally the delegate can reschedule the task. + this._updateTaskCount(task, 1); + } + if (task.state == scheduling) { + task._transitionTo(scheduled, scheduling); + } + return task; + }; + Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { + return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null)); + }; + Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.cancelTask = function (task) { + if (task.zone != this) + throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + task._transitionTo(canceling, scheduled, running); + try { + this._zoneDelegate.cancelTask(this, task); + } + catch (err) { + // if error occurs when cancelTask, transit the state to unknown + task._transitionTo(unknown, canceling); + this._zoneDelegate.handleError(this, err); + throw err; + } + this._updateTaskCount(task, -1); + task._transitionTo(notScheduled, canceling); + task.runCount = 0; + return task; + }; + Zone.prototype._updateTaskCount = function (task, count) { + var zoneDelegates = task._zoneDelegates; + if (count == -1) { + task._zoneDelegates = null; + } + for (var i = 0; i < zoneDelegates.length; i++) { + zoneDelegates[i]._updateTaskCount(task.type, count); + } + }; + return Zone; + }()); + Zone.__symbol__ = __symbol__; + var DELEGATE_ZS = { + name: '', + onHasTask: function (delegate, _, target, hasTaskState) { + return delegate.hasTask(target, hasTaskState); + }, + onScheduleTask: function (delegate, _, target, task) { + return delegate.scheduleTask(target, task); + }, + onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); }, + onCancelTask: function (delegate, _, target, task) { + return delegate.cancelTask(target, task); + } + }; + var ZoneDelegate = (function () { + function ZoneDelegate(zone, parentDelegate, zoneSpec) { + this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 }; + this.zone = zone; + this._parentDelegate = parentDelegate; + this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); + this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); + this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone); + this._interceptZS = + zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); + this._interceptDlgt = + zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); + this._interceptCurrZone = + zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone); + this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); + this._invokeDlgt = + zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); + this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone); + this._handleErrorZS = + zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); + this._handleErrorDlgt = + zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); + this._handleErrorCurrZone = + zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone); + this._scheduleTaskZS = + zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); + this._scheduleTaskDlgt = + zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); + this._scheduleTaskCurrZone = + zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone); + this._invokeTaskZS = + zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); + this._invokeTaskDlgt = + zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); + this._invokeTaskCurrZone = + zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone); + this._cancelTaskZS = + zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); + this._cancelTaskDlgt = + zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); + this._cancelTaskCurrZone = + zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone); + this._hasTaskZS = null; + this._hasTaskDlgt = null; + this._hasTaskDlgtOwner = null; + this._hasTaskCurrZone = null; + var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; + var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; + if (zoneSpecHasTask || parentHasTask) { + // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such + // a case all task related interceptors must go through this ZD. We can't short circuit it. + this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; + this._hasTaskDlgt = parentDelegate; + this._hasTaskDlgtOwner = this; + this._hasTaskCurrZone = zone; + if (!zoneSpec.onScheduleTask) { + this._scheduleTaskZS = DELEGATE_ZS; + this._scheduleTaskDlgt = parentDelegate; + this._scheduleTaskCurrZone = this.zone; + } + if (!zoneSpec.onInvokeTask) { + this._invokeTaskZS = DELEGATE_ZS; + this._invokeTaskDlgt = parentDelegate; + this._invokeTaskCurrZone = this.zone; + } + if (!zoneSpec.onCancelTask) { + this._cancelTaskZS = DELEGATE_ZS; + this._cancelTaskDlgt = parentDelegate; + this._cancelTaskCurrZone = this.zone; + } + } + } + ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { + return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : + new Zone(targetZone, zoneSpec); + }; + ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { + return this._interceptZS ? + this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : + callback; + }; + ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { + return this._invokeZS ? + this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : + callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.handleError = function (targetZone, error) { + return this._handleErrorZS ? + this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : + true; + }; + ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { + var returnTask = task; + if (this._scheduleTaskZS) { + if (this._hasTaskZS) { + returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); + } + returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); + if (!returnTask) + returnTask = task; + } + else { + if (task.scheduleFn) { + task.scheduleFn(task); + } + else if (task.type == microTask) { + scheduleMicroTask(task); + } + else { + throw new Error('Task is missing scheduleFn.'); + } + } + return returnTask; + }; + ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { + return this._invokeTaskZS ? + this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : + task.callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.cancelTask = function (targetZone, task) { + var value; + if (this._cancelTaskZS) { + value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); + } + else { + if (!task.cancelFn) { + throw Error('Task is not cancelable'); + } + value = task.cancelFn(task); + } + return value; + }; + ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { + // hasTask should not throw error so other ZoneDelegate + // can still trigger hasTask callback + try { + return this._hasTaskZS && + this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); + } + catch (err) { + this.handleError(targetZone, err); + } + }; + ZoneDelegate.prototype._updateTaskCount = function (type, count) { + var counts = this._taskCounts; + var prev = counts[type]; + var next = counts[type] = prev + count; + if (next < 0) { + throw new Error('More tasks executed then were scheduled.'); + } + if (prev == 0 || next == 0) { + var isEmpty = { + microTask: counts['microTask'] > 0, + macroTask: counts['macroTask'] > 0, + eventTask: counts['eventTask'] > 0, + change: type + }; + this.hasTask(this.zone, isEmpty); + } + }; + return ZoneDelegate; + }()); + var ZoneTask = (function () { + function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { + this._zone = null; + this.runCount = 0; + this._zoneDelegates = null; + this._state = 'notScheduled'; + this.type = type; + this.source = source; + this.data = options; + this.scheduleFn = scheduleFn; + this.cancelFn = cancelFn; + this.callback = callback; + var self = this; + if (type === eventTask && options && options.isUsingGlobalCallback) { + this.invoke = ZoneTask.invokeTask; + } + else { + this.invoke = function () { + return ZoneTask.invokeTask.apply(global, [self, this, arguments]); + }; + } + } + ZoneTask.invokeTask = function (task, target, args) { + if (!task) { + task = this; + } + _numberOfNestedTaskFrames++; + try { + task.runCount++; + return task.zone.runTask(task, target, args); + } + finally { + if (_numberOfNestedTaskFrames == 1) { + drainMicroTaskQueue(); + } + _numberOfNestedTaskFrames--; + } + }; + Object.defineProperty(ZoneTask.prototype, "zone", { + get: function () { + return this._zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ZoneTask.prototype, "state", { + get: function () { + return this._state; + }, + enumerable: true, + configurable: true + }); + ZoneTask.prototype.cancelScheduleRequest = function () { + this._transitionTo(notScheduled, scheduling); + }; + ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { + if (this._state === fromState1 || this._state === fromState2) { + this._state = toState; + if (toState == notScheduled) { + this._zoneDelegates = null; + } + } + else { + throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? + ' or \'' + fromState2 + '\'' : + '') + ", was '" + this._state + "'."); + } + }; + ZoneTask.prototype.toString = function () { + if (this.data && typeof this.data.handleId !== 'undefined') { + return this.data.handleId; + } + else { + return Object.prototype.toString.call(this); + } + }; + // add toJSON method to prevent cyclic error when + // call JSON.stringify(zoneTask) + ZoneTask.prototype.toJSON = function () { + return { + type: this.type, + state: this.state, + source: this.source, + zone: this.zone.name, + invoke: this.invoke, + scheduleFn: this.scheduleFn, + cancelFn: this.cancelFn, + runCount: this.runCount, + callback: this.callback + }; + }; + return ZoneTask; + }()); + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// MICROTASK QUEUE + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var symbolSetTimeout = __symbol__('setTimeout'); + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + var _microTaskQueue = []; + var _isDrainingMicrotaskQueue = false; + var nativeMicroTaskQueuePromise; + function scheduleMicroTask(task) { + // if we are not running in any task, and there has not been anything scheduled + // we must bootstrap the initial task creation by manually scheduling the drain + if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { + // We are not running in Task, so we need to kickstart the microtask queue. + if (!nativeMicroTaskQueuePromise) { + if (global[symbolPromise]) { + nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); + } + } + if (nativeMicroTaskQueuePromise) { + nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue); + } + else { + global[symbolSetTimeout](drainMicroTaskQueue, 0); + } + } + task && _microTaskQueue.push(task); + } + function drainMicroTaskQueue() { + if (!_isDrainingMicrotaskQueue) { + _isDrainingMicrotaskQueue = true; + while (_microTaskQueue.length) { + var queue = _microTaskQueue; + _microTaskQueue = []; + for (var i = 0; i < queue.length; i++) { + var task = queue[i]; + try { + task.zone.runTask(task, null, null); + } + catch (error) { + _api.onUnhandledError(error); + } + } + } + var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; + _api.microtaskDrainDone(); + _isDrainingMicrotaskQueue = false; + } + } + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// BOOTSTRAP + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var NO_ZONE = { name: 'NO ZONE' }; + var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown'; + var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask'; + var patches = {}; + var _api = { + symbol: __symbol__, + currentZoneFrame: function () { return _currentZoneFrame; }, + onUnhandledError: noop, + microtaskDrainDone: noop, + scheduleMicroTask: scheduleMicroTask, + showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; }, + patchEventTarget: function () { return []; }, + patchOnProperties: noop, + patchMethod: function () { return noop; }, + }; + var _currentZoneFrame = { parent: null, zone: new Zone(null, null) }; + var _currentTask = null; + var _numberOfNestedTaskFrames = 0; + function noop() { } + function __symbol__(name) { + return '__zone_symbol__' + name; + } + performanceMeasure('Zone', 'Zone'); + return global['Zone'] = Zone; +})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { + var __symbol__ = api.symbol; + var _uncaughtPromiseErrors = []; + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + api.onUnhandledError = function (e) { + if (api.showUncaughtError()) { + var rejection = e && e.rejection; + if (rejection) { + console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); + } + else { + console.error(e); + } + } + }; + api.microtaskDrainDone = function () { + while (_uncaughtPromiseErrors.length) { + var _loop_1 = function () { + var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); + try { + uncaughtPromiseError.zone.runGuarded(function () { + throw uncaughtPromiseError; + }); + } + catch (error) { + handleUnhandledRejection(error); + } + }; + while (_uncaughtPromiseErrors.length) { + _loop_1(); + } + } + }; + var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); + function handleUnhandledRejection(e) { + api.onUnhandledError(e); + try { + var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; + if (handler && typeof handler === 'function') { + handler.apply(this, [e]); + } + } + catch (err) { + } + } + function isThenable(value) { + return value && value.then; + } + function forwardResolution(value) { + return value; + } + function forwardRejection(rejection) { + return ZoneAwarePromise.reject(rejection); + } + var symbolState = __symbol__('state'); + var symbolValue = __symbol__('value'); + var source = 'Promise.then'; + var UNRESOLVED = null; + var RESOLVED = true; + var REJECTED = false; + var REJECTED_NO_CATCH = 0; + function makeResolver(promise, state) { + return function (v) { + try { + resolvePromise(promise, state, v); + } + catch (err) { + resolvePromise(promise, false, err); + } + // Do not return value or you will break the Promise spec. + }; + } + var once = function () { + var wasCalled = false; + return function wrapper(wrappedFunction) { + return function () { + if (wasCalled) { + return; + } + wasCalled = true; + wrappedFunction.apply(null, arguments); + }; + }; + }; + var TYPE_ERROR = 'Promise resolved with itself'; + var OBJECT = 'object'; + var FUNCTION = 'function'; + var CURRENT_TASK_SYMBOL = __symbol__('currentTask'); + // Promise Resolution + function resolvePromise(promise, state, value) { + var onceWrapper = once(); + if (promise === value) { + throw new TypeError(TYPE_ERROR); + } + if (promise[symbolState] === UNRESOLVED) { + // should only get value.then once based on promise spec. + var then = null; + try { + if (typeof value === OBJECT || typeof value === FUNCTION) { + then = value && value.then; + } + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + return promise; + } + // if (value instanceof ZoneAwarePromise) { + if (state !== REJECTED && value instanceof ZoneAwarePromise && + value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && + value[symbolState] !== UNRESOLVED) { + clearRejectedNoCatch(value); + resolvePromise(promise, value[symbolState], value[symbolValue]); + } + else if (state !== REJECTED && typeof then === FUNCTION) { + try { + then.apply(value, [ + onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)) + ]); + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + } + } + else { + promise[symbolState] = state; + var queue = promise[symbolValue]; + promise[symbolValue] = value; + // record task information in value when error occurs, so we can + // do some additional work such as render longStackTrace + if (state === REJECTED && value instanceof Error) { + value[CURRENT_TASK_SYMBOL] = Zone.currentTask; + } + for (var i = 0; i < queue.length;) { + scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); + } + if (queue.length == 0 && state == REJECTED) { + promise[symbolState] = REJECTED_NO_CATCH; + try { + throw new Error('Uncaught (in promise): ' + value + + (value && value.stack ? '\n' + value.stack : '')); + } + catch (err) { + var error_1 = err; + error_1.rejection = value; + error_1.promise = promise; + error_1.zone = Zone.current; + error_1.task = Zone.currentTask; + _uncaughtPromiseErrors.push(error_1); + api.scheduleMicroTask(); // to make sure that it is running + } + } + } + } + // Resolving an already resolved promise is a noop. + return promise; + } + var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); + function clearRejectedNoCatch(promise) { + if (promise[symbolState] === REJECTED_NO_CATCH) { + // if the promise is rejected no catch status + // and queue.length > 0, means there is a error handler + // here to handle the rejected promise, we should trigger + // windows.rejectionhandled eventHandler or nodejs rejectionHandled + // eventHandler + try { + var handler = Zone[REJECTION_HANDLED_HANDLER]; + if (handler && typeof handler === FUNCTION) { + handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]); + } + } + catch (err) { + } + promise[symbolState] = REJECTED; + for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { + if (promise === _uncaughtPromiseErrors[i].promise) { + _uncaughtPromiseErrors.splice(i, 1); + } + } + } + } + function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { + clearRejectedNoCatch(promise); + var delegate = promise[symbolState] ? + (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution : + (typeof onRejected === FUNCTION) ? onRejected : forwardRejection; + zone.scheduleMicroTask(source, function () { + try { + resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]])); + } + catch (error) { + resolvePromise(chainPromise, false, error); + } + }); + } + var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; + var ZoneAwarePromise = (function () { + function ZoneAwarePromise(executor) { + var promise = this; + if (!(promise instanceof ZoneAwarePromise)) { + throw new Error('Must be an instanceof Promise.'); + } + promise[symbolState] = UNRESOLVED; + promise[symbolValue] = []; // queue; + try { + executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); + } + catch (error) { + resolvePromise(promise, false, error); + } + } + ZoneAwarePromise.toString = function () { + return ZONE_AWARE_PROMISE_TO_STRING; + }; + ZoneAwarePromise.resolve = function (value) { + return resolvePromise(new this(null), RESOLVED, value); + }; + ZoneAwarePromise.reject = function (error) { + return resolvePromise(new this(null), REJECTED, error); + }; + ZoneAwarePromise.race = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + _a = [res, rej], resolve = _a[0], reject = _a[1]; + var _a; + }); + function onResolve(value) { + promise && (promise = null || resolve(value)); + } + function onReject(error) { + promise && (promise = null || reject(error)); + } + for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { + var value = values_1[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then(onResolve, onReject); + } + return promise; + }; + ZoneAwarePromise.all = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + resolve = res; + reject = rej; + }); + var count = 0; + var resolvedValues = []; + for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { + var value = values_2[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then((function (index) { return function (value) { + resolvedValues[index] = value; + count--; + if (!count) { + resolve(resolvedValues); + } + }; })(count), reject); + count++; + } + if (!count) + resolve(resolvedValues); + return promise; + }; + ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { + var chainPromise = new this.constructor(null); + var zone = Zone.current; + if (this[symbolState] == UNRESOLVED) { + this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); + } + else { + scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); + } + return chainPromise; + }; + ZoneAwarePromise.prototype.catch = function (onRejected) { + return this.then(null, onRejected); + }; + return ZoneAwarePromise; + }()); + // Protect against aggressive optimizers dropping seemingly unused properties. + // E.g. Closure Compiler in advanced mode. + ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; + ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; + ZoneAwarePromise['race'] = ZoneAwarePromise.race; + ZoneAwarePromise['all'] = ZoneAwarePromise.all; + var NativePromise = global[symbolPromise] = global['Promise']; + global['Promise'] = ZoneAwarePromise; + var symbolThenPatched = __symbol__('thenPatched'); + function patchThen(Ctor) { + var proto = Ctor.prototype; + var originalThen = proto.then; + // Keep a reference to the original method. + proto[symbolThen] = originalThen; + // check Ctor.prototype.then propertyDescritor is writable or not + // in meteor env, writable is false, we have to make it to be true. + var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then'); + if (prop && prop.writable === false && prop.configurable) { + Object.defineProperty(Ctor.prototype, 'then', { writable: true }); + } + Ctor.prototype.then = function (onResolve, onReject) { + var _this = this; + var wrapped = new ZoneAwarePromise(function (resolve, reject) { + originalThen.call(_this, resolve, reject); + }); + return wrapped.then(onResolve, onReject); + }; + Ctor[symbolThenPatched] = true; + } + function zoneify(fn) { + return function () { + var resultPromise = fn.apply(this, arguments); + if (resultPromise instanceof ZoneAwarePromise) { + return resultPromise; + } + var ctor = resultPromise.constructor; + if (!ctor[symbolThenPatched]) { + patchThen(ctor); + } + return resultPromise; + }; + } + if (NativePromise) { + patchThen(NativePromise); + var fetch_1 = global['fetch']; + if (typeof fetch_1 == FUNCTION) { + global['fetch'] = zoneify(fetch_1); + } + } + // This is not part of public API, but it is useful for tests, so we expose it. + Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; + return ZoneAwarePromise; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * Suppress closure compiler errors about unknown 'Zone' variable + * @fileoverview + * @suppress {undefinedVars,globalThis,missingRequire} + */ +var zoneSymbol = Zone.__symbol__; +var _global = typeof window === 'object' && window || typeof self === 'object' && self || global; +var FUNCTION = 'function'; +var UNDEFINED = 'undefined'; +var REMOVE_ATTRIBUTE = 'removeAttribute'; +function bindArguments(args, source) { + for (var i = args.length - 1; i >= 0; i--) { + if (typeof args[i] === FUNCTION) { + args[i] = Zone.current.wrap(args[i], source + '_' + i); + } + } + return args; +} +function patchPrototype(prototype, fnNames) { + var source = prototype.constructor['name']; + var _loop_1 = function (i) { + var name_1 = fnNames[i]; + var delegate = prototype[name_1]; + if (delegate) { + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1); + if (!isPropertyWritable(prototypeDesc)) { + return "continue"; + } + prototype[name_1] = (function (delegate) { + var patched = function () { + return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); + }; + attachOriginToPatched(patched, delegate); + return patched; + })(delegate); + } + }; + for (var i = 0; i < fnNames.length; i++) { + _loop_1(i); + } +} +function isPropertyWritable(propertyDesc) { + if (!propertyDesc) { + return true; + } + if (propertyDesc.writable === false) { + return false; + } + if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) { + return false; + } + return true; +} +var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope); +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]'); +var isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']); +// we are in electron of nw, so we are both browser and nodejs +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isMix = typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]' && !isWebWorker && + !!(typeof window !== 'undefined' && window['HTMLElement']); +var ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler'); +var zoneSymbolEventNames = {}; +var wrapFn = function (event) { + var eventNameSymbol = zoneSymbolEventNames[event.type]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); + } + var listener = this[eventNameSymbol]; + var result = listener && listener.apply(this, arguments); + if (result != undefined && !result) { + event.preventDefault(); + } + return result; +}; +function patchProperty(obj, prop, prototype) { + var desc = Object.getOwnPropertyDescriptor(obj, prop); + if (!desc && prototype) { + // when patch window object, use prototype to check prop exist or not + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop); + if (prototypeDesc) { + desc = { enumerable: true, configurable: true }; + } + } + // if the descriptor not exists or is not configurable + // just return + if (!desc || !desc.configurable) { + return; + } + // A property descriptor cannot have getter/setter and be writable + // deleting the writable and value properties avoids this error: + // + // TypeError: property descriptors must not specify a value or be writable when a + // getter or setter has been specified + delete desc.writable; + delete desc.value; + var originalDescGet = desc.get; + // substr(2) cuz 'onclick' -> 'click', etc + var eventName = prop.substr(2); + var eventNameSymbol = zoneSymbolEventNames[eventName]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); + } + desc.set = function (newValue) { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return; + } + var previousValue = target[eventNameSymbol]; + if (previousValue) { + target.removeEventListener(eventName, wrapFn); + } + if (typeof newValue === 'function') { + target[eventNameSymbol] = newValue; + target.addEventListener(eventName, wrapFn, false); + } + else { + target[eventNameSymbol] = null; + } + }; + // The getter would return undefined for unassigned properties but the default value of an + // unassigned property is null + desc.get = function () { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return null; + } + if (target[eventNameSymbol]) { + return wrapFn; + } + else if (originalDescGet) { + // result will be null when use inline event attribute, + // such as + // because the onclick function is internal raw uncompiled handler + // the onclick will be evaluated when first time event was triggered or + // the property is accessed, https://github.com/angular/zone.js/issues/525 + // so we should use original native get to retrieve the handler + var value = originalDescGet && originalDescGet.apply(this); + if (value) { + desc.set.apply(this, [value]); + if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) { + target.removeAttribute(prop); + } + return value; + } + } + return null; + }; + Object.defineProperty(obj, prop, desc); +} +function patchOnProperties(obj, properties, prototype) { + if (properties) { + for (var i = 0; i < properties.length; i++) { + patchProperty(obj, 'on' + properties[i], prototype); + } + } + else { + var onProperties = []; + for (var prop in obj) { + if (prop.substr(0, 2) == 'on') { + onProperties.push(prop); + } + } + for (var j = 0; j < onProperties.length; j++) { + patchProperty(obj, onProperties[j], prototype); + } + } +} +var originalInstanceKey = zoneSymbol('originalInstance'); +// wrap some native API on `window` +function patchClass(className) { + var OriginalClass = _global[className]; + if (!OriginalClass) + return; + // keep original class in global + _global[zoneSymbol(className)] = OriginalClass; + _global[className] = function () { + var a = bindArguments(arguments, className); + switch (a.length) { + case 0: + this[originalInstanceKey] = new OriginalClass(); + break; + case 1: + this[originalInstanceKey] = new OriginalClass(a[0]); + break; + case 2: + this[originalInstanceKey] = new OriginalClass(a[0], a[1]); + break; + case 3: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); + break; + case 4: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); + break; + default: + throw new Error('Arg list too long.'); + } + }; + // attach original delegate to patched function + attachOriginToPatched(_global[className], OriginalClass); + var instance = new OriginalClass(function () { }); + var prop; + for (prop in instance) { + // https://bugs.webkit.org/show_bug.cgi?id=44721 + if (className === 'XMLHttpRequest' && prop === 'responseBlob') + continue; + (function (prop) { + if (typeof instance[prop] === 'function') { + _global[className].prototype[prop] = function () { + return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); + }; + } + else { + Object.defineProperty(_global[className].prototype, prop, { + set: function (fn) { + if (typeof fn === 'function') { + this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop); + // keep callback in wrapped function so we can + // use it in Function.prototype.toString to return + // the native one. + attachOriginToPatched(this[originalInstanceKey][prop], fn); + } + else { + this[originalInstanceKey][prop] = fn; + } + }, + get: function () { + return this[originalInstanceKey][prop]; + } + }); + } + }(prop)); + } + for (prop in OriginalClass) { + if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { + _global[className][prop] = OriginalClass[prop]; + } + } +} +function patchMethod(target, name, patchFn) { + var proto = target; + while (proto && !proto.hasOwnProperty(name)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && target[name]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = target; + } + var delegateName = zoneSymbol(name); + var delegate; + if (proto && !(delegate = proto[delegateName])) { + delegate = proto[delegateName] = proto[name]; + // check whether proto[name] is writable + // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob + var desc = proto && Object.getOwnPropertyDescriptor(proto, name); + if (isPropertyWritable(desc)) { + var patchDelegate_1 = patchFn(delegate, delegateName, name); + proto[name] = function () { + return patchDelegate_1(this, arguments); + }; + attachOriginToPatched(proto[name], delegate); + } + } + return delegate; +} +// TODO: @JiaLiPassion, support cancel task later if necessary +function patchMacroTask(obj, funcName, metaCreator) { + var setNative = null; + function scheduleTask(task) { + var data = task.data; + data.args[data.callbackIndex] = function () { + task.invoke.apply(this, arguments); + }; + setNative.apply(data.target, data.args); + return task; + } + setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) { + var meta = metaCreator(self, args); + if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') { + var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null); + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(self, args); + } + }; }); +} + +function attachOriginToPatched(patched, original) { + patched[zoneSymbol('OriginalDelegate')] = original; +} +var isDetectedIEOrEdge = false; +var ieOrEdge = false; +function isIEOrEdge() { + if (isDetectedIEOrEdge) { + return ieOrEdge; + } + isDetectedIEOrEdge = true; + try { + var ua = window.navigator.userAgent; + var msie = ua.indexOf('MSIE '); + if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { + ieOrEdge = true; + } + return ieOrEdge; + } + catch (error) { + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// override Function.prototype.toString to make zone.js patched function +// look like native function +Zone.__load_patch('toString', function (global, Zone, api) { + // patch Func.prototype.toString to let them look like native + var originalFunctionToString = Zone['__zone_symbol__originalToString'] = + Function.prototype.toString; + var FUNCTION = 'function'; + var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); + var PROMISE_SYMBOL = zoneSymbol('Promise'); + var ERROR_SYMBOL = zoneSymbol('Error'); + Function.prototype.toString = function () { + if (typeof this === FUNCTION) { + var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; + if (originalDelegate) { + if (typeof originalDelegate === FUNCTION) { + return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments); + } + else { + return Object.prototype.toString.call(originalDelegate); + } + } + if (this === Promise) { + var nativePromise = global[PROMISE_SYMBOL]; + if (nativePromise) { + return originalFunctionToString.apply(nativePromise, arguments); + } + } + if (this === Error) { + var nativeError = global[ERROR_SYMBOL]; + if (nativeError) { + return originalFunctionToString.apply(nativeError, arguments); + } + } + } + return originalFunctionToString.apply(this, arguments); + }; + // patch Object.prototype.toString to let them look like native + var originalObjectToString = Object.prototype.toString; + var PROMISE_OBJECT_TO_STRING = '[object Promise]'; + Object.prototype.toString = function () { + if (this instanceof Promise) { + return PROMISE_OBJECT_TO_STRING; + } + return originalObjectToString.apply(this, arguments); + }; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +var TRUE_STR = 'true'; +var FALSE_STR = 'false'; +// an identifier to tell ZoneTask do not create a new invoke closure +var OPTIMIZED_ZONE_EVENT_TASK_DATA = { + isUsingGlobalCallback: true +}; +var zoneSymbolEventNames$1 = {}; +var globalSources = {}; +var CONSTRUCTOR_NAME = 'name'; +var FUNCTION_TYPE = 'function'; +var OBJECT_TYPE = 'object'; +var ZONE_SYMBOL_PREFIX = '__zone_symbol__'; +var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/; +function patchEventTarget(_global, apis, patchOptions) { + var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener'; + var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener'; + var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners'; + var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners'; + var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); + var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; + var PREPEND_EVENT_LISTENER = 'prependListener'; + var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; + var invokeTask = function (task, target, event) { + // for better performance, check isRemoved which is set + // by removeEventListener + if (task.isRemoved) { + return; + } + var delegate = task.callback; + if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) { + // create the bind version of handleEvent when invoke + task.callback = function (event) { return delegate.handleEvent(event); }; + task.originalDelegate = delegate; + } + // invoke static task.invoke + task.invoke(task, target, [event]); + var options = task.options; + if (options && typeof options === 'object' && options.once) { + // if options.once is true, after invoke once remove listener here + // only browser need to do this, nodejs eventEmitter will cal removeListener + // inside EventEmitter.once + var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; + target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]); + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = false + var globalZoneAwareCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = true + var globalZoneAwareCaptureCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + function patchEventTargetMethods(obj, patchOptions) { + if (!obj) { + return false; + } + var useGlobalCallback = true; + if (patchOptions && patchOptions.useGlobalCallback !== undefined) { + useGlobalCallback = patchOptions.useGlobalCallback; + } + var validateHandler = patchOptions && patchOptions.validateHandler; + var checkDuplicate = true; + if (patchOptions && patchOptions.checkDuplicate !== undefined) { + checkDuplicate = patchOptions.checkDuplicate; + } + var returnTarget = false; + if (patchOptions && patchOptions.returnTarget !== undefined) { + returnTarget = patchOptions.returnTarget; + } + var proto = obj; + while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && obj[ADD_EVENT_LISTENER]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = obj; + } + if (!proto) { + return false; + } + if (proto[zoneSymbolAddEventListener]) { + return false; + } + // a shared global taskData to pass data for scheduleEventTask + // so we do not need to create a new object just for pass some data + var taskData = {}; + var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; + var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = + proto[REMOVE_EVENT_LISTENER]; + var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = + proto[LISTENERS_EVENT_LISTENER]; + var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; + var nativePrependEventListener; + if (patchOptions && patchOptions.prependEventListenerFnName) { + nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] = + proto[patchOptions.prependEventListenerFnName]; + } + var customScheduleGlobal = function (task) { + // if there is already a task for the eventName + capture, + // just return, because we use the shared globalZoneAwareCallback here. + if (taskData.isExisting) { + return; + } + return nativeAddEventListener.apply(taskData.target, [ + taskData.eventName, + taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + taskData.options + ]); + }; + var customCancelGlobal = function (task) { + // if task is not marked as isRemoved, this call is directly + // from Zone.prototype.cancelTask, we should remove the task + // from tasksList of target first + if (!task.isRemoved) { + var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; + var symbolEventName = void 0; + if (symbolEventNames) { + symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && task.target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + if (existingTask === task) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + task.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + task.allRemoved = true; + task.target[symbolEventName] = null; + } + break; + } + } + } + } + // if all tasks for the eventName + capture have gone, + // we will really remove the global event callback, + // if not, return + if (!task.allRemoved) { + return; + } + return nativeRemoveEventListener.apply(task.target, [ + task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + task.options + ]); + }; + var customScheduleNonGlobal = function (task) { + return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customSchedulePrepend = function (task) { + return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customCancelNonGlobal = function (task) { + return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]); + }; + var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; + var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; + var compareTaskCallbackVsDelegate = function (task, delegate) { + var typeOfDelegate = typeof delegate; + if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) || + (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) { + // same callback, same capture, same event name, just return + return true; + } + return false; + }; + var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ? + patchOptions.compareTaskCallbackVsDelegate : + compareTaskCallbackVsDelegate; + var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { + if (returnTarget === void 0) { returnTarget = false; } + if (prepend === void 0) { prepend = false; } + return function () { + var target = this || _global; + var targetZone = Zone.current; + var delegate = arguments[1]; + if (!delegate) { + return nativeListener.apply(this, arguments); + } + // don't create the bind delegate function for handleEvent + // case here to improve addEventListener performance + // we will create the bind delegate when invoke + var isHandleEvent = false; + if (typeof delegate !== FUNCTION_TYPE) { + if (!delegate.handleEvent) { + return nativeListener.apply(this, arguments); + } + isHandleEvent = true; + } + if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { + return; + } + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + var once = false; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + once = options ? !!options.once : false; + } + var zone = Zone.current; + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (!symbolEventNames) { + // the code is duplicate, but I just want to get some better performance + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + symbolEventName = capture ? symbolCapture : symbol; + } + else { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = target[symbolEventName]; + var isExisting = false; + if (existingTasks) { + // already have task registered + isExisting = true; + if (checkDuplicate) { + for (var i = 0; i < existingTasks.length; i++) { + if (compare(existingTasks[i], delegate)) { + // same callback, same capture, same event name, just return + return; + } + } + } + } + else { + existingTasks = target[symbolEventName] = []; + } + var source; + var constructorName = target.constructor[CONSTRUCTOR_NAME]; + var targetSource = globalSources[constructorName]; + if (targetSource) { + source = targetSource[eventName]; + } + if (!source) { + source = constructorName + addSource + eventName; + } + // do not create a new object as task.data to pass those things + // just use the global shared one + taskData.options = options; + if (once) { + // if addEventListener with once options, we don't pass it to + // native addEventListener, instead we keep the once setting + // and handle ourselves. + taskData.options.once = false; + } + taskData.target = target; + taskData.capture = capture; + taskData.eventName = eventName; + taskData.isExisting = isExisting; + var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null; + var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); + // have to save those information to task in case + // application may call task.zone.cancelTask() directly + if (once) { + options.once = true; + } + task.options = options; + task.target = target; + task.capture = capture; + task.eventName = eventName; + if (isHandleEvent) { + // save original delegate for compare to check duplicate + task.originalDelegate = delegate; + } + if (!prepend) { + existingTasks.push(task); + } + else { + existingTasks.unshift(task); + } + if (returnTarget) { + return target; + } + }; + }; + proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); + if (nativePrependEventListener) { + proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); + } + proto[REMOVE_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + } + var delegate = arguments[1]; + if (!delegate) { + return nativeRemoveEventListener.apply(this, arguments); + } + if (validateHandler && + !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { + return; + } + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (symbolEventNames) { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + var typeOfDelegate = typeof delegate; + if (compare(existingTask, delegate)) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + existingTask.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + existingTask.allRemoved = true; + target[symbolEventName] = null; + } + existingTask.zone.cancelTask(existingTask); + return; + } + } + } + }; + proto[LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var listeners = []; + var tasks = findEventTasks(target, eventName); + for (var i = 0; i < tasks.length; i++) { + var task = tasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + listeners.push(delegate); + } + return listeners; + }; + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + if (!eventName) { + var keys = Object.keys(target); + for (var i = 0; i < keys.length; i++) { + var prop = keys[i]; + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + // in nodejs EventEmitter, removeListener event is + // used for monitoring the removeListener call, + // so just keep removeListener eventListener until + // all other eventListeners are removed + if (evtName && evtName !== 'removeListener') { + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]); + } + } + // remove removeListener listener finally + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']); + } + else { + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + if (symbolEventNames) { + var symbolEventName = symbolEventNames[FALSE_STR]; + var symbolCaptureEventName = symbolEventNames[TRUE_STR]; + var tasks = target[symbolEventName]; + var captureTasks = target[symbolCaptureEventName]; + if (tasks) { + var removeTasks = tasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + if (captureTasks) { + var removeTasks = captureTasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + } + } + }; + // for native toString patch + attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); + attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); + if (nativeRemoveAllListeners) { + attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); + } + if (nativeListeners) { + attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); + } + return true; + } + var results = []; + for (var i = 0; i < apis.length; i++) { + results[i] = patchEventTargetMethods(apis[i], patchOptions); + } + return results; +} +function findEventTasks(target, eventName) { + var foundTasks = []; + for (var prop in target) { + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + if (evtName && (!eventName || evtName === eventName)) { + var tasks = target[prop]; + if (tasks) { + for (var i = 0; i < tasks.length; i++) { + foundTasks.push(tasks[i]); + } + } + } + } + return foundTasks; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +function patchTimer(window, setName, cancelName, nameSuffix) { + var setNative = null; + var clearNative = null; + setName += nameSuffix; + cancelName += nameSuffix; + var tasksByHandleId = {}; + var NUMBER = 'number'; + var STRING = 'string'; + var FUNCTION = 'function'; + var INTERVAL = 'Interval'; + var TIMEOUT = 'Timeout'; + var NOT_SCHEDULED = 'notScheduled'; + function scheduleTask(task) { + var data = task.data; + function timer() { + try { + task.invoke.apply(this, arguments); + } + finally { + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[data.handleId]; + } + } + } + data.args[0] = timer; + data.handleId = setNative.apply(window, data.args); + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds -> no need to keep them around. Additionally, + // this throws an + // exception in older node versions and has no effect there, because of the stringified key. + tasksByHandleId[data.handleId] = task; + } + return task; + } + function clearTask(task) { + if (typeof task.data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[task.data.handleId]; + } + return clearNative(task.data.handleId); + } + setNative = + patchMethod(window, setName, function (delegate) { return function (self, args) { + if (typeof args[0] === FUNCTION) { + var zone = Zone.current; + var options = { + handleId: null, + isPeriodic: nameSuffix === INTERVAL, + delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null, + args: args + }; + var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask); + if (!task) { + return task; + } + // Node.js must additionally support the ref and unref functions. + var handle = task.data.handleId; + // check whether handle is null, because some polyfill or browser + // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame + if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION && + typeof handle.unref === FUNCTION) { + task.ref = handle.ref.bind(handle); + task.unref = handle.unref.bind(handle); + } + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(window, args); + } + }; }); + clearNative = + patchMethod(window, cancelName, function (delegate) { return function (self, args) { + var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0]; + if (task && typeof task.type === STRING) { + if (task.state !== NOT_SCHEDULED && + (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { + // Do not cancel already canceled functions + task.zone.cancelTask(task); + } + } + else { + // cause an error by calling it directly. + delegate.apply(window, args); + } + }; }); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/* + * This is necessary for Chrome and Chrome mobile, to enable + * things like redefining `createdCallback` on an element. + */ +var _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty; +var _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] = + Object.getOwnPropertyDescriptor; +var _create = Object.create; +var unconfigurablesKey = zoneSymbol('unconfigurables'); +var PROTOTYPE = 'prototype'; +var OBJECT = 'object'; +var UNDEFINED$1 = 'undefined'; +function propertyPatch() { + Object.defineProperty = function (obj, prop, desc) { + if (isUnconfigurable(obj, prop)) { + throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); + } + var originalConfigurableFlag = desc.configurable; + if (prop !== PROTOTYPE) { + desc = rewriteDescriptor(obj, prop, desc); + } + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); + }; + Object.defineProperties = function (obj, props) { + Object.keys(props).forEach(function (prop) { + Object.defineProperty(obj, prop, props[prop]); + }); + return obj; + }; + Object.create = function (obj, proto) { + if (typeof proto === OBJECT && !Object.isFrozen(proto)) { + Object.keys(proto).forEach(function (prop) { + proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); + }); + } + return _create(obj, proto); + }; + Object.getOwnPropertyDescriptor = function (obj, prop) { + var desc = _getOwnPropertyDescriptor(obj, prop); + if (isUnconfigurable(obj, prop)) { + desc.configurable = false; + } + return desc; + }; +} +function _redefineProperty(obj, prop, desc) { + var originalConfigurableFlag = desc.configurable; + desc = rewriteDescriptor(obj, prop, desc); + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); +} +function isUnconfigurable(obj, prop) { + return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; +} +function rewriteDescriptor(obj, prop, desc) { + desc.configurable = true; + if (!desc.configurable) { + if (!obj[unconfigurablesKey]) { + _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} }); + } + obj[unconfigurablesKey][prop] = true; + } + return desc; +} +function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + if (desc.configurable) { + // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's + // retry with the original flag value + if (typeof originalConfigurableFlag == UNDEFINED$1) { + delete desc.configurable; + } + else { + desc.configurable = originalConfigurableFlag; + } + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + var descJson = null; + try { + descJson = JSON.stringify(desc); + } + catch (error) { + descJson = descJson.toString(); + } + console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); + } + } + else { + throw error; + } + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// we have to patch the instance since the proto is non-configurable +function apply(api, _global) { + var WS = _global.WebSocket; + // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener + // On older Chrome, no need since EventTarget was already patched + if (!_global.EventTarget) { + patchEventTarget(_global, [WS.prototype]); + } + _global.WebSocket = function (a, b) { + var socket = arguments.length > 1 ? new WS(a, b) : new WS(a); + var proxySocket; + var proxySocketProto; + // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance + var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage'); + if (onmessageDesc && onmessageDesc.configurable === false) { + proxySocket = Object.create(socket); + // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' + // but proxySocket not, so we will keep socket as prototype and pass it to + // patchOnProperties method + proxySocketProto = socket; + ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) { + proxySocket[propName] = function () { + var args = Array.prototype.slice.call(arguments); + if (propName === 'addEventListener' || propName === 'removeEventListener') { + var eventName = args.length > 0 ? args[0] : undefined; + if (eventName) { + var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); + socket[propertySymbol] = proxySocket[propertySymbol]; + } + } + return socket[propName].apply(socket, args); + }; + }); + } + else { + // we can patch the real socket + proxySocket = socket; + } + patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); + return proxySocket; + }; + var globalWebSocket = _global['WebSocket']; + for (var prop in WS) { + globalWebSocket[prop] = WS[prop]; + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {globalThis} + */ +var globalEventHandlersEventNames = [ + 'abort', + 'animationcancel', + 'animationend', + 'animationiteration', + 'auxclick', + 'beforeinput', + 'blur', + 'cancel', + 'canplay', + 'canplaythrough', + 'change', + 'compositionstart', + 'compositionupdate', + 'compositionend', + 'cuechange', + 'click', + 'close', + 'contextmenu', + 'curechange', + 'dblclick', + 'drag', + 'dragend', + 'dragenter', + 'dragexit', + 'dragleave', + 'dragover', + 'drop', + 'durationchange', + 'emptied', + 'ended', + 'error', + 'focus', + 'focusin', + 'focusout', + 'gotpointercapture', + 'input', + 'invalid', + 'keydown', + 'keypress', + 'keyup', + 'load', + 'loadstart', + 'loadeddata', + 'loadedmetadata', + 'lostpointercapture', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseout', + 'mouseover', + 'mouseup', + 'mousewheel', + 'pause', + 'play', + 'playing', + 'pointercancel', + 'pointerdown', + 'pointerenter', + 'pointerleave', + 'pointerlockchange', + 'mozpointerlockchange', + 'webkitpointerlockerchange', + 'pointerlockerror', + 'mozpointerlockerror', + 'webkitpointerlockerror', + 'pointermove', + 'pointout', + 'pointerover', + 'pointerup', + 'progress', + 'ratechange', + 'reset', + 'resize', + 'scroll', + 'seeked', + 'seeking', + 'select', + 'selectionchange', + 'selectstart', + 'show', + 'sort', + 'stalled', + 'submit', + 'suspend', + 'timeupdate', + 'volumechange', + 'touchcancel', + 'touchmove', + 'touchstart', + 'transitioncancel', + 'transitionend', + 'waiting', + 'wheel' +]; +var documentEventNames = [ + 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange', + 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', + 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange' +]; +var windowEventNames = [ + 'absolutedeviceorientation', + 'afterinput', + 'afterprint', + 'appinstalled', + 'beforeinstallprompt', + 'beforeprint', + 'beforeunload', + 'devicelight', + 'devicemotion', + 'deviceorientation', + 'deviceorientationabsolute', + 'deviceproximity', + 'hashchange', + 'languagechange', + 'message', + 'mozbeforepaint', + 'offline', + 'online', + 'paint', + 'pageshow', + 'pagehide', + 'popstate', + 'rejectionhandled', + 'storage', + 'unhandledrejection', + 'unload', + 'userproximity', + 'vrdisplyconnected', + 'vrdisplaydisconnected', + 'vrdisplaypresentchange' +]; +var htmlElementEventNames = [ + 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', + 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', + 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend' +]; +var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; +var ieElementEventNames = [ + 'activate', + 'afterupdate', + 'ariarequest', + 'beforeactivate', + 'beforedeactivate', + 'beforeeditfocus', + 'beforeupdate', + 'cellchange', + 'controlselect', + 'dataavailable', + 'datasetchanged', + 'datasetcomplete', + 'errorupdate', + 'filterchange', + 'layoutcomplete', + 'losecapture', + 'move', + 'moveend', + 'movestart', + 'propertychange', + 'resizeend', + 'resizestart', + 'rowenter', + 'rowexit', + 'rowsdelete', + 'rowsinserted', + 'command', + 'compassneedscalibration', + 'deactivate', + 'help', + 'mscontentzoom', + 'msmanipulationstatechanged', + 'msgesturechange', + 'msgesturedoubletap', + 'msgestureend', + 'msgesturehold', + 'msgesturestart', + 'msgesturetap', + 'msgotpointercapture', + 'msinertiastart', + 'mslostpointercapture', + 'mspointercancel', + 'mspointerdown', + 'mspointerenter', + 'mspointerhover', + 'mspointerleave', + 'mspointermove', + 'mspointerout', + 'mspointerover', + 'mspointerup', + 'pointerout', + 'mssitemodejumplistitemremoved', + 'msthumbnailclick', + 'stop', + 'storagecommit' +]; +var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; +var formEventNames = ['autocomplete', 'autocompleteerror']; +var detailEventNames = ['toggle']; +var frameEventNames = ['load']; +var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; +var marqueeEventNames = ['bounce', 'finish', 'start']; +var XMLHttpRequestEventNames = [ + 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', + 'readystatechange' +]; +var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; +var websocketEventNames = ['close', 'error', 'open', 'message']; +var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); +function filterProperties(target, onProperties, ignoreProperties) { + if (!ignoreProperties) { + return onProperties; + } + var tip = ignoreProperties.filter(function (ip) { return ip.target === target; }); + if (!tip || tip.length === 0) { + return onProperties; + } + var targetIgnoreProperties = tip[0].ignoreProperties; + return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; }); +} +function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { + var filteredProperties = filterProperties(target, onProperties, ignoreProperties); + patchOnProperties(target, filteredProperties, prototype); +} +function propertyDescriptorPatch(api, _global) { + if (isNode && !isMix) { + return; + } + var supportsWebSocket = typeof WebSocket !== 'undefined'; + if (canPatchViaPropertyDescriptor()) { + var ignoreProperties = _global.__Zone_ignore_on_properties; + // for browsers that we can patch the descriptor: Chrome & Firefox + if (isBrowser) { + // in IE/Edge, onProp not exist in window object, but in WindowPrototype + // so we need to pass WindowPrototype to check onProp exist or not + patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window)); + patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); + if (typeof window['SVGElement'] !== 'undefined') { + patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties); + } + patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); + patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); + patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); + var HTMLMarqueeElement_1 = window['HTMLMarqueeElement']; + if (HTMLMarqueeElement_1) { + patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); + } + } + patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); + var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); + } + if (typeof IDBIndex !== 'undefined') { + patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); + } + if (supportsWebSocket) { + patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); + } + } + else { + // Safari, Android browsers (Jelly Bean) + patchViaCapturingAllTheEvents(); + patchClass('XMLHttpRequest'); + if (supportsWebSocket) { + apply(api, _global); + } + } +} +function canPatchViaPropertyDescriptor() { + if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && + typeof Element !== 'undefined') { + // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 + // IDL interface attributes are not configurable + var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick'); + if (desc && !desc.configurable) + return false; + } + var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange'); + // add enumerable and configurable here because in opera + // by default XMLHttpRequest.prototype.onreadystatechange is undefined + // without adding enumerable and configurable will cause onreadystatechange + // non-configurable + // and if XMLHttpRequest.prototype.onreadystatechange is undefined, + // we should set a real desc instead a fake one + if (xhrDesc) { + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return true; + } + }); + var req = new XMLHttpRequest(); + var result = !!req.onreadystatechange; + // restore original desc + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {}); + return result; + } + else { + var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange'); + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; + }, + set: function (value) { + this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; + } + }); + var req = new XMLHttpRequest(); + var detectFunc = function () { }; + req.onreadystatechange = detectFunc; + var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; + req.onreadystatechange = null; + return result; + } +} + +var unboundKey = zoneSymbol('unbound'); +// Whenever any eventListener fires, we check the eventListener target and all parents +// for `onwhatever` properties and replace them with zone-bound functions +// - Chrome (for now) +function patchViaCapturingAllTheEvents() { + var _loop_1 = function (i) { + var property = eventNames[i]; + var onproperty = 'on' + property; + self.addEventListener(property, function (event) { + var elt = event.target, bound, source; + if (elt) { + source = elt.constructor['name'] + '.' + onproperty; + } + else { + source = 'unknown.' + onproperty; + } + while (elt) { + if (elt[onproperty] && !elt[onproperty][unboundKey]) { + bound = Zone.current.wrap(elt[onproperty], source); + bound[unboundKey] = elt[onproperty]; + elt[onproperty] = bound; + } + elt = elt.parentElement; + } + }, true); + }; + for (var i = 0; i < eventNames.length; i++) { + _loop_1(i); + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function eventTargetPatch(_global, api) { + var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; + var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket' + .split(','); + var EVENT_TARGET = 'EventTarget'; + var apis = []; + var isWtf = _global['wtf']; + var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); + if (isWtf) { + // Workaround for: https://github.com/google/tracing-framework/issues/555 + apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET); + } + else if (_global[EVENT_TARGET]) { + apis.push(EVENT_TARGET); + } + else { + // Note: EventTarget is not available in all browsers, + // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget + apis = NO_EVENT_TARGET; + } + var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; + var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; + var ieOrEdge = isIEOrEdge(); + var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; + var FUNCTION_WRAPPER = '[object FunctionWrapper]'; + var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; + // predefine all __zone_symbol__ + eventName + true/false string + for (var i = 0; i < eventNames.length; i++) { + var eventName = eventNames[i]; + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + } + // predefine all task.source string + for (var i = 0; i < WTF_ISSUE_555.length; i++) { + var target = WTF_ISSUE_555_ARRAY[i]; + var targets = globalSources[target] = {}; + for (var j = 0; j < eventNames.length; j++) { + var eventName = eventNames[j]; + targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; + } + } + var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) { + if (!isDisableIECheck && ieOrEdge) { + if (isEnableCrossContextCheck) { + try { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + else { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + } + else if (isEnableCrossContextCheck) { + try { + delegate.toString(); + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + return true; + }; + var apiTypes = []; + for (var i = 0; i < apis.length; i++) { + var type = _global[apis[i]]; + apiTypes.push(type && type.prototype); + } + patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext }); + api.patchEventTarget = patchEventTarget; + return true; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function registerElementPatch(_global) { + if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) { + return; + } + var _registerElement = document.registerElement; + var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; + document.registerElement = function (name, opts) { + if (opts && opts.prototype) { + callbacks.forEach(function (callback) { + var source = 'Document.registerElement::' + callback; + if (opts.prototype.hasOwnProperty(callback)) { + var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback); + if (descriptor && descriptor.value) { + descriptor.value = Zone.current.wrap(descriptor.value, source); + _redefineProperty(opts.prototype, callback, descriptor); + } + else { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + } + else if (opts.prototype[callback]) { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + }); + } + return _registerElement.apply(document, [name, opts]); + }; + attachOriginToPatched(document.registerElement, _registerElement); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +Zone.__load_patch('timers', function (global, Zone, api) { + var set = 'set'; + var clear = 'clear'; + patchTimer(global, set, clear, 'Timeout'); + patchTimer(global, set, clear, 'Interval'); + patchTimer(global, set, clear, 'Immediate'); +}); +Zone.__load_patch('requestAnimationFrame', function (global, Zone, api) { + patchTimer(global, 'request', 'cancel', 'AnimationFrame'); + patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); + patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); +}); +Zone.__load_patch('blocking', function (global, Zone, api) { + var blockingMethods = ['alert', 'prompt', 'confirm']; + for (var i = 0; i < blockingMethods.length; i++) { + var name_1 = blockingMethods[i]; + patchMethod(global, name_1, function (delegate, symbol, name) { + return function (s, args) { + return Zone.current.run(delegate, global, args, name); + }; + }); + } +}); +Zone.__load_patch('EventTarget', function (global, Zone, api) { + eventTargetPatch(global, api); + // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener + var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { + api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); + } + patchClass('MutationObserver'); + patchClass('WebKitMutationObserver'); + patchClass('IntersectionObserver'); + patchClass('FileReader'); +}); +Zone.__load_patch('on_property', function (global, Zone, api) { + propertyDescriptorPatch(api, global); + propertyPatch(); + registerElementPatch(global); +}); +Zone.__load_patch('canvas', function (global, Zone, api) { + var HTMLCanvasElement = global['HTMLCanvasElement']; + if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype && + HTMLCanvasElement.prototype.toBlob) { + patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) { + return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args }; + }); + } +}); +Zone.__load_patch('XHR', function (global, Zone, api) { + // Treat XMLHTTPRequest as a macrotask. + patchXHR(global); + var XHR_TASK = zoneSymbol('xhrTask'); + var XHR_SYNC = zoneSymbol('xhrSync'); + var XHR_LISTENER = zoneSymbol('xhrListener'); + var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); + function patchXHR(window) { + function findPendingTask(target) { + var pendingTask = target[XHR_TASK]; + return pendingTask; + } + var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener'); + var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener'); + var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER]; + var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER]; + if (!oriAddListener) { + var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER]; + } + } + var READY_STATE_CHANGE = 'readystatechange'; + var SCHEDULED = 'scheduled'; + function scheduleTask(task) { + XMLHttpRequest[XHR_SCHEDULED] = false; + var data = task.data; + var target = data.target; + // remove existing event listener + var listener = target[XHR_LISTENER]; + if (!oriAddListener) { + oriAddListener = target[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER]; + } + if (listener) { + oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]); + } + var newListener = target[XHR_LISTENER] = function () { + if (target.readyState === target.DONE) { + // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with + // readyState=4 multiple times, so we need to check task state here + if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) { + task.invoke(); + } + } + }; + oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]); + var storedTask = target[XHR_TASK]; + if (!storedTask) { + target[XHR_TASK] = task; + } + sendNative.apply(target, data.args); + XMLHttpRequest[XHR_SCHEDULED] = true; + return task; + } + function placeholderCallback() { } + function clearTask(task) { + var data = task.data; + // Note - ideally, we would call data.target.removeEventListener here, but it's too late + // to prevent it from firing. So instead, we store info for the event listener. + data.aborted = true; + return abortNative.apply(data.target, data.args); + } + var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) { + self[XHR_SYNC] = args[2] == false; + return openNative.apply(self, args); + }; }); + var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; + var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) { + var zone = Zone.current; + if (self[XHR_SYNC]) { + // if the XHR is sync there is no task to schedule, just execute the code. + return sendNative.apply(self, args); + } + else { + var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false }; + return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); + } + }; }); + var STRING_TYPE = 'string'; + var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) { + var task = findPendingTask(self); + if (task && typeof task.type == STRING_TYPE) { + // If the XHR has already completed, do nothing. + // If the XHR has already been aborted, do nothing. + // Fix #569, call abort multiple times before done will cause + // macroTask task count be negative number + if (task.cancelFn == null || (task.data && task.data.aborted)) { + return; + } + task.zone.cancelTask(task); + } + // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no + // task + // to cancel. Do nothing. + }; }); + } +}); +Zone.__load_patch('geolocation', function (global, Zone, api) { + /// GEO_LOCATION + if (global['navigator'] && global['navigator'].geolocation) { + patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); + } +}); +Zone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) { + // handle unhandled promise rejection + function findPromiseRejectionHandler(evtName) { + return function (e) { + var eventTasks = findEventTasks(global, evtName); + eventTasks.forEach(function (eventTask) { + // windows has added unhandledrejection event listener + // trigger the event listener + var PromiseRejectionEvent = global['PromiseRejectionEvent']; + if (PromiseRejectionEvent) { + var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection }); + eventTask.invoke(evt); + } + }); + }; + } + if (global['PromiseRejectionEvent']) { + Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = + findPromiseRejectionHandler('unhandledrejection'); + Zone[zoneSymbol('rejectionHandledHandler')] = + findPromiseRejectionHandler('rejectionhandled'); + } +}); +Zone.__load_patch('util', function (global, Zone, api) { + api.patchOnProperties = patchOnProperties; + api.patchMethod = patchMethod; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +}))); + +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("../../../../webpack/buildin/global.js"))) + +/***/ }), + +/***/ 1: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/polyfills.ts"); + + +/***/ }) + +},[1]); +//# sourceMappingURL=polyfills.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js.map b/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js.map new file mode 100644 index 0000000..b1b4837 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/backup/polyfills.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["C:/Dev/CorDapps/locWeb/src/polyfills.ts","C:/Dev/CorDapps/locWeb/node_modules/core-js/es6/reflect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/es7/reflect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_a-function.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-instance.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-from-iterable.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-includes.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-methods.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-constructor.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_bind.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_classof.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_cof.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-strong.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-weak.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_core.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ctx.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_defined.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_descriptors.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_dom-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_enum-bug-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_export.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_fails.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_for-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_global.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_has.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_hide.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_html.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ie8-dom-define.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_inherit-if-required.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_invoke.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iobject.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array-iter.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-call.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-define.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-detect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-step.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iterators.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_library.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_meta.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-assign.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dp.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dps.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopd.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopn.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gops.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gpo.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys-internal.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-pie.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_own-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_property-desc.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine-all.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-proto.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-species.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-to-string-tag.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared-key.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-absolute-index.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-integer.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-iobject.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-length.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-primitive.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_uid.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_validate-collection.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_wks.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/core.get-iterator-method.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.map.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.apply.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.construct.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.define-property.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.delete-property.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.enumerate.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-prototype-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.has.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.is-extensible.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.own-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.prevent-extensions.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set-prototype-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.set.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.weak-map.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.define-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.delete-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-own-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.metadata.js","(webpack)/buildin/global.js","C:/Dev/CorDapps/locWeb/node_modules/zone.js/dist/zone.js"],"names":[],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AAEH,mEAAmE;AACnE,+BAA+B;AAC/B,+BAA+B;AAC/B,iCAAiC;AACjC,kCAAkC;AAClC,oCAAoC;AACpC,+BAA+B;AAC/B,6BAA6B;AAC7B,+BAA+B;AAC/B,6BAA6B;AAC7B,8BAA8B;AAC9B,+BAA+B;AAC/B,4BAA4B;AAC5B,iCAAiC;AACjC,4BAA4B;AAE5B,+EAA+E;AAC/E,oEAAoE;AAEpE,yCAAyC;AACZ;AACA;AAG7B;;;IAGI;AACJ,8EAA8E;AAI9E;;GAEG;AACwB,CAAE,6BAA6B;AAI1D;;GAEG;AAEH;;;GAGG;AACH,oDAAoD;AACpD;;GAEG;AACH,sCAAsC;;;;;;;;ACvEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,SAAS;AACpC;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxBA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;AC/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,qBAAqB;AACrB,0BAA0B;AAC1B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,iBAAiB,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,mEAAmE,gBAAgB;AACnF;AACA;AACA,GAAG,4CAA4C,gCAAgC;AAC/E;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;ACPA;AACA;;;;;;;;ACDA;AACA,+GAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;AAEA;AACA,oKAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;ACrEA;AACA;;AAEA;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;ACFA;;;;;;;;ACAA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,gBAAgB,EAAE;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,UAAU,EAAE;AAChD,mBAAmB,sCAAsC;AACzD,CAAC,qCAAqC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;ACjCD;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA,cAAc;;;;;;;;ACAd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;AC9BD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY,cAAc;AACjC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC,GAAG;AACH;;;;;;;;ACZA;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA,kDAAkD;AAClD;AACA,uCAAuC;AACvC;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;;;;;;;;AClBD;AACA;AACA;AACA;AACA,yFAAgD;AAChD;AACA;AACA;AACA,sBAAsB,cAAc;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACfD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6FAAoD;;AAEpD;AACA;AACA;AACA,gBAAgB;AAChB,mCAAmC,cAAc;AACjD,CAAC;AACD;AACA,0BAA0B,cAAc;AACxC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;AC9CD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC,MAAM,WAAW,OAAO,WAAW;AACnE,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACtBD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;ACVD;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B,cAAc;AACd,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC,GAAG;AACH,UAAU;AACV,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACzBD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACTD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACTD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,WAAW;;;;;;;;ACpB1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACPD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACVD;AACA;;AAEA,+BAA+B,2EAAkC;;;;;;;;ACHjE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACfD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACdD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,WAAW;;;;;;;;;AC9B1C;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;ACbD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,uBAAuB,4EAA4E,EAAE;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;;;;;AC1DA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACPH;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAE;;;;;;;;ACdH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;AClBH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;AChBH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACPH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA,CAAC,EAAE;;;;;;;;ACRH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACfH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA,CAAC,EAAE;;;;;;;;ACRH;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAE;;;;;;;;ACdH;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,qBAAqB;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,uBAAuB;AAC9D,uCAAuC,kBAAkB;AACzD,oCAAoC,eAAe;AACnD,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,kBAAkB;AACzD,uCAAuC,kBAAkB;AACzD,oCAAoC,eAAe;AACnD,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,0BAA0B;AACrD;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT,kFAAkF,gEAAgE,EAAE;AACpJ;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA,uCAAuC,0BAA0B,EAAE;AACnE;AACA;AACA;AACA,wCAAwC,6DAA6D,EAAE;AACvG,uCAAuC,WAAW,EAAE;AACpD;AACA,kCAAkC,aAAa,EAAE;AACjD;AACA,6BAA6B;AAC7B;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4HAA4H,wBAAwB,oCAAoC;AACxL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,oDAAoD;AAC9F;AACA;AACA;AACA;AACA;AACA,2BAA2B,mCAAmC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,qEAAqE,gBAAgB;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA,kBAAkB,EAAE;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D,iBAAiB;AAC5E;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,yBAAyB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,EAAE;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,iBAAiB;AACjB;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,EAAE;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,oCAAoC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,0BAA0B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,sBAAsB;AAChE,qCAAqC,iBAAiB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,0BAA0B;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,iBAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,wBAAwB;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,wBAAwB;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;AACA,6DAA6D;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,0BAA0B,EAAE;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,6BAA6B,EAAE;AACpF;AACA;AACA;AACA;AACA,8CAA8C,kDAAkD,EAAE;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,2FAA2F;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,SAAS;AACT;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,mBAAmB,uBAAuB;AAC1C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,+BAA+B,EAAE;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qEAAqE,gBAAgB;AACrF;AACA,mBAAmB,uBAAuB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA,yCAAyC,0CAA0C;AACnF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,mBAAmB,4BAA4B;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F;AAC3F;AACA;AACA,UAAU,EAAE;AACZ;AACA,2FAA2F;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,UAAU,EAAE;AACZ;AACA,qGAAqG;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kEAAkE,0CAA0C;AAC5G;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,CAAC","file":"polyfills.bundle.js","sourcesContent":["/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es6/symbol';\n// import 'core-js/es6/object';\n// import 'core-js/es6/function';\n// import 'core-js/es6/parse-int';\n// import 'core-js/es6/parse-float';\n// import 'core-js/es6/number';\n// import 'core-js/es6/math';\n// import 'core-js/es6/string';\n// import 'core-js/es6/date';\n// import 'core-js/es6/array';\n// import 'core-js/es6/regexp';\n// import 'core-js/es6/map';\n// import 'core-js/es6/weak-map';\n// import 'core-js/es6/set';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** Evergreen browsers require these. **/\nimport 'core-js/es6/reflect';\nimport 'core-js/es7/reflect';\n\n\n/**\n * Required to support Web Animations `@angular/animation`.\n * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation\n **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n\n/***************************************************************************************************\n * Zone JS is required by Angular itself.\n */\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n/**\n * Date, currency, decimal and percent pipes.\n * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\n */\n// import 'intl'; // Run `npm install --save intl`.\n/**\n * Need to import at least one locale-data with intl.\n */\n// import 'intl/locale-data/jsonp/en';\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/polyfills.ts","require('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core').Reflect;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/es6/reflect.js\n// module id = ../../../../core-js/es6/reflect.js\n// module chunks = polyfills","require('../modules/es7.reflect.define-metadata');\nrequire('../modules/es7.reflect.delete-metadata');\nrequire('../modules/es7.reflect.get-metadata');\nrequire('../modules/es7.reflect.get-metadata-keys');\nrequire('../modules/es7.reflect.get-own-metadata');\nrequire('../modules/es7.reflect.get-own-metadata-keys');\nrequire('../modules/es7.reflect.has-metadata');\nrequire('../modules/es7.reflect.has-own-metadata');\nrequire('../modules/es7.reflect.metadata');\nmodule.exports = require('../modules/_core').Reflect;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/es7/reflect.js\n// module id = ../../../../core-js/es7/reflect.js\n// module chunks = polyfills","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_a-function.js\n// module id = ../../../../core-js/modules/_a-function.js\n// module chunks = polyfills","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-instance.js\n// module id = ../../../../core-js/modules/_an-instance.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-object.js\n// module id = ../../../../core-js/modules/_an-object.js\n// module chunks = polyfills","var forOf = require('./_for-of');\n\nmodule.exports = function (iter, ITERATOR) {\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-from-iterable.js\n// module id = ../../../../core-js/modules/_array-from-iterable.js\n// module chunks = polyfills","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-includes.js\n// module id = ../../../../core-js/modules/_array-includes.js\n// module chunks = polyfills","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-methods.js\n// module id = ../../../../core-js/modules/_array-methods.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-constructor.js\n// module id = ../../../../core-js/modules/_array-species-constructor.js\n// module chunks = polyfills","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-create.js\n// module id = ../../../../core-js/modules/_array-species-create.js\n// module chunks = polyfills","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_bind.js\n// module id = ../../../../core-js/modules/_bind.js\n// module chunks = polyfills","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_classof.js\n// module id = ../../../../core-js/modules/_classof.js\n// module chunks = polyfills","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_cof.js\n// module id = ../../../../core-js/modules/_cof.js\n// module chunks = polyfills","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-strong.js\n// module id = ../../../../core-js/modules/_collection-strong.js\n// module chunks = polyfills","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-weak.js\n// module id = ../../../../core-js/modules/_collection-weak.js\n// module chunks = polyfills","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection.js\n// module id = ../../../../core-js/modules/_collection.js\n// module chunks = polyfills","var core = module.exports = { version: '2.5.0' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_core.js\n// module id = ../../../../core-js/modules/_core.js\n// module chunks = polyfills","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ctx.js\n// module id = ../../../../core-js/modules/_ctx.js\n// module chunks = polyfills","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_defined.js\n// module id = ../../../../core-js/modules/_defined.js\n// module chunks = polyfills","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_descriptors.js\n// module id = ../../../../core-js/modules/_descriptors.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_dom-create.js\n// module id = ../../../../core-js/modules/_dom-create.js\n// module chunks = polyfills","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_enum-bug-keys.js\n// module id = ../../../../core-js/modules/_enum-bug-keys.js\n// module chunks = polyfills","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_export.js\n// module id = ../../../../core-js/modules/_export.js\n// module chunks = polyfills","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_fails.js\n// module id = ../../../../core-js/modules/_fails.js\n// module chunks = polyfills","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_for-of.js\n// module id = ../../../../core-js/modules/_for-of.js\n// module chunks = polyfills","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_global.js\n// module id = ../../../../core-js/modules/_global.js\n// module chunks = polyfills","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_has.js\n// module id = ../../../../core-js/modules/_has.js\n// module chunks = polyfills","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_hide.js\n// module id = ../../../../core-js/modules/_hide.js\n// module chunks = polyfills","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_html.js\n// module id = ../../../../core-js/modules/_html.js\n// module chunks = polyfills","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ie8-dom-define.js\n// module id = ../../../../core-js/modules/_ie8-dom-define.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_inherit-if-required.js\n// module id = ../../../../core-js/modules/_inherit-if-required.js\n// module chunks = polyfills","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_invoke.js\n// module id = ../../../../core-js/modules/_invoke.js\n// module chunks = polyfills","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iobject.js\n// module id = ../../../../core-js/modules/_iobject.js\n// module chunks = polyfills","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array-iter.js\n// module id = ../../../../core-js/modules/_is-array-iter.js\n// module chunks = polyfills","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array.js\n// module id = ../../../../core-js/modules/_is-array.js\n// module chunks = polyfills","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-object.js\n// module id = ../../../../core-js/modules/_is-object.js\n// module chunks = polyfills","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-call.js\n// module id = ../../../../core-js/modules/_iter-call.js\n// module chunks = polyfills","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-create.js\n// module id = ../../../../core-js/modules/_iter-create.js\n// module chunks = polyfills","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-define.js\n// module id = ../../../../core-js/modules/_iter-define.js\n// module chunks = polyfills","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-detect.js\n// module id = ../../../../core-js/modules/_iter-detect.js\n// module chunks = polyfills","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-step.js\n// module id = ../../../../core-js/modules/_iter-step.js\n// module chunks = polyfills","module.exports = {};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iterators.js\n// module id = ../../../../core-js/modules/_iterators.js\n// module chunks = polyfills","module.exports = false;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_library.js\n// module id = ../../../../core-js/modules/_library.js\n// module chunks = polyfills","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_meta.js\n// module id = ../../../../core-js/modules/_meta.js\n// module chunks = polyfills","var Map = require('./es6.map');\nvar $export = require('./_export');\nvar shared = require('./_shared')('metadata');\nvar store = shared.store || (shared.store = new (require('./es6.weak-map'))());\n\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\n var targetMetadata = store.get(target);\n if (!targetMetadata) {\n if (!create) return undefined;\n store.set(target, targetMetadata = new Map());\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if (!keyMetadata) {\n if (!create) return undefined;\n targetMetadata.set(targetKey, keyMetadata = new Map());\n } return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n var keys = [];\n if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\n return keys;\n};\nvar toMetaKey = function (it) {\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\nvar exp = function (O) {\n $export($export.S, 'Reflect', O);\n};\n\nmodule.exports = {\n store: store,\n map: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n key: toMetaKey,\n exp: exp\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_metadata.js\n// module id = ../../../../core-js/modules/_metadata.js\n// module chunks = polyfills","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-assign.js\n// module id = ../../../../core-js/modules/_object-assign.js\n// module chunks = polyfills","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-create.js\n// module id = ../../../../core-js/modules/_object-create.js\n// module chunks = polyfills","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dp.js\n// module id = ../../../../core-js/modules/_object-dp.js\n// module chunks = polyfills","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dps.js\n// module id = ../../../../core-js/modules/_object-dps.js\n// module chunks = polyfills","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopd.js\n// module id = ../../../../core-js/modules/_object-gopd.js\n// module chunks = polyfills","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopn.js\n// module id = ../../../../core-js/modules/_object-gopn.js\n// module chunks = polyfills","exports.f = Object.getOwnPropertySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gops.js\n// module id = ../../../../core-js/modules/_object-gops.js\n// module chunks = polyfills","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gpo.js\n// module id = ../../../../core-js/modules/_object-gpo.js\n// module chunks = polyfills","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys-internal.js\n// module id = ../../../../core-js/modules/_object-keys-internal.js\n// module chunks = polyfills","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys.js\n// module id = ../../../../core-js/modules/_object-keys.js\n// module chunks = polyfills","exports.f = {}.propertyIsEnumerable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-pie.js\n// module id = ../../../../core-js/modules/_object-pie.js\n// module chunks = polyfills","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_own-keys.js\n// module id = ../../../../core-js/modules/_own-keys.js\n// module chunks = polyfills","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_property-desc.js\n// module id = ../../../../core-js/modules/_property-desc.js\n// module chunks = polyfills","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine-all.js\n// module id = ../../../../core-js/modules/_redefine-all.js\n// module chunks = polyfills","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine.js\n// module id = ../../../../core-js/modules/_redefine.js\n// module chunks = polyfills","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-proto.js\n// module id = ../../../../core-js/modules/_set-proto.js\n// module chunks = polyfills","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-species.js\n// module id = ../../../../core-js/modules/_set-species.js\n// module chunks = polyfills","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-to-string-tag.js\n// module id = ../../../../core-js/modules/_set-to-string-tag.js\n// module chunks = polyfills","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared-key.js\n// module id = ../../../../core-js/modules/_shared-key.js\n// module chunks = polyfills","var global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function (key) {\n return store[key] || (store[key] = {});\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared.js\n// module id = ../../../../core-js/modules/_shared.js\n// module chunks = polyfills","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-absolute-index.js\n// module id = ../../../../core-js/modules/_to-absolute-index.js\n// module chunks = polyfills","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-integer.js\n// module id = ../../../../core-js/modules/_to-integer.js\n// module chunks = polyfills","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-iobject.js\n// module id = ../../../../core-js/modules/_to-iobject.js\n// module chunks = polyfills","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-length.js\n// module id = ../../../../core-js/modules/_to-length.js\n// module chunks = polyfills","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-object.js\n// module id = ../../../../core-js/modules/_to-object.js\n// module chunks = polyfills","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-primitive.js\n// module id = ../../../../core-js/modules/_to-primitive.js\n// module chunks = polyfills","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_uid.js\n// module id = ../../../../core-js/modules/_uid.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_validate-collection.js\n// module id = ../../../../core-js/modules/_validate-collection.js\n// module chunks = polyfills","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_wks.js\n// module id = ../../../../core-js/modules/_wks.js\n// module chunks = polyfills","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/core.get-iterator-method.js\n// module id = ../../../../core-js/modules/core.get-iterator-method.js\n// module chunks = polyfills","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.map.js\n// module id = ../../../../core-js/modules/es6.map.js\n// module chunks = polyfills","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.apply.js\n// module id = ../../../../core-js/modules/es6.reflect.apply.js\n// module chunks = polyfills","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.construct.js\n// module id = ../../../../core-js/modules/es6.reflect.construct.js\n// module chunks = polyfills","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.define-property.js\n// module id = ../../../../core-js/modules/es6.reflect.define-property.js\n// module chunks = polyfills","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.delete-property.js\n// module id = ../../../../core-js/modules/es6.reflect.delete-property.js\n// module chunks = polyfills","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.enumerate.js\n// module id = ../../../../core-js/modules/es6.reflect.enumerate.js\n// module chunks = polyfills","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js\n// module id = ../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js\n// module chunks = polyfills","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-prototype-of.js\n// module id = ../../../../core-js/modules/es6.reflect.get-prototype-of.js\n// module chunks = polyfills","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get.js\n// module id = ../../../../core-js/modules/es6.reflect.get.js\n// module chunks = polyfills","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.has.js\n// module id = ../../../../core-js/modules/es6.reflect.has.js\n// module chunks = polyfills","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.is-extensible.js\n// module id = ../../../../core-js/modules/es6.reflect.is-extensible.js\n// module chunks = polyfills","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.own-keys.js\n// module id = ../../../../core-js/modules/es6.reflect.own-keys.js\n// module chunks = polyfills","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.prevent-extensions.js\n// module id = ../../../../core-js/modules/es6.reflect.prevent-extensions.js\n// module chunks = polyfills","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set-prototype-of.js\n// module id = ../../../../core-js/modules/es6.reflect.set-prototype-of.js\n// module chunks = polyfills","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set.js\n// module id = ../../../../core-js/modules/es6.reflect.set.js\n// module chunks = polyfills","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.set.js\n// module id = ../../../../core-js/modules/es6.set.js\n// module chunks = polyfills","'use strict';\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar validate = require('./_validate-collection');\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar tmp = {};\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.weak-map.js\n// module id = ../../../../core-js/modules/es6.weak-map.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.define-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.define-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar getOrCreateMetadataMap = metadata.map;\nvar store = metadata.store;\n\nmetadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.delete-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.delete-metadata.js\n// module chunks = polyfills","var Set = require('./es6.set');\nvar from = require('./_array-from-iterable');\nvar metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\nmetadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js\n// module id = ../../../../core-js/modules/es7.reflect.get-metadata-keys.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\nmetadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.get-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js\n// module id = ../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.get-own-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\nmetadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.has-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-own-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.has-own-metadata.js\n// module chunks = polyfills","var $metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar toMetaKey = $metadata.key;\nvar ordinaryDefineOwnMetadata = $metadata.set;\n\n$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, targetKey) {\n ordinaryDefineOwnMetadata(\n metadataKey, metadataValue,\n (targetKey !== undefined ? anObject : aFunction)(target),\n toMetaKey(targetKey)\n );\n };\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.metadata.js\n// module chunks = polyfills","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = ../../../../webpack/buildin/global.js\n// module chunks = polyfills vendor","/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(factory());\n}(this, (function () { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar Zone$1 = (function (global) {\n var FUNCTION = 'function';\n var performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n if (global['Zone']) {\n throw new Error('Zone already loaded.');\n }\n var Zone = (function () {\n function Zone(parent, zoneSpec) {\n this._properties = null;\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"root\", {\n get: function () {\n var zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZoneFrame.zone;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.__load_patch = function (name, fn) {\n if (patches.hasOwnProperty(name)) {\n throw Error('Already loaded patch: ' + name);\n }\n else if (!global['__Zone_disable_' + name]) {\n var perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n };\n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== FUNCTION) {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = undefined; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n // we have to define an variable here, if not\n // typescript compiler will complain below\n var isNotScheduled = task.state === notScheduled;\n if (isNotScheduled && task.type === eventTask) {\n return;\n }\n var reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n var previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = null;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleTask = function (task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n var newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(\"can not reschedule task to \" + this\n .name + \" which is descendants of the original zone \" + task.zone.name);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n var zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n };\n Zone.prototype._updateTaskCount = function (task, count) {\n var zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (var i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n };\n return Zone;\n }());\n Zone.__symbol__ = __symbol__;\n var DELEGATE_ZS = {\n name: '',\n onHasTask: function (delegate, _, target, hasTaskState) {\n return delegate.hasTask(target, hasTaskState);\n },\n onScheduleTask: function (delegate, _, target, task) {\n return delegate.scheduleTask(target, task);\n },\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); },\n onCancelTask: function (delegate, _, target, task) {\n return delegate.cancelTask(target, task);\n }\n };\n var ZoneDelegate = (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt =\n zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ?\n this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n var returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ?\n this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n return this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n };\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = (function () {\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n this._zone = null;\n this.runCount = 0;\n this._zoneDelegates = null;\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n this.callback = callback;\n var self = this;\n if (type === eventTask && options && options.isUsingGlobalCallback) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.apply(global, [self, this, arguments]);\n };\n }\n }\n ZoneTask.invokeTask = function (task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\n get: function () {\n return this._zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ZoneTask.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n enumerable: true,\n configurable: true\n });\n ZoneTask.prototype.cancelScheduleRequest = function () {\n this._transitionTo(notScheduled, scheduling);\n };\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ?\n ' or \\'' + fromState2 + '\\'' :\n '') + \", was '\" + this._state + \"'.\");\n }\n };\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId;\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n ZoneTask.prototype.toJSON = function () {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n invoke: this.invoke,\n scheduleFn: this.scheduleFn,\n cancelFn: this.cancelFn,\n runCount: this.runCount,\n callback: this.callback\n };\n };\n return ZoneTask;\n }());\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var nativeMicroTaskQueuePromise;\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')];\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var NO_ZONE = { name: 'NO ZONE' };\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n var patches = {};\n var _api = {\n symbol: __symbol__,\n currentZoneFrame: function () { return _currentZoneFrame; },\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\n patchEventTarget: function () { return []; },\n patchOnProperties: noop,\n patchMethod: function () { return noop; },\n };\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n var _currentTask = null;\n var _numberOfNestedTaskFrames = 0;\n function noop() { }\n function __symbol__(name) {\n return '__zone_symbol__' + name;\n }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n var __symbol__ = api.symbol;\n var _uncaughtPromiseErrors = [];\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n api.onUnhandledError = function (e) {\n if (api.showUncaughtError()) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = function () {\n while (_uncaughtPromiseErrors.length) {\n var _loop_1 = function () {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_1();\n }\n }\n };\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (handler && typeof handler === 'function') {\n handler.apply(this, [e]);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n var once = function () {\n var wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n var TYPE_ERROR = 'Promise resolved with itself';\n var OBJECT = 'object';\n var FUNCTION = 'function';\n var CURRENT_TASK_SYMBOL = __symbol__('currentTask');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n var onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n var then = null;\n try {\n if (typeof value === OBJECT || typeof value === FUNCTION) {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === FUNCTION) {\n try {\n then.apply(value, [\n onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false))\n ]);\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n value[CURRENT_TASK_SYMBOL] = Zone.currentTask;\n }\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n try {\n throw new Error('Uncaught (in promise): ' + value +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n var error_1 = err;\n error_1.rejection = value;\n error_1.promise = promise;\n error_1.zone = Zone.current;\n error_1.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(error_1);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n var handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === FUNCTION) {\n handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]);\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var delegate = promise[symbolState] ?\n (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution :\n (typeof onRejected === FUNCTION) ? onRejected : forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]]));\n }\n catch (error) {\n resolvePromise(chainPromise, false, error);\n }\n });\n }\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n var ZoneAwarePromise = (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n ZoneAwarePromise.toString = function () {\n return ZONE_AWARE_PROMISE_TO_STRING;\n };\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n _a = [res, rej], resolve = _a[0], reject = _a[1];\n var _a;\n });\n function onResolve(value) {\n promise && (promise = null || resolve(value));\n }\n function onReject(error) {\n promise && (promise = null || reject(error));\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var count = 0;\n var resolvedValues = [];\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then((function (index) { return function (value) {\n resolvedValues[index] = value;\n count--;\n if (!count) {\n resolve(resolvedValues);\n }\n }; })(count), reject);\n count++;\n }\n if (!count)\n resolve(resolvedValues);\n return promise;\n };\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var chainPromise = new this.constructor(null);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[symbolPromise] = global['Promise'];\n global['Promise'] = ZoneAwarePromise;\n var symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n var proto = Ctor.prototype;\n var originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n // check Ctor.prototype.then propertyDescritor is writable or not\n // in meteor env, writable is false, we have to make it to be true.\n var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then');\n if (prop && prop.writable === false && prop.configurable) {\n Object.defineProperty(Ctor.prototype, 'then', { writable: true });\n }\n Ctor.prototype.then = function (onResolve, onReject) {\n var _this = this;\n var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n originalThen.call(_this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n function zoneify(fn) {\n return function () {\n var resultPromise = fn.apply(this, arguments);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n var ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n var fetch_1 = global['fetch'];\n if (typeof fetch_1 == FUNCTION) {\n global['fetch'] = zoneify(fetch_1);\n }\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\nvar zoneSymbol = Zone.__symbol__;\nvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\nvar FUNCTION = 'function';\nvar UNDEFINED = 'undefined';\nvar REMOVE_ATTRIBUTE = 'removeAttribute';\nfunction bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === FUNCTION) {\n args[i] = Zone.current.wrap(args[i], source + '_' + i);\n }\n }\n return args;\n}\nfunction patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function (i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1);\n if (!isPropertyWritable(prototypeDesc)) {\n return \"continue\";\n }\n prototype[name_1] = (function (delegate) {\n var patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n}\nfunction isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) {\n return false;\n }\n return true;\n}\nvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n// Make sure to access `process` through `_global` so that WebPack does not accidently browserify\n// this code.\nvar isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\nvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n// we are in electron of nw, so we are both browser and nodejs\n// Make sure to access `process` through `_global` so that WebPack does not accidently browserify\n// this code.\nvar isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(typeof window !== 'undefined' && window['HTMLElement']);\nvar ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler');\nvar zoneSymbolEventNames = {};\nvar wrapFn = function (event) {\n var eventNameSymbol = zoneSymbolEventNames[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n var listener = this[eventNameSymbol];\n var result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n return result;\n};\nfunction patchProperty(obj, prop, prototype) {\n var desc = Object.getOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n var originalDescGet = desc.get;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var eventNameSymbol = zoneSymbolEventNames[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n var previousValue = target[eventNameSymbol];\n if (previousValue) {\n target.removeEventListener(eventName, wrapFn);\n }\n if (typeof newValue === 'function') {\n target[eventNameSymbol] = newValue;\n target.addEventListener(eventName, wrapFn, false);\n }\n else {\n target[eventNameSymbol] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n if (target[eventNameSymbol]) {\n return wrapFn;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n var value = originalDescGet && originalDescGet.apply(this);\n if (value) {\n desc.set.apply(this, [value]);\n if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n Object.defineProperty(obj, prop, desc);\n}\nfunction patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n}\nvar originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n var OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n Object.defineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n}\nfunction patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate;\n if (proto && !(delegate = proto[delegateName])) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n var desc = proto && Object.getOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate_1(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n }\n }\n return delegate;\n}\n// TODO: @JiaLiPassion, support cancel task later if necessary\nfunction patchMacroTask(obj, funcName, metaCreator) {\n var setNative = null;\n function scheduleTask(task) {\n var data = task.data;\n data.args[data.callbackIndex] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\n var meta = metaCreator(self, args);\n if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') {\n var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null);\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n }; });\n}\n\nfunction attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n}\nvar isDetectedIEOrEdge = false;\nvar ieOrEdge = false;\nfunction isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n var ua = window.navigator.userAgent;\n var msie = ua.indexOf('MSIE ');\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n return ieOrEdge;\n }\n catch (error) {\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// override Function.prototype.toString to make zone.js patched function\n// look like native function\nZone.__load_patch('toString', function (global, Zone, api) {\n // patch Func.prototype.toString to let them look like native\n var originalFunctionToString = Zone['__zone_symbol__originalToString'] =\n Function.prototype.toString;\n var FUNCTION = 'function';\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n var PROMISE_SYMBOL = zoneSymbol('Promise');\n var ERROR_SYMBOL = zoneSymbol('Error');\n Function.prototype.toString = function () {\n if (typeof this === FUNCTION) {\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === FUNCTION) {\n return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n var nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.apply(nativePromise, arguments);\n }\n }\n if (this === Error) {\n var nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.apply(nativeError, arguments);\n }\n }\n }\n return originalFunctionToString.apply(this, arguments);\n };\n // patch Object.prototype.toString to let them look like native\n var originalObjectToString = Object.prototype.toString;\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.apply(this, arguments);\n };\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nvar TRUE_STR = 'true';\nvar FALSE_STR = 'false';\n// an identifier to tell ZoneTask do not create a new invoke closure\nvar OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n isUsingGlobalCallback: true\n};\nvar zoneSymbolEventNames$1 = {};\nvar globalSources = {};\nvar CONSTRUCTOR_NAME = 'name';\nvar FUNCTION_TYPE = 'function';\nvar OBJECT_TYPE = 'object';\nvar ZONE_SYMBOL_PREFIX = '__zone_symbol__';\nvar EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\\w+)(true|false)$/;\nfunction patchEventTarget(_global, apis, patchOptions) {\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener';\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener';\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners';\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners';\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n var PREPEND_EVENT_LISTENER = 'prependListener';\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n var invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n var delegate = task.callback;\n if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = function (event) { return delegate.handleEvent(event); };\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n task.invoke(task, target, [event]);\n var options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]);\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = false\n var globalZoneAwareCallback = function (event) {\n var target = this || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n var globalZoneAwareCaptureCallback = function (event) {\n var target = this || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n var useGlobalCallback = true;\n if (patchOptions && patchOptions.useGlobalCallback !== undefined) {\n useGlobalCallback = patchOptions.useGlobalCallback;\n }\n var validateHandler = patchOptions && patchOptions.validateHandler;\n var checkDuplicate = true;\n if (patchOptions && patchOptions.checkDuplicate !== undefined) {\n checkDuplicate = patchOptions.checkDuplicate;\n }\n var returnTarget = false;\n if (patchOptions && patchOptions.returnTarget !== undefined) {\n returnTarget = patchOptions.returnTarget;\n }\n var proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n var taskData = {};\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n var nativePrependEventListener;\n if (patchOptions && patchOptions.prependEventListenerFnName) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] =\n proto[patchOptions.prependEventListenerFnName];\n }\n var customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n return nativeAddEventListener.apply(taskData.target, [\n taskData.eventName,\n taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback,\n taskData.options\n ]);\n };\n var customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n var symbolEventName = void 0;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.apply(task.target, [\n task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback,\n task.options\n ]);\n };\n var customScheduleNonGlobal = function (task) {\n return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]);\n };\n var customSchedulePrepend = function (task) {\n return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]);\n };\n var customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]);\n };\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n var compareTaskCallbackVsDelegate = function (task, delegate) {\n var typeOfDelegate = typeof delegate;\n if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) ||\n (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) {\n // same callback, same capture, same event name, just return\n return true;\n }\n return false;\n };\n var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ?\n patchOptions.compareTaskCallbackVsDelegate :\n compareTaskCallbackVsDelegate;\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\n if (returnTarget === void 0) { returnTarget = false; }\n if (prepend === void 0) { prepend = false; }\n return function () {\n var target = this || _global;\n var targetZone = Zone.current;\n var delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n var isHandleEvent = false;\n if (typeof delegate !== FUNCTION_TYPE) {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n var eventName = arguments[0];\n var options = arguments[2];\n var capture;\n var once = false;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n once = options ? !!options.once : false;\n }\n var zone = Zone.current;\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (!symbolEventNames) {\n // the code is duplicate, but I just want to get some better performance\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n symbolEventName = capture ? symbolCapture : symbol;\n }\n else {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = target[symbolEventName];\n var isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (var i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n var source;\n var constructorName = target.constructor[CONSTRUCTOR_NAME];\n var targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource + eventName;\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null;\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n task.options = options;\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var options = arguments[2];\n var capture;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n }\n var delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n var typeOfDelegate = typeof delegate;\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n }\n existingTask.zone.cancelTask(existingTask);\n return;\n }\n }\n }\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var listeners = [];\n var tasks = findEventTasks(target, eventName);\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (!eventName) {\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n var prop = keys[i];\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']);\n }\n else {\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (symbolEventNames) {\n var symbolEventName = symbolEventNames[FALSE_STR];\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n var tasks = target[symbolEventName];\n var captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n var removeTasks = tasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]);\n }\n }\n if (captureTasks) {\n var removeTasks = captureTasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]);\n }\n }\n }\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n var results = [];\n for (var i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n}\nfunction findEventTasks(target, eventName) {\n var foundTasks = [];\n for (var prop in target) {\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n var tasks = target[prop];\n if (tasks) {\n for (var i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n var NUMBER = 'number';\n var STRING = 'string';\n var FUNCTION = 'function';\n var INTERVAL = 'Interval';\n var TIMEOUT = 'Timeout';\n var NOT_SCHEDULED = 'notScheduled';\n function scheduleTask(task) {\n var data = task.data;\n function timer() {\n try {\n task.invoke.apply(this, arguments);\n }\n finally {\n if (typeof data.handleId === NUMBER) {\n // Node returns complex objects as handleIds\n delete tasksByHandleId[data.handleId];\n }\n }\n }\n data.args[0] = timer;\n data.handleId = setNative.apply(window, data.args);\n if (typeof data.handleId === NUMBER) {\n // Node returns complex objects as handleIds -> no need to keep them around. Additionally,\n // this throws an\n // exception in older node versions and has no effect there, because of the stringified key.\n tasksByHandleId[data.handleId] = task;\n }\n return task;\n }\n function clearTask(task) {\n if (typeof task.data.handleId === NUMBER) {\n // Node returns complex objects as handleIds\n delete tasksByHandleId[task.data.handleId];\n }\n return clearNative(task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === FUNCTION) {\n var zone = Zone.current;\n var options = {\n handleId: null,\n isPeriodic: nameSuffix === INTERVAL,\n delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null,\n args: args\n };\n var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION &&\n typeof handle.unref === FUNCTION) {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0];\n if (task && typeof task.type === STRING) {\n if (task.state !== NOT_SCHEDULED &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\nvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\nvar _create = Object.create;\nvar unconfigurablesKey = zoneSymbol('unconfigurables');\nvar PROTOTYPE = 'prototype';\nvar OBJECT = 'object';\nvar UNDEFINED$1 = 'undefined';\nfunction propertyPatch() {\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== PROTOTYPE) {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === OBJECT && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n}\nfunction _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\nfunction isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n desc.configurable = true;\n if (!desc.configurable) {\n if (!obj[unconfigurablesKey]) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n obj[unconfigurablesKey][prop] = true;\n }\n return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == UNDEFINED$1) {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (error) {\n descJson = descJson.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\n }\n }\n else {\n throw error;\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// we have to patch the instance since the proto is non-configurable\nfunction apply(api, _global) {\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n patchEventTarget(_global, [WS.prototype]);\n }\n _global.WebSocket = function (a, b) {\n var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n var proxySocket;\n var proxySocketProto;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = Object.create(socket);\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n // but proxySocket not, so we will keep socket as prototype and pass it to\n // patchOnProperties method\n proxySocketProto = socket;\n ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n var args = Array.prototype.slice.call(arguments);\n if (propName === 'addEventListener' || propName === 'removeEventListener') {\n var eventName = args.length > 0 ? args[0] : undefined;\n if (eventName) {\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n socket[propertySymbol] = proxySocket[propertySymbol];\n }\n }\n return socket[propName].apply(socket, args);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n return proxySocket;\n };\n var globalWebSocket = _global['WebSocket'];\n for (var prop in WS) {\n globalWebSocket[prop] = WS[prop];\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nvar globalEventHandlersEventNames = [\n 'abort',\n 'animationcancel',\n 'animationend',\n 'animationiteration',\n 'auxclick',\n 'beforeinput',\n 'blur',\n 'cancel',\n 'canplay',\n 'canplaythrough',\n 'change',\n 'compositionstart',\n 'compositionupdate',\n 'compositionend',\n 'cuechange',\n 'click',\n 'close',\n 'contextmenu',\n 'curechange',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'dragexit',\n 'dragleave',\n 'dragover',\n 'drop',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'focus',\n 'focusin',\n 'focusout',\n 'gotpointercapture',\n 'input',\n 'invalid',\n 'keydown',\n 'keypress',\n 'keyup',\n 'load',\n 'loadstart',\n 'loadeddata',\n 'loadedmetadata',\n 'lostpointercapture',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n 'mousewheel',\n 'pause',\n 'play',\n 'playing',\n 'pointercancel',\n 'pointerdown',\n 'pointerenter',\n 'pointerleave',\n 'pointerlockchange',\n 'mozpointerlockchange',\n 'webkitpointerlockerchange',\n 'pointerlockerror',\n 'mozpointerlockerror',\n 'webkitpointerlockerror',\n 'pointermove',\n 'pointout',\n 'pointerover',\n 'pointerup',\n 'progress',\n 'ratechange',\n 'reset',\n 'resize',\n 'scroll',\n 'seeked',\n 'seeking',\n 'select',\n 'selectionchange',\n 'selectstart',\n 'show',\n 'sort',\n 'stalled',\n 'submit',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'touchcancel',\n 'touchmove',\n 'touchstart',\n 'transitioncancel',\n 'transitionend',\n 'waiting',\n 'wheel'\n];\nvar documentEventNames = [\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange',\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange'\n];\nvar windowEventNames = [\n 'absolutedeviceorientation',\n 'afterinput',\n 'afterprint',\n 'appinstalled',\n 'beforeinstallprompt',\n 'beforeprint',\n 'beforeunload',\n 'devicelight',\n 'devicemotion',\n 'deviceorientation',\n 'deviceorientationabsolute',\n 'deviceproximity',\n 'hashchange',\n 'languagechange',\n 'message',\n 'mozbeforepaint',\n 'offline',\n 'online',\n 'paint',\n 'pageshow',\n 'pagehide',\n 'popstate',\n 'rejectionhandled',\n 'storage',\n 'unhandledrejection',\n 'unload',\n 'userproximity',\n 'vrdisplyconnected',\n 'vrdisplaydisconnected',\n 'vrdisplaypresentchange'\n];\nvar htmlElementEventNames = [\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n];\nvar mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\nvar ieElementEventNames = [\n 'activate',\n 'afterupdate',\n 'ariarequest',\n 'beforeactivate',\n 'beforedeactivate',\n 'beforeeditfocus',\n 'beforeupdate',\n 'cellchange',\n 'controlselect',\n 'dataavailable',\n 'datasetchanged',\n 'datasetcomplete',\n 'errorupdate',\n 'filterchange',\n 'layoutcomplete',\n 'losecapture',\n 'move',\n 'moveend',\n 'movestart',\n 'propertychange',\n 'resizeend',\n 'resizestart',\n 'rowenter',\n 'rowexit',\n 'rowsdelete',\n 'rowsinserted',\n 'command',\n 'compassneedscalibration',\n 'deactivate',\n 'help',\n 'mscontentzoom',\n 'msmanipulationstatechanged',\n 'msgesturechange',\n 'msgesturedoubletap',\n 'msgestureend',\n 'msgesturehold',\n 'msgesturestart',\n 'msgesturetap',\n 'msgotpointercapture',\n 'msinertiastart',\n 'mslostpointercapture',\n 'mspointercancel',\n 'mspointerdown',\n 'mspointerenter',\n 'mspointerhover',\n 'mspointerleave',\n 'mspointermove',\n 'mspointerout',\n 'mspointerover',\n 'mspointerup',\n 'pointerout',\n 'mssitemodejumplistitemremoved',\n 'msthumbnailclick',\n 'stop',\n 'storagecommit'\n];\nvar webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\nvar formEventNames = ['autocomplete', 'autocompleteerror'];\nvar detailEventNames = ['toggle'];\nvar frameEventNames = ['load'];\nvar frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\nvar marqueeEventNames = ['bounce', 'finish', 'start'];\nvar XMLHttpRequestEventNames = [\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n 'readystatechange'\n];\nvar IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\nvar websocketEventNames = ['close', 'error', 'open', 'message'];\nvar eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\nfunction filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties) {\n return onProperties;\n }\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n var targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\n}\nfunction patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n}\nfunction propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n if (canPatchViaPropertyDescriptor()) {\n var ignoreProperties = _global.__Zone_ignore_on_properties;\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window));\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n if (typeof window['SVGElement'] !== 'undefined') {\n patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties);\n }\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n var HTMLMarqueeElement_1 = window['HTMLMarqueeElement'];\n if (HTMLMarqueeElement_1) {\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\n }\n }\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n if (typeof IDBIndex !== 'undefined') {\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n }\n if (supportsWebSocket) {\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n }\n }\n else {\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents();\n patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(api, _global);\n }\n }\n}\nfunction canPatchViaPropertyDescriptor() {\n if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n }\n var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange');\n // add enumerable and configurable here because in opera\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n // without adding enumerable and configurable will cause onreadystatechange\n // non-configurable\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n // we should set a real desc instead a fake one\n if (xhrDesc) {\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n // restore original desc\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {});\n return result;\n }\n else {\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange');\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n enumerable: true,\n configurable: true,\n get: function () {\n return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n },\n set: function (value) {\n this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n }\n });\n var req = new XMLHttpRequest();\n var detectFunc = function () { };\n req.onreadystatechange = detectFunc;\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n req.onreadystatechange = null;\n return result;\n }\n}\n\nvar unboundKey = zoneSymbol('unbound');\n// Whenever any eventListener fires, we check the eventListener target and all parents\n// for `onwhatever` properties and replace them with zone-bound functions\n// - Chrome (for now)\nfunction patchViaCapturingAllTheEvents() {\n var _loop_1 = function (i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = Zone.current.wrap(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_1(i);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction eventTargetPatch(_global, api) {\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\n .split(',');\n var EVENT_TARGET = 'EventTarget';\n var apis = [];\n var isWtf = _global['wtf'];\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n var ieOrEdge = isIEOrEdge();\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n }\n // predefine all task.source string\n for (var i = 0; i < WTF_ISSUE_555.length; i++) {\n var target = WTF_ISSUE_555_ARRAY[i];\n var targets = globalSources[target] = {};\n for (var j = 0; j < eventNames.length; j++) {\n var eventName = eventNames[j];\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n }\n }\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\n if (!isDisableIECheck && ieOrEdge) {\n if (isEnableCrossContextCheck) {\n try {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n else {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n }\n else if (isEnableCrossContextCheck) {\n try {\n delegate.toString();\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n return true;\n };\n var apiTypes = [];\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n apiTypes.push(type && type.prototype);\n }\n patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext });\n api.patchEventTarget = patchEventTarget;\n return true;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction registerElementPatch(_global) {\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\n return;\n }\n var _registerElement = document.registerElement;\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n document.registerElement = function (name, opts) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = 'Document.registerElement::' + callback;\n if (opts.prototype.hasOwnProperty(callback)) {\n var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = Zone.current.wrap(descriptor.value, source);\n _redefineProperty(opts.prototype, callback, descriptor);\n }\n else {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n }\n else if (opts.prototype[callback]) {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n });\n }\n return _registerElement.apply(document, [name, opts]);\n };\n attachOriginToPatched(document.registerElement, _registerElement);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nZone.__load_patch('timers', function (global, Zone, api) {\n var set = 'set';\n var clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n});\nZone.__load_patch('requestAnimationFrame', function (global, Zone, api) {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n});\nZone.__load_patch('blocking', function (global, Zone, api) {\n var blockingMethods = ['alert', 'prompt', 'confirm'];\n for (var i = 0; i < blockingMethods.length; i++) {\n var name_1 = blockingMethods[i];\n patchMethod(global, name_1, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n});\nZone.__load_patch('EventTarget', function (global, Zone, api) {\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n }\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n patchClass('IntersectionObserver');\n patchClass('FileReader');\n});\nZone.__load_patch('on_property', function (global, Zone, api) {\n propertyDescriptorPatch(api, global);\n propertyPatch();\n registerElementPatch(global);\n});\nZone.__load_patch('canvas', function (global, Zone, api) {\n var HTMLCanvasElement = global['HTMLCanvasElement'];\n if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype &&\n HTMLCanvasElement.prototype.toBlob) {\n patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) {\n return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args };\n });\n }\n});\nZone.__load_patch('XHR', function (global, Zone, api) {\n // Treat XMLHTTPRequest as a macrotask.\n patchXHR(global);\n var XHR_TASK = zoneSymbol('xhrTask');\n var XHR_SYNC = zoneSymbol('xhrSync');\n var XHR_LISTENER = zoneSymbol('xhrListener');\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n function patchXHR(window) {\n function findPendingTask(target) {\n var pendingTask = target[XHR_TASK];\n return pendingTask;\n }\n var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener');\n var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener');\n var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER];\n var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER];\n if (!oriAddListener) {\n var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER];\n oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER];\n }\n }\n var READY_STATE_CHANGE = 'readystatechange';\n var SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n XMLHttpRequest[XHR_SCHEDULED] = false;\n var data = task.data;\n var target = data.target;\n // remove existing event listener\n var listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[SYMBOL_ADDEVENTLISTENER];\n oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER];\n }\n if (listener) {\n oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]);\n }\n var newListener = target[XHR_LISTENER] = function () {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) {\n task.invoke();\n }\n }\n };\n oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]);\n var storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n XMLHttpRequest[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n return openNative.apply(self, args);\n }; });\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n var zone = Zone.current;\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n }\n }; });\n var STRING_TYPE = 'string';\n var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == STRING_TYPE) {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n }; });\n }\n});\nZone.__load_patch('geolocation', function (global, Zone, api) {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n});\nZone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n var eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(function (eventTask) {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n});\nZone.__load_patch('util', function (global, Zone, api) {\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/zone.js/dist/zone.js\n// module id = ../../../../zone.js/dist/zone.js\n// module chunks = polyfills"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/backup/scripts.bundle.js b/kotlin-source/src/main/resources/loc/backup/scripts.bundle.js new file mode 100644 index 0000000..b977f96 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/backup/scripts.bundle.js @@ -0,0 +1,43 @@ +webpackJsonp(["scripts"],{ + +/***/ "../../../../raw-loader/index.js!../../../../jquery/dist/jquery.min.js": +/***/ (function(module, exports) { + +module.exports = "/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){\"use strict\";\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){\"use strict\";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement(\"script\");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q=\"3.2.1\",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=\"sizzle\"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(N),U=new RegExp(\"^\"+L+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L+\"|[*])\"),ATTR:new RegExp(\"^\"+M),PSEUDO:new RegExp(\"^\"+N),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),aa=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?\"\\0\"===a?\"\\ufffd\":a.slice(0,-1)+\"\\\\\"+a.charCodeAt(a.length-1).toString(16)+\" \":\"\\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&(\"form\"in a||\"label\"in a)},{dir:\"parentNode\",next:\"legend\"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],\"string\"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+\" \"]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if(\"object\"!==b.nodeName.toLowerCase()){(k=b.getAttribute(\"id\"))?k=k.replace(ba,ca):b.setAttribute(\"id\",k=u),o=g(a),h=o.length;while(h--)o[h]=\"#\"+k+\" \"+sa(o[h]);r=o.join(\",\"),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute(\"id\")}}}return i(a.replace(P,\"$1\"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement(\"fieldset\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split(\"|\"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function oa(a){return function(b){return\"form\"in b?b.parentNode&&b.disabled===!1?\"label\"in b?\"label\"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:\"label\"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&\"undefined\"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&\"HTML\"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(\"unload\",da,!1):e.attachEvent&&e.attachEvent(\"onunload\",da)),c.attributes=ja(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute(\"id\")===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c=\"undefined\"!=typeof a.getAttributeNode&&a.getAttributeNode(\"id\");return c&&c.value===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return\"undefined\"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(\"undefined\"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML=\"\",a.querySelectorAll(\"[msallowcapture^='']\").length&&q.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||q.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\"[id~=\"+u+\"-]\").length||q.push(\"~=\"),a.querySelectorAll(\":checked\").length||q.push(\":checked\"),a.querySelectorAll(\"a#\"+u+\"+*\").length||q.push(\".#.+[+~]\")}),ja(function(a){a.innerHTML=\"\";var b=n.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&q.push(\"name\"+K+\"*[*^$|!~]?=\"),2!==a.querySelectorAll(\":enabled\").length&&q.push(\":enabled\",\":disabled\"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(\":disabled\").length&&q.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),q.push(\",.*:\")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,\"*\"),s.call(a,\"[s!='']:x\"),r.push(\"!=\",N)}),q=q.length&&new RegExp(q.join(\"|\")),r=r.length&&new RegExp(r.join(\"|\")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,\"='$1']\"),c.matchesSelector&&p&&!A[b+\" \"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+\"\").replace(ba,ca)},ga.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||\"\").replace(_,aa),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||\"\":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&y(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||\"undefined\"!=typeof a.getAttribute&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?\"!=\"===b:!b||(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e.replace(O,\" \")+\" \").indexOf(c)>-1:\"|=\"===b&&(e===c||e.slice(0,c.length+1)===c+\"-\"))}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error(\"unsupported pseudo: \"+a);return e[u]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,\"$1\"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||\"\")||ga.error(\"unsupported lang: \"+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[\" \"],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:\" \"===a[i-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s=\"0\",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG(\"*\",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+\" \"];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m=\"function\"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split(\"\").sort(B).join(\"\")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement(\"fieldset\"))}),ja(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||ka(\"type|href|height|width\",function(a,b,c){if(!c)return a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||ka(\"value\",function(a,b,c){if(!c&&\"input\"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute(\"disabled\")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[\":\"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):\"string\"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if(\"string\"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,\"string\"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,\"string\"==typeof a){if(e=\"<\"===a[0]&&\">\"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?\"string\"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,\"parentNode\")},parentsUntil:function(a,b,c){return y(a,\"parentNode\",c)},next:function(a){return K(a,\"nextSibling\")},prev:function(a){return K(a,\"previousSibling\")},nextAll:function(a){return y(a,\"nextSibling\")},prevAll:function(a){return y(a,\"previousSibling\")},nextUntil:function(a,b,c){return y(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return y(a,\"previousSibling\",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,\"iframe\")?a.contentDocument:(B(a,\"template\")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a=\"string\"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c=\"\",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=\"\"),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[[\"notify\",\"progress\",r.Callbacks(\"memory\"),r.Callbacks(\"memory\"),2],[\"resolve\",\"done\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),1,\"rejected\"]],d=\"pending\",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},\"catch\":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+\"With\"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+\"With\"](this===f?void 0:this,arguments),this},f[b[0]+\"With\"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),\"pending\"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn(\"jQuery.Deferred exception: \"+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)[\"catch\"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener(\"DOMContentLoaded\",S),\na.removeEventListener(\"load\",S),r.ready()}\"complete\"===d.readyState||\"loading\"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener(\"DOMContentLoaded\",S),a.addEventListener(\"load\",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if(\"object\"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||\"fx\")+\"queue\",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||\"fx\";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks(\"once memory\").add(function(){W.remove(a,[b+\"queue\",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.length\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,\"\"],thead:[1,\"
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c=\"undefined\"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||\"*\"):\"undefined\"!=typeof a.querySelectorAll?a.querySelectorAll(b||\"*\"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),\"script\"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||\"\")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement(\"div\")),c=d.createElement(\"input\");c.setAttribute(\"type\",\"radio\"),c.setAttribute(\"checked\",\"checked\"),c.setAttribute(\"name\",\"t\"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML=\"\",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if(\"object\"==typeof b){\"string\"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(\"string\"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return\"undefined\"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(\".\")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+o.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&(\"**\"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,\"handle events\")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,\"events\")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&(\"click\"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/\\s*$/g;function Ea(a,b){return B(a,\"table\")&&B(11!==b.nodeType?b:b.firstChild,\"tr\")?r(\">tbody\",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute(\"type\"))+\"/\"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&\"string\"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,\"script\"),Fa),i=h.length;l\")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,\"script\")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent=\"\");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if(\"string\"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?\"\":\"px\")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,\"\"),b&&\"auto\"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:\"swing\"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e[\"margin\"+c]=e[\"padding\"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners[\"*\"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return\"undefined\"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+\"\"),c):e&&\"get\"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&\"radio\"===b&&B(a,\"input\")){var c=a.value;return a.setAttribute(\"type\",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&\"get\"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,\"tabindex\");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{\"for\":\"htmlFor\",\"class\":\"className\"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(\" \")}function qb(a){return a.getAttribute&&a.getAttribute(\"class\")||\"\"}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])d.indexOf(\" \"+f+\" \")<0&&(d+=f+\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr(\"class\",\"\");if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])while(d.indexOf(\" \"+f+\" \")>-1)d=d.replace(\" \"+f+\" \",\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},toggleClass:function(a,b){var c=typeof a;return\"boolean\"==typeof b&&\"string\"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if(\"string\"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&\"boolean\"!==c||(b=qb(this),b&&W.set(this,\"__className__\",b),this.setAttribute&&this.setAttribute(\"class\",b||a===!1?\"\":W.get(this,\"__className__\")||\"\"))})},hasClass:function(a){var b,c,d=0;b=\" \"+a+\" \";while(c=this[d++])if(1===c.nodeType&&(\" \"+pb(qb(c))+\" \").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e=\"\":\"number\"==typeof e?e+=\"\":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?\"\":a+\"\"})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&\"set\"in b&&void 0!==b.set(this,e,\"value\")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&\"get\"in b&&void 0!==(c=b.get(e,\"value\"))?c:(c=e.value,\"string\"==typeof c?c.replace(rb,\"\"):null==c?\"\":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,\"value\");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g=\"select-one\"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each([\"radio\",\"checkbox\"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute(\"value\")?\"on\":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,\"type\")?b.type:b,q=l.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(\".\")>-1&&(q=p.split(\".\"),p=q.shift(),q.sort()),k=p.indexOf(\":\")<0&&\"on\"+p,b=b[r.expando]?b:new r.Event(p,\"object\"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join(\".\"),b.rnamespace=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,\"events\")||{})[b.type]&&W.get(h,\"handle\"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin=\"onfocusin\"in a,o.focusin||r.each({focus:\"focusin\",blur:\"focusout\"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||\"string\"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,\"text/xml\")}catch(d){c=void 0}return c&&!c.getElementsByTagName(\"parsererror\").length||r.error(\"Invalid XML: \"+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+\"[\"+(\"object\"==typeof e&&null!=e?b:\"\")+\"]\",e,c,d)});else if(c||\"object\"!==r.type(b))d(a,b);else for(e in b)Ab(a+\"[\"+e+\"]\",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+\"=\"+encodeURIComponent(null==c?\"\":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join(\"&\")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,\"elements\");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(\":disabled\")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,\"\\r\\n\")}}):{name:b.name,value:c.replace(xb,\"\\r\\n\")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb=\"*/\".concat(\"*\"),Lb=d.createElement(\"a\");Lb.href=tb.href;function Mb(a){return function(b,c){\"string\"!=typeof b&&(c=b,b=\"*\");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])\"+\"===d[0]?(d=d.slice(1)||\"*\",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return\"string\"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e[\"*\"]&&g(\"*\")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while(\"*\"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader(\"Content-Type\"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+\" \"+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if(\"*\"===f)f=i;else if(\"*\"!==i&&i!==f){if(g=j[i+\" \"+f]||j[\"* \"+f],!g)for(e in j)if(h=e.split(\" \"),h[1]===f&&(g=j[i+\" \"+h[0]]||j[\"* \"+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a[\"throws\"])b=g(b);else try{b=g(b)}catch(l){return{state:\"parsererror\",error:g?l:\"No conversion from \"+i+\" to \"+f}}}return{state:\"success\",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:\"GET\",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Kb,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){\"object\"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks(\"once memory\"),u=o.statusCode||{},v={},w={},x=\"canceled\",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+\"\").replace(Hb,tb.protocol+\"//\"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||\"*\").toLowerCase().match(L)||[\"\"],null==o.crossDomain){j=d.createElement(\"a\");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+\"//\"+Lb.host!=j.protocol+\"//\"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&\"string\"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger(\"ajaxStart\"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,\"\"),o.hasContent?o.data&&o.processData&&0===(o.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(o.data=o.data.replace(Bb,\"+\")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?\"&\":\"?\")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,\"$1\"),n=(vb.test(f)?\"&\":\"?\")+\"_=\"+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader(\"If-Modified-Since\",r.lastModified[f]),r.etag[f]&&y.setRequestHeader(\"If-None-Match\",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader(\"Content-Type\",o.contentType),y.setRequestHeader(\"Accept\",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+(\"*\"!==o.dataTypes[0]?\", \"+Kb+\"; q=0.01\":\"\"):o.accepts[\"*\"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x=\"abort\",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger(\"ajaxSend\",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort(\"timeout\")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,\"No Transport\");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||\"\",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader(\"Last-Modified\"),w&&(r.lastModified[f]=w),w=y.getResponseHeader(\"etag\"),w&&(r.etag[f]=w)),204===b||\"HEAD\"===o.type?x=\"nocontent\":304===b?x=\"notmodified\":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x=\"error\",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+\"\",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?\"ajaxSuccess\":\"ajaxError\",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger(\"ajaxComplete\",[y,o]),--r.active||r.event.trigger(\"ajaxStop\")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,\"json\")},getScript:function(a,b){return r.get(a,void 0,b,\"script\")}}),r.each([\"get\",\"post\"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,\"throws\":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not(\"body\").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&\"withCredentials\"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e[\"X-Requested-With\"]||(e[\"X-Requested-With\"]=\"XMLHttpRequest\");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,\"abort\"===a?h.abort():\"error\"===a?\"number\"!=typeof h.status?f(0,\"error\"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,\"text\"!==(h.responseType||\"text\")||\"string\"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c(\"error\"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c(\"abort\");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter(\"script\",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type=\"GET\")}),r.ajaxTransport(\"script\",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(\" + * + * + * + * + * + * @param {!string} ns The namespace of the class definition, leaving off "com.greensock." as that's assumed. For example, "TweenLite" or "plugins.CSSPlugin" or "easing.Back". + * @param {!Array.} dependencies An array of dependencies (described as their namespaces minus "com.greensock." prefix). For example ["TweenLite","plugins.TweenPlugin","core.Animation"] + * @param {!function():Object} func The function that should be called and passed the resolved dependencies which will return the actual class for this definition. + * @param {boolean=} global If true, the class will be added to the global scope (typically window unless you define a window.GreenSockGlobals object) + */ + Definition = function(ns, dependencies, func, global) { + this.sc = (_defLookup[ns]) ? _defLookup[ns].sc : []; //subclasses + _defLookup[ns] = this; + this.gsClass = null; + this.func = func; + var _classes = []; + this.check = function(init) { + var i = dependencies.length, + missing = i, + cur, a, n, cl; + while (--i > -1) { + if ((cur = _defLookup[dependencies[i]] || new Definition(dependencies[i], [])).gsClass) { + _classes[i] = cur.gsClass; + missing--; + } else if (init) { + cur.sc.push(this); + } + } + if (missing === 0 && func) { + a = ("com.greensock." + ns).split("."); + n = a.pop(); + cl = _namespace(a.join("."))[n] = this.gsClass = func.apply(func, _classes); + + //exports to multiple environments + if (global) { + _globals[n] = _exports[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.) + if (typeof(module) !== "undefined" && module.exports) { //node + if (ns === moduleName) { + module.exports = _exports[moduleName] = cl; + for (i in _exports) { + cl[i] = _exports[i]; + } + } else if (_exports[moduleName]) { + _exports[moduleName][n] = cl; + } + } else if (true){ //AMD + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return cl; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + } + for (i = 0; i < this.sc.length; i++) { + this.sc[i].check(); + } + } + }; + this.check(true); + }, + + //used to create Definition instances (which basically registers a class that has dependencies). + _gsDefine = window._gsDefine = function(ns, dependencies, func, global) { + return new Definition(ns, dependencies, func, global); + }, + + //a quick way to create a class that doesn't have any dependencies. Returns the class, but first registers it in the GreenSock namespace so that other classes can grab it (other classes might be dependent on the class). + _class = gs._class = function(ns, func, global) { + func = func || function() {}; + _gsDefine(ns, [], function(){ return func; }, global); + return func; + }; + + _gsDefine.globals = _globals; + + + +/* + * ---------------------------------------------------------------- + * Ease + * ---------------------------------------------------------------- + */ + var _baseParams = [0, 0, 1, 1], + Ease = _class("easing.Ease", function(func, extraParams, type, power) { + this._func = func; + this._type = type || 0; + this._power = power || 0; + this._params = extraParams ? _baseParams.concat(extraParams) : _baseParams; + }, true), + _easeMap = Ease.map = {}, + _easeReg = Ease.register = function(ease, names, types, create) { + var na = names.split(","), + i = na.length, + ta = (types || "easeIn,easeOut,easeInOut").split(","), + e, name, j, type; + while (--i > -1) { + name = na[i]; + e = create ? _class("easing."+name, null, true) : gs.easing[name] || {}; + j = ta.length; + while (--j > -1) { + type = ta[j]; + _easeMap[name + "." + type] = _easeMap[type + name] = e[type] = ease.getRatio ? ease : ease[type] || new ease(); + } + } + }; + + p = Ease.prototype; + p._calcEnd = false; + p.getRatio = function(p) { + if (this._func) { + this._params[0] = p; + return this._func.apply(null, this._params); + } + var t = this._type, + pw = this._power, + r = (t === 1) ? 1 - p : (t === 2) ? p : (p < 0.5) ? p * 2 : (1 - p) * 2; + if (pw === 1) { + r *= r; + } else if (pw === 2) { + r *= r * r; + } else if (pw === 3) { + r *= r * r * r; + } else if (pw === 4) { + r *= r * r * r * r; + } + return (t === 1) ? 1 - r : (t === 2) ? r : (p < 0.5) ? r / 2 : 1 - (r / 2); + }; + + //create all the standard eases like Linear, Quad, Cubic, Quart, Quint, Strong, Power0, Power1, Power2, Power3, and Power4 (each with easeIn, easeOut, and easeInOut) + a = ["Linear","Quad","Cubic","Quart","Quint,Strong"]; + i = a.length; + while (--i > -1) { + p = a[i]+",Power"+i; + _easeReg(new Ease(null,null,1,i), p, "easeOut", true); + _easeReg(new Ease(null,null,2,i), p, "easeIn" + ((i === 0) ? ",easeNone" : "")); + _easeReg(new Ease(null,null,3,i), p, "easeInOut"); + } + _easeMap.linear = gs.easing.Linear.easeIn; + _easeMap.swing = gs.easing.Quad.easeInOut; //for jQuery folks + + +/* + * ---------------------------------------------------------------- + * EventDispatcher + * ---------------------------------------------------------------- + */ + var EventDispatcher = _class("events.EventDispatcher", function(target) { + this._listeners = {}; + this._eventTarget = target || this; + }); + p = EventDispatcher.prototype; + + p.addEventListener = function(type, callback, scope, useParam, priority) { + priority = priority || 0; + var list = this._listeners[type], + index = 0, + listener, i; + if (this === _ticker && !_tickerActive) { + _ticker.wake(); + } + if (list == null) { + this._listeners[type] = list = []; + } + i = list.length; + while (--i > -1) { + listener = list[i]; + if (listener.c === callback && listener.s === scope) { + list.splice(i, 1); + } else if (index === 0 && listener.pr < priority) { + index = i + 1; + } + } + list.splice(index, 0, {c:callback, s:scope, up:useParam, pr:priority}); + }; + + p.removeEventListener = function(type, callback) { + var list = this._listeners[type], i; + if (list) { + i = list.length; + while (--i > -1) { + if (list[i].c === callback) { + list.splice(i, 1); + return; + } + } + } + }; + + p.dispatchEvent = function(type) { + var list = this._listeners[type], + i, t, listener; + if (list) { + i = list.length; + if (i > 1) { + list = list.slice(0); //in case addEventListener() is called from within a listener/callback (otherwise the index could change, resulting in a skip) + } + t = this._eventTarget; + while (--i > -1) { + listener = list[i]; + if (listener) { + if (listener.up) { + listener.c.call(listener.s || t, {type:type, target:t}); + } else { + listener.c.call(listener.s || t); + } + } + } + } + }; + + +/* + * ---------------------------------------------------------------- + * Ticker + * ---------------------------------------------------------------- + */ + var _reqAnimFrame = window.requestAnimationFrame, + _cancelAnimFrame = window.cancelAnimationFrame, + _getTime = Date.now || function() {return new Date().getTime();}, + _lastUpdate = _getTime(); + + //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill. + a = ["ms","moz","webkit","o"]; + i = a.length; + while (--i > -1 && !_reqAnimFrame) { + _reqAnimFrame = window[a[i] + "RequestAnimationFrame"]; + _cancelAnimFrame = window[a[i] + "CancelAnimationFrame"] || window[a[i] + "CancelRequestAnimationFrame"]; + } + + _class("Ticker", function(fps, useRAF) { + var _self = this, + _startTime = _getTime(), + _useRAF = (useRAF !== false && _reqAnimFrame) ? "auto" : false, + _lagThreshold = 500, + _adjustedLag = 33, + _tickWord = "tick", //helps reduce gc burden + _fps, _req, _id, _gap, _nextTime, + _tick = function(manual) { + var elapsed = _getTime() - _lastUpdate, + overlap, dispatch; + if (elapsed > _lagThreshold) { + _startTime += elapsed - _adjustedLag; + } + _lastUpdate += elapsed; + _self.time = (_lastUpdate - _startTime) / 1000; + overlap = _self.time - _nextTime; + if (!_fps || overlap > 0 || manual === true) { + _self.frame++; + _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap); + dispatch = true; + } + if (manual !== true) { //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise. + _id = _req(_tick); + } + if (dispatch) { + _self.dispatchEvent(_tickWord); + } + }; + + EventDispatcher.call(_self); + _self.time = _self.frame = 0; + _self.tick = function() { + _tick(true); + }; + + _self.lagSmoothing = function(threshold, adjustedLag) { + if (!arguments.length) { //if lagSmoothing() is called with no arguments, treat it like a getter that returns a boolean indicating if it's enabled or not. This is purposely undocumented and is for internal use. + return (_lagThreshold < 1 / _tinyNum); + } + _lagThreshold = threshold || (1 / _tinyNum); //zero should be interpreted as basically unlimited + _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0); + }; + + _self.sleep = function() { + if (_id == null) { + return; + } + if (!_useRAF || !_cancelAnimFrame) { + clearTimeout(_id); + } else { + _cancelAnimFrame(_id); + } + _req = _emptyFunc; + _id = null; + if (_self === _ticker) { + _tickerActive = false; + } + }; + + _self.wake = function(seamless) { + if (_id !== null) { + _self.sleep(); + } else if (seamless) { + _startTime += -_lastUpdate + (_lastUpdate = _getTime()); + } else if (_self.frame > 10) { //don't trigger lagSmoothing if we're just waking up, and make sure that at least 10 frames have elapsed because of the iOS bug that we work around below with the 1.5-second setTimout(). + _lastUpdate = _getTime() - _lagThreshold + 5; + } + _req = (_fps === 0) ? _emptyFunc : (!_useRAF || !_reqAnimFrame) ? function(f) { return setTimeout(f, ((_nextTime - _self.time) * 1000 + 1) | 0); } : _reqAnimFrame; + if (_self === _ticker) { + _tickerActive = true; + } + _tick(2); + }; + + _self.fps = function(value) { + if (!arguments.length) { + return _fps; + } + _fps = value; + _gap = 1 / (_fps || 60); + _nextTime = this.time + _gap; + _self.wake(); + }; + + _self.useRAF = function(value) { + if (!arguments.length) { + return _useRAF; + } + _self.sleep(); + _useRAF = value; + _self.fps(_fps); + }; + _self.fps(fps); + + //a bug in iOS 6 Safari occasionally prevents the requestAnimationFrame from working initially, so we use a 1.5-second timeout that automatically falls back to setTimeout() if it senses this condition. + setTimeout(function() { + if (_useRAF === "auto" && _self.frame < 5 && _doc.visibilityState !== "hidden") { + _self.useRAF(false); + } + }, 1500); + }); + + p = gs.Ticker.prototype = new gs.events.EventDispatcher(); + p.constructor = gs.Ticker; + + +/* + * ---------------------------------------------------------------- + * Animation + * ---------------------------------------------------------------- + */ + var Animation = _class("core.Animation", function(duration, vars) { + this.vars = vars = vars || {}; + this._duration = this._totalDuration = duration || 0; + this._delay = Number(vars.delay) || 0; + this._timeScale = 1; + this._active = (vars.immediateRender === true); + this.data = vars.data; + this._reversed = (vars.reversed === true); + + if (!_rootTimeline) { + return; + } + if (!_tickerActive) { //some browsers (like iOS 6 Safari) shut down JavaScript execution when the tab is disabled and they [occasionally] neglect to start up requestAnimationFrame again when returning - this code ensures that the engine starts up again properly. + _ticker.wake(); + } + + var tl = this.vars.useFrames ? _rootFramesTimeline : _rootTimeline; + tl.add(this, tl._time); + + if (this.vars.paused) { + this.paused(true); + } + }); + + _ticker = Animation.ticker = new gs.Ticker(); + p = Animation.prototype; + p._dirty = p._gc = p._initted = p._paused = false; + p._totalTime = p._time = 0; + p._rawPrevTime = -1; + p._next = p._last = p._onUpdate = p._timeline = p.timeline = null; + p._paused = false; + + + //some browsers (like iOS) occasionally drop the requestAnimationFrame event when the user switches to a different tab and then comes back again, so we use a 2-second setTimeout() to sense if/when that condition occurs and then wake() the ticker. + var _checkTimeout = function() { + if (_tickerActive && _getTime() - _lastUpdate > 2000 && (_doc.visibilityState !== "hidden" || !_ticker.lagSmoothing())) { //note: if the tab is hidden, we should still wake if lagSmoothing has been disabled. + _ticker.wake(); + } + var t = setTimeout(_checkTimeout, 2000); + if (t.unref) { + // allows a node process to exit even if the timeout’s callback hasn't been invoked. Without it, the node process could hang as this function is called every two seconds. + t.unref(); + } + }; + _checkTimeout(); + + + p.play = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.reversed(false).paused(false); + }; + + p.pause = function(atTime, suppressEvents) { + if (atTime != null) { + this.seek(atTime, suppressEvents); + } + return this.paused(true); + }; + + p.resume = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.paused(false); + }; + + p.seek = function(time, suppressEvents) { + return this.totalTime(Number(time), suppressEvents !== false); + }; + + p.restart = function(includeDelay, suppressEvents) { + return this.reversed(false).paused(false).totalTime(includeDelay ? -this._delay : 0, (suppressEvents !== false), true); + }; + + p.reverse = function(from, suppressEvents) { + if (from != null) { + this.seek((from || this.totalDuration()), suppressEvents); + } + return this.reversed(true).paused(false); + }; + + p.render = function(time, suppressEvents, force) { + //stub - we override this method in subclasses. + }; + + p.invalidate = function() { + this._time = this._totalTime = 0; + this._initted = this._gc = false; + this._rawPrevTime = -1; + if (this._gc || !this.timeline) { + this._enabled(true); + } + return this; + }; + + p.isActive = function() { + var tl = this._timeline, //the 2 root timelines won't have a _timeline; they're always active. + startTime = this._startTime, + rawTime; + return (!tl || (!this._gc && !this._paused && tl.isActive() && (rawTime = tl.rawTime(true)) >= startTime && rawTime < startTime + this.totalDuration() / this._timeScale - 0.0000001)); + }; + + p._enabled = function (enabled, ignoreTimeline) { + if (!_tickerActive) { + _ticker.wake(); + } + this._gc = !enabled; + this._active = this.isActive(); + if (ignoreTimeline !== true) { + if (enabled && !this.timeline) { + this._timeline.add(this, this._startTime - this._delay); + } else if (!enabled && this.timeline) { + this._timeline._remove(this, true); + } + } + return false; + }; + + + p._kill = function(vars, target) { + return this._enabled(false, false); + }; + + p.kill = function(vars, target) { + this._kill(vars, target); + return this; + }; + + p._uncache = function(includeSelf) { + var tween = includeSelf ? this : this.timeline; + while (tween) { + tween._dirty = true; + tween = tween.timeline; + } + return this; + }; + + p._swapSelfInParams = function(params) { + var i = params.length, + copy = params.concat(); + while (--i > -1) { + if (params[i] === "{self}") { + copy[i] = this; + } + } + return copy; + }; + + p._callback = function(type) { + var v = this.vars, + callback = v[type], + params = v[type + "Params"], + scope = v[type + "Scope"] || v.callbackScope || this, + l = params ? params.length : 0; + switch (l) { //speed optimization; call() is faster than apply() so use it when there are only a few parameters (which is by far most common). Previously we simply did var v = this.vars; v[type].apply(v[type + "Scope"] || v.callbackScope || this, v[type + "Params"] || _blankArray); + case 0: callback.call(scope); break; + case 1: callback.call(scope, params[0]); break; + case 2: callback.call(scope, params[0], params[1]); break; + default: callback.apply(scope, params); + } + }; + +//----Animation getters/setters -------------------------------------------------------- + + p.eventCallback = function(type, callback, params, scope) { + if ((type || "").substr(0,2) === "on") { + var v = this.vars; + if (arguments.length === 1) { + return v[type]; + } + if (callback == null) { + delete v[type]; + } else { + v[type] = callback; + v[type + "Params"] = (_isArray(params) && params.join("").indexOf("{self}") !== -1) ? this._swapSelfInParams(params) : params; + v[type + "Scope"] = scope; + } + if (type === "onUpdate") { + this._onUpdate = callback; + } + } + return this; + }; + + p.delay = function(value) { + if (!arguments.length) { + return this._delay; + } + if (this._timeline.smoothChildTiming) { + this.startTime( this._startTime + value - this._delay ); + } + this._delay = value; + return this; + }; + + p.duration = function(value) { + if (!arguments.length) { + this._dirty = false; + return this._duration; + } + this._duration = this._totalDuration = value; + this._uncache(true); //true in case it's a TweenMax or TimelineMax that has a repeat - we'll need to refresh the totalDuration. + if (this._timeline.smoothChildTiming) if (this._time > 0) if (this._time < this._duration) if (value !== 0) { + this.totalTime(this._totalTime * (value / this._duration), true); + } + return this; + }; + + p.totalDuration = function(value) { + this._dirty = false; + return (!arguments.length) ? this._totalDuration : this.duration(value); + }; + + p.time = function(value, suppressEvents) { + if (!arguments.length) { + return this._time; + } + if (this._dirty) { + this.totalDuration(); + } + return this.totalTime((value > this._duration) ? this._duration : value, suppressEvents); + }; + + p.totalTime = function(time, suppressEvents, uncapped) { + if (!_tickerActive) { + _ticker.wake(); + } + if (!arguments.length) { + return this._totalTime; + } + if (this._timeline) { + if (time < 0 && !uncapped) { + time += this.totalDuration(); + } + if (this._timeline.smoothChildTiming) { + if (this._dirty) { + this.totalDuration(); + } + var totalDuration = this._totalDuration, + tl = this._timeline; + if (time > totalDuration && !uncapped) { + time = totalDuration; + } + this._startTime = (this._paused ? this._pauseTime : tl._time) - ((!this._reversed ? time : totalDuration - time) / this._timeScale); + if (!tl._dirty) { //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here. + this._uncache(false); + } + //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The startTime of that child would get pushed out, but one of the ancestors may have completed. + if (tl._timeline) { + while (tl._timeline) { + if (tl._timeline._time !== (tl._startTime + tl._totalTime) / tl._timeScale) { + tl.totalTime(tl._totalTime, true); + } + tl = tl._timeline; + } + } + } + if (this._gc) { + this._enabled(true, false); + } + if (this._totalTime !== time || this._duration === 0) { + if (_lazyTweens.length) { + _lazyRender(); + } + this.render(time, suppressEvents, false); + if (_lazyTweens.length) { //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render. + _lazyRender(); + } + } + } + return this; + }; + + p.progress = p.totalProgress = function(value, suppressEvents) { + var duration = this.duration(); + return (!arguments.length) ? (duration ? this._time / duration : this.ratio) : this.totalTime(duration * value, suppressEvents); + }; + + p.startTime = function(value) { + if (!arguments.length) { + return this._startTime; + } + if (value !== this._startTime) { + this._startTime = value; + if (this.timeline) if (this.timeline._sortChildren) { + this.timeline.add(this, value - this._delay); //ensures that any necessary re-sequencing of Animations in the timeline occurs to make sure the rendering order is correct. + } + } + return this; + }; + + p.endTime = function(includeRepeats) { + return this._startTime + ((includeRepeats != false) ? this.totalDuration() : this.duration()) / this._timeScale; + }; + + p.timeScale = function(value) { + if (!arguments.length) { + return this._timeScale; + } + var pauseTime, t; + value = value || _tinyNum; //can't allow zero because it'll throw the math off + if (this._timeline && this._timeline.smoothChildTiming) { + pauseTime = this._pauseTime; + t = (pauseTime || pauseTime === 0) ? pauseTime : this._timeline.totalTime(); + this._startTime = t - ((t - this._startTime) * this._timeScale / value); + } + this._timeScale = value; + t = this.timeline; + while (t && t.timeline) { //must update the duration/totalDuration of all ancestor timelines immediately in case in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though. + t._dirty = true; + t.totalDuration(); + t = t.timeline; + } + return this; + }; + + p.reversed = function(value) { + if (!arguments.length) { + return this._reversed; + } + if (value != this._reversed) { + this._reversed = value; + this.totalTime(((this._timeline && !this._timeline.smoothChildTiming) ? this.totalDuration() - this._totalTime : this._totalTime), true); + } + return this; + }; + + p.paused = function(value) { + if (!arguments.length) { + return this._paused; + } + var tl = this._timeline, + raw, elapsed; + if (value != this._paused) if (tl) { + if (!_tickerActive && !value) { + _ticker.wake(); + } + raw = tl.rawTime(); + elapsed = raw - this._pauseTime; + if (!value && tl.smoothChildTiming) { + this._startTime += elapsed; + this._uncache(false); + } + this._pauseTime = value ? raw : null; + this._paused = value; + this._active = this.isActive(); + if (!value && elapsed !== 0 && this._initted && this.duration()) { + raw = tl.smoothChildTiming ? this._totalTime : (raw - this._startTime) / this._timeScale; + this.render(raw, (raw === this._totalTime), true); //in case the target's properties changed via some other tween or manual update by the user, we should force a render. + } + } + if (this._gc && !value) { + this._enabled(true, false); + } + return this; + }; + + +/* + * ---------------------------------------------------------------- + * SimpleTimeline + * ---------------------------------------------------------------- + */ + var SimpleTimeline = _class("core.SimpleTimeline", function(vars) { + Animation.call(this, 0, vars); + this.autoRemoveChildren = this.smoothChildTiming = true; + }); + + p = SimpleTimeline.prototype = new Animation(); + p.constructor = SimpleTimeline; + p.kill()._gc = false; + p._first = p._last = p._recent = null; + p._sortChildren = false; + + p.add = p.insert = function(child, position, align, stagger) { + var prevTween, st; + child._startTime = Number(position || 0) + child._delay; + if (child._paused) if (this !== child._timeline) { //we only adjust the _pauseTime if it wasn't in this timeline already. Remember, sometimes a tween will be inserted again into the same timeline when its startTime is changed so that the tweens in the TimelineLite/Max are re-ordered properly in the linked list (so everything renders in the proper order). + child._pauseTime = child._startTime + ((this.rawTime() - child._startTime) / child._timeScale); + } + if (child.timeline) { + child.timeline._remove(child, true); //removes from existing timeline so that it can be properly added to this one. + } + child.timeline = child._timeline = this; + if (child._gc) { + child._enabled(true, true); + } + prevTween = this._last; + if (this._sortChildren) { + st = child._startTime; + while (prevTween && prevTween._startTime > st) { + prevTween = prevTween._prev; + } + } + if (prevTween) { + child._next = prevTween._next; + prevTween._next = child; + } else { + child._next = this._first; + this._first = child; + } + if (child._next) { + child._next._prev = child; + } else { + this._last = child; + } + child._prev = prevTween; + this._recent = child; + if (this._timeline) { + this._uncache(true); + } + return this; + }; + + p._remove = function(tween, skipDisable) { + if (tween.timeline === this) { + if (!skipDisable) { + tween._enabled(false, true); + } + + if (tween._prev) { + tween._prev._next = tween._next; + } else if (this._first === tween) { + this._first = tween._next; + } + if (tween._next) { + tween._next._prev = tween._prev; + } else if (this._last === tween) { + this._last = tween._prev; + } + tween._next = tween._prev = tween.timeline = null; + if (tween === this._recent) { + this._recent = this._last; + } + + if (this._timeline) { + this._uncache(true); + } + } + return this; + }; + + p.render = function(time, suppressEvents, force) { + var tween = this._first, + next; + this._totalTime = this._time = this._rawPrevTime = time; + while (tween) { + next = tween._next; //record it here because the value could change after rendering... + if (tween._active || (time >= tween._startTime && !tween._paused && !tween._gc)) { + if (!tween._reversed) { + tween.render((time - tween._startTime) * tween._timeScale, suppressEvents, force); + } else { + tween.render(((!tween._dirty) ? tween._totalDuration : tween.totalDuration()) - ((time - tween._startTime) * tween._timeScale), suppressEvents, force); + } + } + tween = next; + } + }; + + p.rawTime = function() { + if (!_tickerActive) { + _ticker.wake(); + } + return this._totalTime; + }; + +/* + * ---------------------------------------------------------------- + * TweenLite + * ---------------------------------------------------------------- + */ + var TweenLite = _class("TweenLite", function(target, duration, vars) { + Animation.call(this, duration, vars); + this.render = TweenLite.prototype.render; //speed optimization (avoid prototype lookup on this "hot" method) + + if (target == null) { + throw "Cannot tween a null target."; + } + + this.target = target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target; + + var isSelector = (target.jquery || (target.length && target !== window && target[0] && (target[0] === window || (target[0].nodeType && target[0].style && !target.nodeType)))), + overwrite = this.vars.overwrite, + i, targ, targets; + + this._overwrite = overwrite = (overwrite == null) ? _overwriteLookup[TweenLite.defaultOverwrite] : (typeof(overwrite) === "number") ? overwrite >> 0 : _overwriteLookup[overwrite]; + + if ((isSelector || target instanceof Array || (target.push && _isArray(target))) && typeof(target[0]) !== "number") { + this._targets = targets = _slice(target); //don't use Array.prototype.slice.call(target, 0) because that doesn't work in IE8 with a NodeList that's returned by querySelectorAll() + this._propLookup = []; + this._siblings = []; + for (i = 0; i < targets.length; i++) { + targ = targets[i]; + if (!targ) { + targets.splice(i--, 1); + continue; + } else if (typeof(targ) === "string") { + targ = targets[i--] = TweenLite.selector(targ); //in case it's an array of strings + if (typeof(targ) === "string") { + targets.splice(i+1, 1); //to avoid an endless loop (can't imagine why the selector would return a string, but just in case) + } + continue; + } else if (targ.length && targ !== window && targ[0] && (targ[0] === window || (targ[0].nodeType && targ[0].style && !targ.nodeType))) { //in case the user is passing in an array of selector objects (like jQuery objects), we need to check one more level and pull things out if necessary. Also note that elements pass all the criteria regarding length and the first child having style, so we must also check to ensure the target isn't an HTML node itself.\n\t\t\t\t\t\t\ttargets.splice(i--, 1);\n\t\t\t\t\t\t\tthis._targets = targets = targets.concat(_slice(targ));\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis._siblings[i] = _register(targ, this, false);\n\t\t\t\t\t\tif (overwrite === 1) if (this._siblings[i].length > 1) {\n\t\t\t\t\t\t\t_applyOverwrite(targ, this, null, 1, this._siblings[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tthis._propLookup = {};\n\t\t\t\t\tthis._siblings = _register(target, this, false);\n\t\t\t\t\tif (overwrite === 1) if (this._siblings.length > 1) {\n\t\t\t\t\t\t_applyOverwrite(target, this, null, 1, this._siblings);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.vars.immediateRender || (duration === 0 && this._delay === 0 && this.vars.immediateRender !== false)) {\n\t\t\t\t\tthis._time = -_tinyNum; //forces a render without having to set the render() \"force\" parameter to true because we want to allow lazying by default (using the \"force\" parameter always forces an immediate full render)\n\t\t\t\t\tthis.render(Math.min(0, -this._delay)); //in case delay is negative\n\t\t\t\t}\n\t\t\t}, true),\n\t\t\t_isSelector = function(v) {\n\t\t\t\treturn (v && v.length && v !== window && v[0] && (v[0] === window || (v[0].nodeType && v[0].style && !v.nodeType))); //we cannot check \"nodeType\" if the target is window from within an iframe, otherwise it will trigger a security error in some browsers like Firefox.\n\t\t\t},\n\t\t\t_autoCSS = function(vars, target) {\n\t\t\t\tvar css = {},\n\t\t\t\t\tp;\n\t\t\t\tfor (p in vars) {\n\t\t\t\t\tif (!_reservedProps[p] && (!(p in target) || p === \"transform\" || p === \"x\" || p === \"y\" || p === \"width\" || p === \"height\" || p === \"className\" || p === \"border\") && (!_plugins[p] || (_plugins[p] && _plugins[p]._autoCSS))) { //note: elements contain read-only \"x\" and \"y\" properties. We should also prioritize editing css width/height rather than the element's properties.\n\t\t\t\t\t\tcss[p] = vars[p];\n\t\t\t\t\t\tdelete vars[p];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvars.css = css;\n\t\t\t};\n\n\t\tp = TweenLite.prototype = new Animation();\n\t\tp.constructor = TweenLite;\n\t\tp.kill()._gc = false;\n\n//----TweenLite defaults, overwrite management, and root updates ----------------------------------------------------\n\n\t\tp.ratio = 0;\n\t\tp._firstPT = p._targets = p._overwrittenProps = p._startAt = null;\n\t\tp._notifyPluginsOfEnabled = p._lazy = false;\n\n\t\tTweenLite.version = \"1.20.3\";\n\t\tTweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);\n\t\tTweenLite.defaultOverwrite = \"auto\";\n\t\tTweenLite.ticker = _ticker;\n\t\tTweenLite.autoSleep = 120;\n\t\tTweenLite.lagSmoothing = function(threshold, adjustedLag) {\n\t\t\t_ticker.lagSmoothing(threshold, adjustedLag);\n\t\t};\n\n\t\tTweenLite.selector = window.$ || window.jQuery || function(e) {\n\t\t\tvar selector = window.$ || window.jQuery;\n\t\t\tif (selector) {\n\t\t\t\tTweenLite.selector = selector;\n\t\t\t\treturn selector(e);\n\t\t\t}\n\t\t\treturn (typeof(_doc) === \"undefined\") ? e : (_doc.querySelectorAll ? _doc.querySelectorAll(e) : _doc.getElementById((e.charAt(0) === \"#\") ? e.substr(1) : e));\n\t\t};\n\n\t\tvar _lazyTweens = [],\n\t\t\t_lazyLookup = {},\n\t\t\t_numbersExp = /(?:(-|-=|\\+=)?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[0-9]/ig,\n\t\t\t_relExp = /[\\+-]=-?[\\.\\d]/,\n\t\t\t//_nonNumbersExp = /(?:([\\-+](?!(\\d|=)))|[^\\d\\-+=e]|(e(?![\\-+][\\d])))+/ig,\n\t\t\t_setRatio = function(v) {\n\t\t\t\tvar pt = this._firstPT,\n\t\t\t\t\tmin = 0.000001,\n\t\t\t\t\tval;\n\t\t\t\twhile (pt) {\n\t\t\t\t\tval = !pt.blob ? pt.c * v + pt.s : (v === 1 && this.end != null) ? this.end : v ? this.join(\"\") : this.start;\n\t\t\t\t\tif (pt.m) {\n\t\t\t\t\t\tval = pt.m(val, this._target || pt.t);\n\t\t\t\t\t} else if (val < min) if (val > -min && !pt.blob) { //prevents issues with converting very small numbers to strings in the browser\n\t\t\t\t\t\tval = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif (!pt.f) {\n\t\t\t\t\t\tpt.t[pt.p] = val;\n\t\t\t\t\t} else if (pt.fp) {\n\t\t\t\t\t\tpt.t[pt.p](pt.fp, val);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.t[pt.p](val);\n\t\t\t\t\t}\n\t\t\t\t\tpt = pt._next;\n\t\t\t\t}\n\t\t\t},\n\t\t\t//compares two strings (start/end), finds the numbers that are different and spits back an array representing the whole value but with the changing values isolated as elements. For example, \"rgb(0,0,0)\" and \"rgb(100,50,0)\" would become [\"rgb(\", 0, \",\", 50, \",0)\"]. Notice it merges the parts that are identical (performance optimization). The array also has a linked list of PropTweens attached starting with _firstPT that contain the tweening data (t, p, s, c, f, etc.). It also stores the starting value as a \"start\" property so that we can revert to it if/when necessary, like when a tween rewinds fully. If the quantity of numbers differs between the start and end, it will always prioritize the end value(s). The pt parameter is optional - it's for a PropTween that will be appended to the end of the linked list and is typically for actually setting the value after all of the elements have been updated (with array.join(\"\")).\n\t\t\t_blobDif = function(start, end, filter, pt) {\n\t\t\t\tvar a = [],\n\t\t\t\t\tcharIndex = 0,\n\t\t\t\t\ts = \"\",\n\t\t\t\t\tcolor = 0,\n\t\t\t\t\tstartNums, endNums, num, i, l, nonNumbers, currentNum;\n\t\t\t\ta.start = start;\n\t\t\t\ta.end = end;\n\t\t\t\tstart = a[0] = start + \"\"; //ensure values are strings\n\t\t\t\tend = a[1] = end + \"\";\n\t\t\t\tif (filter) {\n\t\t\t\t\tfilter(a); //pass an array with the starting and ending values and let the filter do whatever it needs to the values.\n\t\t\t\t\tstart = a[0];\n\t\t\t\t\tend = a[1];\n\t\t\t\t}\n\t\t\t\ta.length = 0;\n\t\t\t\tstartNums = start.match(_numbersExp) || [];\n\t\t\t\tendNums = end.match(_numbersExp) || [];\n\t\t\t\tif (pt) {\n\t\t\t\t\tpt._next = null;\n\t\t\t\t\tpt.blob = 1;\n\t\t\t\t\ta._firstPT = a._applyPT = pt; //apply last in the linked list (which means inserting it first)\n\t\t\t\t}\n\t\t\t\tl = endNums.length;\n\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\tcurrentNum = endNums[i];\n\t\t\t\t\tnonNumbers = end.substr(charIndex, end.indexOf(currentNum, charIndex)-charIndex);\n\t\t\t\t\ts += (nonNumbers || !i) ? nonNumbers : \",\"; //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.\n\t\t\t\t\tcharIndex += nonNumbers.length;\n\t\t\t\t\tif (color) { //sense rgba() values and round them.\n\t\t\t\t\t\tcolor = (color + 1) % 5;\n\t\t\t\t\t} else if (nonNumbers.substr(-5) === \"rgba(\") {\n\t\t\t\t\t\tcolor = 1;\n\t\t\t\t\t}\n\t\t\t\t\tif (currentNum === startNums[i] || startNums.length <= i) {\n\t\t\t\t\t\ts += currentNum;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (s) {\n\t\t\t\t\t\t\ta.push(s);\n\t\t\t\t\t\t\ts = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnum = parseFloat(startNums[i]);\n\t\t\t\t\t\ta.push(num);\n\t\t\t\t\t\ta._firstPT = {_next: a._firstPT, t:a, p: a.length-1, s:num, c:((currentNum.charAt(1) === \"=\") ? parseInt(currentNum.charAt(0) + \"1\", 10) * parseFloat(currentNum.substr(2)) : (parseFloat(currentNum) - num)) || 0, f:0, m:(color && color < 4) ? Math.round : 0};\n\t\t\t\t\t\t//note: we don't set _prev because we'll never need to remove individual PropTweens from this list.\n\t\t\t\t\t}\n\t\t\t\t\tcharIndex += currentNum.length;\n\t\t\t\t}\n\t\t\t\ts += end.substr(charIndex);\n\t\t\t\tif (s) {\n\t\t\t\t\ta.push(s);\n\t\t\t\t}\n\t\t\t\ta.setRatio = _setRatio;\n\t\t\t\tif (_relExp.test(end)) { //if the end string contains relative values, delete it so that on the final render (in _setRatio()), we don't actually set it to the string with += or -= characters (forces it to use the calculated value).\n\t\t\t\t\ta.end = null;\n\t\t\t\t}\n\t\t\t\treturn a;\n\t\t\t},\n\t\t\t//note: \"funcParam\" is only necessary for function-based getters/setters that require an extra parameter like getAttribute(\"width\") and setAttribute(\"width\", value). In this example, funcParam would be \"width\". Used by AttrPlugin for example.\n\t\t\t_addPropTween = function(target, prop, start, end, overwriteProp, mod, funcParam, stringFilter, index) {\n\t\t\t\tif (typeof(end) === \"function\") {\n\t\t\t\t\tend = end(index || 0, target);\n\t\t\t\t}\n\t\t\t\tvar type = typeof(target[prop]),\n\t\t\t\t\tgetterName = (type !== \"function\") ? \"\" : ((prop.indexOf(\"set\") || typeof(target[\"get\" + prop.substr(3)]) !== \"function\") ? prop : \"get\" + prop.substr(3)),\n\t\t\t\t\ts = (start !== \"get\") ? start : !getterName ? target[prop] : funcParam ? target[getterName](funcParam) : target[getterName](),\n\t\t\t\t\tisRelative = (typeof(end) === \"string\" && end.charAt(1) === \"=\"),\n\t\t\t\t\tpt = {t:target, p:prop, s:s, f:(type === \"function\"), pg:0, n:overwriteProp || prop, m:(!mod ? 0 : (typeof(mod) === \"function\") ? mod : Math.round), pr:0, c:isRelative ? parseInt(end.charAt(0) + \"1\", 10) * parseFloat(end.substr(2)) : (parseFloat(end) - s) || 0},\n\t\t\t\t\tblob;\n\n\t\t\t\tif (typeof(s) !== \"number\" || (typeof(end) !== \"number\" && !isRelative)) {\n\t\t\t\t\tif (funcParam || isNaN(s) || (!isRelative && isNaN(end)) || typeof(s) === \"boolean\" || typeof(end) === \"boolean\") {\n\t\t\t\t\t\t//a blob (string that has multiple numbers in it)\n\t\t\t\t\t\tpt.fp = funcParam;\n\t\t\t\t\t\tblob = _blobDif(s, (isRelative ? parseFloat(pt.s) + pt.c : end), stringFilter || TweenLite.defaultStringFilter, pt);\n\t\t\t\t\t\tpt = {t: blob, p: \"setRatio\", s: 0, c: 1, f: 2, pg: 0, n: overwriteProp || prop, pr: 0, m: 0}; //\"2\" indicates it's a Blob property tween. Needed for RoundPropsPlugin for example.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.s = parseFloat(s);\n\t\t\t\t\t\tif (!isRelative) {\n\t\t\t\t\t\t\tpt.c = (parseFloat(end) - pt.s) || 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (pt.c) { //only add it to the linked list if there's a change.\n\t\t\t\t\tif ((pt._next = this._firstPT)) {\n\t\t\t\t\t\tpt._next._prev = pt;\n\t\t\t\t\t}\n\t\t\t\t\tthis._firstPT = pt;\n\t\t\t\t\treturn pt;\n\t\t\t\t}\n\t\t\t},\n\t\t\t_internals = TweenLite._internals = {isArray:_isArray, isSelector:_isSelector, lazyTweens:_lazyTweens, blobDif:_blobDif}, //gives us a way to expose certain private values to other GreenSock classes without contaminating tha main TweenLite object.\n\t\t\t_plugins = TweenLite._plugins = {},\n\t\t\t_tweenLookup = _internals.tweenLookup = {},\n\t\t\t_tweenLookupNum = 0,\n\t\t\t_reservedProps = _internals.reservedProps = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, onCompleteScope:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, onUpdateScope:1, onStart:1, onStartParams:1, onStartScope:1, onReverseComplete:1, onReverseCompleteParams:1, onReverseCompleteScope:1, onRepeat:1, onRepeatParams:1, onRepeatScope:1, easeParams:1, yoyo:1, immediateRender:1, repeat:1, repeatDelay:1, data:1, paused:1, reversed:1, autoCSS:1, lazy:1, onOverwrite:1, callbackScope:1, stringFilter:1, id:1, yoyoEase:1},\n\t\t\t_overwriteLookup = {none:0, all:1, auto:2, concurrent:3, allOnStart:4, preexisting:5, \"true\":1, \"false\":0},\n\t\t\t_rootFramesTimeline = Animation._rootFramesTimeline = new SimpleTimeline(),\n\t\t\t_rootTimeline = Animation._rootTimeline = new SimpleTimeline(),\n\t\t\t_nextGCFrame = 30,\n\t\t\t_lazyRender = _internals.lazyRender = function() {\n\t\t\t\tvar i = _lazyTweens.length,\n\t\t\t\t\ttween;\n\t\t\t\t_lazyLookup = {};\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ttween = _lazyTweens[i];\n\t\t\t\t\tif (tween && tween._lazy !== false) {\n\t\t\t\t\t\ttween.render(tween._lazy[0], tween._lazy[1], true);\n\t\t\t\t\t\ttween._lazy = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_lazyTweens.length = 0;\n\t\t\t};\n\n\t\t_rootTimeline._startTime = _ticker.time;\n\t\t_rootFramesTimeline._startTime = _ticker.frame;\n\t\t_rootTimeline._active = _rootFramesTimeline._active = true;\n\t\tsetTimeout(_lazyRender, 1); //on some mobile devices, there isn't a \"tick\" before code runs which means any lazy renders wouldn't run before the next official \"tick\".\n\n\t\tAnimation._updateRoot = TweenLite.render = function() {\n\t\t\t\tvar i, a, p;\n\t\t\t\tif (_lazyTweens.length) { //if code is run outside of the requestAnimationFrame loop, there may be tweens queued AFTER the engine refreshed, so we need to ensure any pending renders occur before we refresh again.\n\t\t\t\t\t_lazyRender();\n\t\t\t\t}\n\t\t\t\t_rootTimeline.render((_ticker.time - _rootTimeline._startTime) * _rootTimeline._timeScale, false, false);\n\t\t\t\t_rootFramesTimeline.render((_ticker.frame - _rootFramesTimeline._startTime) * _rootFramesTimeline._timeScale, false, false);\n\t\t\t\tif (_lazyTweens.length) {\n\t\t\t\t\t_lazyRender();\n\t\t\t\t}\n\t\t\t\tif (_ticker.frame >= _nextGCFrame) { //dump garbage every 120 frames or whatever the user sets TweenLite.autoSleep to\n\t\t\t\t\t_nextGCFrame = _ticker.frame + (parseInt(TweenLite.autoSleep, 10) || 120);\n\t\t\t\t\tfor (p in _tweenLookup) {\n\t\t\t\t\t\ta = _tweenLookup[p].tweens;\n\t\t\t\t\t\ti = a.length;\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tif (a[i]._gc) {\n\t\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (a.length === 0) {\n\t\t\t\t\t\t\tdelete _tweenLookup[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//if there are no more tweens in the root timelines, or if they're all paused, make the _timer sleep to reduce load on the CPU slightly\n\t\t\t\t\tp = _rootTimeline._first;\n\t\t\t\t\tif (!p || p._paused) if (TweenLite.autoSleep && !_rootFramesTimeline._first && _ticker._listeners.tick.length === 1) {\n\t\t\t\t\t\twhile (p && p._paused) {\n\t\t\t\t\t\t\tp = p._next;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!p) {\n\t\t\t\t\t\t\t_ticker.sleep();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t_ticker.addEventListener(\"tick\", Animation._updateRoot);\n\n\t\tvar _register = function(target, tween, scrub) {\n\t\t\t\tvar id = target._gsTweenID, a, i;\n\t\t\t\tif (!_tweenLookup[id || (target._gsTweenID = id = \"t\" + (_tweenLookupNum++))]) {\n\t\t\t\t\t_tweenLookup[id] = {target:target, tweens:[]};\n\t\t\t\t}\n\t\t\t\tif (tween) {\n\t\t\t\t\ta = _tweenLookup[id].tweens;\n\t\t\t\t\ta[(i = a.length)] = tween;\n\t\t\t\t\tif (scrub) {\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tif (a[i] === tween) {\n\t\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn _tweenLookup[id].tweens;\n\t\t\t},\n\t\t\t_onOverwrite = function(overwrittenTween, overwritingTween, target, killedProps) {\n\t\t\t\tvar func = overwrittenTween.vars.onOverwrite, r1, r2;\n\t\t\t\tif (func) {\n\t\t\t\t\tr1 = func(overwrittenTween, overwritingTween, target, killedProps);\n\t\t\t\t}\n\t\t\t\tfunc = TweenLite.onOverwrite;\n\t\t\t\tif (func) {\n\t\t\t\t\tr2 = func(overwrittenTween, overwritingTween, target, killedProps);\n\t\t\t\t}\n\t\t\t\treturn (r1 !== false && r2 !== false);\n\t\t\t},\n\t\t\t_applyOverwrite = function(target, tween, props, mode, siblings) {\n\t\t\t\tvar i, changed, curTween, l;\n\t\t\t\tif (mode === 1 || mode >= 4) {\n\t\t\t\t\tl = siblings.length;\n\t\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\t\tif ((curTween = siblings[i]) !== tween) {\n\t\t\t\t\t\t\tif (!curTween._gc) {\n\t\t\t\t\t\t\t\tif (curTween._kill(null, target, tween)) {\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (mode === 5) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn changed;\n\t\t\t\t}\n\t\t\t\t//NOTE: Add 0.0000000001 to overcome floating point errors that can cause the startTime to be VERY slightly off (when a tween's time() is set for example)\n\t\t\t\tvar startTime = tween._startTime + _tinyNum,\n\t\t\t\t\toverlaps = [],\n\t\t\t\t\toCount = 0,\n\t\t\t\t\tzeroDur = (tween._duration === 0),\n\t\t\t\t\tglobalStart;\n\t\t\t\ti = siblings.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif ((curTween = siblings[i]) === tween || curTween._gc || curTween._paused) {\n\t\t\t\t\t\t//ignore\n\t\t\t\t\t} else if (curTween._timeline !== tween._timeline) {\n\t\t\t\t\t\tglobalStart = globalStart || _checkOverlap(tween, 0, zeroDur);\n\t\t\t\t\t\tif (_checkOverlap(curTween, globalStart, zeroDur) === 0) {\n\t\t\t\t\t\t\toverlaps[oCount++] = curTween;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (curTween._startTime <= startTime) if (curTween._startTime + curTween.totalDuration() / curTween._timeScale > startTime) if (!((zeroDur || !curTween._initted) && startTime - curTween._startTime <= 0.0000000002)) {\n\t\t\t\t\t\toverlaps[oCount++] = curTween;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ti = oCount;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tcurTween = overlaps[i];\n\t\t\t\t\tif (mode === 2) if (curTween._kill(props, target, tween)) {\n\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (mode !== 2 || (!curTween._firstPT && curTween._initted)) {\n\t\t\t\t\t\tif (mode !== 2 && !_onOverwrite(curTween, tween)) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (curTween._enabled(false, false)) { //if all property tweens have been overwritten, kill the tween.\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn changed;\n\t\t\t},\n\t\t\t_checkOverlap = function(tween, reference, zeroDur) {\n\t\t\t\tvar tl = tween._timeline,\n\t\t\t\t\tts = tl._timeScale,\n\t\t\t\t\tt = tween._startTime;\n\t\t\t\twhile (tl._timeline) {\n\t\t\t\t\tt += tl._startTime;\n\t\t\t\t\tts *= tl._timeScale;\n\t\t\t\t\tif (tl._paused) {\n\t\t\t\t\t\treturn -100;\n\t\t\t\t\t}\n\t\t\t\t\ttl = tl._timeline;\n\t\t\t\t}\n\t\t\t\tt /= ts;\n\t\t\t\treturn (t > reference) ? t - reference : ((zeroDur && t === reference) || (!tween._initted && t - reference < 2 * _tinyNum)) ? _tinyNum : ((t += tween.totalDuration() / tween._timeScale / ts) > reference + _tinyNum) ? 0 : t - reference - _tinyNum;\n\t\t\t};\n\n\n//---- TweenLite instance methods -----------------------------------------------------------------------------\n\n\t\tp._init = function() {\n\t\t\tvar v = this.vars,\n\t\t\t\top = this._overwrittenProps,\n\t\t\t\tdur = this._duration,\n\t\t\t\timmediate = !!v.immediateRender,\n\t\t\t\tease = v.ease,\n\t\t\t\ti, initPlugins, pt, p, startVars, l;\n\t\t\tif (v.startAt) {\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tthis._startAt.render(-1, true); //if we've run a startAt previously (when the tween instantiated), we should revert it so that the values re-instantiate correctly particularly for relative tweens. Without this, a TweenLite.fromTo(obj, 1, {x:\"+=100\"}, {x:\"-=100\"}), for example, would actually jump to +=200 because the startAt would run twice, doubling the relative change.\n\t\t\t\t\tthis._startAt.kill();\n\t\t\t\t}\n\t\t\t\tstartVars = {};\n\t\t\t\tfor (p in v.startAt) { //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, 1, from, to).fromTo(e, 1, to, from);\n\t\t\t\t\tstartVars[p] = v.startAt[p];\n\t\t\t\t}\n\t\t\t\tstartVars.data = \"isStart\";\n\t\t\t\tstartVars.overwrite = false;\n\t\t\t\tstartVars.immediateRender = true;\n\t\t\t\tstartVars.lazy = (immediate && v.lazy !== false);\n\t\t\t\tstartVars.startAt = startVars.delay = null; //no nesting of startAt objects allowed (otherwise it could cause an infinite loop).\n\t\t\t\tstartVars.onUpdate = v.onUpdate;\n\t\t\t\tstartVars.onUpdateParams = v.onUpdateParams;\n\t\t\t\tstartVars.onUpdateScope = v.onUpdateScope || v.callbackScope || this;\n\t\t\t\tthis._startAt = TweenLite.to(this.target, 0, startVars);\n\t\t\t\tif (immediate) {\n\t\t\t\t\tif (this._time > 0) {\n\t\t\t\t\t\tthis._startAt = null; //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in TimelineLite/Max instances where immediateRender was false (which is the default in the convenience methods like from()).\n\t\t\t\t\t} else if (dur !== 0) {\n\t\t\t\t\t\treturn; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a TimelineLite or TimelineMax, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (v.runBackwards && dur !== 0) {\n\t\t\t\t//from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tthis._startAt.render(-1, true);\n\t\t\t\t\tthis._startAt.kill();\n\t\t\t\t\tthis._startAt = null;\n\t\t\t\t} else {\n\t\t\t\t\tif (this._time !== 0) { //in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0\n\t\t\t\t\t\timmediate = false;\n\t\t\t\t\t}\n\t\t\t\t\tpt = {};\n\t\t\t\t\tfor (p in v) { //copy props into a new object and skip any reserved props, otherwise onComplete or onUpdate or onStart could fire. We should, however, permit autoCSS to go through.\n\t\t\t\t\t\tif (!_reservedProps[p] || p === \"autoCSS\") {\n\t\t\t\t\t\t\tpt[p] = v[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpt.overwrite = 0;\n\t\t\t\t\tpt.data = \"isFromStart\"; //we tag the tween with as \"isFromStart\" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a \"from()\" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:\"height\", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.\n\t\t\t\t\tpt.lazy = (immediate && v.lazy !== false);\n\t\t\t\t\tpt.immediateRender = immediate; //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)\n\t\t\t\t\tthis._startAt = TweenLite.to(this.target, 0, pt);\n\t\t\t\t\tif (!immediate) {\n\t\t\t\t\t\tthis._startAt._init(); //ensures that the initial values are recorded\n\t\t\t\t\t\tthis._startAt._enabled(false); //no need to have the tween render on the next cycle. Disable it because we'll always manually control the renders of the _startAt tween.\n\t\t\t\t\t\tif (this.vars.immediateRender) {\n\t\t\t\t\t\t\tthis._startAt = null;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (this._time === 0) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._ease = ease = (!ease) ? TweenLite.defaultEase : (ease instanceof Ease) ? ease : (typeof(ease) === \"function\") ? new Ease(ease, v.easeParams) : _easeMap[ease] || TweenLite.defaultEase;\n\t\t\tif (v.easeParams instanceof Array && ease.config) {\n\t\t\t\tthis._ease = ease.config.apply(ease, v.easeParams);\n\t\t\t}\n\t\t\tthis._easeType = this._ease._type;\n\t\t\tthis._easePower = this._ease._power;\n\t\t\tthis._firstPT = null;\n\n\t\t\tif (this._targets) {\n\t\t\t\tl = this._targets.length;\n\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\tif ( this._initProps( this._targets[i], (this._propLookup[i] = {}), this._siblings[i], (op ? op[i] : null), i) ) {\n\t\t\t\t\t\tinitPlugins = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tinitPlugins = this._initProps(this.target, this._propLookup, this._siblings, op, 0);\n\t\t\t}\n\n\t\t\tif (initPlugins) {\n\t\t\t\tTweenLite._onPluginEvent(\"_onInitAllProps\", this); //reorders the array in order of priority. Uses a static TweenPlugin method in order to minimize file size in TweenLite\n\t\t\t}\n\t\t\tif (op) if (!this._firstPT) if (typeof(this.target) !== \"function\") { //if all tweening properties have been overwritten, kill the tween. If the target is a function, it's probably a delayedCall so let it live.\n\t\t\t\tthis._enabled(false, false);\n\t\t\t}\n\t\t\tif (v.runBackwards) {\n\t\t\t\tpt = this._firstPT;\n\t\t\t\twhile (pt) {\n\t\t\t\t\tpt.s += pt.c;\n\t\t\t\t\tpt.c = -pt.c;\n\t\t\t\t\tpt = pt._next;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._onUpdate = v.onUpdate;\n\t\t\tthis._initted = true;\n\t\t};\n\n\t\tp._initProps = function(target, propLookup, siblings, overwrittenProps, index) {\n\t\t\tvar p, i, initPlugins, plugin, pt, v;\n\t\t\tif (target == null) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (_lazyLookup[target._gsTweenID]) {\n\t\t\t\t_lazyRender(); //if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)\n\t\t\t}\n\n\t\t\tif (!this.vars.css) if (target.style) if (target !== window && target.nodeType) if (_plugins.css) if (this.vars.autoCSS !== false) { //it's so common to use TweenLite/Max to animate the css of DOM elements, we assume that if the target is a DOM element, that's what is intended (a convenience so that users don't have to wrap things in css:{}, although we still recommend it for a slight performance boost and better specificity). Note: we cannot check \"nodeType\" on the window inside an iframe.\n\t\t\t\t_autoCSS(this.vars, target);\n\t\t\t}\n\t\t\tfor (p in this.vars) {\n\t\t\t\tv = this.vars[p];\n\t\t\t\tif (_reservedProps[p]) {\n\t\t\t\t\tif (v) if ((v instanceof Array) || (v.push && _isArray(v))) if (v.join(\"\").indexOf(\"{self}\") !== -1) {\n\t\t\t\t\t\tthis.vars[p] = v = this._swapSelfInParams(v, this);\n\t\t\t\t\t}\n\n\t\t\t\t} else if (_plugins[p] && (plugin = new _plugins[p]())._onInitTween(target, this.vars[p], this, index)) {\n\n\t\t\t\t\t//t - target \t\t[object]\n\t\t\t\t\t//p - property \t\t[string]\n\t\t\t\t\t//s - start\t\t\t[number]\n\t\t\t\t\t//c - change\t\t[number]\n\t\t\t\t\t//f - isFunction\t[boolean]\n\t\t\t\t\t//n - name\t\t\t[string]\n\t\t\t\t\t//pg - isPlugin \t[boolean]\n\t\t\t\t\t//pr - priority\t\t[number]\n\t\t\t\t\t//m - mod [function | 0]\n\t\t\t\t\tthis._firstPT = pt = {_next:this._firstPT, t:plugin, p:\"setRatio\", s:0, c:1, f:1, n:p, pg:1, pr:plugin._priority, m:0};\n\t\t\t\t\ti = plugin._overwriteProps.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tpropLookup[plugin._overwriteProps[i]] = this._firstPT;\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin._priority || plugin._onInitAllProps) {\n\t\t\t\t\t\tinitPlugins = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin._onDisable || plugin._onEnable) {\n\t\t\t\t\t\tthis._notifyPluginsOfEnabled = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\tpt._next._prev = pt;\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tpropLookup[p] = _addPropTween.call(this, target, p, \"get\", v, p, 0, null, this.vars.stringFilter, index);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (overwrittenProps) if (this._kill(overwrittenProps, target)) { //another tween may have tried to overwrite properties of this tween before init() was called (like if two tweens start at the same time, the one created second will run first)\n\t\t\t\treturn this._initProps(target, propLookup, siblings, overwrittenProps, index);\n\t\t\t}\n\t\t\tif (this._overwrite > 1) if (this._firstPT) if (siblings.length > 1) if (_applyOverwrite(target, this, propLookup, this._overwrite, siblings)) {\n\t\t\t\tthis._kill(propLookup, target);\n\t\t\t\treturn this._initProps(target, propLookup, siblings, overwrittenProps, index);\n\t\t\t}\n\t\t\tif (this._firstPT) if ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration)) { //zero duration tweens don't lazy render by default; everything else does.\n\t\t\t\t_lazyLookup[target._gsTweenID] = true;\n\t\t\t}\n\t\t\treturn initPlugins;\n\t\t};\n\n\t\tp.render = function(time, suppressEvents, force) {\n\t\t\tvar prevTime = this._time,\n\t\t\t\tduration = this._duration,\n\t\t\t\tprevRawPrevTime = this._rawPrevTime,\n\t\t\t\tisComplete, callback, pt, rawPrevTime;\n\t\t\tif (time >= duration - 0.0000001 && time >= 0) { //to work around occasional floating point math artifacts.\n\t\t\t\tthis._totalTime = this._time = duration;\n\t\t\t\tthis.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1;\n\t\t\t\tif (!this._reversed ) {\n\t\t\t\t\tisComplete = true;\n\t\t\t\t\tcallback = \"onComplete\";\n\t\t\t\t\tforce = (force || this._timeline.autoRemoveChildren); //otherwise, if the animation is unpaused/activated after it's already finished, it doesn't get removed from the parent timeline.\n\t\t\t\t}\n\t\t\t\tif (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the \"playhead\" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's \"playhead\" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.\n\t\t\t\t\tif (this._startTime === this._timeline._duration) { //if a zero-duration tween is at the VERY end of a timeline and that timeline renders at its end, it will typically add a tiny bit of cushion to the render time to prevent rounding errors from getting in the way of tweens rendering their VERY end. If we then reverse() that timeline, the zero-duration tween will trigger its onReverseComplete even though technically the playhead didn't pass over it again. It's a very specific edge case we must accommodate.\n\t\t\t\t\t\ttime = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif (prevRawPrevTime < 0 || (time <= 0 && time >= -0.0000001) || (prevRawPrevTime === _tinyNum && this.data !== \"isPause\")) if (prevRawPrevTime !== time) { //note: when this.data is \"isPause\", it's a callback added by addPause() on a timeline that we should not be triggered when LEAVING its exact start time. In other words, tl.addPause(1).play(1) shouldn't pause.\n\t\t\t\t\t\tforce = true;\n\t\t\t\t\t\tif (prevRawPrevTime > _tinyNum) {\n\t\t\t\t\t\t\tcallback = \"onReverseComplete\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.\n\t\t\t\t}\n\n\t\t\t} else if (time < 0.0000001) { //to work around occasional floating point math artifacts, round super small values to 0.\n\t\t\t\tthis._totalTime = this._time = 0;\n\t\t\t\tthis.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0;\n\t\t\t\tif (prevTime !== 0 || (duration === 0 && prevRawPrevTime > 0)) {\n\t\t\t\t\tcallback = \"onReverseComplete\";\n\t\t\t\t\tisComplete = this._reversed;\n\t\t\t\t}\n\t\t\t\tif (time < 0) {\n\t\t\t\t\tthis._active = false;\n\t\t\t\t\tif (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the \"playhead\" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's \"playhead\" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.\n\t\t\t\t\t\tif (prevRawPrevTime >= 0 && !(prevRawPrevTime === _tinyNum && this.data === \"isPause\")) {\n\t\t\t\t\t\t\tforce = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!this._initted || (this._startAt && this._startAt.progress())) { //if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately. Also, we check progress() because if startAt has already rendered at its end, we should force a render at its beginning. Otherwise, if you put the playhead directly on top of where a fromTo({immediateRender:false}) starts, and then move it backwards, the from() won't revert its values.\n\t\t\t\t\tforce = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._totalTime = this._time = time;\n\n\t\t\t\tif (this._easeType) {\n\t\t\t\t\tvar r = time / duration, type = this._easeType, pow = this._easePower;\n\t\t\t\t\tif (type === 1 || (type === 3 && r >= 0.5)) {\n\t\t\t\t\t\tr = 1 - r;\n\t\t\t\t\t}\n\t\t\t\t\tif (type === 3) {\n\t\t\t\t\t\tr *= 2;\n\t\t\t\t\t}\n\t\t\t\t\tif (pow === 1) {\n\t\t\t\t\t\tr *= r;\n\t\t\t\t\t} else if (pow === 2) {\n\t\t\t\t\t\tr *= r * r;\n\t\t\t\t\t} else if (pow === 3) {\n\t\t\t\t\t\tr *= r * r * r;\n\t\t\t\t\t} else if (pow === 4) {\n\t\t\t\t\t\tr *= r * r * r * r;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (type === 1) {\n\t\t\t\t\t\tthis.ratio = 1 - r;\n\t\t\t\t\t} else if (type === 2) {\n\t\t\t\t\t\tthis.ratio = r;\n\t\t\t\t\t} else if (time / duration < 0.5) {\n\t\t\t\t\t\tthis.ratio = r / 2;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.ratio = 1 - (r / 2);\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tthis.ratio = this._ease.getRatio(time / duration);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this._time === prevTime && !force) {\n\t\t\t\treturn;\n\t\t\t} else if (!this._initted) {\n\t\t\t\tthis._init();\n\t\t\t\tif (!this._initted || this._gc) { //immediateRender tweens typically won't initialize until the playhead advances (_time is greater than 0) in order to ensure that overwriting occurs properly. Also, if all of the tweening properties have been overwritten (which would cause _gc to be true, as set in _init()), we shouldn't continue otherwise an onStart callback could be called for example.\n\t\t\t\t\treturn;\n\t\t\t\t} else if (!force && this._firstPT && ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration))) {\n\t\t\t\t\tthis._time = this._totalTime = prevTime;\n\t\t\t\t\tthis._rawPrevTime = prevRawPrevTime;\n\t\t\t\t\t_lazyTweens.push(this);\n\t\t\t\t\tthis._lazy = [time, suppressEvents];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t//_ease is initially set to defaultEase, so now that init() has run, _ease is set properly and we need to recalculate the ratio. Overall this is faster than using conditional logic earlier in the method to avoid having to set ratio twice because we only init() once but renderTime() gets called VERY frequently.\n\t\t\t\tif (this._time && !isComplete) {\n\t\t\t\t\tthis.ratio = this._ease.getRatio(this._time / duration);\n\t\t\t\t} else if (isComplete && this._ease._calcEnd) {\n\t\t\t\t\tthis.ratio = this._ease.getRatio((this._time === 0) ? 0 : 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this._lazy !== false) { //in case a lazy render is pending, we should flush it because the new render is occurring now (imagine a lazy tween instantiating and then immediately the user calls tween.seek(tween.duration()), skipping to the end - the end render would be forced, and then if we didn't flush the lazy render, it'd fire AFTER the seek(), rendering it at the wrong time.\n\t\t\t\tthis._lazy = false;\n\t\t\t}\n\t\t\tif (!this._active) if (!this._paused && this._time !== prevTime && time >= 0) {\n\t\t\t\tthis._active = true; //so that if the user renders a tween (as opposed to the timeline rendering it), the timeline is forced to re-render and align it with the proper time/frame on the next rendering cycle. Maybe the tween already finished but the user manually re-renders it as halfway done.\n\t\t\t}\n\t\t\tif (prevTime === 0) {\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tif (time >= 0) {\n\t\t\t\t\t\tthis._startAt.render(time, true, force);\n\t\t\t\t\t} else if (!callback) {\n\t\t\t\t\t\tcallback = \"_dummyGS\"; //if no callback is defined, use a dummy value just so that the condition at the end evaluates as true because _startAt should render AFTER the normal render loop when the time is negative. We could handle this in a more intuitive way, of course, but the render loop is the MOST important thing to optimize, so this technique allows us to avoid adding extra conditional logic in a high-frequency area.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.vars.onStart) if (this._time !== 0 || duration === 0) if (!suppressEvents) {\n\t\t\t\t\tthis._callback(\"onStart\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tpt = this._firstPT;\n\t\t\twhile (pt) {\n\t\t\t\tif (pt.f) {\n\t\t\t\t\tpt.t[pt.p](pt.c * this.ratio + pt.s);\n\t\t\t\t} else {\n\t\t\t\t\tpt.t[pt.p] = pt.c * this.ratio + pt.s;\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\n\t\t\tif (this._onUpdate) {\n\t\t\t\tif (time < 0) if (this._startAt && time !== -0.0001) { //if the tween is positioned at the VERY beginning (_startTime 0) of its parent timeline, it's illegal for the playhead to go back further, so we should not render the recorded startAt values.\n\t\t\t\t\tthis._startAt.render(time, true, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.\n\t\t\t\t}\n\t\t\t\tif (!suppressEvents) if (this._time !== prevTime || isComplete || force) {\n\t\t\t\t\tthis._callback(\"onUpdate\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (callback) if (!this._gc || force) { //check _gc because there's a chance that kill() could be called in an onUpdate\n\t\t\t\tif (time < 0 && this._startAt && !this._onUpdate && time !== -0.0001) { //-0.0001 is a special value that we use when looping back to the beginning of a repeated TimelineMax, in which case we shouldn't render the _startAt values.\n\t\t\t\t\tthis._startAt.render(time, true, force);\n\t\t\t\t}\n\t\t\t\tif (isComplete) {\n\t\t\t\t\tif (this._timeline.autoRemoveChildren) {\n\t\t\t\t\t\tthis._enabled(false, false);\n\t\t\t\t\t}\n\t\t\t\t\tthis._active = false;\n\t\t\t\t}\n\t\t\t\tif (!suppressEvents && this.vars[callback]) {\n\t\t\t\t\tthis._callback(callback);\n\t\t\t\t}\n\t\t\t\tif (duration === 0 && this._rawPrevTime === _tinyNum && rawPrevTime !== _tinyNum) { //the onComplete or onReverseComplete could trigger movement of the playhead and for zero-duration tweens (which must discern direction) that land directly back on their start time, we don't want to fire again on the next render. Think of several addPause()'s in a timeline that forces the playhead to a certain spot, but what if it's already paused and another tween is tweening the \"time\" of the timeline? Each time it moves [forward] past that spot, it would move back, and since suppressEvents is true, it'd reset _rawPrevTime to _tinyNum so that when it begins again, the callback would fire (so ultimately it could bounce back and forth during that tween). Again, this is a very uncommon scenario, but possible nonetheless.\n\t\t\t\t\tthis._rawPrevTime = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tp._kill = function(vars, target, overwritingTween) {\n\t\t\tif (vars === \"all\") {\n\t\t\t\tvars = null;\n\t\t\t}\n\t\t\tif (vars == null) if (target == null || target === this.target) {\n\t\t\t\tthis._lazy = false;\n\t\t\t\treturn this._enabled(false, false);\n\t\t\t}\n\t\t\ttarget = (typeof(target) !== \"string\") ? (target || this._targets || this.target) : TweenLite.selector(target) || target;\n\t\t\tvar simultaneousOverwrite = (overwritingTween && this._time && overwritingTween._startTime === this._startTime && this._timeline === overwritingTween._timeline),\n\t\t\t\ti, overwrittenProps, p, pt, propLookup, changed, killProps, record, killed;\n\t\t\tif ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== \"number\") {\n\t\t\t\ti = target.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (this._kill(vars, target[i], overwritingTween)) {\n\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (this._targets) {\n\t\t\t\t\ti = this._targets.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tif (target === this._targets[i]) {\n\t\t\t\t\t\t\tpropLookup = this._propLookup[i] || {};\n\t\t\t\t\t\t\tthis._overwrittenProps = this._overwrittenProps || [];\n\t\t\t\t\t\t\toverwrittenProps = this._overwrittenProps[i] = vars ? this._overwrittenProps[i] || {} : \"all\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (target !== this.target) {\n\t\t\t\t\treturn false;\n\t\t\t\t} else {\n\t\t\t\t\tpropLookup = this._propLookup;\n\t\t\t\t\toverwrittenProps = this._overwrittenProps = vars ? this._overwrittenProps || {} : \"all\";\n\t\t\t\t}\n\n\t\t\t\tif (propLookup) {\n\t\t\t\t\tkillProps = vars || propLookup;\n\t\t\t\t\trecord = (vars !== overwrittenProps && overwrittenProps !== \"all\" && vars !== propLookup && (typeof(vars) !== \"object\" || !vars._tempKill)); //_tempKill is a super-secret way to delete a particular tweening property but NOT have it remembered as an official overwritten property (like in BezierPlugin)\n\t\t\t\t\tif (overwritingTween && (TweenLite.onOverwrite || this.vars.onOverwrite)) {\n\t\t\t\t\t\tfor (p in killProps) {\n\t\t\t\t\t\t\tif (propLookup[p]) {\n\t\t\t\t\t\t\t\tif (!killed) {\n\t\t\t\t\t\t\t\t\tkilled = [];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tkilled.push(p);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ((killed || !vars) && !_onOverwrite(this, overwritingTween, target, killed)) { //if the onOverwrite returned false, that means the user wants to override the overwriting (cancel it).\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (p in killProps) {\n\t\t\t\t\t\tif ((pt = propLookup[p])) {\n\t\t\t\t\t\t\tif (simultaneousOverwrite) { //if another tween overwrites this one and they both start at exactly the same time, yet this tween has already rendered once (for example, at 0.001) because it's first in the queue, we should revert the values to where they were at 0 so that the starting values aren't contaminated on the overwriting tween.\n\t\t\t\t\t\t\t\tif (pt.f) {\n\t\t\t\t\t\t\t\t\tpt.t[pt.p](pt.s);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tpt.t[pt.p] = pt.s;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (pt.pg && pt.t._kill(killProps)) {\n\t\t\t\t\t\t\t\tchanged = true; //some plugins need to be notified so they can perform cleanup tasks first\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!pt.pg || pt.t._overwriteProps.length === 0) {\n\t\t\t\t\t\t\t\tif (pt._prev) {\n\t\t\t\t\t\t\t\t\tpt._prev._next = pt._next;\n\t\t\t\t\t\t\t\t} else if (pt === this._firstPT) {\n\t\t\t\t\t\t\t\t\tthis._firstPT = pt._next;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\t\t\t\tpt._next._prev = pt._prev;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpt._next = pt._prev = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdelete propLookup[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (record) {\n\t\t\t\t\t\t\toverwrittenProps[p] = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!this._firstPT && this._initted) { //if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.\n\t\t\t\t\t\tthis._enabled(false, false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn changed;\n\t\t};\n\n\t\tp.invalidate = function() {\n\t\t\tif (this._notifyPluginsOfEnabled) {\n\t\t\t\tTweenLite._onPluginEvent(\"_onDisable\", this);\n\t\t\t}\n\t\t\tthis._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null;\n\t\t\tthis._notifyPluginsOfEnabled = this._active = this._lazy = false;\n\t\t\tthis._propLookup = (this._targets) ? {} : [];\n\t\t\tAnimation.prototype.invalidate.call(this);\n\t\t\tif (this.vars.immediateRender) {\n\t\t\t\tthis._time = -_tinyNum; //forces a render without having to set the render() \"force\" parameter to true because we want to allow lazying by default (using the \"force\" parameter always forces an immediate full render)\n\t\t\t\tthis.render(Math.min(0, -this._delay)); //in case delay is negative.\n\t\t\t}\n\t\t\treturn this;\n\t\t};\n\n\t\tp._enabled = function(enabled, ignoreTimeline) {\n\t\t\tif (!_tickerActive) {\n\t\t\t\t_ticker.wake();\n\t\t\t}\n\t\t\tif (enabled && this._gc) {\n\t\t\t\tvar targets = this._targets,\n\t\t\t\t\ti;\n\t\t\t\tif (targets) {\n\t\t\t\t\ti = targets.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tthis._siblings[i] = _register(targets[i], this, true);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis._siblings = _register(this.target, this, true);\n\t\t\t\t}\n\t\t\t}\n\t\t\tAnimation.prototype._enabled.call(this, enabled, ignoreTimeline);\n\t\t\tif (this._notifyPluginsOfEnabled) if (this._firstPT) {\n\t\t\t\treturn TweenLite._onPluginEvent((enabled ? \"_onEnable\" : \"_onDisable\"), this);\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\n//----TweenLite static methods -----------------------------------------------------\n\n\t\tTweenLite.to = function(target, duration, vars) {\n\t\t\treturn new TweenLite(target, duration, vars);\n\t\t};\n\n\t\tTweenLite.from = function(target, duration, vars) {\n\t\t\tvars.runBackwards = true;\n\t\t\tvars.immediateRender = (vars.immediateRender != false);\n\t\t\treturn new TweenLite(target, duration, vars);\n\t\t};\n\n\t\tTweenLite.fromTo = function(target, duration, fromVars, toVars) {\n\t\t\ttoVars.startAt = fromVars;\n\t\t\ttoVars.immediateRender = (toVars.immediateRender != false && fromVars.immediateRender != false);\n\t\t\treturn new TweenLite(target, duration, toVars);\n\t\t};\n\n\t\tTweenLite.delayedCall = function(delay, callback, params, scope, useFrames) {\n\t\t\treturn new TweenLite(callback, 0, {delay:delay, onComplete:callback, onCompleteParams:params, callbackScope:scope, onReverseComplete:callback, onReverseCompleteParams:params, immediateRender:false, lazy:false, useFrames:useFrames, overwrite:0});\n\t\t};\n\n\t\tTweenLite.set = function(target, vars) {\n\t\t\treturn new TweenLite(target, 0, vars);\n\t\t};\n\n\t\tTweenLite.getTweensOf = function(target, onlyActive) {\n\t\t\tif (target == null) { return []; }\n\t\t\ttarget = (typeof(target) !== \"string\") ? target : TweenLite.selector(target) || target;\n\t\t\tvar i, a, j, t;\n\t\t\tif ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== \"number\") {\n\t\t\t\ti = target.length;\n\t\t\t\ta = [];\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ta = a.concat(TweenLite.getTweensOf(target[i], onlyActive));\n\t\t\t\t}\n\t\t\t\ti = a.length;\n\t\t\t\t//now get rid of any duplicates (tweens of arrays of objects could cause duplicates)\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tt = a[i];\n\t\t\t\t\tj = i;\n\t\t\t\t\twhile (--j > -1) {\n\t\t\t\t\t\tif (t === a[j]) {\n\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (target._gsTweenID) {\n\t\t\t\ta = _register(target).concat();\n\t\t\t\ti = a.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (a[i]._gc || (onlyActive && !a[i].isActive())) {\n\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn a || [];\n\t\t};\n\n\t\tTweenLite.killTweensOf = TweenLite.killDelayedCallsTo = function(target, onlyActive, vars) {\n\t\t\tif (typeof(onlyActive) === \"object\") {\n\t\t\t\tvars = onlyActive; //for backwards compatibility (before \"onlyActive\" parameter was inserted)\n\t\t\t\tonlyActive = false;\n\t\t\t}\n\t\t\tvar a = TweenLite.getTweensOf(target, onlyActive),\n\t\t\t\ti = a.length;\n\t\t\twhile (--i > -1) {\n\t\t\t\ta[i]._kill(vars, target);\n\t\t\t}\n\t\t};\n\n\n\n/*\n * ----------------------------------------------------------------\n * TweenPlugin (could easily be split out as a separate file/class, but included for ease of use (so that people don't need to include another script call before loading plugins which is easy to forget)\n * ----------------------------------------------------------------\n */\n\t\tvar TweenPlugin = _class(\"plugins.TweenPlugin\", function(props, priority) {\n\t\t\t\t\tthis._overwriteProps = (props || \"\").split(\",\");\n\t\t\t\t\tthis._propName = this._overwriteProps[0];\n\t\t\t\t\tthis._priority = priority || 0;\n\t\t\t\t\tthis._super = TweenPlugin.prototype;\n\t\t\t\t}, true);\n\n\t\tp = TweenPlugin.prototype;\n\t\tTweenPlugin.version = \"1.19.0\";\n\t\tTweenPlugin.API = 2;\n\t\tp._firstPT = null;\n\t\tp._addTween = _addPropTween;\n\t\tp.setRatio = _setRatio;\n\n\t\tp._kill = function(lookup) {\n\t\t\tvar a = this._overwriteProps,\n\t\t\t\tpt = this._firstPT,\n\t\t\t\ti;\n\t\t\tif (lookup[this._propName] != null) {\n\t\t\t\tthis._overwriteProps = [];\n\t\t\t} else {\n\t\t\t\ti = a.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (lookup[a[i]] != null) {\n\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile (pt) {\n\t\t\t\tif (lookup[pt.n] != null) {\n\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\tpt._next._prev = pt._prev;\n\t\t\t\t\t}\n\t\t\t\t\tif (pt._prev) {\n\t\t\t\t\t\tpt._prev._next = pt._next;\n\t\t\t\t\t\tpt._prev = null;\n\t\t\t\t\t} else if (this._firstPT === pt) {\n\t\t\t\t\t\tthis._firstPT = pt._next;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t\tp._mod = p._roundProps = function(lookup) {\n\t\t\tvar pt = this._firstPT,\n\t\t\t\tval;\n\t\t\twhile (pt) {\n\t\t\t\tval = lookup[this._propName] || (pt.n != null && lookup[ pt.n.split(this._propName + \"_\").join(\"\") ]);\n\t\t\t\tif (val && typeof(val) === \"function\") { //some properties that are very plugin-specific add a prefix named after the _propName plus an underscore, so we need to ignore that extra stuff here.\n\t\t\t\t\tif (pt.f === 2) {\n\t\t\t\t\t\tpt.t._applyPT.m = val;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.m = val;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t};\n\n\t\tTweenLite._onPluginEvent = function(type, tween) {\n\t\t\tvar pt = tween._firstPT,\n\t\t\t\tchanged, pt2, first, last, next;\n\t\t\tif (type === \"_onInitAllProps\") {\n\t\t\t\t//sorts the PropTween linked list in order of priority because some plugins need to render earlier/later than others, like MotionBlurPlugin applies its effects after all x/y/alpha tweens have rendered on each frame.\n\t\t\t\twhile (pt) {\n\t\t\t\t\tnext = pt._next;\n\t\t\t\t\tpt2 = first;\n\t\t\t\t\twhile (pt2 && pt2.pr > pt.pr) {\n\t\t\t\t\t\tpt2 = pt2._next;\n\t\t\t\t\t}\n\t\t\t\t\tif ((pt._prev = pt2 ? pt2._prev : last)) {\n\t\t\t\t\t\tpt._prev._next = pt;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfirst = pt;\n\t\t\t\t\t}\n\t\t\t\t\tif ((pt._next = pt2)) {\n\t\t\t\t\t\tpt2._prev = pt;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlast = pt;\n\t\t\t\t\t}\n\t\t\t\t\tpt = next;\n\t\t\t\t}\n\t\t\t\tpt = tween._firstPT = first;\n\t\t\t}\n\t\t\twhile (pt) {\n\t\t\t\tif (pt.pg) if (typeof(pt.t[type]) === \"function\") if (pt.t[type]()) {\n\t\t\t\t\tchanged = true;\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t\treturn changed;\n\t\t};\n\n\t\tTweenPlugin.activate = function(plugins) {\n\t\t\tvar i = plugins.length;\n\t\t\twhile (--i > -1) {\n\t\t\t\tif (plugins[i].API === TweenPlugin.API) {\n\t\t\t\t\t_plugins[(new plugins[i]())._propName] = plugins[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\t//provides a more concise way to define plugins that have no dependencies besides TweenPlugin and TweenLite, wrapping common boilerplate stuff into one function (added in 1.9.0). You don't NEED to use this to define a plugin - the old way still works and can be useful in certain (rare) situations.\n\t\t_gsDefine.plugin = function(config) {\n\t\t\tif (!config || !config.propName || !config.init || !config.API) { throw \"illegal plugin definition.\"; }\n\t\t\tvar propName = config.propName,\n\t\t\t\tpriority = config.priority || 0,\n\t\t\t\toverwriteProps = config.overwriteProps,\n\t\t\t\tmap = {init:\"_onInitTween\", set:\"setRatio\", kill:\"_kill\", round:\"_mod\", mod:\"_mod\", initAll:\"_onInitAllProps\"},\n\t\t\t\tPlugin = _class(\"plugins.\" + propName.charAt(0).toUpperCase() + propName.substr(1) + \"Plugin\",\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tTweenPlugin.call(this, propName, priority);\n\t\t\t\t\t\tthis._overwriteProps = overwriteProps || [];\n\t\t\t\t\t}, (config.global === true)),\n\t\t\t\tp = Plugin.prototype = new TweenPlugin(propName),\n\t\t\t\tprop;\n\t\t\tp.constructor = Plugin;\n\t\t\tPlugin.API = config.API;\n\t\t\tfor (prop in map) {\n\t\t\t\tif (typeof(config[prop]) === \"function\") {\n\t\t\t\t\tp[map[prop]] = config[prop];\n\t\t\t\t}\n\t\t\t}\n\t\t\tPlugin.version = config.version;\n\t\t\tTweenPlugin.activate([Plugin]);\n\t\t\treturn Plugin;\n\t\t};\n\n\n\t\t//now run through all the dependencies discovered and if any are missing, log that to the console as a warning. This is why it's best to have TweenLite load last - it can check all the dependencies for you.\n\t\ta = window._gsQueue;\n\t\tif (a) {\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\ta[i]();\n\t\t\t}\n\t\t\tfor (p in _defLookup) {\n\t\t\t\tif (!_defLookup[p].func) {\n\t\t\t\t\twindow.console.log(\"GSAP encountered missing dependency: \" + p);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_tickerActive = false; //ensures that the first official animation forces a ticker.tick() to update the time when it is instantiated\n\n})((typeof(module) !== \"undefined\" && module.exports && typeof(global) !== \"undefined\") ? global : this || window, \"TweenLite\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/gsap/TweenLite.js\n// module id = ../../../../gsap/TweenLite.js\n// module chunks = vendor","/**\n * @license\n * Lodash \n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.4';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n reLeadingDot = /^\\./,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading and trailing whitespace. */\n var reTrim = /^\\s+|\\s+$/g,\n reTrimStart = /^\\s+/,\n reTrimEnd = /\\s+$/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:(?:1st|2nd|3rd|(?![123])\\\\dth)\\\\b)',\n rsOrdUpper = '\\\\d*(?:(?:1ST|2ND|3RD|(?![123])\\\\dTH)\\\\b)',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Adds the key-value `pair` to `map`.\n *\n * @private\n * @param {Object} map The map to modify.\n * @param {Array} pair The key-value pair to add.\n * @returns {Object} Returns `map`.\n */\n function addMapEntry(map, pair) {\n // Don't return `map.set` because it's not chainable in IE 11.\n map.set(pair[0], pair[1]);\n return map;\n }\n\n /**\n * Adds `value` to `set`.\n *\n * @private\n * @param {Object} set The set to modify.\n * @param {*} value The value to add.\n * @returns {Object} Returns `set`.\n */\n function addSetEntry(set, value) {\n // Don't return `set.add` because it's not chainable in IE 11.\n set.add(value);\n return set;\n }\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, baseClone, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n if (isObject(srcValue)) {\n stack || (stack = new Stack);\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(object[key], srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = object[key],\n srcValue = source[key],\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n value = iteratee(value);\n\n var low = 0,\n high = array == null ? 0 : array.length,\n valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `map`.\n *\n * @private\n * @param {Object} map The map to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned map.\n */\n function cloneMap(map, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(mapToArray(map), CLONE_DEEP_FLAG) : mapToArray(map);\n return arrayReduce(array, addMapEntry, new map.constructor);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of `set`.\n *\n * @private\n * @param {Object} set The set to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned set.\n */\n function cloneSet(set, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set);\n return arrayReduce(array, addSetEntry, new set.constructor);\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, cloneFunc, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return cloneMap(object, isDeep, cloneFunc);\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return cloneSet(object, isDeep, cloneFunc);\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (reLeadingDot.test(string)) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(args) {\n args.push(undefined, customDefaultsAssignIn);\n return apply(assignInWith, undefined, args);\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': ' + + + diff --git a/kotlin-source/src/main/resources/loc/inline.bundle.js b/kotlin-source/src/main/resources/loc/inline.bundle.js new file mode 100644 index 0000000..c162cca --- /dev/null +++ b/kotlin-source/src/main/resources/loc/inline.bundle.js @@ -0,0 +1,151 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ var parentJsonpFunction = window["webpackJsonp"]; +/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = [], result; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ if(executeModules) { +/******/ for(i=0; i < executeModules.length; i++) { +/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]); +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // objects to store loaded and loading chunks +/******/ var installedChunks = { +/******/ "inline": 0 +/******/ }; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData === 0) { +/******/ return new Promise(function(resolve) { resolve(); }); +/******/ } +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ return installedChunkData[2]; +/******/ } +/******/ +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ installedChunkData[2] = promise; +/******/ +/******/ // start chunk loading +/******/ var head = document.getElementsByTagName('head')[0]; +/******/ var script = document.createElement('script'); +/******/ script.type = 'text/javascript'; +/******/ script.charset = 'utf-8'; +/******/ script.async = true; +/******/ script.timeout = 120000; +/******/ +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = __webpack_require__.p + "" + chunkId + ".chunk.js"; +/******/ var timeout = setTimeout(onScriptComplete, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ function onScriptComplete() { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ head.appendChild(script); +/******/ +/******/ return promise; +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ }) +/************************************************************************/ +/******/ ([]); +//# sourceMappingURL=inline.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/inline.bundle.js.map b/kotlin-source/src/main/resources/loc/inline.bundle.js.map new file mode 100644 index 0000000..fd24845 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/inline.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack/bootstrap bb841a99289026f97e20"],"names":[],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAQ,oBAAoB;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAY,2BAA2B;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kDAA0C,WAAW,EAAE;AACvD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA,kDAA0C,oBAAoB,WAAW","file":"inline.bundle.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t\"inline\": 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = 'text/javascript';\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"\" + chunkId + \".chunk.js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap bb841a99289026f97e20"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/main.bundle.js b/kotlin-source/src/main/resources/loc/main.bundle.js new file mode 100644 index 0000000..eda7136 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/main.bundle.js @@ -0,0 +1,5762 @@ +webpackJsonp(["main"],{ + +/***/ "../../../../../src/$$_gendir lazy recursive": +/***/ (function(module, exports) { + +function webpackEmptyAsyncContext(req) { + return new Promise(function(resolve, reject) { reject(new Error("Cannot find module '" + req + "'.")); }); +} +webpackEmptyAsyncContext.keys = function() { return []; }; +webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; +module.exports = webpackEmptyAsyncContext; +webpackEmptyAsyncContext.id = "../../../../../src/$$_gendir lazy recursive"; + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
Active
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
ApplicantBeneficiaryAmountDescriptionAdvisory PaidPayment from Buyer
\r\n {{loc.applicant}}\r\n \r\n {{loc.beneficiary}}\r\n \r\n {{loc.amount + \" \" + loc.currency}}\r\n \r\n {{loc.description}}\r\n \r\n {{loc.advisoryPaid}}\r\n \r\n {{loc.issuerPaid}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/active-loc/active-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ActiveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ActiveLocComponent = (function () { + function ActiveLocComponent(modalService, locService, refreshService, route) { + var _this = this; + this.modalService = modalService; + this.locService = locService; + this.refreshService = refreshService; + this.route = route; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + ActiveLocComponent.prototype.payAdvisory = function (id) { + var _this = this; + this.locService.payAdviser(id).then(function (response) { return _this.callResponse(response); }); + }; + ActiveLocComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString(); + }; + ActiveLocComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString(); + }; + ActiveLocComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_8__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + ActiveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ActiveLocComponent.prototype.update = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + }; + ActiveLocComponent.prototype.ngOnInit = function () { + this.update(); + }; + return ActiveLocComponent; +}()); +ActiveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'active-loc', + template: __webpack_require__("../../../../../src/app/active-loc/active-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/active-loc/active-loc.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_7__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__angular_router__["a" /* ActivatedRoute */]) === "function" && _d || Object]) +], ActiveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=active-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Invoices Submitted
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DateIdCounterpartyDescriptionQuantityUnit Price
\n {{invoice.invoiceDate | date}}\n \n {{invoice.invoiceId}}\n \n {{invoice.buyerName}}\n \n {{invoice.goodsDescription}}\n \n {{invoice.goodsQuantity}}\n \n {{invoice.goodsUnitPrice}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-invoice-seller/all-invoice-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllInvoiceSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AllInvoiceSellerComponent = (function () { + function AllInvoiceSellerComponent(docService, modalService, refreshService) { + var _this = this; + this.docService = docService; + this.modalService = modalService; + this.refreshService = refreshService; + this.invoices = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AllInvoiceSellerComponent.prototype.openInvoiceModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Invoice'; + this.bsModalRef.content.invoiceId = ref; + }; + AllInvoiceSellerComponent.prototype.update = function () { + var _this = this; + this.docService.getInvoices().then(function (invoices) { return _this.invoices = invoices; }); + }; + AllInvoiceSellerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AllInvoiceSellerComponent; +}()); +AllInvoiceSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-invoice-seller', + template: __webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AllInvoiceSellerComponent); + +var _a, _b, _c; +//# sourceMappingURL=all-invoice-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Invoices
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
DateIdCounterpartyDescriptionQuantityUnit Price
\n {{invoice.invoiceDate | date}}\n \n {{invoice.invoiceId}}\n \n {{invoice.sellerName}}\n \n {{invoice.goodsDescription}}\n \n {{invoice.goodsQuantity}}\n \n {{invoice.goodsUnitPrice}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-invoice/all-invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllInvoiceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AllInvoiceComponent = (function () { + function AllInvoiceComponent(docService, modalService) { + this.docService = docService; + this.modalService = modalService; + this.invoices = []; + } + AllInvoiceComponent.prototype.openModalWithComponent = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_apply_modal_component__["a" /* ApplyModalComponent */]); + this.bsModalRef.content.title = 'Apply'; + this.bsModalRef.content.id = ref; + }; + AllInvoiceComponent.prototype.openInvoiceModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Invoice'; + this.bsModalRef.content.invoiceId = ref; + }; + AllInvoiceComponent.prototype.ngOnInit = function () { + var _this = this; + this.docService.getInvoices().then(function (invoices) { return _this.invoices = invoices; }); + }; + return AllInvoiceComponent; +}()); +AllInvoiceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-invoice', + template: __webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.css")], + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], AllInvoiceComponent); + +var _a, _b; +//# sourceMappingURL=all-invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Letters of Credit
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
IdApplicantBeneficiaryAmountDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-advising/all-loc-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_docs_modal_component__ = __webpack_require__("../../../../../src/app/modals/docs-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var AllLocAdvisingComponent = (function () { + function AllLocAdvisingComponent(modalService, locService) { + this.modalService = modalService; + this.locService = locService; + this.locs = []; + } + AllLocAdvisingComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_docs_modal_component__["a" /* DocsModalComponent */]); + this.bsModalRef.content.title = 'Documents'; + }; + AllLocAdvisingComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + AllLocAdvisingComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + }; + AllLocAdvisingComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + }; + AllLocAdvisingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + AllLocAdvisingComponent.prototype.payBeneficiary = function (id) { + var _this = this; + this.locService.paySeller(id).then(function (response) { return _this.callResponse(response); }); + }; + AllLocAdvisingComponent.prototype.claimFunds = function (id) { + this.locService.claimFunds(id); + }; + AllLocAdvisingComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + }; + return AllLocAdvisingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocAdvisingComponent.prototype, "getAllUrl", void 0); +AllLocAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-advising', + template: __webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], AllLocAdvisingComponent); + +var _a, _b; +//# sourceMappingURL=all-loc-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Live Orders
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
IdApplicantBeneficiaryAmountDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-buyer/all-loc-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var AllLocBuyerComponent = (function () { + function AllLocBuyerComponent(modalService, locService, refreshService) { + var _this = this; + this.modalService = modalService; + this.locService = locService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AllLocBuyerComponent.prototype.openBol = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Bill of Lading'; + }; + AllLocBuyerComponent.prototype.openPackingList = function (id) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]); + this.bsModalRef.content.id = id; + this.bsModalRef.content.title = 'Packing List'; + }; + AllLocBuyerComponent.prototype.payIssuer = function (id) { + var _this = this; + this.locService.payIssuer(id).then(function (response) { return _this.callResponse(response); }); + }; + AllLocBuyerComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + AllLocBuyerComponent.prototype.update = function () { + var _this = this; + this.locService.getAllLocs().then(function (locs) { return _this.locs = locs; }); + }; + AllLocBuyerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AllLocBuyerComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocBuyerComponent.prototype, "getAllUrl", void 0); +AllLocBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-buyer', + template: __webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AllLocBuyerComponent); + +var _a, _b, _c; +//# sourceMappingURL=all-loc-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n Orders\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Order RefBuyerAdvising BankAmountQuantityDescriptionStatus
\n {{loc.orderRef}}\n \n {{loc.applicant}}\n \n {{loc.advisory}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.quantity}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n \n \n \n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc-seller/all-loc-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_ship_modal_component__ = __webpack_require__("../../../../../src/app/modals/ship-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var AllLocSellerComponent = (function () { + function AllLocSellerComponent(locService, modalService) { + this.locService = locService; + this.modalService = modalService; + this.locs = []; + } + /*shipGoods(loc: LocSummary): void { + if (confirm('Confirm you want to ship ' + loc.id)) { + this.locService.shipGoods(loc); + } + }*/ + AllLocSellerComponent.prototype.createInvoice = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]); + this.bsModalRef.content.title = 'Create'; + }; + AllLocSellerComponent.prototype.shipGoods = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_ship_modal_component__["a" /* ShipModalComponent */]); + this.bsModalRef.content.title = 'Upload trade documents'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.addBol = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_4__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]); + this.bsModalRef.content.title = 'Bill of Lading'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.addPl = function (loc) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]); + this.bsModalRef.content.title = 'Packing List'; + this.bsModalRef.content.locSummary = loc; + }; + AllLocSellerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_6__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit'; + this.bsModalRef.content.locId = ref; + }; + AllLocSellerComponent.prototype.rejectOrder = function (loc) { + }; + AllLocSellerComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getActiveLocs().then(function (locs) { return _this.locs = locs; }); + // this.locService.getDummySummary().then(locs => this.locs = locs); + }; + return AllLocSellerComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocSellerComponent.prototype, "getAllUrl", void 0); +AllLocSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc-seller', + template: __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], AllLocSellerComponent); + +var _a, _b; +//# sourceMappingURL=all-loc-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Letters of Credit
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/all-loc/all-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AllLocComponent = (function () { + function AllLocComponent(locService) { + this.locService = locService; + this.locs = []; + } + AllLocComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getAllLocApps(this.getAllUrl).then(function (locs) { return _this.locs = locs; }); + }; + return AllLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], AllLocComponent.prototype, "getAllUrl", void 0); +AllLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'all-loc', + template: __webpack_require__("../../../../../src/app/all-loc/all-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/all-loc/all-loc.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AllLocComponent); + +var _a; +//# sourceMappingURL=all-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/app-routing.module.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppRoutingModule; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__dashboard_issuer_dashboard_issuer_component__ = __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__dashboard_advising_dashboard_advising_component__ = __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__dashboard_buyer_dashboard_buyer_component__ = __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__dashboard_seller_dashboard_seller_component__ = __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__dashboard_overall_dashboard_overall_component__ = __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__active_loc_active_loc_component__ = __webpack_require__("../../../../../src/app/active-loc/active-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__apply_for_loc_apply_for_loc_component__ = __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__approve_loc_approve_loc_component__ = __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__bill_of_lading_bill_of_lading_component__ = __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__packing_list_packing_list_component__ = __webpack_require__("../../../../../src/app/packing-list/packing-list.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__ = __webpack_require__("../../../../../src/app/invoice-create/invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__ship_ship_component__ = __webpack_require__("../../../../../src/app/ship/ship.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__all_loc_seller_all_loc_seller_component__ = __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__login_login_component__ = __webpack_require__("../../../../../src/app/login/login.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__timeline_timeline_component__ = __webpack_require__("../../../../../src/app/timeline/timeline.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + + + + + + + + + + + + +var routes = [ + { path: '', redirectTo: '/login', pathMatch: 'full' }, + { path: 'dashboard', component: __WEBPACK_IMPORTED_MODULE_6__dashboard_overall_dashboard_overall_component__["a" /* DashboardOverallComponent */] }, + { path: 'approve/:id', component: __WEBPACK_IMPORTED_MODULE_9__approve_loc_approve_loc_component__["a" /* ApproveLocComponent */] }, + { path: 'activeloc', component: __WEBPACK_IMPORTED_MODULE_7__active_loc_active_loc_component__["a" /* ActiveLocComponent */] }, + { path: 'buyer', component: __WEBPACK_IMPORTED_MODULE_4__dashboard_buyer_dashboard_buyer_component__["a" /* DashboardBuyerComponent */] }, + { path: 'seller', component: __WEBPACK_IMPORTED_MODULE_5__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */] }, + { path: 'issuing', component: __WEBPACK_IMPORTED_MODULE_2__dashboard_issuer_dashboard_issuer_component__["a" /* DashboardIssuerComponent */] }, + { path: 'advising', component: __WEBPACK_IMPORTED_MODULE_3__dashboard_advising_dashboard_advising_component__["a" /* DashboardAdvisingComponent */] }, + { path: 'applyforloc', component: __WEBPACK_IMPORTED_MODULE_8__apply_for_loc_apply_for_loc_component__["a" /* ApplyForLocComponent */] }, + { path: 'billoflading', component: __WEBPACK_IMPORTED_MODULE_10__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */] }, + { path: 'packinglist', component: __WEBPACK_IMPORTED_MODULE_11__packing_list_packing_list_component__["a" /* PackingListComponent */] }, + { path: 'invoice', component: __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */] }, + { path: 'invoice/:id', component: __WEBPACK_IMPORTED_MODULE_12__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */] }, + { path: 'ship/:id', component: __WEBPACK_IMPORTED_MODULE_13__ship_ship_component__["a" /* ShipComponent */] }, + { path: 'locsummary/:first', component: __WEBPACK_IMPORTED_MODULE_14__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */] }, + { path: 'login', component: __WEBPACK_IMPORTED_MODULE_15__login_login_component__["a" /* LoginComponent */] }, + { path: '**', component: __WEBPACK_IMPORTED_MODULE_15__login_login_component__["a" /* LoginComponent */] }, + { path: 'test', component: __WEBPACK_IMPORTED_MODULE_16__timeline_timeline_component__["a" /* TimelineComponent */] }, + { path: 'corda', component: __WEBPACK_IMPORTED_MODULE_5__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */] }, +]; +var AppRoutingModule = (function () { + function AppRoutingModule() { + } + return AppRoutingModule; +}()); +AppRoutingModule = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"])({ + imports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["b" /* RouterModule */].forRoot(routes)], + exports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["b" /* RouterModule */]] + }) +], AppRoutingModule); + +//# sourceMappingURL=app-routing.module.js.map + +/***/ }), + +/***/ "../../../../../src/app/app.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/app.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/app.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var AppComponent = (function () { + function AppComponent() { + this.title = 'Trade Finance'; + } + return AppComponent; +}()); +AppComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'my-app', + template: __webpack_require__("../../../../../src/app/app.component.html"), + styles: [__webpack_require__("../../../../../src/app/app.component.scss")] + }) +], AppComponent); + +//# sourceMappingURL=app.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/app.module.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__("../../../platform-browser/@angular/platform-browser.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser_animations__ = __webpack_require__("../../../platform-browser/@angular/platform-browser/animations.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__("../../../forms/@angular/forms.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_routing_module__ = __webpack_require__("../../../../../src/app/app-routing.module.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_angular_in_memory_web_api__ = __webpack_require__("../../../../angular-in-memory-web-api/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__in_memory_data_service__ = __webpack_require__("../../../../../src/app/in-memory-data.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__app_component__ = __webpack_require__("../../../../../src/app/app.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__active_loc_active_loc_component__ = __webpack_require__("../../../../../src/app/active-loc/active-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__apply_for_loc_apply_for_loc_component__ = __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__services_issuing_bank_service__ = __webpack_require__("../../../../../src/app/services/issuing-bank.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__services_advising_bank_service__ = __webpack_require__("../../../../../src/app/services/advising-bank.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__ = __webpack_require__("../../../../../src/app/main-menu/main-menu.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__header_header_component__ = __webpack_require__("../../../../../src/app/header/header.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__ = __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__ = __webpack_require__("../../../../ngx-bootstrap/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__helpers_date_picker_date_picker_component__ = __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__ = __webpack_require__("../../../../../src/app/modals/docs-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__ = __webpack_require__("../../../../../src/app/modals/ship-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__finances_finances_component__ = __webpack_require__("../../../../../src/app/finances/finances.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__cash_balance_cash_balance_component__ = __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38_ng2_charts__ = __webpack_require__("../../../../ng2-charts/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38_ng2_charts___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_38_ng2_charts__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__all_loc_all_loc_component__ = __webpack_require__("../../../../../src/app/all-loc/all-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__ = __webpack_require__("../../../../../src/app/all-loc-seller/all-loc-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__approve_loc_approve_loc_component__ = __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__ = __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__ = __webpack_require__("../../../../../src/app/packing-list/packing-list.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__invoice_create_invoice_component__ = __webpack_require__("../../../../../src/app/invoice-create/invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__invoice_view_invoice_view_component__ = __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__dashboard_issuer_dashboard_issuer_component__ = __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__dashboard_advising_dashboard_advising_component__ = __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__dashboard_buyer_dashboard_buyer_component__ = __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__ = __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__dashboard_overall_dashboard_overall_component__ = __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__ship_ship_component__ = __webpack_require__("../../../../../src/app/ship/ship.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__goods_shipped_goods_shipped_component__ = __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__ = __webpack_require__("../../../../../src/app/all-loc-buyer/all-loc-buyer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__docs_docs_component__ = __webpack_require__("../../../../../src/app/docs/docs.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__all_loc_advising_all_loc_advising_component__ = __webpack_require__("../../../../../src/app/all-loc-advising/all-loc-advising.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__document_upload_document_upload_component__ = __webpack_require__("../../../../../src/app/document-upload/document-upload.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__ = __webpack_require__("../../../../../src/app/all-invoice/all-invoice.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__all_invoice_seller_all_invoice_seller_component__ = __webpack_require__("../../../../../src/app/all-invoice-seller/all-invoice-seller.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__loc_state_view_loc_state_view_component__ = __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__loc_app_view_loc_app_view_component__ = __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__awaiting_approval_issuer_awaiting_approval_issuer_component__ = __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__spinner_spinner_component__ = __webpack_require__("../../../../../src/app/spinner/spinner.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__bill_of_lading_view_bill_of_lading_view_component__ = __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__packing_list_view_packing_list_view_component__ = __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__login_login_component__ = __webpack_require__("../../../../../src/app/login/login.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__comma_seperated_number_pipe__ = __webpack_require__("../../../../../src/app/comma-seperated-number.pipe.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__services_identity_service__ = __webpack_require__("../../../../../src/app/services/identity.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69_ng2_odometer__ = __webpack_require__("../../../../ng2-odometer/dist/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69_ng2_odometer___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_69_ng2_odometer__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__timeline_timeline_component__ = __webpack_require__("../../../../../src/app/timeline/timeline.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + +// Imports for loading & configuring the in-memory web api + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +var AppModule = (function () { + function AppModule() { + } + return AppModule; +}()); +AppModule = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"])({ + imports: [ + __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */], + __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */], + __WEBPACK_IMPORTED_MODULE_3__angular_forms__["a" /* FormsModule */], + __WEBPACK_IMPORTED_MODULE_4__angular_http__["e" /* HttpModule */], + __WEBPACK_IMPORTED_MODULE_6_angular_in_memory_web_api__["a" /* InMemoryWebApiModule */].forRoot(__WEBPACK_IMPORTED_MODULE_7__in_memory_data_service__["a" /* InMemoryDataService */], { + passThruUnknownUrl: true + }), + __WEBPACK_IMPORTED_MODULE_5__app_routing_module__["a" /* AppRoutingModule */], + __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__["a" /* DatepickerModule */].forRoot(), + __WEBPACK_IMPORTED_MODULE_21_ngx_bootstrap__["b" /* ModalModule */].forRoot(), + __WEBPACK_IMPORTED_MODULE_38_ng2_charts__["ChartsModule"], + __WEBPACK_IMPORTED_MODULE_69_ng2_odometer__["Ng2OdometerModule"].forRoot() + ], + declarations: [ + __WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */], + __WEBPACK_IMPORTED_MODULE_10__active_loc_active_loc_component__["a" /* ActiveLocComponent */], + __WEBPACK_IMPORTED_MODULE_11__apply_for_loc_apply_for_loc_component__["a" /* ApplyForLocComponent */], + __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__["a" /* MainMenuComponent */], + __WEBPACK_IMPORTED_MODULE_19__header_header_component__["a" /* HeaderComponent */], + __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__["a" /* AwaitingApprovalComponent */], + __WEBPACK_IMPORTED_MODULE_36__finances_finances_component__["a" /* FinancesComponent */], + __WEBPACK_IMPORTED_MODULE_22__helpers_date_picker_date_picker_component__["a" /* DatePickerComponent */], + __WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__["a" /* ApplyModalComponent */], + __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__["a" /* DocsModalComponent */], + __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__["a" /* ShipModalComponent */], + __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */], + __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */], + __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], + __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], + __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], + __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */], + __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */], + __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__["a" /* ResponseModalComponent */], + __WEBPACK_IMPORTED_MODULE_37__cash_balance_cash_balance_component__["a" /* CashBalanceComponent */], + __WEBPACK_IMPORTED_MODULE_39__all_loc_all_loc_component__["a" /* AllLocComponent */], + __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */], + __WEBPACK_IMPORTED_MODULE_41__approve_loc_approve_loc_component__["a" /* ApproveLocComponent */], + __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */], + __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__["a" /* PackingListComponent */], + __WEBPACK_IMPORTED_MODULE_44__invoice_create_invoice_component__["a" /* InvoiceCreateComponent */], + __WEBPACK_IMPORTED_MODULE_45__invoice_view_invoice_view_component__["a" /* InvoiceViewComponent */], + __WEBPACK_IMPORTED_MODULE_46__dashboard_issuer_dashboard_issuer_component__["a" /* DashboardIssuerComponent */], + __WEBPACK_IMPORTED_MODULE_47__dashboard_advising_dashboard_advising_component__["a" /* DashboardAdvisingComponent */], + __WEBPACK_IMPORTED_MODULE_48__dashboard_buyer_dashboard_buyer_component__["a" /* DashboardBuyerComponent */], + __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */], + __WEBPACK_IMPORTED_MODULE_50__dashboard_overall_dashboard_overall_component__["a" /* DashboardOverallComponent */], + __WEBPACK_IMPORTED_MODULE_51__ship_ship_component__["a" /* ShipComponent */], + __WEBPACK_IMPORTED_MODULE_52__goods_shipped_goods_shipped_component__["a" /* GoodsShippedComponent */], + __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__["a" /* AllLocBuyerComponent */], + __WEBPACK_IMPORTED_MODULE_54__docs_docs_component__["a" /* DocsComponent */], + __WEBPACK_IMPORTED_MODULE_55__all_loc_advising_all_loc_advising_component__["a" /* AllLocAdvisingComponent */], + __WEBPACK_IMPORTED_MODULE_56__document_upload_document_upload_component__["a" /* DocumentUploadComponent */], + __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__["FileSelectDirective"], + __WEBPACK_IMPORTED_MODULE_57_ng2_file_upload__["FileDropDirective"], + __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__["a" /* AllInvoiceComponent */], + __WEBPACK_IMPORTED_MODULE_59__all_invoice_seller_all_invoice_seller_component__["a" /* AllInvoiceSellerComponent */], + __WEBPACK_IMPORTED_MODULE_60__loc_state_view_loc_state_view_component__["a" /* LocStateViewComponent */], + __WEBPACK_IMPORTED_MODULE_61__loc_app_view_loc_app_view_component__["a" /* LocAppViewComponent */], + __WEBPACK_IMPORTED_MODULE_62__awaiting_approval_issuer_awaiting_approval_issuer_component__["a" /* AwaitingApprovalIssuerComponent */], + __WEBPACK_IMPORTED_MODULE_63__spinner_spinner_component__["a" /* SpinnerComponent */], + __WEBPACK_IMPORTED_MODULE_64__bill_of_lading_view_bill_of_lading_view_component__["a" /* BillOfLadingViewComponent */], + __WEBPACK_IMPORTED_MODULE_65__packing_list_view_packing_list_view_component__["a" /* PackingListViewComponent */], + __WEBPACK_IMPORTED_MODULE_66__login_login_component__["a" /* LoginComponent */], + __WEBPACK_IMPORTED_MODULE_67__comma_seperated_number_pipe__["a" /* CommaSeperatedNumberPipe */], + __WEBPACK_IMPORTED_MODULE_70__timeline_timeline_component__["a" /* TimelineComponent */], + __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */] + ], + providers: [ + __WEBPACK_IMPORTED_MODULE_12__loc_service__["a" /* LocService */], + __WEBPACK_IMPORTED_MODULE_13__services_docs_service__["a" /* DocsService */], + __WEBPACK_IMPORTED_MODULE_14__services_credit_types_credit_type_service__["a" /* CreditTypeService */], + __WEBPACK_IMPORTED_MODULE_15__services_common_common_service__["a" /* CommonService */], + __WEBPACK_IMPORTED_MODULE_16__services_issuing_bank_service__["a" /* IssuingBankService */], + __WEBPACK_IMPORTED_MODULE_17__services_advising_bank_service__["a" /* AdvisingBankService */], + __WEBPACK_IMPORTED_MODULE_8__services_refresh_service__["a" /* RefreshService */], + __WEBPACK_IMPORTED_MODULE_68__services_identity_service__["a" /* IdentityService */] + ], + entryComponents: [__WEBPACK_IMPORTED_MODULE_23__modals_apply_modal_component__["a" /* ApplyModalComponent */], __WEBPACK_IMPORTED_MODULE_24__modals_docs_modal_component__["a" /* DocsModalComponent */], __WEBPACK_IMPORTED_MODULE_25__modals_ship_modal_component__["a" /* ShipModalComponent */], __WEBPACK_IMPORTED_MODULE_26__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */], + __WEBPACK_IMPORTED_MODULE_27__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */], __WEBPACK_IMPORTED_MODULE_28__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */], __WEBPACK_IMPORTED_MODULE_35__modals_response_modal_component__["a" /* ResponseModalComponent */], __WEBPACK_IMPORTED_MODULE_29__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */], + __WEBPACK_IMPORTED_MODULE_30__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], __WEBPACK_IMPORTED_MODULE_31__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */], __WEBPACK_IMPORTED_MODULE_32__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], + __WEBPACK_IMPORTED_MODULE_34__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */], __WEBPACK_IMPORTED_MODULE_33__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */], __WEBPACK_IMPORTED_MODULE_71__modals_view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */], + __WEBPACK_IMPORTED_MODULE_18__main_menu_main_menu_component__["a" /* MainMenuComponent */], __WEBPACK_IMPORTED_MODULE_53__all_loc_buyer_all_loc_buyer_component__["a" /* AllLocBuyerComponent */], __WEBPACK_IMPORTED_MODULE_40__all_loc_seller_all_loc_seller_component__["a" /* AllLocSellerComponent */], __WEBPACK_IMPORTED_MODULE_49__dashboard_seller_dashboard_seller_component__["a" /* DashboardSellerComponent */], + __WEBPACK_IMPORTED_MODULE_58__all_invoice_all_invoice_component__["a" /* AllInvoiceComponent */], __WEBPACK_IMPORTED_MODULE_20__awaiting_approval_awaiting_approval_component__["a" /* AwaitingApprovalComponent */], __WEBPACK_IMPORTED_MODULE_42__bill_of_lading_bill_of_lading_component__["a" /* BillOfLadingComponent */], __WEBPACK_IMPORTED_MODULE_43__packing_list_packing_list_component__["a" /* PackingListComponent */]], + bootstrap: [__WEBPACK_IMPORTED_MODULE_9__app_component__["a" /* AppComponent */]] + }) +], AppModule); + +//# sourceMappingURL=app.module.js.map + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".ng-valid[required], .ng-valid.required {\r\n border-left: 5px solid #42A948; /* green */\r\n}\r\n\r\n.ng-invalid:not(form) {\r\n border-left: 5px solid #a94442; /* red */\r\n}\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n\n
\n
\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n
\n
\n\n
\n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n
\n\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n\n
\n \n \n\n
\n \n \n \n \n
\n
\n\n
\n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/apply-for-loc/apply-for-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyForLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc__ = __webpack_require__("../../../../../src/app/loc.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__ = __webpack_require__("../../../../../src/app/services/credit-types/credit-type.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js__ = __webpack_require__("../../../../../src/assets/modal.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__assets_modal_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__assets_modal_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + +var ApplyForLocComponent = (function () { + function ApplyForLocComponent(creditTypesService, commonService, locService, modalComponent, modalService) { + this.creditTypesService = creditTypesService; + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.today = Date.now(); + this.loc = new __WEBPACK_IMPORTED_MODULE_1__loc__["a" /* Loc */](); + this.submitted = false; + } + ApplyForLocComponent.prototype.getCreditTypes = function () { + var _this = this; + this.creditTypesService.getCreditTypes().then(function (creditTypes) { return _this.creditTypes = creditTypes; }); + }; + ApplyForLocComponent.prototype.getCurrencies = function () { + var _this = this; + this.commonService.getCurrencies().then(function (currencies) { return _this.currencies = currencies; }); + }; + ApplyForLocComponent.prototype.getWeightUnits = function () { + var _this = this; + this.commonService.getWeightUnits().then(function (weightunits) { return _this.weightunits = weightunits; }); + }; + ApplyForLocComponent.prototype.getAdvisingBanks = function () { + var _this = this; + this.locService.getPeers().then(function (advisingBanks) { return _this.advisingBanks = advisingBanks; }); + }; + ApplyForLocComponent.prototype.getMe = function () { + var _this = this; + this.locService.getMe('').then(function (me) { return _this.applicant = me.name; }); + }; + ApplyForLocComponent.prototype.createLoc = function () { + var _this = this; + this.locService.createLoc(this.loc).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApplyForLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_7__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApplyForLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApplyForLocComponent.prototype.autoComplete = function () { + var d = new Date(); + this.loc.applicationDate = d; + this.loc.applicationId = this.orderRef[0]; + this.loc.typeCredit = 'SIGHT'; + this.loc.amount = 30000; + this.loc.issuer = 'Issuing'; + this.loc.currency = 'USD'; + var year = d.getFullYear() + 1; + var month = d.getMonth(); + var day = d.getDay(); + this.loc.expiryDate = new Date(year, month, day); + this.loc.portLoadingAddress = '1 Silicon Way'; + this.loc.portLoadingCity = 'San Francisco'; + this.loc.portLoadingCountry = 'US'; + this.loc.portDischargeAddress = '3 Sea Way'; + this.loc.portDischargeCity = 'Dover'; + this.loc.portDischargeCountry = 'UK'; + this.loc.goodsDescription = 'OLED 6" Screens'; + this.loc.goodsQuantity = 10000; + this.loc.goodsWeight = 1000; + this.loc.goodsWeightUnit = 'KG'; + this.loc.goodsUnitPrice = 400; + this.loc.goodsPurchaseOrderRef = this.orderRef[0]; + this.loc.placePresentationCountry = 'UK'; + this.loc.placePresentationCity = 'Dover'; + this.loc.placePresentationState = 'Dover'; + this.loc.lastShipmentDate = this.loc.expiryDate; + this.loc.periodPresentation = 1; + this.loc.beneficiary = 'Seller'; + this.loc.applicant = this.applicant; + this.loc.advisingBank = 'Advising'; + }; + ApplyForLocComponent.prototype.ngOnInit = function () { + this.getCreditTypes(); + this.getCurrencies(); + this.getWeightUnits(); + this.getAdvisingBanks(); + this.getMe(); + this.loc.applicant = this.applicant; + this.loc.applicationId = this.orderRef; + }; + ApplyForLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.loc.currency = 'USD'; + this.createLoc(); + }; + return ApplyForLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApplyForLocComponent.prototype, "orderRef", void 0); +ApplyForLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'apply-for-loc', + template: __webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/apply-for-loc/apply-for-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */], __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */], __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_credit_types_credit_type_service__["a" /* CreditTypeService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_common_common_service__["a" /* CommonService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__loc_service__["a" /* LocService */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_5__modals_apply_modal_component__["a" /* ApplyModalComponent */]) === "function" && _d || Object, typeof (_e = typeof __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _e || Object]) +], ApplyForLocComponent); + +var _a, _b, _c, _d, _e; +//# sourceMappingURL=apply-for-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/approve-loc/approve-loc.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var ApproveLocComponent = (function () { + function ApproveLocComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + ApproveLocComponent.prototype.approveLoc = function () { + var _this = this; + this.locService.approveLoc(this.loc.txRef).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + ApproveLocComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */], Object.assign({}, { class: 'gray' })); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + ApproveLocComponent.prototype.close = function () { + this.modalComponent.close(); + }; + ApproveLocComponent.prototype.onSubmit = function () { + this.submitted = true; + this.approveLoc(); + }; + ApproveLocComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return ApproveLocComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], ApproveLocComponent.prototype, "ref", void 0); +ApproveLocComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'approve-loc', + template: __webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.html"), + styles: [__webpack_require__("../../../../../src/app/approve-loc/approve-loc.component.css")], + providers: [__WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], ApproveLocComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=approve-loc.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\n min-height: 250px; }\n\nbody {\n font: 25px Oswald; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__ = __webpack_require__("../../../../../src/app/modals/approve-loc-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalIssuerComponent = (function () { + function AwaitingApprovalIssuerComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalIssuerComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_approve_loc_modal_component__["a" /* ApproveLocModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Approval'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalIssuerComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocsIssuer().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalIssuerComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalIssuerComponent; +}()); +AwaitingApprovalIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval-issuer', + template: __webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalIssuerComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n\r\nbody {\r\n font:25px Oswald;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Applications awaiting approval
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantBeneficiaryAmountDescription
\n {{loc.applicant}}\n \n {{loc.beneficiary}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/awaiting-approval/awaiting-approval.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwaitingApprovalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var AwaitingApprovalComponent = (function () { + function AwaitingApprovalComponent(locService, modalService, refreshService) { + var _this = this; + this.locService = locService; + this.modalService = modalService; + this.refreshService = refreshService; + this.locs = []; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.update(); + }); + } + AwaitingApprovalComponent.prototype.openLocModal = function (ref) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Letter of Credit Application'; + this.bsModalRef.content.locId = ref; + this.bsModalRef.content.readOnly = true; + }; + AwaitingApprovalComponent.prototype.update = function () { + var _this = this; + this.locService.getAwaitingApprovalLocs().then(function (locs) { return _this.locs = locs; }); + }; + AwaitingApprovalComponent.prototype.ngOnInit = function () { + this.update(); + }; + return AwaitingApprovalComponent; +}()); +AwaitingApprovalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'awaiting-approval', + template: __webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.html"), + styles: [__webpack_require__("../../../../../src/app/awaiting-approval/awaiting-approval.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], AwaitingApprovalComponent); + +var _a, _b, _c; +//# sourceMappingURL=awaiting-approval.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n\n
\n
\n \n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var BillOfLadingViewComponent = (function () { + function BillOfLadingViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + BillOfLadingViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBol(this.id, this.requestor).then(function (bol) { return _this.bol = bol; }); + } + }; + return BillOfLadingViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], BillOfLadingViewComponent.prototype, "requestor", void 0); +BillOfLadingViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading-view', + template: __webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_bol_modal_component__["a" /* ViewBolModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], BillOfLadingViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=bill-of-lading-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n \n
\n \n \n \n
\n
\n\n
\n \n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/bill-of-lading/bill-of-lading.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BillOfLadingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-bol-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var BillOfLadingComponent = (function () { + function BillOfLadingComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.bol = new __WEBPACK_IMPORTED_MODULE_1__bol__["a" /* Bol */](); + this.submitted = false; + } + BillOfLadingComponent.prototype.createBol = function () { + var _this = this; + this.bol.advisingBank = this.loc[0].advisory; + this.bol.issuingBank = this.loc[0].issuer; + this.docsService.createBol(this.bol).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + BillOfLadingComponent.prototype.autoComplete = function () { + var d = new Date(); + this.bol.billOfLadingId = this.loc[0].orderRef; + this.bol.issueDate = d; + this.bol.carrierOwner = 'Alice'; + this.bol.nameOfVessel = 'SurfRider'; + this.bol.goodsDescription = this.loc[0].description; + this.bol.goodsQuantity = 10000; + this.bol.dateOfShipment = d; + this.bol.portOfLoadingCountry = 'China'; + this.bol.portOfLoadingCity = 'Beijing'; + this.bol.portOfLoadingAddress = '123 Street'; + this.bol.portOfDischargeCountry = 'USA'; + this.bol.portOfDischargeCity = 'Des Moines'; + this.bol.portOfDischargeAddress = 'ABC Street'; + this.bol.shipper = this.loc[0].beneficiary; + this.bol.notifyName = 'Foo Bar'; + this.bol.notifyAddress = '123 Street, London'; + this.bol.notifyPhone = '+442076909856'; + this.bol.consigneeName = this.loc[0].applicant; + this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.bol.consigneePhone = '+0027590043622'; + this.bol.grossWeight = 1000; + this.bol.grossWeightUnit = 'KG'; + this.bol.placeOfReceiptCountry = 'USA'; + this.bol.placeOfReceiptCity = 'Des Moines'; + this.bol.buyer = this.bol.consigneeName; + this.bol.advisingBank = this.loc[0].advisingBank; + }; + BillOfLadingComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + BillOfLadingComponent.prototype.close = function () { + this.modalComponent.close(); + }; + BillOfLadingComponent.prototype.ngOnInit = function () { + }; + BillOfLadingComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createBol(); + }; + return BillOfLadingComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], BillOfLadingComponent.prototype, "loc", void 0); +BillOfLadingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'bill-of-lading', + template: __webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.html"), + styles: [__webpack_require__("../../../../../src/app/bill-of-lading/bill-of-lading.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_bol_modal_component__["a" /* CreateBolModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], BillOfLadingComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=bill-of-lading.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol-events.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BolEvents; }); +var BolEvents = (function () { + function BolEvents() { + this.dict = []; + } + BolEvents.prototype.deserialize = function (input) { + var _this = this; + input.forEach(function (element) { + _this.dict.push({ + key: element.first, + value: element.second + }); + }); + return this; + }; + return BolEvents; +}()); + +//# sourceMappingURL=bol-events.js.map + +/***/ }), + +/***/ "../../../../../src/app/bol.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Bol; }); +var Bol = (function () { + function Bol() { + } + Bol.prototype.deserialize = function (input) { + this.owner = input.owner; + this.billOfLadingId = input.props.billOfLadingID; + this.issueDate = input.props.issueDate; + this.carrierOwner = input.props.carrierOwner; + this.nameOfVessel = input.props.nameOfVessel; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.dateOfShipment = input.props.dateOfShipment; + this.portOfLoadingCountry = input.props.portOfLoading.country; + this.portOfLoadingCity = input.props.portOfLoading.city; + this.portOfLoadingAddress = input.props.portOfLoading.address; + this.portOfDischargeCountry = input.props.portOfDischarge.country; + this.portOfDischargeCity = input.props.portOfDischarge.city; + this.portOfDischargeAddress = input.props.portOfDischarge.address; + this.shipper = input.props.carrierOwner; + this.notifyName = input.props.notify.name; + this.notifyAddress = input.props.notify.address; + this.notifyPhone = input.props.notify.phone; + this.consigneeName = input.props.consignee.name; + this.consigneeAddress = input.props.consignee.address; + this.consigneePhone = input.props.consignee.phone; + this.grossWeight = input.props.grossWeight.quantity; + this.grossWeightUnit = input.props.grossWeight.unit; + this.placeOfReceiptCountry = input.props.placeOfReceipt.country; + this.placeOfReceiptCity = input.props.placeOfReceipt.city; + this.buyer = input.beneficiary; + return this; + }; + return Bol; +}()); + +//# sourceMappingURL=bol.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "div {\r\n font-family: oswald !important;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n\n
CurrencyAmount
{{cashBalances.currency}}\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/cash-balance/cash-balance.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CashBalanceComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var CashBalanceComponent = (function () { + function CashBalanceComponent(locService, route, refreshService) { + var _this = this; + this.locService = locService; + this.route = route; + this.refreshService = refreshService; + refreshService.missionConfirmed$.subscribe(function (result) { + _this.getCashBalances(); + }); + } + CashBalanceComponent.prototype.getCashBalances = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getCashBalances(id).then(function (cashBalances) { return _this.cashBalances = cashBalances; }); + }; + CashBalanceComponent.prototype.ngOnInit = function () { + this.getCashBalances(); + }; + return CashBalanceComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], CashBalanceComponent.prototype, "node", void 0); +CashBalanceComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'cash-balance', + template: __webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.html"), + styles: [__webpack_require__("../../../../../src/app/cash-balance/cash-balance.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__services_refresh_service__["a" /* RefreshService */]) === "function" && _c || Object]) +], CashBalanceComponent); + +var _a, _b, _c; +//# sourceMappingURL=cash-balance.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/cash.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Cash; }); +var Cash = (function () { + function Cash() { + } + Cash.prototype.deserialize = function (input) { + var temp = input.USD; + this.currency = Object.keys(input)[0]; + this.amount = temp.substring(0, temp.length - 7); + return this; + }; + return Cash; +}()); + +//# sourceMappingURL=cash.js.map + +/***/ }), + +/***/ "../../../../../src/app/claim-fund.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ClaimFund; }); +var ClaimFund = (function () { + function ClaimFund(ref, party) { + this.ref = ref; + this.party = party; + } + return ClaimFund; +}()); + +//# sourceMappingURL=claim-fund.js.map + +/***/ }), + +/***/ "../../../../../src/app/comma-seperated-number.pipe.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommaSeperatedNumberPipe; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var CommaSeperatedNumberPipe = (function () { + function CommaSeperatedNumberPipe() { + } + CommaSeperatedNumberPipe.prototype.transform = function (value, args) { + return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); + }; + return CommaSeperatedNumberPipe; +}()); +CommaSeperatedNumberPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Pipe"])({ + name: 'comma-seperated-number' + }) +], CommaSeperatedNumberPipe); + +//# sourceMappingURL=comma-seperated-number.pipe.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-advising/dashboard-advising.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardAdvisingComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardAdvisingComponent = (function () { + function DashboardAdvisingComponent() { + } + DashboardAdvisingComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardAdvisingComponent; +}()); +DashboardAdvisingComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-advising', + template: __webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-advising/dashboard-advising.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardAdvisingComponent); + +//# sourceMappingURL=dashboard-advising.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\r\n background-color: black;\r\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\r\n background-repeat: repeat;\r\n color: white;\r\n font-family: 'Oswald', sans-serif;\r\n letter-spacing: .2rem;\r\n margin: 0;\r\n overflow: hidden;\r\n -webkit-perspective: 1000px;\r\n perspective: 1000px;\r\n text-transform: uppercase;\r\n}\r\n.site-wrap {\r\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.site-wrap.show-all {\r\n -webkit-transform: rotateY(-15deg) scale(0.2);\r\n transform: rotateY(-15deg) scale(0.2);\r\n}\r\n.panel-wrap {\r\n height: 100vh;\r\n width: 100vw;\r\n}\r\nh1 {\r\n font-size: 20vmin;\r\n margin: 0;\r\n}\r\n.panel-wrap {\r\n -webkit-perspective: 2000px;\r\n perspective: 2000px;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n}\r\n.panel-wrap.animate--shrink,\r\n.panel-wrap.animate--tilt,\r\n.panel-wrap.animate--tilt2 {\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\r\n}\r\n.panel {\r\n height: 100vh;\r\n position: absolute;\r\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100vw;\r\n will-change: transform;\r\n}\r\n.panel:before {\r\n background-color: transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: 0;\r\n pointer-events: none;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n z-index: 2;\r\n}\r\n.show-all .panel:before {\r\n pointer-events: all;\r\n}\r\n.show-all .panel:hover:before {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n cursor: pointer;\r\n}\r\n.animate--shrink.animate .panel {\r\n -webkit-transform: scale(0.9);\r\n transform: scale(0.9);\r\n}\r\n.animate--tilt.animate .panel {\r\n -webkit-transform: scale(0.6) rotateY(-25deg);\r\n transform: scale(0.6) rotateY(-25deg);\r\n}\r\n.animate--tilt2.animate .panel {\r\n -webkit-transform: scale(0.8) rotateX(25deg);\r\n transform: scale(0.8) rotateX(25deg);\r\n}\r\n.panel h1 {\r\n cursor: default;\r\n left: 50%;\r\n line-height: 1;\r\n position: absolute;\r\n text-align: center;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%);\r\n transform: translateX(-50%) translateY(-50%);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel[data-x-pos=\"-2\"] {\r\n left: -200%;\r\n}\r\n.panel[data-x-pos=\"-1\"] {\r\n left: -100%;\r\n}\r\n.panel[data-x-pos=\"1\"] {\r\n left: 100%;\r\n}\r\n.panel[data-x-pos=\"2\"] {\r\n left: 200%;\r\n}\r\n.panel[data-y-pos=\"-2\"] {\r\n top: 200%;\r\n}\r\n.panel[data-y-pos=\"-1\"] {\r\n top: 100%;\r\n}\r\n.panel[data-y-pos=\"1\"] {\r\n top: -100%;\r\n}\r\n.panel[data-y-pos=\"2\"] {\r\n top: -200%;\r\n}\r\n.panel__zoom {\r\n cursor: pointer;\r\n left: 50%;\r\n opacity: .2;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n z-index: 10;\r\n}\r\n.panel__zoom:hover {\r\n opacity: 1;\r\n}\r\n.show-all .panel__zoom {\r\n pointer-events: none;\r\n}\r\n.panel__nav {\r\n cursor: pointer;\r\n opacity: .2;\r\n position: absolute;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n will-change: opacity;\r\n}\r\n.panel__nav--up {\r\n left: 50%;\r\n top: 1rem;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav--left {\r\n left: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\r\n -webkit-transform-origin: top left;\r\n transform-origin: top left;\r\n}\r\n.panel__nav--left-top {\r\n left: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--left-down {\r\n bottom: 1rem;\r\n left: 1rem;\r\n}\r\n.panel__nav--right {\r\n right: 1rem;\r\n top: 50%;\r\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n transform: translateY(-50%) rotate(90deg) translateX(100%);\r\n -webkit-transform-origin: top right;\r\n transform-origin: top right;\r\n}\r\n.panel__nav--right-top {\r\n right: 1rem;\r\n top: 1rem;\r\n}\r\n.panel__nav--right-down {\r\n bottom: 1rem;\r\n right: 1rem;\r\n}\r\n.panel__nav--down {\r\n bottom: 1rem;\r\n left: 50%;\r\n -webkit-transform: translateX(-50%);\r\n transform: translateX(-50%);\r\n}\r\n.panel__nav:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list {\r\n font-size: 3.3vmin;\r\n left: 50%;\r\n position: absolute;\r\n top: 50%;\r\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\r\n}\r\n.panel__animation-list span {\r\n cursor: pointer;\r\n display: inline-block;\r\n opacity: .2;\r\n position: relative;\r\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n.panel__animation-list span:after {\r\n border-bottom: .3vmin solid transparent;\r\n bottom: 0;\r\n content: \"\";\r\n left: -1px;\r\n position: absolute;\r\n right: 0;\r\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\r\n width: 100%;\r\n}\r\n.panel__animation-list span.active,\r\n.panel__animation-list span:hover {\r\n opacity: 1;\r\n}\r\n.panel__animation-list span.active:after,\r\n.panel__animation-list span:hover:after {\r\n border-color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n
\n
\n\n\n
\n \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-buyer/dashboard-buyer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardBuyerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__ = __webpack_require__("../../../../../src/app/modals/apply-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var DashboardBuyerComponent = (function () { + function DashboardBuyerComponent(modalService) { + this.modalService = modalService; + } + DashboardBuyerComponent.prototype.openModalWithComponent = function () { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_2__modals_apply_modal_component__["a" /* ApplyModalComponent */], Object.assign({}, { class: 'gray modal-lg' })); + this.bsModalRef.content.title = 'Apply'; + }; + DashboardBuyerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardBuyerComponent; +}()); +DashboardBuyerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-buyer', + template: __webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardBuyerComponent); + +var _a; +//# sourceMappingURL=dashboard-buyer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-issuer/dashboard-issuer.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardIssuerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardIssuerComponent = (function () { + function DashboardIssuerComponent() { + } + DashboardIssuerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardIssuerComponent; +}()); +DashboardIssuerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-issuer', + template: __webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardIssuerComponent); + +//# sourceMappingURL=dashboard-issuer.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-overall/dashboard-overall.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardOverallComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DashboardOverallComponent = (function () { + function DashboardOverallComponent() { + } + DashboardOverallComponent.prototype.ngOnInit = function () { + }; + return DashboardOverallComponent; +}()); +DashboardOverallComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-overall', + template: __webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-overall/dashboard-overall.component.css")] + }), + __metadata("design:paramtypes", []) +], DashboardOverallComponent); + +//# sourceMappingURL=dashboard-overall.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/dashboard-seller/dashboard-seller.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DashboardSellerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DashboardSellerComponent = (function () { + function DashboardSellerComponent(modalService) { + this.modalService = modalService; + } + DashboardSellerComponent.prototype.ngOnInit = function () { + $('.panel').addClass('module'); + }; + return DashboardSellerComponent; +}()); +DashboardSellerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'dashboard-seller', + template: __webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.html"), + styles: [__webpack_require__("../../../../../src/app/dashboard-seller/dashboard-seller.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object]) +], DashboardSellerComponent); + +var _a; +//# sourceMappingURL=dashboard-seller.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/docs/docs.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var DocsComponent = (function () { + function DocsComponent() { + } + DocsComponent.prototype.ngOnInit = function () { + }; + return DocsComponent; +}()); +DocsComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'docs', + template: __webpack_require__("../../../../../src/app/docs/docs.component.html"), + styles: [__webpack_require__("../../../../../src/app/docs/docs.component.css")] + }), + __metadata("design:paramtypes", []) +], DocsComponent); + +//# sourceMappingURL=docs.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.html": +/***/ (function(module, exports) { + +module.exports = "\n\n
\n\n
\n\n
\n\n

Select files

\n\n
\n Drop zone\n
\n\n
\n\n
\n
\n\n
\n\n
\n

Queue length: {{ uploader?.queue?.length }}

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n\n
\n
\n Queue progress:\n
\n
\n
\n
\n \n \n \n
\n\n
\n\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/document-upload/document-upload.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocumentUploadComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__ = __webpack_require__("../../../../ng2-file-upload/ng2-file-upload.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocumentUploadComponent = (function () { + function DocumentUploadComponent() { + this.URL = 'http://localhost:10016/api/loc/get-loc'; + this.uploader = new __WEBPACK_IMPORTED_MODULE_1_ng2_file_upload_ng2_file_upload__["FileUploader"]({ url: this.URL }); + this.hasBaseDropZoneOver = false; + this.hasAnotherDropZoneOver = false; + } + DocumentUploadComponent.prototype.fileOverBase = function (e) { + this.hasBaseDropZoneOver = e; + }; + DocumentUploadComponent.prototype.fileOverAnother = function (e) { + this.hasAnotherDropZoneOver = e; + }; + DocumentUploadComponent.prototype.ngOnInit = function () { + }; + return DocumentUploadComponent; +}()); +DocumentUploadComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'document-upload', + template: __webpack_require__("../../../../../src/app/document-upload/document-upload.component.html"), + styles: [__webpack_require__("../../../../../src/app/document-upload/document-upload.component.css")] + }), + __metadata("design:paramtypes", []) +], DocumentUploadComponent); + +//# sourceMappingURL=document-upload.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".panel-body {\r\n min-height: 250px;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.html": +/***/ (function(module, exports) { + +module.exports = "\n
\n
Finances
\n
\n
\n \n
\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/finances/finances.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FinancesComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var FinancesComponent = (function () { + function FinancesComponent(locService) { + this.locService = locService; + this.stats = new __WEBPACK_IMPORTED_MODULE_1__stats__["a" /* Stats */](); + // Pie + this.pieChartLabels = ['Awaiting Approval', 'Active', 'Awaiting Payment']; + this.pieChartData = [1, 1, 1]; + this.pieChartType = 'pie'; + this.barChartOptions = { + scaleShowVerticalLines: false, + responsive: true + }; + this.barChartLabels = ['2015', '2016', '2017']; + this.barChartType = 'bar'; + this.barChartLegend = true; + this.barChartData = [ + { data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired' }, + { data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected' } + ]; + } + // events + FinancesComponent.prototype.chartClicked = function (e) { + console.log(e); + }; + FinancesComponent.prototype.chartHovered = function (e) { + console.log(e); + }; + FinancesComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getStats().then(function (stats) { return _this.stats = stats; }); + }; + return FinancesComponent; +}()); +FinancesComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'finances', + template: __webpack_require__("../../../../../src/app/finances/finances.component.html"), + styles: [__webpack_require__("../../../../../src/app/finances/finances.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], FinancesComponent); + +var _a; +//# sourceMappingURL=finances.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
Goods Shipped
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ApplicantAmountDescriptionStatusPayment Received
\n {{loc.applicant}}\n \n {{loc.amount + \" \" + loc.currency}}\n \n {{loc.description}}\n \n {{loc.status}}\n \n {{loc.advisingPayment}}\n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/goods-shipped/goods-shipped.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoodsShippedComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var GoodsShippedComponent = (function () { + function GoodsShippedComponent(locService) { + this.locService = locService; + this.locs = []; + } + GoodsShippedComponent.prototype.ngOnInit = function () { + var _this = this; + this.locService.getDummySummary().then(function (locs) { return _this.locs = locs; }); + }; + return GoodsShippedComponent; +}()); +GoodsShippedComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'goods-shipped', + template: __webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.html"), + styles: [__webpack_require__("../../../../../src/app/goods-shipped/goods-shipped.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], GoodsShippedComponent); + +var _a; +//# sourceMappingURL=goods-shipped.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "#h3 {\r\n color: white;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n\n
\n \n
\n\n
\n

{{me}} | Port: {{port}}

\n
\n\n
\n \n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/header/header.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var HeaderComponent = (function () { + function HeaderComponent(locService, route) { + this.locService = locService; + this.route = route; + this.cordaImage = 'assets/corda.png'; + } + HeaderComponent.prototype.getMe = function () { + var _this = this; + var id = this.route.snapshot.url[0].toString(); + this.locService.getMe(id).then(function (me) { return _this.me = me.name; }); + }; + HeaderComponent.prototype.getPort = function () { + var id = this.route.snapshot.url[0].toString(); + this.port = this.locService.getPort(id); + }; + HeaderComponent.prototype.ngOnInit = function () { + this.getMe(); + this.getPort(); + }; + return HeaderComponent; +}()); +HeaderComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'header', + template: __webpack_require__("../../../../../src/app/header/header.component.html"), + styles: [__webpack_require__("../../../../../src/app/header/header.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], HeaderComponent); + +var _a, _b; +//# sourceMappingURL=header.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.html": +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "../../../../../src/app/helpers/date-picker/date-picker.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatePickerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var DatePickerComponent = (function () { + function DatePickerComponent() { + this.bsRangeValue = [new Date(2017, 7, 4), new Date(2017, 7, 20)]; + } + return DatePickerComponent; +}()); +DatePickerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'date-picker', + template: __webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.html"), + styles: [__webpack_require__("../../../../../src/app/helpers/date-picker/date-picker.component.css")] + }) +], DatePickerComponent); + +//# sourceMappingURL=date-picker.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/in-memory-data.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InMemoryDataService; }); +var InMemoryDataService = (function () { + function InMemoryDataService() { + } + InMemoryDataService.prototype.createDb = function () { + var locs = [ + { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit', + amount: 5, currency: 'USD', + expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London', + portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio', + portDischargeAddress: 'Stade de Brazil', + goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1, + goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio', + placePresentationCity: 'Rio', + lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5, + beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' } + ]; + var locsummary = [ + { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD', + description: 'Mock product', status: 'Approved' } + }, + { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD', + description: 'Mock product2', status: 'Approved' } + }, + { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD', + description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + }, + { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD', + description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false, + buyerPayment: false } + } + ]; + return { + locs: locs, + locsummary: locsummary + }; + }; + return InMemoryDataService; +}()); + +//# sourceMappingURL=in-memory-data.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n \n
\n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n\n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-create/invoice.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceCreateComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + +var InvoiceCreateComponent = (function () { + function InvoiceCreateComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.inv = new __WEBPACK_IMPORTED_MODULE_1__invoice__["a" /* Invoice */](); + this.submitted = false; + } + InvoiceCreateComponent.prototype.createInvoice = function () { + var _this = this; + this.docsService.createInvoice(this.inv).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + InvoiceCreateComponent.prototype.autoComplete = function () { + var d = new Date(); + this.inv.invoiceDate = d, + this.inv.invoiceId = Math.round(Math.random() * 1000000).toString(); + this.inv.sellerName = 'Seller', + this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111', + this.inv.buyerName = 'Buyer', + this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222', + this.inv.term = 5, + this.inv.goodsDescription = 'OLED 6" Screens', + this.inv.goodsPurchaseOrderRef = 'Mock1', + this.inv.goodsQuantity = 10000, + this.inv.goodsUnitPrice = 3, + this.inv.goodsGrossWeight = 30; + }; + InvoiceCreateComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceCreateComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + InvoiceCreateComponent.prototype.ngOnInit = function () { + }; + InvoiceCreateComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createInvoice(); + }; + return InvoiceCreateComponent; +}()); +InvoiceCreateComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'create-invoice', + template: __webpack_require__("../../../../../src/app/invoice-create/invoice.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-create/invoice.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_invoice_modal_component__["a" /* CreateInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceCreateComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/invoice-view/invoice-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InvoiceViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-invoice-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var InvoiceViewComponent = (function () { + function InvoiceViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + InvoiceViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + InvoiceViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.docsService.getInvoice(this.ref).then(function (invoice) { return _this.inv = invoice; }); + } + }; + return InvoiceViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], InvoiceViewComponent.prototype, "ref", void 0); +InvoiceViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'invoice-view', + template: __webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/invoice-view/invoice-view.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_invoice_modal_component__["a" /* ViewInvoiceModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], InvoiceViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=invoice-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/invoice.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Invoice; }); +var Invoice = (function () { + function Invoice() { + } + Invoice.prototype.deserialize = function (input) { + this.invoiceDate = input.props.invoiceDate; + this.invoiceId = input.props.invoiceID; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.term = input.props.term; + this.goodsDescription = input.props.goods[0].description; + this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef; + this.goodsQuantity = input.props.goods[0].quantity; + this.goodsUnitPrice = input.props.goods[0].unitPrice; + this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit; + this.assigned = input.assigned; + return this; + }; + return Invoice; +}()); + +//# sourceMappingURL=invoice.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-app-view/loc-app-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocAppViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-app-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var LocAppViewComponent = (function () { + function LocAppViewComponent(locService, modalComponent, modalService) { + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + LocAppViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocAppViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLocApp(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocAppViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocAppViewComponent.prototype, "ref", void 0); +LocAppViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-app-view', + template: __webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-app-view/loc-app-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_app_modal_component__["a" /* ViewLocAppModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], LocAppViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=loc-app-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateSummary; }); +var LocStateSummary = (function () { + function LocStateSummary() { + } + LocStateSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiaryPaid = input.second.beneficiaryPaid; + this.advisoryPaid = input.second.advisoryPaid; + this.issuerPaid = input.second.issuerPaid; + this.issued = input.second.issued; + this.terminated = input.second.terminated; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.advisory = input.second.advisoryBank; + this.issuer = input.second.issuingBank; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.quantity = input.second.quantity; + this.orderRef = input.second.purchaseOrderRef; + this.description = input.second.description; + this.status = input.second.status; + return this; + }; + return LocStateSummary; +}()); + +//# sourceMappingURL=loc-state-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n \n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n
\n
\n\n
\n
\n
\n\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n\n\n
\n \n
\n
\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/loc-state-view/loc-state-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocStateViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__ = __webpack_require__("../../../../../src/app/services/common/common.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-loc-state-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + +var LocStateViewComponent = (function () { + function LocStateViewComponent(commonService, locService, modalComponent, modalService) { + this.commonService = commonService; + this.locService = locService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.submitted = false; + } + LocStateViewComponent.prototype.close = function () { + this.modalComponent.close(); + }; + LocStateViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.ref[0] !== undefined) { + this.locService.getLoc(this.ref).then(function (loc) { return _this.loc = loc; }); + } + }; + return LocStateViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], LocStateViewComponent.prototype, "ref", void 0); +LocStateViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'loc-state-view', + template: __webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/loc-state-view/loc-state-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_common_common_service__["a" /* CommonService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_service__["a" /* LocService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_view_loc_state_modal_component__["a" /* ViewLocStateModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], LocStateViewComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=loc-state-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc-summary.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocSummary; }); +var LocSummary = (function () { + function LocSummary() { + } + LocSummary.prototype.deserialize = function (input) { + this.id = input.first; + this.beneficiary = input.second.beneficiary; + this.applicant = input.second.applicant; + this.amount = input.second.amount; + this.currency = input.second.currency; + this.description = input.second.description; + this.orderRef = input.second.purchaseOrderRef; + this.status = input.second.status; + this.advisingPayment = input.second.advisingPayment; + this.issuingPayment = input.second.issuingPayment; + this.buyerPayment = input.second.buyerPayment; + return this; + }; + return LocSummary; +}()); + +//# sourceMappingURL=loc-summary.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LocService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__claim_fund__ = __webpack_require__("../../../../../src/app/claim-fund.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cash__ = __webpack_require__("../../../../../src/app/cash.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__stats__ = __webpack_require__("../../../../../src/app/stats.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + + + +var LocService = (function () { + function LocService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + // mock data + this.mockSummary = 'api/locsummary'; + this.meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc'; + this.getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval'; + this.awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc'; + this.approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc'; + this.statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats'; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances'; + this.cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances'; + this.cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances'; + this.cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances'; + this.allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'; + this.allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app'; + this.allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all'; + this.allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all'; + this.claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds'; + this.paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller'; + this.payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser'; + this.payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + LocService.prototype.getLocApp = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocAppUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getLoc = function (id) { + var trimmedId = id[0]; + trimmedId = trimmedId.substring(0, trimmedId.length - 3); + var url = this.getLocUrl + "?ref=" + trimmedId; + return this.http.get(url) + .toPromise() + .then(function (response) { return response.json(); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocApps = function (node) { + var _this = this; + var getAllUrl; + switch (node) { + case 'advising': + getAllUrl = this.allLocUrlAdviser; + break; + case 'buyer': + getAllUrl = this.allLocAppUrlBuyer; + break; + case 'seller': + getAllUrl = this.allLocUrlSeller; + break; + case 'issuer': + getAllUrl = this.allLocAppUrlIssuer; + break; + default: + break; + } + return this.http.get(getAllUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocs = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingApprovalLocsIssuer = function () { + var _this = this; + return this.http.get(this.awaitingApprovalLocUrlIssuer) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocsApps = function () { + var _this = this; + return this.http.get(this.activeLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getActiveLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocStateSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAllLocs = function () { + var _this = this; + return this.http.get(this.allLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getAwaitingPaymentLocs = function () { + var _this = this; + return this.http.get(this.awaitingPaymentLocUrl) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getCashBalances = function (node) { + var url; + switch (node) { + case 'buyer': + url = this.cashBalancesBuyerUrl; + break; + case 'seller': + url = this.cashBalancesSellerUrl; + break; + case 'issuing': + url = this.cashBalancesIssuerUrl; + break; + case 'advising': + url = this.cashBalancesAdvisoryUrl; + break; + default: + url = this.cashBalancesIssuerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__cash__["a" /* Cash */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getMe = function (id) { + var url; + switch (id) { + case 'buyer': + url = this.meBuyerUrl; + break; + case 'seller': + url = this.meSellerUrl; + break; + case 'issuing': + url = this.meIssueUrl; + break; + case 'advising': + url = this.meAdvisoryUrl; + break; + default: + url = this.meBuyerUrl; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getPort = function (id) { + var port; + switch (id) { + case 'buyer': + port = this.buyer; + break; + case 'seller': + port = this.seller; + break; + case 'issuing': + port = this.issuer; + break; + case 'advising': + port = this.advisory; + break; + default: + port = 0; + break; + } + return port; + }; + LocService.prototype.getPeers = function () { + var _this = this; + return this.http.get(this.peersUrl) + .toPromise() + .then(function (response) { return _this.createPartyArray(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.getStats = function () { + return this.http.get(this.statsUrl) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_7__stats__["a" /* Stats */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + LocService.prototype.createLoc = function (loc) { + return this.http + .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().deserialize(res.json()).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.approveLoc = function (ref) { + var url = this.approveLocUrl + "?ref=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.paySeller = function (ref) { + var url = this.paySellerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payAdviser = function (ref) { + var url = this.payAdvisoryUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.payIssuer = function (ref) { + var url = this.payIssuerUrl + "?locId=" + ref; + return this.http.get(url) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(this.handleError); + }; + LocService.prototype.claimFunds = function (ref) { + var _this = this; + this.getMe('issuing').then(function (result) { + var claimFund = new __WEBPACK_IMPORTED_MODULE_4__claim_fund__["a" /* ClaimFund */](ref, result.name); + _this.http.post(_this.claimFundsUrl, JSON.stringify(claimFund), { headers: _this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_8__tx__["a" /* Tx */]().text(res).txResponse; }) + .catch(_this.handleError); + }); + }; + LocService.prototype.createPartyArray = function (input) { + var parties = new Array(); + input.peers.forEach(function (element) { + var party = new __WEBPACK_IMPORTED_MODULE_6__party__["a" /* Party */]().deserializeName(element); + parties.push(party); + }); + return parties; + }; + LocService.prototype.createLocSummaryArray = function (input) { + var locSummaries = new Array(); + input.forEach(function (element) { + var locSummary = new __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]().deserialize(element); + locSummaries.push(locSummary); + }); + return locSummaries; + }; + LocService.prototype.createLocStateSummaryArray = function (input) { + var locStateSummaries = new Array(); + input.forEach(function (element) { + var locStateSummary = new __WEBPACK_IMPORTED_MODULE_3__loc_state_summary__["a" /* LocStateSummary */]().deserialize(element); + locStateSummaries.push(locStateSummary); + }); + return locStateSummaries; + }; + LocService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + /// MOCK DATA STUFF + LocService.prototype.getDummySummary = function () { + var _this = this; + return this.http.get(this.mockSummary) + .toPromise() + .then(function (response) { return _this.createLocSummaryArray(response.json().data); }) + .catch(this.handleError); + }; + LocService.prototype.shipGoods = function (loc) { + var url = this.mockSummary + "/" + loc.id; + loc.status = 'Shipped'; + return this.http + .put(url, JSON.stringify(loc), { headers: this.headers }) + .toPromise() + .then(function () { return loc; }) + .catch(this.handleError); + }; + return LocService; +}()); +LocService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], LocService); + +var _a; +//# sourceMappingURL=loc.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/loc.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Loc; }); +var Loc = (function () { + function Loc() { + } + return Loc; +}()); + +//# sourceMappingURL=loc.js.map + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "html {\r\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\r\n background-size: cover;\r\n overflow: hidden;\r\n}\r\n\r\nimg{\r\n display: block;\r\n margin: auto;\r\n width: 100%;\r\n height: auto;\r\n}\r\n\r\n#login-button{\r\n cursor: pointer;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n padding: 30px;\r\n margin: auto;\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50%;\r\n background: rgba(3,3,3,.8);\r\n overflow: hidden;\r\n opacity: 0.6;\r\n box-shadow: 10px 10px 30px #000;}\r\n\r\n/* Login container */\r\n#container{\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n margin: auto;\r\n width: 260px;\r\n height: 260px;\r\n border-radius: 5px;\r\n background: rgba(3,3,3,0.25);\r\n box-shadow: 1px 1px 50px #000;\r\n display: none;\r\n}\r\n\r\n.close-btn{\r\n position: absolute;\r\n cursor: pointer;\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n line-height: 18px;\r\n top: 3px;\r\n right: 3px;\r\n width: 20px;\r\n height: 20px;\r\n text-align: center;\r\n border-radius: 10px;\r\n opacity: .2;\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\n.close-btn:hover{\r\n opacity: .5;\r\n}\r\n\r\n/* Heading */\r\nh1{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n position: relative;\r\n margin-top: 0px;\r\n text-align: center;\r\n font-size: 40px;\r\n color: #ddd;\r\n text-shadow: 3px 3px 10px #000;\r\n}\r\n\r\n/* Inputs */\r\na,\r\ninput{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-decoration: none;\r\n position: relative;\r\n width: 80%;\r\n display: block;\r\n margin: 9px auto;\r\n font-size: 17px;\r\n color: #fff;\r\n padding: 8px;\r\n border-radius: 6px;\r\n border: none;\r\n background: rgba(3,3,3,.1);\r\n transition: all 0.2s ease-in-out;\r\n}\r\n\r\ninput:focus{\r\n outline: none;\r\n box-shadow: 3px 3px 10px #333;\r\n background: rgba(3,3,3,.18);\r\n}\r\n\r\n/* Placeholders */\r\n::-webkit-input-placeholder {\r\n color: #ddd; }\r\n:-moz-placeholder { /* Firefox 18- */\r\n color: red; }\r\n::-moz-placeholder { /* Firefox 19+ */\r\n color: red; }\r\n:-ms-input-placeholder {\r\n color: #333; }\r\n\r\n/* Link */\r\na{\r\n font-family: 'Open Sans Condensed', sans-serif;\r\n text-align: center;\r\n padding: 4px 8px;\r\n background: rgba(107,255,3,0.3);\r\n}\r\n\r\na:hover{\r\n opacity: 0.7;\r\n}\r\n\r\n#remember-container{\r\n position: relative;\r\n margin: -5px 20px;\r\n}\r\n\r\n.checkbox {\r\n position: relative;\r\n cursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tpadding: 5px;\r\n\tborder-radius: 4px;\r\n background: rgba(3,3,3,.2);\r\n\tdisplay: inline-block;\r\n width: 16px;\r\n height: 15px;\r\n}\r\n\r\n.checkbox:checked:active {\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\r\n}\r\n\r\n.checkbox:checked {\r\n background: rgba(3,3,3,.4);\r\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\r\n\tcolor: #fff;\r\n}\r\n\r\n.checkbox:checked:after {\r\n\tcontent: '\\2714';\r\n\tfont-size: 10px;\r\n\tposition: absolute;\r\n\ttop: 0px;\r\n\tleft: 4px;\r\n\tcolor: #fff;\r\n}\r\n\r\n#remember{\r\n position: absolute;\r\n font-size: 13px;\r\n font-family: 'Hind', sans-serif;\r\n color: rgba(255,255,255,.5);\r\n top: 7px;\r\n left: 20px;\r\n}\r\n\r\n.orange-btn{\r\n background: rgba(87,198,255,.5);\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Log In

\r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n Log in\r\n
\r\n \r\n Remember me\r\n
\r\n
\r\n
\r\n" + +/***/ }), + +/***/ "../../../../../src/app/login/login.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__ = __webpack_require__("../../../../gsap/TweenLite.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var LoginComponent = (function () { + function LoginComponent() { + } + LoginComponent.prototype.ngAfterViewInit = function () { + $('#login-button').click(function () { + $('#login-button').fadeOut('slow', function () { + $('#container').fadeIn(); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + }); + $('#logo').animate({ 'width': '40%', 'height': '40%' }, 1000); + }); + $('.close-btn').click(function () { + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["from"]('#container', .4, { scale: 1, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["to"]('#container', .4, { left: '0px', scale: 0, ease: __WEBPACK_IMPORTED_MODULE_1__node_modules_gsap_TweenLite_js__["easeInOut"] }); + $('#container, #forgotten-container').fadeOut(800, function () { + $('#login-button').fadeIn(800); + }); + $('#logo').animate({ 'width': '100%', 'height': '100%' }, 1000); + }); + /* Forgotten Password */ + $('#forgotten').click(function () { + $('#container').fadeOut(function () { + $('#forgotten-container').fadeIn(); + }); + }); + }; + LoginComponent.prototype.ngOnInit = function () { + }; + return LoginComponent; +}()); +LoginComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'app-login', + template: __webpack_require__("../../../../../src/app/login/login.component.html"), + styles: [__webpack_require__("../../../../../src/app/login/login.component.css")] + }), + __metadata("design:paramtypes", []) +], LoginComponent); + +//# sourceMappingURL=login.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, ".main-menu {\r\n /*background-color: #343436;*/\r\n padding: 15px;\r\n max-width: 200px;\r\n}\r\n\r\n.hype {\r\n border-radius: 999em;\r\n border: 1px solid #ccaaaa;\r\n -webkit-filter:blur(3px);\r\n filter:blur(3px);\r\n color: white;\r\n background: #fff;\r\n outline: none;\r\n width: 70px;\r\n height: 70px;\r\n font-size: 12px;\r\n display: inline-block;\r\n text-transform:uppercase;\r\n cursor: pointer;\r\n box-sizing: border-box;\r\n}\r\n\r\n.hype {\r\n position: relative;\r\n}\r\n.hype::before, .hype::after {\r\n content: '';\r\n position: absolute;\r\n box-sizing: border-box;\r\n border-radius: 999em;\r\n}\r\n.hype::after {\r\n top: 0;\r\n left: 0;\r\n z-index: 1;\r\n width: 70px;\r\n height: 70px;\r\n border: 1px solid #229999;\r\n filter:blur(2px);\r\n -webkit-filter:blur(1px);\r\n}\r\n.hype::before {\r\n z-index: -1;\r\n width: 70px;\r\n height: 70px;\r\n/* background: inherit; */\r\n opacity: .6;\r\n top: 0;\r\n left: 0;\r\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\r\n animation: pluse .6s ease-in-out 0s infinite alternate;\r\n}\r\n.hype:hover::after {\r\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\r\n animation: pulse-ring 1.5s ease-out 0s infinite;\r\n}\r\n@-webkit-keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@keyframes pluse {\r\n 0% {\r\n -webkit-transform: scale(1.4, 1.4);\r\n transform: scale(1.4, 1.4);\r\n }\r\n 50% {\r\n -webkit-transform: scale(1.6, 1.6);\r\n transform: scale(1.6, 1.6);\r\n }\r\n 100% {\r\n -webkit-transform: scale(1.5, 1.5);\r\n transform: scale(1.5, 1.5);\r\n }\r\n}\r\n@-webkit-keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n@keyframes pulse-ring {\r\n 0% {\r\n -webkit-transform: scale(0, 0);\r\n transform: scale(0, 0);\r\n }\r\n 100% {\r\n -webkit-transform: scale(2, 2);\r\n transform: scale(2, 2);\r\n opacity: 0;\r\n }\r\n}\r\n\r\n.btn {\r\n border-radius: 28px;\r\n font-family: Arial;\r\n color: #ffffff;\r\n font-size: 16px;\r\n background: #ff0000;\r\n padding: 10px 20px 10px 20px;\r\n text-decoration: none;\r\n min-width: 170px;\r\n margin-bottom: 25px;\r\n}\r\n.btn:hover {\r\n background: #fa5757;\r\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\r\n text-decoration: none;\r\n}\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.html": +/***/ (function(module, exports) { + +module.exports = "\n" + +/***/ }), + +/***/ "../../../../../src/app/main-menu/main-menu.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MainMenuComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/@angular/router.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var MainMenuComponent = (function () { + function MainMenuComponent(modalService, route) { + this.modalService = modalService; + this.route = route; + } + MainMenuComponent.prototype.ngOnInit = function () { + var current = this.route.snapshot.url[0].toString(); + switch (current) { + case 'buyer': + this.buyer = 'btn-info'; + break; + case 'issuing': + this.issuing = 'btn-info'; + break; + case 'advising': + this.advising = 'btn-info'; + break; + case 'seller': + this.seller = 'btn-info'; + break; + case 'dashboard': + this.dashboard = 'btn-info'; + break; + } + }; + return MainMenuComponent; +}()); +MainMenuComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'main-menu', + template: __webpack_require__("../../../../../src/app/main-menu/main-menu.component.html"), + styles: [__webpack_require__("../../../../../src/app/main-menu/main-menu.component.css")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* ActivatedRoute */]) === "function" && _b || Object]) +], MainMenuComponent); + +var _a, _b; +//# sourceMappingURL=main-menu.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/apply-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplyModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApplyModalComponent = (function () { + function ApplyModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApplyModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApplyModalComponent; +}()); +ApplyModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApplyModalComponent); + +var _a; +//# sourceMappingURL=apply-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/approve-loc-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApproveLocModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ApproveLocModalComponent = (function () { + function ApproveLocModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ApproveLocModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ApproveLocModalComponent; +}()); +ApproveLocModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ApproveLocModalComponent); + +var _a; +//# sourceMappingURL=approve-loc-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateBolModalComponent = (function () { + function CreateBolModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateBolModalComponent; +}()); +CreateBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateBolModalComponent); + +var _a; +//# sourceMappingURL=create-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreateInvoiceModalComponent = (function () { + function CreateInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreateInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreateInvoiceModalComponent; +}()); +CreateInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreateInvoiceModalComponent); + +var _a; +//# sourceMappingURL=create-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/create-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreatePlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var CreatePlModalComponent = (function () { + function CreatePlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + CreatePlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return CreatePlModalComponent; +}()); +CreatePlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], CreatePlModalComponent); + +var _a; +//# sourceMappingURL=create-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/docs-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var DocsModalComponent = (function () { + function DocsModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + DocsModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return DocsModalComponent; +}()); +DocsModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], DocsModalComponent); + +var _a; +//# sourceMappingURL=docs-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports +exports.push([module.i, "@import url(https://fonts.googleapis.com/css?family=Open+Sans);", ""]); + +// module +exports.push([module.i, ".modal-content {\r\n background-color: #000 !important;\r\n font-family: \"Open Sans\", Impact;\r\n}\r\n\r\n.svg {\r\n height: 200px;\r\n}\r\n\r\n.area {\r\n text-align: center;\r\n font-size: 2.5em;\r\n color: #fff;\r\n letter-spacing: -7px;\r\n font-weight: 700;\r\n text-transform: uppercase;\r\n -webkit-animation: blur 1s ease-out 5;\r\n animation: blur 1s ease-out 5;\r\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\r\n}\r\n\r\n@-webkit-keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n@keyframes blur {\r\n from {\r\n text-shadow:0px 0px 10px #fff,\r\n 0px 0px 10px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 25px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #fff,\r\n 0px 0px 50px #7B96B8,\r\n 0px 0px 150px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px 10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8,\r\n 0px -10px 100px #7B96B8;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/modal.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "/*dark background to support form theme*/\n.modal-main {\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\n\n/*sass variables used*/\n/*site container*/\n.wrapper {\n width: 420px;\n height: 200px;\n margin: 0 auto; }\n\nh1 {\n text-align: center;\n padding: 30px 0px 0px 0px;\n font: 25px Oswald;\n color: #FFF;\n text-transform: uppercase;\n text-shadow: #000 0px 1px 5px;\n margin: 0px; }\n\np {\n font: 13px Open Sans;\n color: #6E6E6E;\n text-shadow: #000 0px 1px 5px;\n margin-bottom: 30px; }\n\n.name-help, .email-help {\n display: none;\n padding: 0px;\n margin: 0px 0px 15px 0px; }\n\n.optimize {\n position: fixed;\n right: 3%;\n top: 0px; }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/modals/response-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ResponseModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__ = __webpack_require__("../../../../../src/app/services/refresh.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__ = __webpack_require__("../../../../rxjs/Rx.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ResponseModalComponent = (function () { + function ResponseModalComponent(bsModalRef, refreshService) { + this.bsModalRef = bsModalRef; + this.refreshService = refreshService; + } + ResponseModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + ResponseModalComponent.prototype.updateMessage = function (text) { + this.message = text; + }; + ResponseModalComponent.prototype.ngOnInit = function () { + var _this = this; + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(500).subscribe(function (t) { _this.updateMessage('Running'); }); + // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') }) + // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') }) + // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') }) + // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') }) + // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) }) + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.close(); }); + __WEBPACK_IMPORTED_MODULE_3_rxjs_Rx__["Observable"].timer(1200).subscribe(function (t) { _this.refreshService.confirmMission(); }); + }; + return ResponseModalComponent; +}()); +ResponseModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.css")], + template: "\n\n
\n \n
\n
\n
\n \n \n \n \n \n {{message}}\n \n \n \n
\n\n\n
\n" + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_refresh_service__["a" /* RefreshService */]) === "function" && _b || Object]) +], ResponseModalComponent); + +var _a, _b; +//# sourceMappingURL=response-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal-nested.html": +/***/ (function(module, exports) { + +module.exports = "
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n" + +/***/ }), + +/***/ "../../../../../src/app/modals/ship-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ShipModalComponent = (function () { + function ShipModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ShipModalComponent.prototype.openModal = function (template) { + this.modalRef = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.openModal2 = function (template) { + this.modalRef2 = this.modalService.show(template, { class: 'second' }); + }; + ShipModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ShipModalComponent; +}()); +ShipModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + template: __webpack_require__("../../../../../src/app/modals/ship-modal-nested.html") + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ShipModalComponent); + +var _a, _b; +//# sourceMappingURL=ship-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-bol-timeline-modal.component.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ViewBolModalComponent = (function () { + function ViewBolModalComponent(bsModalRef, modalService) { + this.bsModalRef = bsModalRef; + this.modalService = modalService; + } + ViewBolModalComponent.prototype.openModal2 = function () { + this.modalRef2 = this.modalService.show(__WEBPACK_IMPORTED_MODULE_3__view_bol_timeline_modal_component__["a" /* ViewBolTimelineModalComponent */]); + this.modalRef2.content.id = this.id; + this.modalRef2.content.requestor = this.requestor; + }; + ViewBolModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolModalComponent; +}()); +ViewBolModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _b || Object]) +], ViewBolModalComponent); + +var _a, _b; +//# sourceMappingURL=view-bol-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-bol-timeline-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewBolTimelineModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewBolTimelineModalComponent = (function () { + function ViewBolTimelineModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewBolTimelineModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewBolTimelineModalComponent; +}()); +ViewBolTimelineModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewBolTimelineModalComponent); + +var _a; +//# sourceMappingURL=view-bol-timeline-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-invoice-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewInvoiceModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewInvoiceModalComponent = (function () { + function ViewInvoiceModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewInvoiceModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewInvoiceModalComponent; +}()); +ViewInvoiceModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewInvoiceModalComponent); + +var _a; +//# sourceMappingURL=view-invoice-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-app-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocAppModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocAppModalComponent = (function () { + function ViewLocAppModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocAppModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocAppModalComponent; +}()); +ViewLocAppModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocAppModalComponent); + +var _a; +//# sourceMappingURL=view-loc-app-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-loc-state-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewLocStateModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewLocStateModalComponent = (function () { + function ViewLocStateModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewLocStateModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewLocStateModalComponent; +}()); +ViewLocStateModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewLocStateModalComponent); + +var _a; +//# sourceMappingURL=view-loc-state-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/modals/view-pl-modal.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ViewPlModalComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__ = __webpack_require__("../../../../ngx-bootstrap/modal/modal-options.class.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var ViewPlModalComponent = (function () { + function ViewPlModalComponent(bsModalRef) { + this.bsModalRef = bsModalRef; + } + ViewPlModalComponent.prototype.close = function () { + this.bsModalRef.hide(); + }; + return ViewPlModalComponent; +}()); +ViewPlModalComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'modal-content', + styles: [__webpack_require__("../../../../../src/app/modals/modal.component.scss")], + template: "\n
\n
\n

{{title}}

\n \n
\n
\n \n
\n
\n \n
\n
\n " + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ngx_bootstrap_modal_modal_options_class__["a" /* BsModalRef */]) === "function" && _a || Object]) +], ViewPlModalComponent); + +var _a; +//# sourceMappingURL=view-pl-modal.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n \n
\n
\n
\n \n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list-view/packing-list-view.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListViewComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/view-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var PackingListViewComponent = (function () { + function PackingListViewComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + } + PackingListViewComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getPackingList(this.id, this.requestor).then(function (pl) { return _this.pl = pl; }); + } + }; + return PackingListViewComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], PackingListViewComponent.prototype, "requestor", void 0); +PackingListViewComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list-view', + template: __webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list-view/packing-list-view.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__modals_view_pl_modal_component__["a" /* ViewPlModalComponent */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _c || Object]) +], PackingListViewComponent); + +var _a, _b, _c; +//# sourceMappingURL=packing-list-view.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n
\n \n
\n
\n
\n \n
\n
\n\n
\n
\n \n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n \n\n
\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n \n
\n
\n\n \n \n\n
\n" + +/***/ }), + +/***/ "../../../../../src/app/packing-list/packing-list.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingListComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__ = __webpack_require__("../../../../../src/app/modals/create-pl-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__ = __webpack_require__("../../../../ngx-bootstrap/modal/index.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__ = __webpack_require__("../../../../../src/app/modals/response-modal.component.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__ = __webpack_require__("../../../../../src/app/loc-state-summary.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + +var PackingListComponent = (function () { + function PackingListComponent(docsService, modalComponent, modalService) { + this.docsService = docsService; + this.modalComponent = modalComponent; + this.modalService = modalService; + this.pl = new __WEBPACK_IMPORTED_MODULE_1__packinglist__["a" /* PackingList */](); + this.submitted = false; + } + PackingListComponent.prototype.createpl = function () { + var _this = this; + this.pl.advisingBank = this.loc[0].advisory; + this.pl.issuingBank = this.loc[0].issuer; + this.docsService.createPackingList(this.pl).then(function (result) { return _this.callResponse(result); }); + this.close(); + }; + PackingListComponent.prototype.autoComplete = function () { + var d = new Date(); + this.pl.issueDate = d; + this.pl.orderNumber = this.loc[0].orderRef; + this.pl.sellersOrderNumber = this.loc[0].orderRef; + this.pl.transportMethod = 'Ship'; + this.pl.nameOfVessel = 'SurfRider'; + this.pl.billOfLadingNumber = this.loc[0].orderRef; + this.pl.sellerName = 'Seller'; + this.pl.sellerAddress = '123 Street. Beijing, China'; + this.pl.buyerName = 'Buyer'; + this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111'; + this.pl.goodsDescription = this.loc[0].description; + this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef; + this.pl.goodsQuantity = 10000; + this.pl.goodsUnitPrice = this.loc[0].amount; + this.pl.goodsGrossWeight = 1000; + }; + PackingListComponent.prototype.callResponse = function (result) { + this.bsModalRef = this.modalService.show(__WEBPACK_IMPORTED_MODULE_5__modals_response_modal_component__["a" /* ResponseModalComponent */]); + this.bsModalRef.content.title = 'Response'; + this.bsModalRef.content.body = result; + }; + PackingListComponent.prototype.close = function () { + this.modalComponent.close(); + }; + PackingListComponent.prototype.ngOnInit = function () { + }; + PackingListComponent.prototype.onSubmit = function () { + this.submitted = true; + this.createpl(); + }; + return PackingListComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_6__loc_state_summary__["a" /* LocStateSummary */]) === "function" && _a || Object) +], PackingListComponent.prototype, "loc", void 0); +PackingListComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'packing-list', + template: __webpack_require__("../../../../../src/app/packing-list/packing-list.component.html"), + styles: [__webpack_require__("../../../../../src/app/packing-list/packing-list.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__services_docs_service__["a" /* DocsService */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__modals_create_pl_modal_component__["a" /* CreatePlModalComponent */]) === "function" && _c || Object, typeof (_d = typeof __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_4_ngx_bootstrap_modal__["a" /* BsModalService */]) === "function" && _d || Object]) +], PackingListComponent); + +var _a, _b, _c, _d; +//# sourceMappingURL=packing-list.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/packinglist.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PackingList; }); +var PackingList = (function () { + function PackingList() { + } + PackingList.prototype.deserialize = function (input) { + this.issueDate = input.props.issueDate; + this.orderNumber = input.props.orderNumber; + this.sellersOrderNumber = input.props.sellersOrderNumber; + this.transportMethod = input.props.transportMethod; + this.nameOfVessel = input.props.nameOfVessel; + this.billOfLadingNumber = input.props.billOfLadingNumber; + this.sellerName = input.props.seller.name; + this.sellerAddress = input.props.seller.address; + this.sellerPhone = input.props.seller.phone; + this.buyerName = input.props.buyer.name; + this.buyerAddress = input.props.buyer.address; + this.buyerPhone = input.props.buyer.phone; + this.goodsDescription = input.props.descriptionOfGoods[0].description; + this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef; + this.goodsQuantity = input.props.descriptionOfGoods[0].quantity; + this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice; + this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit; + this.attachmentHash = input.props.attachmentHash; + return this; + }; + return PackingList; +}()); + +//# sourceMappingURL=packinglist.js.map + +/***/ }), + +/***/ "../../../../../src/app/party.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Party; }); +var Party = (function () { + function Party() { + } + Party.prototype.deserialize = function (input) { + this.name = input.me; + return this; + }; + Party.prototype.deserializeName = function (input) { + this.name = input; + return this; + }; + return Party; +}()); + +//# sourceMappingURL=party.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/advising-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AdvisingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var AdvisingBankService = (function () { + function AdvisingBankService(locService) { + this.locService = locService; + this.locService = locService; + } + return AdvisingBankService; +}()); +AdvisingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _a || Object]) +], AdvisingBankService); + +var _a; +//# sourceMappingURL=advising-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/common.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CommonService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_currency__ = __webpack_require__("../../../../../src/app/services/common/mock-currency.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__ = __webpack_require__("../../../../../src/app/services/common/mock-weight-unit.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + +var CommonService = (function () { + function CommonService() { + } + CommonService.prototype.getCurrencies = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_currency__["a" /* CURRENCY */]); + }; + CommonService.prototype.getWeightUnits = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_2__mock_weight_unit__["a" /* WEIGHTUNIT */]); + }; + return CommonService; +}()); +CommonService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CommonService); + +//# sourceMappingURL=common.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-currency.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CURRENCY; }); +var CURRENCY = [ + { id: 'USD', name: 'USD' }, + { id: 'EUR', name: 'EUR' }, + { id: 'GBP', name: 'GBP' } +]; +//# sourceMappingURL=mock-currency.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/common/mock-weight-unit.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WEIGHTUNIT; }); +var WEIGHTUNIT = [ + { id: 11, name: 'KG' }, + { id: 12, name: 'LBS' } +]; +//# sourceMappingURL=mock-weight-unit.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/credit-type.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreditTypeService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mock_credit_type__ = __webpack_require__("../../../../../src/app/services/credit-types/mock-credit-type.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + +var CreditTypeService = (function () { + function CreditTypeService() { + } + CreditTypeService.prototype.getCreditTypes = function () { + return Promise.resolve(__WEBPACK_IMPORTED_MODULE_1__mock_credit_type__["a" /* CREDITTYPES */]); + }; + return CreditTypeService; +}()); +CreditTypeService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])() +], CreditTypeService); + +//# sourceMappingURL=credit-type.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/credit-types/mock-credit-type.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CREDITTYPES; }); +var CREDITTYPES = [ + { id: 'SIGHT', name: 'Sight' }, + { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' }, + { id: 'ACCEPTANCE', name: 'Acceptance' }, + { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' }, + { id: 'TRANSFERABLE', name: 'Transferable' }, + { id: 'STANDBY', name: 'Standby' }, + { id: 'REVOLVING', name: 'Revolving' }, + { id: 'RED_CLAUSE', name: 'Red Clause' }, + { id: 'GREEN_CLAUSE', name: 'Green Clause' }, +]; +//# sourceMappingURL=mock-credit-type.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/docs.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DocsService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bol__ = __webpack_require__("../../../../../src/app/bol.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__bol_events__ = __webpack_require__("../../../../../src/app/bol-events.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__packinglist__ = __webpack_require__("../../../../../src/app/packinglist.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__invoice__ = __webpack_require__("../../../../../src/app/invoice.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__tx__ = __webpack_require__("../../../../../src/app/tx.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + + + + + +var DocsService = (function () { + function DocsService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.current = this.issuer; + this.allLocUrl = 'http://localhost:' + this.current + '/api/loc/all'; + this.awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval'; + this.activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active'; + this.awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment'; + this.peersUrl = 'http://localhost:' + this.current + '/api/loc/peers'; + this.createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol'; + this.createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl'; + this.createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade'; + this.invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices'; + this.invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice'; + this.bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol'; + this.bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol'; + this.bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol'; + this.packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list'; + this.packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list'; + this.packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list'; + this.bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events'; + this.bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events'; + this.bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events'; + this.headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* Headers */]({ 'Content-Type': 'application/json' }); + } + DocsService.prototype.createBol = function (bol) { + return this.http + .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createPackingList = function (packingList) { + return this.http + .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoice = function (invoice) { + return this.http + .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers }) + .toPromise() + .then(function (res) { return new __WEBPACK_IMPORTED_MODULE_6__tx__["a" /* Tx */]().deserialize(res).txResponse; }) + .catch(this.handleError); + }; + DocsService.prototype.getBol = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_2__bol__["a" /* Bol */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getBolEvents = function (id, requestor) { + var url; + switch (requestor[0]) { + case 'buyer': { + url = this.bolEventsUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.bolEventsUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.bolEventsUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_3__bol_events__["a" /* BolEvents */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getPackingList = function (id, requestor) { + var url; + switch (requestor) { + case 'buyer': { + url = this.packingListUrlBuyer + "?ref=" + id; + break; + } + case 'issuing': { + url = this.packingListUrlIssuer + "?ref=" + id; + break; + } + default: + url = this.packingListUrl + "?ref=" + id; + break; + } + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_4__packinglist__["a" /* PackingList */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoices = function () { + var _this = this; + return this.http.get(this.invoicesUrl) + .toPromise() + .then(function (response) { return _this.createInvoiceArray(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.getInvoice = function (id) { + var url = this.invoiceUrl + "?ref=" + id; + return this.http.get(url) + .toPromise() + .then(function (response) { return new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(response.json()); }) + .catch(this.handleError); + }; + DocsService.prototype.createInvoiceArray = function (input) { + var invoices = new Array(); + input.forEach(function (element) { + var invoice = new __WEBPACK_IMPORTED_MODULE_5__invoice__["a" /* Invoice */]().deserialize(element); + invoices.push(invoice); + }); + return invoices; + }; + DocsService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return DocsService; +}()); +DocsService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], DocsService); + +var _a; +//# sourceMappingURL=docs.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/identity.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IdentityService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/@angular/http.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__party__ = __webpack_require__("../../../../../src/app/party.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__ = __webpack_require__("../../../../rxjs/add/operator/toPromise.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_toPromise__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var IdentityService = (function () { + function IdentityService(http) { + this.http = http; + this.buyer = 10013; + this.issuer = 10007; + this.advisory = 10010; + this.seller = 10016; + this.buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me'; + this.issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me'; + this.advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me'; + this.sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me'; + } + IdentityService.prototype.getAll = function () { + this.getBuyer(); + this.getIssuer(); + this.getAdvisory(); + this.getSeller(); + }; + IdentityService.prototype.getBuyer = function () { + var _this = this; + if (this.buyerId === undefined) { + this.http.get(this.buyerUrl) + .toPromise() + .then(function (response) { return _this.buyerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getIssuer = function () { + var _this = this; + if (this.issuerId === undefined) { + this.http.get(this.issuerId) + .toPromise() + .then(function (response) { return _this.issuerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getAdvisory = function () { + var _this = this; + if (this.advisoryId === undefined) { + this.http.get(this.advisoryId) + .toPromise() + .then(function (response) { return _this.advisoryId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.getSeller = function () { + var _this = this; + if (this.sellerId === undefined) { + this.http.get(this.sellerId) + .toPromise() + .then(function (response) { return _this.sellerId = new __WEBPACK_IMPORTED_MODULE_2__party__["a" /* Party */]().deserialize(response.json()).name; }) + .catch(this.handleError); + } + }; + IdentityService.prototype.handleError = function (error) { + console.error('An error occurred', error); // for demo purposes only + return Promise.reject(error.message || error); + }; + return IdentityService; +}()); +IdentityService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object]) +], IdentityService); + +var _a; +//# sourceMappingURL=identity.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/issuing-bank.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IssuingBankService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var IssuingBankService = (function () { + function IssuingBankService() { + } + return IssuingBankService; +}()); +IssuingBankService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], IssuingBankService); + +//# sourceMappingURL=issuing-bank.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/services/refresh.service.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RefreshService; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__ = __webpack_require__("../../../../rxjs/Subject.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var RefreshService = (function () { + function RefreshService() { + // Observable sources + this.confirmedSource = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Subject__["Subject"](); + // Observable string streams + this.missionConfirmed$ = this.confirmedSource.asObservable(); + } + RefreshService.prototype.confirmMission = function () { + this.confirmedSource.next(true); + }; + return RefreshService; +}()); +RefreshService = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Injectable"])(), + __metadata("design:paramtypes", []) +], RefreshService); + +//# sourceMappingURL=refresh.service.js.map + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.css": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.html": +/***/ (function(module, exports) { + +module.exports = "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n" + +/***/ }), + +/***/ "../../../../../src/app/ship/ship.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ShipComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__loc_service__ = __webpack_require__("../../../../../src/app/loc.service.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__loc_summary__ = __webpack_require__("../../../../../src/app/loc-summary.ts"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__ = __webpack_require__("../../../../rxjs/add/operator/switchMap.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_add_operator_switchMap__); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ShipComponent = (function () { + function ShipComponent(locService) { + this.locService = locService; + } + ShipComponent.prototype.ngOnInit = function () { + }; + return ShipComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__loc_summary__["a" /* LocSummary */]) === "function" && _a || Object) +], ShipComponent.prototype, "loc", void 0); +ShipComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'ship', + template: __webpack_require__("../../../../../src/app/ship/ship.component.html"), + styles: [__webpack_require__("../../../../../src/app/ship/ship.component.css")] + }), + __metadata("design:paramtypes", [typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__loc_service__["a" /* LocService */]) === "function" && _b || Object]) +], ShipComponent); + +var _a, _b; +//# sourceMappingURL=ship.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.html": +/***/ (function(module, exports) { + +module.exports = "
\n" + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.less": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "body {\n background: #161616;\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\n}\n.stop {\n animation-play-state: paused;\n -moz-animation-play-state: paused;\n -webkit-animation-play-state: paused;\n}\n.trigger {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\n border: 1px solid #111;\n border-right-color: #333;\n border-bottom-color: #333;\n text-decoration: none;\n color: #fff;\n padding: 10px;\n font-family: Verdana, Geneva, sans-serif;\n font-size: 0.8em;\n text-transform: lowercase;\n margin: 10px auto;\n display: block;\n width: 140px;\n border-radius: 5px;\n text-align: center;\n}\n.trigger:hover {\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\n}\n#ajaxloader1 {\n width: 30px !important;\n height: 30px !important;\n border: 8px solid #fff !important;\n border-radius: 50% !important;\n box-shadow: 0 0 25px 2px !important;\n color: #fff !important;\n border-color: #f00 !important;\n color: #cc0000 !important;\n border-right-color: transparent !important;\n border-top-color: transparent !important;\n -webkit-animation: spin-right 1s linear infinite normal !important;\n animation: spin-right 1s linear infinite normal !important;\n -webkit-animation-delay: 0 !important;\n animation-delay: 0 !important;\n margin: 30px auto 0 !important;\n}\n#ajaxloader1:after {\n display: block !important;\n width: 13px !important;\n height: 13px !important;\n margin: 3px !important;\n border: 6px solid #f00 !important;\n content: \" \" !important;\n border-radius: 50% !important;\n border-left-color: transparent !important;\n border-bottom-color: transparent !important;\n}\n@keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-right {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(360deg);\n opacity: 0.2;\n }\n}\n@keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@-webkit-keyframes spin-left {\n from {\n -webkit-transform: rotate(0deg);\n opacity: 0.2;\n }\n 50% {\n -webkit-transform: rotate(-180deg);\n opacity: 1.0;\n }\n to {\n -webkit-transform: rotate(-360deg);\n opacity: 0.2;\n }\n}\n@keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@-webkit-keyframes pulse {\n from {\n -webkit-transform: scale(1.2);\n opacity: 1;\n }\n to {\n -webkit-transform: scale(0.7);\n opacity: 0.1;\n }\n}\n@keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes ball-circlex {\n from {\n -webkit-transform: translateX(0px);\n }\n 25% {\n -webkit-transform: translateX(25px);\n -webkit-animation-timing-function: ease-in;\n }\n 50% {\n -webkit-transform: translateX(0px);\n }\n 75% {\n -webkit-transform: translateX(-25px);\n -webkit-animation-timing-function: ease-in;\n }\n to {\n -webkit-transform: translateX(0px);\n }\n}\n@keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@-webkit-keyframes facebook-pulse {\n 10% {\n margin-top: 5px;\n height: 22px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 20% {\n margin-top: 0px;\n height: 32px;\n border-color: #d1d7e2;\n background-color: #bac5db;\n }\n 30% {\n margin-top: 1px;\n height: 30px;\n border-color: #d1d8e6;\n background-color: #bac5db;\n }\n 40% {\n margin-top: 3px;\n height: 26px;\n }\n 50% {\n margin-top: 5px;\n height: 22px;\n }\n 60% {\n margin-top: 6px;\n height: 18px;\n }\n}\n@keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes loadpulse-ball {\n from {\n -webkit-transform: scale(0);\n }\n to {\n -webkit-transform: scale(1);\n }\n}\n@keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n }\n}\n@-webkit-keyframes loadpulse-glow {\n from {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n 10% {\n -webkit-transform: scale(1);\n opacity: 0.5;\n }\n 50% {\n -webkit-transform: scale(1.75);\n opacity: 0;\n }\n to {\n -webkit-transform: scale(0);\n opacity: 0;\n }\n}\n@keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@-webkit-keyframes pound {\n to {\n -webkit-transform: scale(1.2);\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\n }\n}\n@keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n@-webkit-keyframes letters {\n to {\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\n }\n}\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/spinner/spinner.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SpinnerComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var SpinnerComponent = (function () { + function SpinnerComponent() { + } + SpinnerComponent.prototype.ngOnInit = function () { + }; + return SpinnerComponent; +}()); +SpinnerComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'spinner', + template: __webpack_require__("../../../../../src/app/spinner/spinner.component.html"), + styles: [__webpack_require__("../../../../../src/app/spinner/spinner.component.less")] + }), + __metadata("design:paramtypes", []) +], SpinnerComponent); + +//# sourceMappingURL=spinner.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/stats.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Stats; }); +var Stats = (function () { + function Stats() { + } + Stats.prototype.deserialize = function (input) { + this.awaitingApproval = input.awaitingApproval; + this.active = input.active; + this.awaitingPayment = input.awaitingPayment; + return this; + }; + return Stats; +}()); + +//# sourceMappingURL=stats.js.map + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.html": +/***/ (function(module, exports) { + +module.exports = "
    \n\n
    \n\n
  • \n
    {{event.value}}
    \n
  • \n\n
  • \n
    \n
    \n
    \n

    Owned by {{event.key}}

    \n

    {{event.value}}

    \n
    \n
    \n
  • \n\n
    \n
\n" + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.scss": +/***/ (function(module, exports, __webpack_require__) { + +exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false); +// imports + + +// module +exports.push([module.i, "img {\n border: 0;\n max-width: 100%; }\n\n.page-header h1 {\n font-size: 3.26em;\n text-align: center;\n color: #efefef;\n text-shadow: 1px 1px 0 #000; }\n\n/** timeline box structure **/\n.timeline {\n list-style: none;\n padding: 20px 0 20px;\n position: relative; }\n\n.timeline:before {\n top: 0;\n bottom: 0;\n position: absolute;\n content: \" \";\n width: 3px;\n background-color: #eee;\n left: 50%;\n margin-left: -1.5px; }\n\n.tldate {\n display: block;\n width: 200px;\n background: #414141;\n border: 3px solid #212121;\n color: #ededed;\n margin: 0 auto;\n padding: 3px 0;\n font-weight: bold;\n text-align: center;\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\n\n.timeline li {\n margin-bottom: 25px;\n position: relative; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n.timeline li:after {\n clear: both; }\n\n.timeline li:before, .timeline li:after {\n content: \" \";\n display: table; }\n\n/** timeline panels **/\n.timeline li .timeline-panel {\n width: 46%;\n float: left;\n background: #fff;\n border: 1px solid #d4d4d4;\n padding: 20px;\n position: relative;\n border-radius: 8px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\n\n/** panel arrows **/\n.timeline li .timeline-panel:before {\n position: absolute;\n top: 26px;\n right: -15px;\n display: inline-block;\n border-top: 15px solid transparent;\n border-left: 15px solid #ccc;\n border-right: 0 solid #ccc;\n border-bottom: 15px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel:after {\n position: absolute;\n top: 27px;\n right: -14px;\n display: inline-block;\n border-top: 14px solid transparent;\n border-left: 14px solid #fff;\n border-right: 0 solid #fff;\n border-bottom: 14px solid transparent;\n content: \" \"; }\n\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\n top: 0;\n right: 0;\n display: none;\n border: 0; }\n\n.timeline li.timeline-inverted .timeline-panel {\n float: right; }\n\n.timeline li.timeline-inverted .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n\n.timeline li.timeline-inverted .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; }\n\n/** timeline circle icons **/\n.timeline li .tl-circ {\n position: absolute;\n top: 23px;\n left: 50%;\n text-align: center;\n background: #6a8db3;\n color: #fff;\n width: 35px;\n height: 35px;\n line-height: 35px;\n margin-left: -16px;\n border: 3px solid #90acc7;\n border-top-right-radius: 50%;\n border-top-left-radius: 50%;\n border-bottom-right-radius: 50%;\n border-bottom-left-radius: 50%;\n z-index: 99999; }\n\n/** timeline content **/\n.tl-heading h4 {\n margin: 0;\n color: #c25b4e; }\n\n.tl-body p, .tl-body ul {\n margin-bottom: 0; }\n\n.tl-body > p + p {\n margin-top: 5px; }\n\n/** media queries **/\n@media (max-width: 991px) {\n .timeline li .timeline-panel {\n width: 44%; } }\n\n@media (max-width: 700px) {\n .page-header h1 {\n font-size: 1.8em; }\n ul.timeline:before {\n left: 40px; }\n .tldate {\n width: 140px; }\n ul.timeline li .timeline-panel {\n width: calc(100% - 90px);\n width: -webkit-calc(100% - 90px); }\n ul.timeline li .tl-circ {\n top: 22px;\n left: 22px;\n margin-left: 0; }\n ul.timeline > li > .tldate {\n margin: 0; }\n ul.timeline > li > .timeline-panel {\n float: right; }\n ul.timeline > li > .timeline-panel:before {\n border-left-width: 0;\n border-right-width: 15px;\n left: -15px;\n right: auto; }\n ul.timeline > li > .timeline-panel:after {\n border-left-width: 0;\n border-right-width: 14px;\n left: -14px;\n right: auto; } }\n", ""]); + +// exports + + +/*** EXPORTS FROM exports-loader ***/ +module.exports = module.exports.toString(); + +/***/ }), + +/***/ "../../../../../src/app/timeline/timeline.component.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TimelineComponent; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__services_docs_service__ = __webpack_require__("../../../../../src/app/services/docs.service.ts"); +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + +var TimelineComponent = (function () { + function TimelineComponent(docsService) { + this.docsService = docsService; + } + TimelineComponent.prototype.ngOnChanges = function (changes) { + var _this = this; + if (this.id[0] !== undefined) { + this.docsService.getBolEvents(this.id, this.requestor).then(function (bolEvents) { return _this.bolEvents = bolEvents; }); + } + }; + return TimelineComponent; +}()); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "id", void 0); +__decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(), + __metadata("design:type", String) +], TimelineComponent.prototype, "requestor", void 0); +TimelineComponent = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({ + selector: 'timeline', + template: __webpack_require__("../../../../../src/app/timeline/timeline.component.html"), + styles: [__webpack_require__("../../../../../src/app/timeline/timeline.component.scss")] + }), + __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__services_docs_service__["a" /* DocsService */]) === "function" && _a || Object]) +], TimelineComponent); + +var _a; +//# sourceMappingURL=timeline.component.js.map + +/***/ }), + +/***/ "../../../../../src/app/tx.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tx; }); +var Tx = (function () { + function Tx() { + } + Tx.prototype.deserialize = function (input) { + this.txResponse = input.message; + return this; + }; + Tx.prototype.text = function (input) { + this.txResponse = input; + return this; + }; + return Tx; +}()); + +//# sourceMappingURL=tx.js.map + +/***/ }), + +/***/ "../../../../../src/assets/modal.js": +/***/ (function(module, exports) { + +var myExtObject = (function() { + + return { + loadModal: function() { + $('#modal-container').removeAttr('class').addClass('one'); + $('body').addClass('modal-active'); + setTimeout(this.closeModal(), 3000); + }, + closeModal: function() { + $('#modal-container').removeAttr('class'); + $(this).addClass('out'); + $('body').removeClass('modal-active'); + } + } + + })(myExtObject||{}) + + +/***/ }), + +/***/ "../../../../../src/main.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__("../../../platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("../../../../../src/app/app.module.ts"); + + + +Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["enableProdMode"])(); +Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */]); +//# sourceMappingURL=main.js.map + +/***/ }), + +/***/ "../../../../moment/locale recursive ^\\.\\/.*$": +/***/ (function(module, exports, __webpack_require__) { + +var map = { + "./af": "../../../../moment/locale/af.js", + "./af.js": "../../../../moment/locale/af.js", + "./ar": "../../../../moment/locale/ar.js", + "./ar-dz": "../../../../moment/locale/ar-dz.js", + "./ar-dz.js": "../../../../moment/locale/ar-dz.js", + "./ar-kw": "../../../../moment/locale/ar-kw.js", + "./ar-kw.js": "../../../../moment/locale/ar-kw.js", + "./ar-ly": "../../../../moment/locale/ar-ly.js", + "./ar-ly.js": "../../../../moment/locale/ar-ly.js", + "./ar-ma": "../../../../moment/locale/ar-ma.js", + "./ar-ma.js": "../../../../moment/locale/ar-ma.js", + "./ar-sa": "../../../../moment/locale/ar-sa.js", + "./ar-sa.js": "../../../../moment/locale/ar-sa.js", + "./ar-tn": "../../../../moment/locale/ar-tn.js", + "./ar-tn.js": "../../../../moment/locale/ar-tn.js", + "./ar.js": "../../../../moment/locale/ar.js", + "./az": "../../../../moment/locale/az.js", + "./az.js": "../../../../moment/locale/az.js", + "./be": "../../../../moment/locale/be.js", + "./be.js": "../../../../moment/locale/be.js", + "./bg": "../../../../moment/locale/bg.js", + "./bg.js": "../../../../moment/locale/bg.js", + "./bn": "../../../../moment/locale/bn.js", + "./bn.js": "../../../../moment/locale/bn.js", + "./bo": "../../../../moment/locale/bo.js", + "./bo.js": "../../../../moment/locale/bo.js", + "./br": "../../../../moment/locale/br.js", + "./br.js": "../../../../moment/locale/br.js", + "./bs": "../../../../moment/locale/bs.js", + "./bs.js": "../../../../moment/locale/bs.js", + "./ca": "../../../../moment/locale/ca.js", + "./ca.js": "../../../../moment/locale/ca.js", + "./cs": "../../../../moment/locale/cs.js", + "./cs.js": "../../../../moment/locale/cs.js", + "./cv": "../../../../moment/locale/cv.js", + "./cv.js": "../../../../moment/locale/cv.js", + "./cy": "../../../../moment/locale/cy.js", + "./cy.js": "../../../../moment/locale/cy.js", + "./da": "../../../../moment/locale/da.js", + "./da.js": "../../../../moment/locale/da.js", + "./de": "../../../../moment/locale/de.js", + "./de-at": "../../../../moment/locale/de-at.js", + "./de-at.js": "../../../../moment/locale/de-at.js", + "./de-ch": "../../../../moment/locale/de-ch.js", + "./de-ch.js": "../../../../moment/locale/de-ch.js", + "./de.js": "../../../../moment/locale/de.js", + "./dv": "../../../../moment/locale/dv.js", + "./dv.js": "../../../../moment/locale/dv.js", + "./el": "../../../../moment/locale/el.js", + "./el.js": "../../../../moment/locale/el.js", + "./en-au": "../../../../moment/locale/en-au.js", + "./en-au.js": "../../../../moment/locale/en-au.js", + "./en-ca": "../../../../moment/locale/en-ca.js", + "./en-ca.js": "../../../../moment/locale/en-ca.js", + "./en-gb": "../../../../moment/locale/en-gb.js", + "./en-gb.js": "../../../../moment/locale/en-gb.js", + "./en-ie": "../../../../moment/locale/en-ie.js", + "./en-ie.js": "../../../../moment/locale/en-ie.js", + "./en-nz": "../../../../moment/locale/en-nz.js", + "./en-nz.js": "../../../../moment/locale/en-nz.js", + "./eo": "../../../../moment/locale/eo.js", + "./eo.js": "../../../../moment/locale/eo.js", + "./es": "../../../../moment/locale/es.js", + "./es-do": "../../../../moment/locale/es-do.js", + "./es-do.js": "../../../../moment/locale/es-do.js", + "./es.js": "../../../../moment/locale/es.js", + "./et": "../../../../moment/locale/et.js", + "./et.js": "../../../../moment/locale/et.js", + "./eu": "../../../../moment/locale/eu.js", + "./eu.js": "../../../../moment/locale/eu.js", + "./fa": "../../../../moment/locale/fa.js", + "./fa.js": "../../../../moment/locale/fa.js", + "./fi": "../../../../moment/locale/fi.js", + "./fi.js": "../../../../moment/locale/fi.js", + "./fo": "../../../../moment/locale/fo.js", + "./fo.js": "../../../../moment/locale/fo.js", + "./fr": "../../../../moment/locale/fr.js", + "./fr-ca": "../../../../moment/locale/fr-ca.js", + "./fr-ca.js": "../../../../moment/locale/fr-ca.js", + "./fr-ch": "../../../../moment/locale/fr-ch.js", + "./fr-ch.js": "../../../../moment/locale/fr-ch.js", + "./fr.js": "../../../../moment/locale/fr.js", + "./fy": "../../../../moment/locale/fy.js", + "./fy.js": "../../../../moment/locale/fy.js", + "./gd": "../../../../moment/locale/gd.js", + "./gd.js": "../../../../moment/locale/gd.js", + "./gl": "../../../../moment/locale/gl.js", + "./gl.js": "../../../../moment/locale/gl.js", + "./gom-latn": "../../../../moment/locale/gom-latn.js", + "./gom-latn.js": "../../../../moment/locale/gom-latn.js", + "./he": "../../../../moment/locale/he.js", + "./he.js": "../../../../moment/locale/he.js", + "./hi": "../../../../moment/locale/hi.js", + "./hi.js": "../../../../moment/locale/hi.js", + "./hr": "../../../../moment/locale/hr.js", + "./hr.js": "../../../../moment/locale/hr.js", + "./hu": "../../../../moment/locale/hu.js", + "./hu.js": "../../../../moment/locale/hu.js", + "./hy-am": "../../../../moment/locale/hy-am.js", + "./hy-am.js": "../../../../moment/locale/hy-am.js", + "./id": "../../../../moment/locale/id.js", + "./id.js": "../../../../moment/locale/id.js", + "./is": "../../../../moment/locale/is.js", + "./is.js": "../../../../moment/locale/is.js", + "./it": "../../../../moment/locale/it.js", + "./it.js": "../../../../moment/locale/it.js", + "./ja": "../../../../moment/locale/ja.js", + "./ja.js": "../../../../moment/locale/ja.js", + "./jv": "../../../../moment/locale/jv.js", + "./jv.js": "../../../../moment/locale/jv.js", + "./ka": "../../../../moment/locale/ka.js", + "./ka.js": "../../../../moment/locale/ka.js", + "./kk": "../../../../moment/locale/kk.js", + "./kk.js": "../../../../moment/locale/kk.js", + "./km": "../../../../moment/locale/km.js", + "./km.js": "../../../../moment/locale/km.js", + "./kn": "../../../../moment/locale/kn.js", + "./kn.js": "../../../../moment/locale/kn.js", + "./ko": "../../../../moment/locale/ko.js", + "./ko.js": "../../../../moment/locale/ko.js", + "./ky": "../../../../moment/locale/ky.js", + "./ky.js": "../../../../moment/locale/ky.js", + "./lb": "../../../../moment/locale/lb.js", + "./lb.js": "../../../../moment/locale/lb.js", + "./lo": "../../../../moment/locale/lo.js", + "./lo.js": "../../../../moment/locale/lo.js", + "./lt": "../../../../moment/locale/lt.js", + "./lt.js": "../../../../moment/locale/lt.js", + "./lv": "../../../../moment/locale/lv.js", + "./lv.js": "../../../../moment/locale/lv.js", + "./me": "../../../../moment/locale/me.js", + "./me.js": "../../../../moment/locale/me.js", + "./mi": "../../../../moment/locale/mi.js", + "./mi.js": "../../../../moment/locale/mi.js", + "./mk": "../../../../moment/locale/mk.js", + "./mk.js": "../../../../moment/locale/mk.js", + "./ml": "../../../../moment/locale/ml.js", + "./ml.js": "../../../../moment/locale/ml.js", + "./mr": "../../../../moment/locale/mr.js", + "./mr.js": "../../../../moment/locale/mr.js", + "./ms": "../../../../moment/locale/ms.js", + "./ms-my": "../../../../moment/locale/ms-my.js", + "./ms-my.js": "../../../../moment/locale/ms-my.js", + "./ms.js": "../../../../moment/locale/ms.js", + "./my": "../../../../moment/locale/my.js", + "./my.js": "../../../../moment/locale/my.js", + "./nb": "../../../../moment/locale/nb.js", + "./nb.js": "../../../../moment/locale/nb.js", + "./ne": "../../../../moment/locale/ne.js", + "./ne.js": "../../../../moment/locale/ne.js", + "./nl": "../../../../moment/locale/nl.js", + "./nl-be": "../../../../moment/locale/nl-be.js", + "./nl-be.js": "../../../../moment/locale/nl-be.js", + "./nl.js": "../../../../moment/locale/nl.js", + "./nn": "../../../../moment/locale/nn.js", + "./nn.js": "../../../../moment/locale/nn.js", + "./pa-in": "../../../../moment/locale/pa-in.js", + "./pa-in.js": "../../../../moment/locale/pa-in.js", + "./pl": "../../../../moment/locale/pl.js", + "./pl.js": "../../../../moment/locale/pl.js", + "./pt": "../../../../moment/locale/pt.js", + "./pt-br": "../../../../moment/locale/pt-br.js", + "./pt-br.js": "../../../../moment/locale/pt-br.js", + "./pt.js": "../../../../moment/locale/pt.js", + "./ro": "../../../../moment/locale/ro.js", + "./ro.js": "../../../../moment/locale/ro.js", + "./ru": "../../../../moment/locale/ru.js", + "./ru.js": "../../../../moment/locale/ru.js", + "./sd": "../../../../moment/locale/sd.js", + "./sd.js": "../../../../moment/locale/sd.js", + "./se": "../../../../moment/locale/se.js", + "./se.js": "../../../../moment/locale/se.js", + "./si": "../../../../moment/locale/si.js", + "./si.js": "../../../../moment/locale/si.js", + "./sk": "../../../../moment/locale/sk.js", + "./sk.js": "../../../../moment/locale/sk.js", + "./sl": "../../../../moment/locale/sl.js", + "./sl.js": "../../../../moment/locale/sl.js", + "./sq": "../../../../moment/locale/sq.js", + "./sq.js": "../../../../moment/locale/sq.js", + "./sr": "../../../../moment/locale/sr.js", + "./sr-cyrl": "../../../../moment/locale/sr-cyrl.js", + "./sr-cyrl.js": "../../../../moment/locale/sr-cyrl.js", + "./sr.js": "../../../../moment/locale/sr.js", + "./ss": "../../../../moment/locale/ss.js", + "./ss.js": "../../../../moment/locale/ss.js", + "./sv": "../../../../moment/locale/sv.js", + "./sv.js": "../../../../moment/locale/sv.js", + "./sw": "../../../../moment/locale/sw.js", + "./sw.js": "../../../../moment/locale/sw.js", + "./ta": "../../../../moment/locale/ta.js", + "./ta.js": "../../../../moment/locale/ta.js", + "./te": "../../../../moment/locale/te.js", + "./te.js": "../../../../moment/locale/te.js", + "./tet": "../../../../moment/locale/tet.js", + "./tet.js": "../../../../moment/locale/tet.js", + "./th": "../../../../moment/locale/th.js", + "./th.js": "../../../../moment/locale/th.js", + "./tl-ph": "../../../../moment/locale/tl-ph.js", + "./tl-ph.js": "../../../../moment/locale/tl-ph.js", + "./tlh": "../../../../moment/locale/tlh.js", + "./tlh.js": "../../../../moment/locale/tlh.js", + "./tr": "../../../../moment/locale/tr.js", + "./tr.js": "../../../../moment/locale/tr.js", + "./tzl": "../../../../moment/locale/tzl.js", + "./tzl.js": "../../../../moment/locale/tzl.js", + "./tzm": "../../../../moment/locale/tzm.js", + "./tzm-latn": "../../../../moment/locale/tzm-latn.js", + "./tzm-latn.js": "../../../../moment/locale/tzm-latn.js", + "./tzm.js": "../../../../moment/locale/tzm.js", + "./uk": "../../../../moment/locale/uk.js", + "./uk.js": "../../../../moment/locale/uk.js", + "./ur": "../../../../moment/locale/ur.js", + "./ur.js": "../../../../moment/locale/ur.js", + "./uz": "../../../../moment/locale/uz.js", + "./uz-latn": "../../../../moment/locale/uz-latn.js", + "./uz-latn.js": "../../../../moment/locale/uz-latn.js", + "./uz.js": "../../../../moment/locale/uz.js", + "./vi": "../../../../moment/locale/vi.js", + "./vi.js": "../../../../moment/locale/vi.js", + "./x-pseudo": "../../../../moment/locale/x-pseudo.js", + "./x-pseudo.js": "../../../../moment/locale/x-pseudo.js", + "./yo": "../../../../moment/locale/yo.js", + "./yo.js": "../../../../moment/locale/yo.js", + "./zh-cn": "../../../../moment/locale/zh-cn.js", + "./zh-cn.js": "../../../../moment/locale/zh-cn.js", + "./zh-hk": "../../../../moment/locale/zh-hk.js", + "./zh-hk.js": "../../../../moment/locale/zh-hk.js", + "./zh-tw": "../../../../moment/locale/zh-tw.js", + "./zh-tw.js": "../../../../moment/locale/zh-tw.js" +}; +function webpackContext(req) { + return __webpack_require__(webpackContextResolve(req)); +}; +function webpackContextResolve(req) { + var id = map[req]; + if(!(id + 1)) // check for number or string + throw new Error("Cannot find module '" + req + "'."); + return id; +}; +webpackContext.keys = function webpackContextKeys() { + return Object.keys(map); +}; +webpackContext.resolve = webpackContextResolve; +module.exports = webpackContext; +webpackContext.id = "../../../../moment/locale recursive ^\\.\\/.*$"; + +/***/ }), + +/***/ 0: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/main.ts"); + + +/***/ }) + +},[0]); +//# sourceMappingURL=main.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/main.bundle.js.map b/kotlin-source/src/main/resources/loc/main.bundle.js.map new file mode 100644 index 0000000..b10d654 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/main.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["C:/Dev/CorDapps/locWeb/src/$_gendir lazy","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.scss","C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.css","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.html","C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/app-routing.module.ts","C:/Dev/CorDapps/locWeb/src/app/app.component.html","C:/Dev/CorDapps/locWeb/src/app/app.component.scss","C:/Dev/CorDapps/locWeb/src/app/app.component.ts","C:/Dev/CorDapps/locWeb/src/app/app.module.ts","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.css","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.html","C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.ts","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.css","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.html","C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.ts","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.html","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.css","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.html","C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.ts","C:/Dev/CorDapps/locWeb/src/app/bol-events.ts","C:/Dev/CorDapps/locWeb/src/app/bol.ts","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.css","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.html","C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.ts","C:/Dev/CorDapps/locWeb/src/app/cash.ts","C:/Dev/CorDapps/locWeb/src/app/claim-fund.ts","C:/Dev/CorDapps/locWeb/src/app/comma-seperated-number.pipe.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.ts","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.css","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.html","C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.ts","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.css","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.html","C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.ts","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.css","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.html","C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.ts","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.css","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.html","C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.ts","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.css","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.html","C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.ts","C:/Dev/CorDapps/locWeb/src/app/header/header.component.css","C:/Dev/CorDapps/locWeb/src/app/header/header.component.html","C:/Dev/CorDapps/locWeb/src/app/header/header.component.ts","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.css","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.html","C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.ts","C:/Dev/CorDapps/locWeb/src/app/in-memory-data.service.ts","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.css","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.html","C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.ts","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.css","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.html","C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/invoice.ts","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.html","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/loc-state-summary.ts","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.html","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/loc-summary.ts","C:/Dev/CorDapps/locWeb/src/app/loc.service.ts","C:/Dev/CorDapps/locWeb/src/app/loc.ts","C:/Dev/CorDapps/locWeb/src/app/login/login.component.css","C:/Dev/CorDapps/locWeb/src/app/login/login.component.html","C:/Dev/CorDapps/locWeb/src/app/login/login.component.ts","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.css","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.html","C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/apply-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/approve-loc-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-bol-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-invoice-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/create-pl-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/docs-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.css","C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.scss","C:/Dev/CorDapps/locWeb/src/app/modals/response-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal-nested.html","C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-timeline-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-invoice-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-app-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-state-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/modals/view-pl-modal.component.ts","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.html","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.scss","C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.ts","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.css","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.html","C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.ts","C:/Dev/CorDapps/locWeb/src/app/packinglist.ts","C:/Dev/CorDapps/locWeb/src/app/party.ts","C:/Dev/CorDapps/locWeb/src/app/services/advising-bank.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/common.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/mock-currency.ts","C:/Dev/CorDapps/locWeb/src/app/services/common/mock-weight-unit.ts","C:/Dev/CorDapps/locWeb/src/app/services/credit-types/credit-type.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/credit-types/mock-credit-type.ts","C:/Dev/CorDapps/locWeb/src/app/services/docs.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/identity.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/issuing-bank.service.ts","C:/Dev/CorDapps/locWeb/src/app/services/refresh.service.ts","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.css","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.html","C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.ts","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.html","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.less","C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.ts","C:/Dev/CorDapps/locWeb/src/app/stats.ts","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.html","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.scss","C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.ts","C:/Dev/CorDapps/locWeb/src/app/tx.ts","C:/Dev/CorDapps/locWeb/src/assets/modal.js","C:/Dev/CorDapps/locWeb/src/main.ts","C:/Dev/CorDapps/locWeb/node_modules/moment/locale ^\\.\\/.*$"],"names":[],"mappings":"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C5B;AACF;AAE7C,qEAAc,EAAE,CAAC;AACjB,yGAAsB,EAAE,CAAC,eAAe,CAAC,kEAAS,CAAC,CAAC;;;;;;;;ACLpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qE","file":"main.bundle.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\treturn new Promise(function(resolve, reject) { reject(new Error(\"Cannot find module '\" + req + \"'.\")); });\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"../../../../../src/$$_gendir lazy recursive\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/$$_gendir lazy\n// module id = ../../../../../src/$$_gendir lazy recursive\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.css\n// module id = ../../../../../src/app/active-loc/active-loc.component.css\n// module chunks = main","module.exports = \"
\\r\\n
Active
\\r\\n
\\r\\n
\\r\\n
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
ApplicantBeneficiaryAmountDescriptionAdvisory PaidPayment from Buyer
\\r\\n {{loc.applicant}}\\r\\n \\r\\n {{loc.beneficiary}}\\r\\n \\r\\n {{loc.amount + \\\" \\\" + loc.currency}}\\r\\n \\r\\n {{loc.description}}\\r\\n \\r\\n {{loc.advisoryPaid}}\\r\\n \\r\\n {{loc.issuerPaid}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.html\n// module id = ../../../../../src/app/active-loc/active-loc.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\r\nimport { LocStateSummary } from './../loc-state-summary';\r\nimport { LocService } from './../loc.service';\r\nimport { DocsService } from './../services/docs.service'\r\nimport { CurrencyPipe } from '@angular/common';\r\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\r\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\r\nimport { ResponseModalComponent } from './../modals/response-modal.component';\r\nimport { RefreshService } from './../services/refresh.service';\r\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\r\n\r\n@Component({\r\n selector: 'active-loc',\r\n templateUrl: './active-loc.component.html',\r\n styleUrls: ['./active-loc.component.css']\r\n})\r\nexport class ActiveLocComponent implements OnInit {\r\n bsModalRef: BsModalRef;\r\n\r\n locs: LocStateSummary[] = []\r\n\r\n constructor(private modalService: BsModalService,\r\n private locService: LocService,\r\n private refreshService: RefreshService,\r\n private route: ActivatedRoute) {\r\n refreshService.missionConfirmed$.subscribe(\r\n result => {\r\n this.update();\r\n });\r\n }\r\n\r\n public payAdvisory(id: string) {\r\n this.locService.payAdviser(id).then(response => this.callResponse(response));\r\n }\r\n\r\n public openBol(id: string) {\r\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\r\n this.bsModalRef.content.id = id;\r\n this.bsModalRef.content.title = 'Bill of Lading';\r\n this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString();\r\n }\r\n\r\n public openPackingList(id: string) {\r\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\r\n this.bsModalRef.content.id = id;\r\n this.bsModalRef.content.title = 'Packing List';\r\n this.bsModalRef.content.requestor = this.route.snapshot.url[0].toString();\r\n }\r\n\r\n public openLocModal(ref: string) {\r\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\r\n this.bsModalRef.content.title = 'Letter of Credit';\r\n this.bsModalRef.content.locId = ref;\r\n }\r\n\r\n callResponse(result: String): void {\r\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\r\n this.bsModalRef.content.title = 'Response';\r\n this.bsModalRef.content.body = result;\r\n }\r\n\r\n update() {\r\n this.locService.getActiveLocs().then(locs => this.locs = locs);\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n this.update();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/active-loc/active-loc.component.ts","module.exports = \"
\\n
Invoices Submitted
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
DateIdCounterpartyDescriptionQuantityUnit Price
\\n {{invoice.invoiceDate | date}}\\n \\n {{invoice.invoiceId}}\\n \\n {{invoice.buyerName}}\\n \\n {{invoice.goodsDescription}}\\n \\n {{invoice.goodsQuantity}}\\n \\n {{invoice.goodsUnitPrice}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.html\n// module id = ../../../../../src/app/all-invoice-seller/all-invoice-seller.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.scss\n// module id = ../../../../../src/app/all-invoice-seller/all-invoice-seller.component.scss\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Invoice } from './../invoice';\nimport { DocsService } from './../services/docs.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { RefreshService } from './../services/refresh.service';\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\n\n@Component({\n selector: 'all-invoice-seller',\n templateUrl: './all-invoice-seller.component.html',\n styleUrls: ['./all-invoice-seller.component.scss']\n})\nexport class AllInvoiceSellerComponent implements OnInit {\n bsModalRef: BsModalRef;\n invoices: Invoice[] = []\n\n constructor(private docService: DocsService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openInvoiceModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewInvoiceModalComponent);\n this.bsModalRef.content.title = 'Invoice';\n this.bsModalRef.content.invoiceId = ref;\n }\n\n update() {\n this.docService.getInvoices().then(invoices => this.invoices = invoices)\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice-seller/all-invoice-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\r\\n font:25px Oswald;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.css\n// module id = ../../../../../src/app/all-invoice/all-invoice.component.css\n// module chunks = main","module.exports = \"
\\n
Invoices
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
DateIdCounterpartyDescriptionQuantityUnit Price
\\n {{invoice.invoiceDate | date}}\\n \\n {{invoice.invoiceId}}\\n \\n {{invoice.sellerName}}\\n \\n {{invoice.goodsDescription}}\\n \\n {{invoice.goodsQuantity}}\\n \\n {{invoice.goodsUnitPrice}}\\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.html\n// module id = ../../../../../src/app/all-invoice/all-invoice.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Invoice } from './../invoice';\nimport { DocsService } from './../services/docs.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\nimport { CommaSeperatedNumberPipe } from './../comma-seperated-number.pipe';\n\n@Component({\n selector: 'all-invoice',\n templateUrl: './all-invoice.component.html',\n styleUrls: ['./all-invoice.component.css'],\n})\nexport class AllInvoiceComponent implements OnInit {\n bsModalRef: BsModalRef;\n invoices: Invoice[] = []\n\n constructor(private docService: DocsService,\n private modalService: BsModalService) { }\n\n public openModalWithComponent(ref: string) {\n this.bsModalRef = this.modalService.show(ApplyModalComponent);\n this.bsModalRef.content.title = 'Apply';\n this.bsModalRef.content.id = ref;\n }\n\n public openInvoiceModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewInvoiceModalComponent);\n this.bsModalRef.content.title = 'Invoice';\n this.bsModalRef.content.invoiceId = ref;\n }\n\n ngOnInit() {\n this.docService.getInvoices().then(invoices => this.invoices = invoices)\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-invoice/all-invoice.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.css\n// module id = ../../../../../src/app/all-loc-advising/all-loc-advising.component.css\n// module chunks = main","module.exports = \"
\\n
Letters of Credit
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
IdApplicantBeneficiaryAmountDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.html\n// module id = ../../../../../src/app/all-loc-advising/all-loc-advising.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocStateSummary } from './../loc-state-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { DocsModalComponent } from './../modals/docs-modal.component';\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { ResponseModalComponent } from './../modals/response-modal.component';\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\n\n@Component({\n selector: 'all-loc-advising',\n templateUrl: './all-loc-advising.component.html',\n styleUrls: ['./all-loc-advising.component.css']\n})\nexport class AllLocAdvisingComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocStateSummary[] = []\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService,\n private locService: LocService) { }\n\n public openModalWithComponent() {\n this.bsModalRef = this.modalService.show(DocsModalComponent);\n this.bsModalRef.content.title = 'Documents';\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Letter of Credit';\n this.bsModalRef.content.locId = ref;\n }\n\n\n public openBol(id: string) {\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Bill of Lading';\n }\n\n public openPackingList(id: string) {\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Packing List';\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n public payBeneficiary(id: string) {\n this.locService.paySeller(id).then(response => this.callResponse(response));\n }\n\n public claimFunds(id: string) {\n this.locService.claimFunds(id);\n }\n\n ngOnInit() {\n this.locService.getActiveLocs().then(locs => this.locs = locs);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-advising/all-loc-advising.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.css\n// module id = ../../../../../src/app/all-loc-buyer/all-loc-buyer.component.css\n// module chunks = main","module.exports = \"
\\n
Live Orders
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
IdApplicantBeneficiaryAmountDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.html\n// module id = ../../../../../src/app/all-loc-buyer/all-loc-buyer.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { ResponseModalComponent } from './../modals/response-modal.component';\nimport { RefreshService } from './../services/refresh.service';\n\n@Component({\n selector: 'all-loc-buyer',\n templateUrl: './all-loc-buyer.component.html',\n styleUrls: ['./all-loc-buyer.component.css']\n})\nexport class AllLocBuyerComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocSummary[] = []\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService,\n private locService: LocService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openBol(id: string) {\n this.bsModalRef = this.modalService.show(ViewBolModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Bill of Lading';\n }\n\n public openPackingList(id: string) {\n this.bsModalRef = this.modalService.show(ViewPlModalComponent);\n this.bsModalRef.content.id = id;\n this.bsModalRef.content.title = 'Packing List';\n }\n\n public payIssuer(id: string) {\n this.locService.payIssuer(id).then(response => this.callResponse(response));\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n update() {\n this.locService.getAllLocs().then(locs => this.locs = locs);\n }\n\n ngOnInit(): void {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-buyer/all-loc-buyer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.css\n// module id = ../../../../../src/app/all-loc-seller/all-loc-seller.component.css\n// module chunks = main","module.exports = \"
\\n
\\n Orders\\n \\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
Order RefBuyerAdvising BankAmountQuantityDescriptionStatus
\\n {{loc.orderRef}}\\n \\n {{loc.applicant}}\\n \\n {{loc.advisory}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.quantity}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.html\n// module id = ../../../../../src/app/all-loc-seller/all-loc-seller.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocStateSummary } from './../loc-state-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ShipModalComponent } from './../modals/ship-modal.component';\nimport { CreateBolModalComponent } from './../modals/create-bol-modal.component'\nimport { CreatePlModalComponent } from './../modals/create-pl-modal.component'\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component'\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component';\n\n@Component({\n selector: 'all-loc-seller',\n templateUrl: './all-loc-seller.component.html',\n styleUrls: ['./all-loc-seller.component.css']\n})\nexport class AllLocSellerComponent implements OnInit {\n @Input() getAllUrl: string;\n bsModalRef: BsModalRef;\n locs: LocStateSummary[] = []\n\n constructor(private locService: LocService,\n private modalService: BsModalService) { }\n\n /*shipGoods(loc: LocSummary): void {\n if (confirm('Confirm you want to ship ' + loc.id)) {\n this.locService.shipGoods(loc);\n }\n }*/\n\n createInvoice() {\n this.bsModalRef = this.modalService.show(CreateInvoiceModalComponent);\n this.bsModalRef.content.title = 'Create';\n }\n\n shipGoods(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(ShipModalComponent);\n this.bsModalRef.content.title = 'Upload trade documents';\n this.bsModalRef.content.locSummary = loc;\n }\n\n addBol(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(CreateBolModalComponent);\n this.bsModalRef.content.title = 'Bill of Lading';\n this.bsModalRef.content.locSummary = loc;\n }\n\n addPl(loc: LocStateSummary) {\n this.bsModalRef = this.modalService.show(CreatePlModalComponent);\n this.bsModalRef.content.title = 'Packing List';\n this.bsModalRef.content.locSummary = loc;\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocStateModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Letter of Credit';\n this.bsModalRef.content.locId = ref;\n }\n\n rejectOrder(loc: LocStateSummary) {\n }\n\n ngOnInit(): void {\n this.locService.getActiveLocs().then(locs => this.locs = locs);\n // this.locService.getDummySummary().then(locs => this.locs = locs);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc-seller/all-loc-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.css\n// module id = ../../../../../src/app/all-loc/all-loc.component.css\n// module chunks = main","module.exports = \"
\\n
Letters of Credit
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.html\n// module id = ../../../../../src/app/all-loc/all-loc.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { CurrencyPipe } from '@angular/common';\n\n@Component({\n selector: 'all-loc',\n templateUrl: './all-loc.component.html',\n styleUrls: ['./all-loc.component.css']\n})\nexport class AllLocComponent implements OnInit {\n @Input() getAllUrl: string;\n locs: LocSummary[] = []\n\n constructor(private locService: LocService) { }\n\n ngOnInit(): void {\n this.locService.getAllLocApps(this.getAllUrl).then(locs => this.locs = locs);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/all-loc/all-loc.component.ts","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nimport { DashboardIssuerComponent } from './dashboard-issuer/dashboard-issuer.component';\r\nimport { DashboardAdvisingComponent } from './dashboard-advising/dashboard-advising.component';\r\nimport { DashboardBuyerComponent } from './dashboard-buyer/dashboard-buyer.component';\r\nimport { DashboardSellerComponent } from './dashboard-seller/dashboard-seller.component';\r\nimport { DashboardOverallComponent } from './dashboard-overall/dashboard-overall.component';\r\nimport { ActiveLocComponent } from './active-loc/active-loc.component';\r\nimport { ApplyForLocComponent } from './apply-for-loc/apply-for-loc.component';\r\nimport { ApproveLocComponent } from './approve-loc/approve-loc.component';\r\nimport { BillOfLadingComponent } from './bill-of-lading/bill-of-lading.component';\r\nimport { PackingListComponent } from './packing-list/packing-list.component';\r\nimport { InvoiceCreateComponent } from './invoice-create/invoice.component';\r\nimport { ShipComponent } from './ship/ship.component';\r\nimport { AllLocSellerComponent } from './all-loc-seller/all-loc-seller.component';\r\nimport { SpinnerComponent } from './spinner/spinner.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { TimelineComponent } from'./timeline/timeline.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: '/login', pathMatch: 'full' },\r\n { path: 'dashboard', component: DashboardOverallComponent },\r\n { path: 'approve/:id', component: ApproveLocComponent },\r\n { path: 'activeloc', component: ActiveLocComponent },\r\n { path: 'buyer', component: DashboardBuyerComponent },\r\n { path: 'seller', component: DashboardSellerComponent },\r\n { path: 'issuing', component: DashboardIssuerComponent},\r\n { path: 'advising', component: DashboardAdvisingComponent},\r\n { path: 'applyforloc', component: ApplyForLocComponent },\r\n { path: 'billoflading', component: BillOfLadingComponent },\r\n { path: 'packinglist', component: PackingListComponent },\r\n { path: 'invoice', component: InvoiceCreateComponent },\r\n { path: 'invoice/:id', component: InvoiceCreateComponent },\r\n { path: 'ship/:id', component: ShipComponent },\r\n { path: 'locsummary/:first', component: AllLocSellerComponent },\r\n { path: 'login', component: LoginComponent },\r\n { path: '**', component: LoginComponent },\r\n { path: 'test', component: TimelineComponent },\r\n { path: 'corda', component: DashboardSellerComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [ RouterModule.forRoot(routes) ],\r\n exports: [ RouterModule ]\r\n})\r\nexport class AppRoutingModule {}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app-routing.module.ts","module.exports = \"\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/app.component.html\n// module id = ../../../../../src/app/app.component.html\n// module chunks = main","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/app.component.scss\n// module id = ../../../../../src/app/app.component.scss\n// module chunks = main","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'my-app',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n title = 'Trade Finance'\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app.component.ts","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { FormsModule } from '@angular/forms';\nimport { HttpModule } from '@angular/http';\n\nimport { AppRoutingModule } from './app-routing.module'\n\n// Imports for loading & configuring the in-memory web api\nimport { InMemoryWebApiModule } from 'angular-in-memory-web-api';\nimport { InMemoryDataService } from './in-memory-data.service';\n\nimport { RefreshService } from './services/refresh.service';\n\nimport { AppComponent } from './app.component';\nimport { ActiveLocComponent } from './active-loc/active-loc.component';\nimport { ApplyForLocComponent } from './apply-for-loc/apply-for-loc.component';\nimport { LocService } from './loc.service';\nimport { DocsService } from './services/docs.service'\nimport { CreditTypeService } from './services/credit-types/credit-type.service';\nimport { CommonService } from './services/common/common.service';\nimport { IssuingBankService } from './services/issuing-bank.service';\nimport { AdvisingBankService } from './services/advising-bank.service';\nimport { RouterModule } from '@angular/router';\nimport { MainMenuComponent } from './main-menu/main-menu.component';\nimport { HeaderComponent } from './header/header.component';\nimport { AwaitingApprovalComponent } from './awaiting-approval/awaiting-approval.component';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { DatePickerComponent } from './helpers/date-picker/date-picker.component';\nimport { ModalModule } from 'ngx-bootstrap';\nimport { ApplyModalComponent } from './modals/apply-modal.component';\nimport { DocsModalComponent } from './modals/docs-modal.component';\nimport { ShipModalComponent } from './modals/ship-modal.component';\nimport { CreatePlModalComponent } from './modals/create-pl-modal.component';\nimport { CreateBolModalComponent } from './modals/create-bol-modal.component';\nimport { CreateInvoiceModalComponent } from './modals/create-invoice-modal.component';\nimport { ViewInvoiceModalComponent } from './modals/view-invoice-modal.component';\nimport { ApproveLocModalComponent } from './modals/approve-loc-modal.component';\nimport { ViewLocStateModalComponent } from './modals/view-loc-state-modal.component';\nimport { ViewLocAppModalComponent } from './modals/view-loc-app-modal.component';\nimport { ViewBolModalComponent } from './modals/view-bol-modal.component';\nimport { ViewPlModalComponent } from './modals/view-pl-modal.component';\nimport { ResponseModalComponent } from './modals/response-modal.component';\nimport { FinancesComponent } from './finances/finances.component';\nimport { CashBalanceComponent } from './cash-balance/cash-balance.component';\nimport { ChartsModule } from 'ng2-charts';\nimport { AllLocComponent } from './all-loc/all-loc.component';\nimport { AllLocSellerComponent } from './all-loc-seller/all-loc-seller.component';\nimport { ApproveLocComponent } from './approve-loc/approve-loc.component';\nimport { BillOfLadingComponent } from './bill-of-lading/bill-of-lading.component';\nimport { PackingListComponent } from './packing-list/packing-list.component';\nimport { InvoiceCreateComponent } from './invoice-create/invoice.component';\nimport { InvoiceViewComponent } from './invoice-view/invoice-view.component'\nimport { DashboardIssuerComponent } from './dashboard-issuer/dashboard-issuer.component';\nimport { DashboardAdvisingComponent } from './dashboard-advising/dashboard-advising.component';\nimport { DashboardBuyerComponent } from './dashboard-buyer/dashboard-buyer.component';\nimport { DashboardSellerComponent } from './dashboard-seller/dashboard-seller.component';\nimport { DashboardOverallComponent } from './dashboard-overall/dashboard-overall.component';\nimport { ShipComponent } from './ship/ship.component';\nimport { GoodsShippedComponent } from './goods-shipped/goods-shipped.component';\nimport { AllLocBuyerComponent } from './all-loc-buyer/all-loc-buyer.component';\nimport { DocsComponent } from './docs/docs.component';\nimport { AllLocAdvisingComponent } from './all-loc-advising/all-loc-advising.component';\nimport { DocumentUploadComponent } from './document-upload/document-upload.component';\nimport { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload';\nimport { AllInvoiceComponent } from './all-invoice/all-invoice.component';\nimport { AllInvoiceSellerComponent } from './all-invoice-seller/all-invoice-seller.component';\nimport { LocStateViewComponent } from './loc-state-view/loc-state-view.component';\nimport { LocAppViewComponent } from './loc-app-view/loc-app-view.component';\nimport { AwaitingApprovalIssuerComponent } from './awaiting-approval-issuer/awaiting-approval-issuer.component';\nimport { SpinnerComponent } from './spinner/spinner.component';\nimport { BillOfLadingViewComponent } from './bill-of-lading-view/bill-of-lading-view.component';\nimport { PackingListViewComponent } from './packing-list-view/packing-list-view.component';\nimport { LoginComponent } from './login/login.component';\nimport { CommaSeperatedNumberPipe } from './comma-seperated-number.pipe';\nimport { IdentityService } from './services/identity.service'\nimport { Ng2OdometerModule } from 'ng2-odometer';\nimport { TimelineComponent } from './timeline/timeline.component';\nimport { ViewBolTimelineModalComponent } from'./modals/view-bol-timeline-modal.component'\n\n@NgModule({\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n FormsModule,\n HttpModule,\n InMemoryWebApiModule.forRoot(InMemoryDataService, {\n passThruUnknownUrl: true\n }),\n AppRoutingModule,\n DatepickerModule.forRoot(),\n ModalModule.forRoot(),\n ChartsModule,\n Ng2OdometerModule.forRoot()\n ],\n declarations: [\n AppComponent,\n ActiveLocComponent,\n ApplyForLocComponent,\n MainMenuComponent,\n HeaderComponent,\n AwaitingApprovalComponent,\n FinancesComponent,\n DatePickerComponent,\n ApplyModalComponent,\n DocsModalComponent,\n ShipModalComponent,\n CreatePlModalComponent,\n CreateBolModalComponent,\n CreateInvoiceModalComponent,\n ViewInvoiceModalComponent,\n ApproveLocModalComponent,\n ViewLocStateModalComponent,\n ViewLocAppModalComponent,\n ViewPlModalComponent,\n ViewBolModalComponent,\n ResponseModalComponent,\n CashBalanceComponent,\n AllLocComponent,\n AllLocSellerComponent,\n ApproveLocComponent,\n BillOfLadingComponent,\n PackingListComponent,\n InvoiceCreateComponent,\n InvoiceViewComponent,\n DashboardIssuerComponent,\n DashboardAdvisingComponent,\n DashboardBuyerComponent,\n DashboardSellerComponent,\n DashboardOverallComponent,\n ShipComponent,\n GoodsShippedComponent,\n AllLocBuyerComponent,\n DocsComponent,\n AllLocAdvisingComponent,\n DocumentUploadComponent,\n FileSelectDirective,\n FileDropDirective,\n AllInvoiceComponent,\n AllInvoiceSellerComponent,\n LocStateViewComponent,\n LocAppViewComponent,\n AwaitingApprovalIssuerComponent,\n SpinnerComponent,\n BillOfLadingViewComponent,\n PackingListViewComponent,\n LoginComponent,\n CommaSeperatedNumberPipe,\n TimelineComponent,\n ViewBolTimelineModalComponent\n],\n providers: [\n LocService,\n DocsService,\n CreditTypeService,\n CommonService,\n IssuingBankService,\n AdvisingBankService,\n RefreshService,\n IdentityService\n ],\n entryComponents: [ApplyModalComponent, DocsModalComponent, ShipModalComponent, CreatePlModalComponent,\n CreateBolModalComponent, CreateInvoiceModalComponent, ResponseModalComponent, ViewInvoiceModalComponent,\n ApproveLocModalComponent, ViewLocStateModalComponent, ViewLocAppModalComponent,\n ViewPlModalComponent, ViewBolModalComponent, ViewBolTimelineModalComponent,\n MainMenuComponent, AllLocBuyerComponent, AllLocSellerComponent, DashboardSellerComponent,\n AllInvoiceComponent, AwaitingApprovalComponent, BillOfLadingComponent, PackingListComponent],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/app.module.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ng-valid[required], .ng-valid.required {\\r\\n border-left: 5px solid #42A948; /* green */\\r\\n}\\r\\n\\r\\n.ng-invalid:not(form) {\\r\\n border-left: 5px solid #a94442; /* red */\\r\\n}\\r\\n\\r\\n\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.css\n// module id = ../../../../../src/app/apply-for-loc/apply-for-loc.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n\\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n
\\n\\n
\\n
\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n\\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.html\n// module id = ../../../../../src/app/apply-for-loc/apply-for-loc.component.html\n// module chunks = main","import { Component, OnInit, Input} from '@angular/core';\nimport { Loc } from './../loc';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { CreditTypeService } from './../services/credit-types/credit-type.service';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ApplyModalComponent } from './../modals/apply-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport './../../assets/modal.js'\n\n@Component({\n selector: 'apply-for-loc',\n templateUrl: './apply-for-loc.component.html',\n styleUrls: ['./apply-for-loc.component.css'],\n providers: [CreditTypeService, CommonService, LocService]\n})\nexport class ApplyForLocComponent implements OnInit {\n\n creditTypes: CreditType[];\n currencies: Currency[];\n weightunits: WeightUnit[];\n advisingBanks: Party[];\n applicant: string;\n today: number = Date.now();\n bsModalRef: BsModalRef;\n\n loc = new Loc();\n @Input() orderRef: string;\n submitted = false;\n\n constructor(\n private creditTypesService: CreditTypeService,\n private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ApplyModalComponent,\n private modalService: BsModalService) {\n }\n\n getCreditTypes(): void {\n this.creditTypesService.getCreditTypes().then(creditTypes => this.creditTypes = creditTypes);\n }\n\n getCurrencies(): void {\n this.commonService.getCurrencies().then(currencies => this.currencies = currencies);\n }\n\n getWeightUnits(): void {\n this.commonService.getWeightUnits().then(weightunits => this.weightunits = weightunits);\n }\n\n getAdvisingBanks(): void {\n this.locService.getPeers().then(advisingBanks => this.advisingBanks = advisingBanks)\n }\n\n getMe(): void {\n this.locService.getMe('').then(me => this.applicant = me.name)\n }\n\n createLoc(): void {\n this.locService.createLoc(this.loc).then(result => this.callResponse(result));\n this.close()\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n autoComplete(): void {\n let d = new Date()\n this.loc.applicationDate = d;\n this.loc.applicationId = this.orderRef[0];\n this.loc.typeCredit = 'SIGHT';\n this.loc.amount = 30000;\n this.loc.issuer = 'Issuing';\n this.loc.currency = 'USD';\n let year = d.getFullYear() + 1;\n let month = d.getMonth();\n let day = d.getDay();\n this.loc.expiryDate = new Date(year, month, day)\n this.loc.portLoadingAddress = '1 Silicon Way';\n this.loc.portLoadingCity = 'San Francisco';\n this.loc.portLoadingCountry = 'US'\n this.loc.portDischargeAddress = '3 Sea Way';\n this.loc.portDischargeCity = 'Dover';\n this.loc.portDischargeCountry = 'UK';\n this.loc.goodsDescription = 'OLED 6\" Screens';\n this.loc.goodsQuantity = 10000;\n this.loc.goodsWeight = 1000;\n this.loc.goodsWeightUnit = 'KG';\n this.loc.goodsUnitPrice = 400;\n this.loc.goodsPurchaseOrderRef = this.orderRef[0];\n this.loc.placePresentationCountry = 'UK';\n this.loc.placePresentationCity = 'Dover';\n this.loc.placePresentationState = 'Dover';\n this.loc.lastShipmentDate = this.loc.expiryDate;\n this.loc.periodPresentation = 1;\n this.loc.beneficiary = 'Seller'\n this.loc.applicant = this.applicant;\n this.loc.advisingBank = 'Advising'\n }\n\n ngOnInit() {\n this.getCreditTypes();\n this.getCurrencies();\n this.getWeightUnits();\n this.getAdvisingBanks();\n this.getMe();\n this.loc.applicant = this.applicant;\n this.loc.applicationId = this.orderRef;\n }\n\n onSubmit() {\n this.submitted = true;\n this.loc.currency = 'USD'\n this.createLoc();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/apply-for-loc/apply-for-loc.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.css\n// module id = ../../../../../src/app/approve-loc/approve-loc.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.html\n// module id = ../../../../../src/app/approve-loc/approve-loc.component.html\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Loc } from './../loc';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\n\n@Component({\n selector: 'approve-loc',\n templateUrl: './approve-loc.component.html',\n styleUrls: ['./approve-loc.component.css'],\n providers: [LocService]\n})\nexport class ApproveLocComponent implements OnChanges {\n @Input() ref: string;\n loc: Loc;\n submitted = false;\n txResponse: string;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(\n private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ApproveLocModalComponent,\n private modalService: BsModalService) { }\n\n approveLoc(): void {\n this.locService.approveLoc(this.loc.txRef).then(result => this.callResponse(result));\n this.close()\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent, Object.assign({}, {class: 'gray'}));\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n onSubmit() {\n this.submitted = true;\n this.approveLoc();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLocApp(this.ref).then(loc => this.loc = loc);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/approve-loc/approve-loc.component.ts","module.exports = \"
\\n
Applications awaiting approval
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html\n// module id = ../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\n min-height: 250px; }\\n\\nbody {\\n font: 25px Oswald; }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss\n// module id = ../../../../../src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.scss\n// module chunks = main","import { Component, OnInit, ElementRef } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { RefreshService } from './../services/refresh.service';\n\n@Component({\n selector: 'awaiting-approval-issuer',\n templateUrl: './awaiting-approval-issuer.component.html',\n styleUrls: ['./awaiting-approval-issuer.component.scss']\n})\nexport class AwaitingApprovalIssuerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n locs: LocSummary[] = [];\n\n constructor(private locService: LocService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ApproveLocModalComponent, Object.assign({}, { class: 'gray modal-lg' }));\n this.bsModalRef.content.title = 'Letter of Credit Approval';\n this.bsModalRef.content.locId = ref;\n this.bsModalRef.content.readOnly = true;\n }\n\n update() {\n this.locService.getAwaitingApprovalLocsIssuer().then(locs => this.locs = locs);\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval-issuer/awaiting-approval-issuer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n font:25px Oswald;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.css\n// module id = ../../../../../src/app/awaiting-approval/awaiting-approval.component.css\n// module chunks = main","module.exports = \"
\\n
Applications awaiting approval
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantBeneficiaryAmountDescription
\\n {{loc.applicant}}\\n \\n {{loc.beneficiary}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.html\n// module id = ../../../../../src/app/awaiting-approval/awaiting-approval.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApproveLocModalComponent } from './../modals/approve-loc-modal.component';\nimport { ViewLocAppModalComponent } from './../modals/view-loc-app-modal.component';\nimport { RefreshService } from './../services/refresh.service';\ndeclare var $: any;\n\n@Component({\n selector: 'awaiting-approval',\n templateUrl: './awaiting-approval.component.html',\n styleUrls: ['./awaiting-approval.component.css']\n})\nexport class AwaitingApprovalComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n locs: LocSummary[] = [];\n\n constructor(private locService: LocService,\n private modalService: BsModalService,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.update();\n });\n }\n\n public openLocModal(ref: string) {\n this.bsModalRef = this.modalService.show(ViewLocAppModalComponent, Object.assign({}, { class: 'gray modal-lg' }));\n this.bsModalRef.content.title = 'Letter of Credit Application';\n this.bsModalRef.content.locId = ref;\n this.bsModalRef.content.readOnly = true;\n }\n\n update() {\n this.locService.getAwaitingApprovalLocs().then(locs => this.locs = locs);\n }\n\n ngOnInit() {\n this.update();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/awaiting-approval/awaiting-approval.component.ts","module.exports = \"
\\n
\\n \\n
\\n \\n
\\n
\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.html\n// module id = ../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.scss\n// module id = ../../../../../src/app/bill-of-lading-view/bill-of-lading-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Bol } from './../bol'\nimport { DocsService } from './../services/docs.service'\nimport { ViewBolModalComponent } from './../modals/view-bol-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'bill-of-lading-view',\n templateUrl: './bill-of-lading-view.component.html',\n styleUrls: ['./bill-of-lading-view.component.scss']\n})\nexport class BillOfLadingViewComponent implements OnChanges {\n @Input() id: string\n @Input() requestor: string\n bol: Bol;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewBolModalComponent,\n private modalService: BsModalService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getBol(this.id, this.requestor).then(bol => this.bol = bol);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading-view/bill-of-lading-view.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.css\n// module id = ../../../../../src/app/bill-of-lading/bill-of-lading.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n
\\n
\\n\\n \\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.html\n// module id = ../../../../../src/app/bill-of-lading/bill-of-lading.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { Bol } from './../bol'\nimport { Party } from './../party'\nimport { DocsService } from './../services/docs.service'\nimport { CreateBolModalComponent } from './../modals/create-bol-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport { LocStateSummary } from './../loc-state-summary'\n\n@Component({\n selector: 'bill-of-lading',\n templateUrl: './bill-of-lading.component.html',\n styleUrls: ['./bill-of-lading.component.css']\n})\nexport class BillOfLadingComponent implements OnInit {\n bol = new Bol();\n submitted = false;\n bsModalRef: BsModalRef;\n @Input() loc: LocStateSummary;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreateBolModalComponent,\n private modalService: BsModalService) { }\n\n createBol(): void {\n this.bol.advisingBank = this.loc[0].advisory;\n this.bol.issuingBank = this.loc[0].issuer;\n this.docsService.createBol(this.bol).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.bol.billOfLadingId = this.loc[0].orderRef;\n this.bol.issueDate = d;\n this.bol.carrierOwner = 'Alice';\n\n this.bol.nameOfVessel = 'SurfRider';\n this.bol.goodsDescription = this.loc[0].description;\n this.bol.goodsQuantity = 10000;\n this.bol.dateOfShipment = d;\n\n this.bol.portOfLoadingCountry = 'China'\n this.bol.portOfLoadingCity = 'Beijing'\n this.bol.portOfLoadingAddress = '123 Street'\n\n this.bol.portOfDischargeCountry = 'USA'\n this.bol.portOfDischargeCity = 'Des Moines'\n this.bol.portOfDischargeAddress = 'ABC Street'\n\n this.bol.shipper = this.loc[0].beneficiary;\n this.bol.notifyName = 'Foo Bar'\n this.bol.notifyAddress = '123 Street, London'\n this.bol.notifyPhone = '+442076909856'\n\n this.bol.consigneeName = this.loc[0].applicant\n this.bol.consigneeAddress = '123 Main St. Awesome Town, ZZ 11111';\n this.bol.consigneePhone = '+0027590043622'\n\n this.bol.grossWeight = 1000\n this.bol.grossWeightUnit = 'KG'\n\n this.bol.placeOfReceiptCountry = 'USA'\n this.bol.placeOfReceiptCity = 'Des Moines'\n\n this.bol.buyer = this.bol.consigneeName\n this.bol.advisingBank = this.loc[0].advisingBank;\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createBol();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bill-of-lading/bill-of-lading.component.ts","import { Serializable } from './serializable'\n\nexport class BolEvents implements Serializable {\n public dict: any[] = [];\n\n deserialize(input: any): BolEvents {\n input.forEach((element: any) => {\n this.dict.push({\n key: element.first,\n value: element.second\n });\n });\n return this;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bol-events.ts","import { Serializable } from './serializable';\r\n\r\nexport class Bol implements Serializable {\r\n\r\n public owner: string;\r\n\r\n public billOfLadingId: string;\r\n public issueDate: Date;\r\n public carrierOwner: string;\r\n\r\n public nameOfVessel: string;\r\n public goodsDescription: string;\r\n public goodsQuantity: number;\r\n public dateOfShipment: Date;\r\n\r\n public portOfLoadingCountry: string;\r\n public portOfLoadingCity: string;\r\n public portOfLoadingAddress: string;\r\n\r\n public portOfDischargeCountry: string;\r\n public portOfDischargeCity: string;\r\n public portOfDischargeAddress: string;\r\n\r\n public shipper: string;\r\n public notifyName: string;\r\n public notifyAddress: string;\r\n public notifyPhone: string;\r\n\r\n public consigneeName: string;\r\n public consigneeAddress: string;\r\n public consigneePhone: string;\r\n\r\n public grossWeight: number;\r\n public grossWeightUnit: string;\r\n\r\n public placeOfReceiptCountry: string;\r\n public placeOfReceiptCity: string;\r\n\r\n public buyer: string;\r\n public advisingBank: string;\r\n public issuingBank: string;\r\n\r\n deserialize(input: any) {\r\n this.owner = input.owner;\r\n\r\n this.billOfLadingId = input.props.billOfLadingID;\r\n this.issueDate = input.props.issueDate;\r\n this.carrierOwner = input.props.carrierOwner;\r\n\r\n this.nameOfVessel = input.props.nameOfVessel;\r\n this.goodsDescription = input.props.descriptionOfGoods[0].description;\r\n this.goodsQuantity = input.props.descriptionOfGoods[0].quantity;\r\n this.dateOfShipment = input.props.dateOfShipment;\r\n\r\n this.portOfLoadingCountry = input.props.portOfLoading.country;\r\n this.portOfLoadingCity = input.props.portOfLoading.city;\r\n this.portOfLoadingAddress = input.props.portOfLoading.address;\r\n\r\n this.portOfDischargeCountry = input.props.portOfDischarge.country;\r\n this.portOfDischargeCity = input.props.portOfDischarge.city;\r\n this.portOfDischargeAddress = input.props.portOfDischarge.address;\r\n\r\n this.shipper = input.props.carrierOwner;\r\n this.notifyName = input.props.notify.name;\r\n this.notifyAddress = input.props.notify.address;\r\n this.notifyPhone = input.props.notify.phone;\r\n\r\n this.consigneeName = input.props.consignee.name;\r\n this.consigneeAddress = input.props.consignee.address;\r\n this.consigneePhone = input.props.consignee.phone;\r\n\r\n this.grossWeight = input.props.grossWeight.quantity;\r\n this.grossWeightUnit = input.props.grossWeight.unit;\r\n\r\n this.placeOfReceiptCountry = input.props.placeOfReceipt.country;\r\n this.placeOfReceiptCity = input.props.placeOfReceipt.city;\r\n\r\n this.buyer = input.beneficiary;\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/bol.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"div {\\r\\n font-family: oswald !important;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.css\n// module id = ../../../../../src/app/cash-balance/cash-balance.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n
\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n
CurrencyAmount
{{cashBalances.currency}}\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.html\n// module id = ../../../../../src/app/cash-balance/cash-balance.component.html\n// module chunks = main","import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Cash } from './../cash'\nimport { LocService } from './../loc.service'\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\nimport { RefreshService } from './../services/refresh.service';\ndeclare var $: any;\n\n@Component({\n selector: 'cash-balance',\n templateUrl: './cash-balance.component.html',\n styleUrls: ['./cash-balance.component.css']\n})\nexport class CashBalanceComponent implements OnInit {\n @Input() node: string;\n cashBalances: Cash\n\n constructor(private locService: LocService,\n private route: ActivatedRoute,\n private refreshService: RefreshService) {\n refreshService.missionConfirmed$.subscribe(\n result => {\n this.getCashBalances();\n });\n }\n\n getCashBalances() {\n let id = this.route.snapshot.url[0].toString();\n this.locService.getCashBalances(id).then(cashBalances => this.cashBalances = cashBalances);\n }\n\n ngOnInit() {\n this.getCashBalances();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/cash-balance/cash-balance.component.ts","import { Serializable } from './serializable'\r\n\r\nexport class Cash implements Serializable {\r\n currency: string;\r\n amount: number;\r\n\r\n deserialize(input: any) {\r\n let temp = input.USD;\r\n this.currency = Object.keys(input)[0];\r\n this.amount = temp.substring(0, temp.length - 7);\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/cash.ts","export class ClaimFund {\r\n public ref: string;\r\n public party: string;\r\n\r\n constructor(ref: string, party: string) {\r\n this.ref = ref;\r\n this.party = party;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/claim-fund.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'comma-seperated-number'\n})\nexport class CommaSeperatedNumberPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n return value.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/comma-seperated-number.pipe.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.css\n// module id = ../../../../../src/app/dashboard-advising/dashboard-advising.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.html\n// module id = ../../../../../src/app/dashboard-advising/dashboard-advising.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-advising',\n templateUrl: './dashboard-advising.component.html',\n styleUrls: ['./dashboard-advising.component.css']\n})\nexport class DashboardAdvisingComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-advising/dashboard-advising.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\r\\n background-color: black;\\r\\n background-image: url('https://i.imgsafe.org/6c147abfa3.jpg');\\r\\n background-repeat: repeat;\\r\\n color: white;\\r\\n font-family: 'Oswald', sans-serif;\\r\\n letter-spacing: .2rem;\\r\\n margin: 0;\\r\\n overflow: hidden;\\r\\n -webkit-perspective: 1000px;\\r\\n perspective: 1000px;\\r\\n text-transform: uppercase;\\r\\n}\\r\\n.site-wrap {\\r\\n transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n}\\r\\n.site-wrap.show-all {\\r\\n -webkit-transform: rotateY(-15deg) scale(0.2);\\r\\n transform: rotateY(-15deg) scale(0.2);\\r\\n}\\r\\n.panel-wrap {\\r\\n height: 100vh;\\r\\n width: 100vw;\\r\\n}\\r\\nh1 {\\r\\n font-size: 20vmin;\\r\\n margin: 0;\\r\\n}\\r\\n.panel-wrap {\\r\\n -webkit-perspective: 2000px;\\r\\n perspective: 2000px;\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n}\\r\\n.panel-wrap.animate--shrink,\\r\\n.panel-wrap.animate--tilt,\\r\\n.panel-wrap.animate--tilt2 {\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;\\r\\n}\\r\\n.panel {\\r\\n height: 100vh;\\r\\n position: absolute;\\r\\n transition: -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n width: 100vw;\\r\\n will-change: transform;\\r\\n}\\r\\n.panel:before {\\r\\n background-color: transparent;\\r\\n bottom: 0;\\r\\n content: \\\"\\\";\\r\\n left: 0;\\r\\n pointer-events: none;\\r\\n position: absolute;\\r\\n right: 0;\\r\\n top: 0;\\r\\n transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n z-index: 2;\\r\\n}\\r\\n.show-all .panel:before {\\r\\n pointer-events: all;\\r\\n}\\r\\n.show-all .panel:hover:before {\\r\\n background-color: rgba(255, 255, 255, 0.1);\\r\\n cursor: pointer;\\r\\n}\\r\\n.animate--shrink.animate .panel {\\r\\n -webkit-transform: scale(0.9);\\r\\n transform: scale(0.9);\\r\\n}\\r\\n.animate--tilt.animate .panel {\\r\\n -webkit-transform: scale(0.6) rotateY(-25deg);\\r\\n transform: scale(0.6) rotateY(-25deg);\\r\\n}\\r\\n.animate--tilt2.animate .panel {\\r\\n -webkit-transform: scale(0.8) rotateX(25deg);\\r\\n transform: scale(0.8) rotateX(25deg);\\r\\n}\\r\\n.panel h1 {\\r\\n cursor: default;\\r\\n left: 50%;\\r\\n line-height: 1;\\r\\n position: absolute;\\r\\n text-align: center;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%);\\r\\n transform: translateX(-50%) translateY(-50%);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n}\\r\\n.panel[data-x-pos=\\\"-2\\\"] {\\r\\n left: -200%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"-1\\\"] {\\r\\n left: -100%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"1\\\"] {\\r\\n left: 100%;\\r\\n}\\r\\n.panel[data-x-pos=\\\"2\\\"] {\\r\\n left: 200%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"-2\\\"] {\\r\\n top: 200%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"-1\\\"] {\\r\\n top: 100%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"1\\\"] {\\r\\n top: -100%;\\r\\n}\\r\\n.panel[data-y-pos=\\\"2\\\"] {\\r\\n top: -200%;\\r\\n}\\r\\n.panel__zoom {\\r\\n cursor: pointer;\\r\\n left: 50%;\\r\\n opacity: .2;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\\r\\n transform: translateX(-50%) translateY(-50%) translateY(-12vmin);\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n z-index: 10;\\r\\n}\\r\\n.panel__zoom:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.show-all .panel__zoom {\\r\\n pointer-events: none;\\r\\n}\\r\\n.panel__nav {\\r\\n cursor: pointer;\\r\\n opacity: .2;\\r\\n position: absolute;\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n will-change: opacity;\\r\\n}\\r\\n.panel__nav--up {\\r\\n left: 50%;\\r\\n top: 1rem;\\r\\n -webkit-transform: translateX(-50%);\\r\\n transform: translateX(-50%);\\r\\n}\\r\\n.panel__nav--left {\\r\\n left: 1rem;\\r\\n top: 50%;\\r\\n -webkit-transform: translateY(-50%) rotate(-90deg) translateX(-100%);\\r\\n transform: translateY(-50%) rotate(-90deg) translateX(-100%);\\r\\n -webkit-transform-origin: top left;\\r\\n transform-origin: top left;\\r\\n}\\r\\n.panel__nav--left-top {\\r\\n left: 1rem;\\r\\n top: 1rem;\\r\\n}\\r\\n.panel__nav--left-down {\\r\\n bottom: 1rem;\\r\\n left: 1rem;\\r\\n}\\r\\n.panel__nav--right {\\r\\n right: 1rem;\\r\\n top: 50%;\\r\\n -webkit-transform: translateY(-50%) rotate(90deg) translateX(100%);\\r\\n transform: translateY(-50%) rotate(90deg) translateX(100%);\\r\\n -webkit-transform-origin: top right;\\r\\n transform-origin: top right;\\r\\n}\\r\\n.panel__nav--right-top {\\r\\n right: 1rem;\\r\\n top: 1rem;\\r\\n}\\r\\n.panel__nav--right-down {\\r\\n bottom: 1rem;\\r\\n right: 1rem;\\r\\n}\\r\\n.panel__nav--down {\\r\\n bottom: 1rem;\\r\\n left: 50%;\\r\\n -webkit-transform: translateX(-50%);\\r\\n transform: translateX(-50%);\\r\\n}\\r\\n.panel__nav:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.panel__animation-list {\\r\\n font-size: 3.3vmin;\\r\\n left: 50%;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n -webkit-transform: translateX(-50%) translateY(-50%) translateY(14vmin);\\r\\n transform: translateX(-50%) translateY(-50%) translateY(14vmin);\\r\\n}\\r\\n.panel__animation-list span {\\r\\n cursor: pointer;\\r\\n display: inline-block;\\r\\n opacity: .2;\\r\\n position: relative;\\r\\n transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n -webkit-user-select: none;\\r\\n -moz-user-select: none;\\r\\n -ms-user-select: none;\\r\\n user-select: none;\\r\\n}\\r\\n.panel__animation-list span:after {\\r\\n border-bottom: .3vmin solid transparent;\\r\\n bottom: 0;\\r\\n content: \\\"\\\";\\r\\n left: -1px;\\r\\n position: absolute;\\r\\n right: 0;\\r\\n transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);\\r\\n width: 100%;\\r\\n}\\r\\n.panel__animation-list span.active,\\r\\n.panel__animation-list span:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.panel__animation-list span.active:after,\\r\\n.panel__animation-list span:hover:after {\\r\\n border-color: white;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.css\n// module id = ../../../../../src/app/dashboard-buyer/dashboard-buyer.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.html\n// module id = ../../../../../src/app/dashboard-buyer/dashboard-buyer.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-buyer',\n templateUrl: './dashboard-buyer.component.html',\n styleUrls: ['./dashboard-buyer.component.css']\n})\nexport class DashboardBuyerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService) { }\n\n public openModalWithComponent() {\n this.bsModalRef = this.modalService.show(ApplyModalComponent, Object.assign({}, {class: 'gray modal-lg'}));\n this.bsModalRef.content.title = 'Apply';\n }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-buyer/dashboard-buyer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.css\n// module id = ../../../../../src/app/dashboard-issuer/dashboard-issuer.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n\\n
\\n
\\n \\n
\\n\\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.html\n// module id = ../../../../../src/app/dashboard-issuer/dashboard-issuer.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-issuer',\n templateUrl: './dashboard-issuer.component.html',\n styleUrls: ['./dashboard-issuer.component.css']\n})\nexport class DashboardIssuerComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-issuer/dashboard-issuer.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.css\n// module id = ../../../../../src/app/dashboard-overall/dashboard-overall.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n\\n
\\n
\\n \\n
\\n\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.html\n// module id = ../../../../../src/app/dashboard-overall/dashboard-overall.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'dashboard-overall',\n templateUrl: './dashboard-overall.component.html',\n styleUrls: ['./dashboard-overall.component.css']\n})\nexport class DashboardOverallComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-overall/dashboard-overall.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.css\n// module id = ../../../../../src/app/dashboard-seller/dashboard-seller.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.html\n// module id = ../../../../../src/app/dashboard-seller/dashboard-seller.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component';\ndeclare var $: any;\n\n@Component({\n selector: 'dashboard-seller',\n templateUrl: './dashboard-seller.component.html',\n styleUrls: ['./dashboard-seller.component.css']\n})\nexport class DashboardSellerComponent implements OnInit {\n bsModalRef: BsModalRef;\n\n constructor(private modalService: BsModalService) { }\n\n ngOnInit() {\n $('.panel').addClass('module');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/dashboard-seller/dashboard-seller.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.css\n// module id = ../../../../../src/app/docs/docs.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.html\n// module id = ../../../../../src/app/docs/docs.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'docs',\n templateUrl: './docs.component.html',\n styleUrls: ['./docs.component.css']\n})\nexport class DocsComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/docs/docs.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.css\n// module id = ../../../../../src/app/document-upload/document-upload.component.css\n// module chunks = main","module.exports = \"\\n\\n
\\n\\n
\\n\\n
\\n\\n

Select files

\\n\\n
\\n Drop zone\\n
\\n\\n
\\n\\n
\\n
\\n\\n
\\n\\n
\\n

Queue length: {{ uploader?.queue?.length }}

\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
NameSizeProgressStatusActions
{{ item?.file?.name }}{{ item?.file?.size/1024/1024 | number:'.2' }} MB\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n
\\n\\n
\\n
\\n Queue progress:\\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n\\n
\\n\\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.html\n// module id = ../../../../../src/app/document-upload/document-upload.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload/ng2-file-upload';\n\n@Component({\n selector: 'document-upload',\n templateUrl: './document-upload.component.html',\n styleUrls: ['./document-upload.component.css']\n})\nexport class DocumentUploadComponent implements OnInit {\n private URL = 'http://localhost:10016/api/loc/get-loc';\n\n public uploader: FileUploader = new FileUploader({url: this.URL});\n public hasBaseDropZoneOver = false;\n public hasAnotherDropZoneOver = false;\n\n public fileOverBase(e: any): void {\n this.hasBaseDropZoneOver = e;\n }\n\n public fileOverAnother(e: any): void {\n this.hasAnotherDropZoneOver = e;\n }\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/document-upload/document-upload.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".panel-body {\\r\\n min-height: 250px;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.css\n// module id = ../../../../../src/app/finances/finances.component.css\n// module chunks = main","module.exports = \"\\n
\\n
Finances
\\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.html\n// module id = ../../../../../src/app/finances/finances.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { ChartsModule } from 'ng2-charts';\nimport { Stats } from './../stats'\nimport { LocService } from './../loc.service'\n\n@Component({\n selector: 'finances',\n templateUrl: './finances.component.html',\n styleUrls: ['./finances.component.css']\n})\n\nexport class FinancesComponent implements OnInit {\n stats: Stats = new Stats();\n // Pie\n public pieChartLabels: string[] = ['Awaiting Approval', 'Active', 'Awaiting Payment'];\n public pieChartData: number[] = [1, 1, 1];\n public pieChartType = 'pie';\n\n public barChartOptions: any = {\n scaleShowVerticalLines: false,\n responsive: true\n };\n public barChartLabels: string[] = ['2015', '2016', '2017'];\n public barChartType = 'bar';\n public barChartLegend = true;\n\n public barChartData: any[] = [\n {data: [65, 59, 80, 81, 56, 55, 40], label: 'Expired'},\n {data: [28, 48, 40, 19, 86, 27, 90], label: 'Rejected'}\n ];\n\n // events\n public chartClicked(e: any): void {\n console.log(e);\n }\n public chartHovered(e: any): void {\n console.log(e);\n }\n\n constructor(private locService: LocService) { }\n\n ngOnInit() {\n this.locService.getStats().then(stats => this.stats = stats);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/finances/finances.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.css\n// module id = ../../../../../src/app/goods-shipped/goods-shipped.component.css\n// module chunks = main","module.exports = \"
\\n
Goods Shipped
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ApplicantAmountDescriptionStatusPayment Received
\\n {{loc.applicant}}\\n \\n {{loc.amount + \\\" \\\" + loc.currency}}\\n \\n {{loc.description}}\\n \\n {{loc.status}}\\n \\n {{loc.advisingPayment}}\\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.html\n// module id = ../../../../../src/app/goods-shipped/goods-shipped.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { NgClass } from '@angular/common'\nimport { LocSummary } from './../loc-summary';\nimport { LocService } from './../loc.service';\n\n@Component({\n selector: 'goods-shipped',\n templateUrl: './goods-shipped.component.html',\n styleUrls: ['./goods-shipped.component.css']\n})\nexport class GoodsShippedComponent implements OnInit {\n locs: LocSummary[] = []\n\n constructor(private locService: LocService) { }\n\n ngOnInit(): void {\n this.locService.getDummySummary().then(locs => this.locs = locs);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/goods-shipped/goods-shipped.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#h3 {\\r\\n color: white;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.css\n// module id = ../../../../../src/app/header/header.component.css\n// module chunks = main","module.exports = \"
\\n\\n
\\n \\n
\\n\\n
\\n

{{me}} | Port: {{port}}

\\n
\\n\\n
\\n \\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.html\n// module id = ../../../../../src/app/header/header.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { Party } from './../party'\nimport { LocService } from './../loc.service'\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\n\n@Component({\n selector: 'header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.css']\n})\nexport class HeaderComponent implements OnInit {\n cordaImage: string;\n me: string;\n port: number;\n\n constructor(private locService: LocService, private route: ActivatedRoute) {\n this.cordaImage = 'assets/corda.png'\n }\n\n getMe(): void {\n let id = this.route.snapshot.url[0].toString();\n this.locService.getMe(id).then(me => this.me = me.name)\n }\n\n getPort(): void {\n let id = this.route.snapshot.url[0].toString();\n this.port = this.locService.getPort(id);\n }\n\n ngOnInit() {\n this.getMe();\n this.getPort();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/header/header.component.ts","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.css\n// module id = ../../../../../src/app/helpers/date-picker/date-picker.component.css\n// module chunks = main","module.exports = \"\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.html\n// module id = ../../../../../src/app/helpers/date-picker/date-picker.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { DatepickerModule } from 'ngx-bootstrap';\n\n@Component({\n selector: 'date-picker',\n templateUrl: './date-picker.component.html',\n styleUrls: ['./date-picker.component.css']\n})\n\nexport class DatePickerComponent {\n public bsValue: any ;\n public bsRangeValue: any = [new Date(2017, 7, 4), new Date(2017, 7, 20)];\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/helpers/date-picker/date-picker.component.ts","import { InMemoryDbService } from 'angular-in-memory-web-api';\r\nexport class InMemoryDataService implements InMemoryDbService {\r\n createDb() {\r\n const locs = [\r\n { applicationId: 'MSFT1', applicationDate: new Date('December 12, 2017 12:00:00'), typeCredit: 'test credit',\r\n amount: 5, currency: 'USD',\r\n expiryDate: new Date('December 12, 2018 12:00:00'), portLoadingCountry: 'England', portLoadingCity: 'London',\r\n portLoadingAddress: 'City Tower', portDischargeCountry: 'Brazil', portDischargeCity: 'Rio',\r\n portDischargeAddress: 'Stade de Brazil',\r\n goodsDescription: 'Calculators', goodsQuantity: 500, goodsWeight: 1000, goodsWeightUnit: 'kg', goodsUnitPrice: 1,\r\n goodsPurchaseOrderRef: 'test abc', placePresentationCountry: 'Brazil', placePresentationState: 'Rio',\r\n placePresentationCity: 'Rio',\r\n lastShipmentDate: new Date('December 14, 2017 12:00:00'), periodPresentation: 5,\r\n beneficiary: 'R3', issuer: 'HSBC', applicant: 'Microsoft', advisingBank: 'Bank of Corda', state: 'Active' }\r\n ];\r\n\r\n const locsummary = [\r\n { first: 'MSFT1', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 100, currency: 'USD',\r\n description: 'Mock product', status: 'Approved' }\r\n },\r\n { first: 'MSFT2', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 200, currency: 'USD',\r\n description: 'Mock product2', status: 'Approved' }\r\n },\r\n { first: 'MSFT3', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 3000, currency: 'USD',\r\n description: 'Mock product3', status: 'Shipped', advisingPayment: true, issuingPayment: false,\r\n buyerPayment: false }\r\n },\r\n { first: 'MSFT4', second: { beneficiary: 'Seller', applicant: 'Buyer', amount: 1234, currency: 'USD',\r\n description: 'Mock product4', status: 'Shipped', advisingPayment: true, issuingPayment: false,\r\n buyerPayment: false }\r\n }\r\n ];\r\n\r\n return {\r\n locs,\r\n locsummary\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/in-memory-data.service.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.css\n// module id = ../../../../../src/app/invoice-create/invoice.component.css\n// module chunks = main","module.exports = \"
\\n
\\n \\n
\\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n \\n\\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.html\n// module id = ../../../../../src/app/invoice-create/invoice.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { Invoice } from './../invoice'\nimport { DocsService } from './../services/docs.service'\nimport { CreateInvoiceModalComponent } from './../modals/create-invoice-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component';\n\n@Component({\n selector: 'create-invoice',\n templateUrl: './invoice.component.html',\n styleUrls: ['./invoice.component.css']\n})\nexport class InvoiceCreateComponent implements OnInit {\n inv = new Invoice();\n submitted = false;\n bsModalRef: BsModalRef;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreateInvoiceModalComponent,\n private modalService: BsModalService) { }\n\n createInvoice(): void {\n this.docsService.createInvoice(this.inv).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.inv.invoiceDate = d,\n this.inv.invoiceId = Math.round(Math.random() * 1000000).toString();\n this.inv.sellerName = 'Seller',\n this.inv.sellerAddress = '123 Main St. Awesome Town, ZZ 11111',\n this.inv.buyerName = 'Buyer',\n this.inv.buyerAddress = '555 Elm St. Little Town, VV, 22222',\n this.inv.term = 5,\n this.inv.goodsDescription = 'OLED 6\" Screens',\n this.inv.goodsPurchaseOrderRef = 'Mock1',\n this.inv.goodsQuantity = 10000,\n this.inv.goodsUnitPrice = 3,\n this.inv.goodsGrossWeight = 30\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createInvoice();\n }\n\n }\n\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice-create/invoice.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.css\n// module id = ../../../../../src/app/invoice-view/invoice-view.component.css\n// module chunks = main","module.exports = \"
\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.html\n// module id = ../../../../../src/app/invoice-view/invoice-view.component.html\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Invoice } from './../invoice'\nimport { DocsService } from './../services/docs.service'\nimport { ViewInvoiceModalComponent } from './../modals/view-invoice-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'invoice-view',\n templateUrl: './invoice-view.component.html',\n styleUrls: ['./invoice-view.component.css']\n})\nexport class InvoiceViewComponent implements OnChanges {\n @Input() ref: string;\n inv: Invoice\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewInvoiceModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.docsService.getInvoice(this.ref).then(invoice => this.inv = invoice);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice-view/invoice-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Invoice implements Serializable {\r\n\r\n public invoiceId: string;\r\n public invoiceDate: Date;\r\n\r\n public sellerName: string;\r\n public sellerAddress: string;\r\n\r\n public buyerName: string;\r\n public buyerAddress: string;\r\n\r\n public term: number;\r\n\r\n public goodsDescription: string;\r\n public goodsPurchaseOrderRef: string;\r\n public goodsQuantity: number;\r\n public goodsUnitPrice: number;\r\n public goodsGrossWeight: number;\r\n\r\n public assigned: Boolean;\r\n\r\n deserialize(input: any) {\r\n this.invoiceDate = input.props.invoiceDate;\r\n this.invoiceId = input.props.invoiceID;\r\n\r\n this.sellerName = input.props.seller.name;\r\n this.sellerAddress = input.props.seller.address;\r\n\r\n this.buyerName = input.props.buyer.name;\r\n this.buyerAddress = input.props.buyer.address;\r\n\r\n this.term = input.props.term;\r\n\r\n this.goodsDescription = input.props.goods[0].description;\r\n this.goodsPurchaseOrderRef = input.props.goods[0].goodsPurchaseOrderRef;\r\n this.goodsQuantity = input.props.goods[0].quantity;\r\n this.goodsUnitPrice = input.props.goods[0].unitPrice;\r\n this.goodsGrossWeight = input.props.goods[0].grossWeight.quantity + input.props.goods[0].grossWeight.unit;\r\n\r\n this.assigned = input.assigned;\r\n\r\n return this;\r\n }\r\n\r\n }\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/invoice.ts","module.exports = \"
\\n
\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n
\\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.html\n// module id = ../../../../../src/app/loc-app-view/loc-app-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.scss\n// module id = ../../../../../src/app/loc-app-view/loc-app-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { Loc } from './../loc';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ViewLocAppModalComponent } from './../modals/view-loc-app-modal.component';\n\n@Component({\n selector: 'loc-app-view',\n templateUrl: './loc-app-view.component.html',\n styleUrls: ['./loc-app-view.component.scss']\n})\nexport class LocAppViewComponent implements OnChanges {\n @Input() ref: string;\n loc: Loc;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(\n private locService: LocService,\n private modalComponent: ViewLocAppModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLocApp(this.ref).then(loc => this.loc = loc);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-app-view/loc-app-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class LocStateSummary implements Serializable {\r\n id: string;\r\n beneficiaryPaid: Boolean;\r\n advisoryPaid: Boolean;\r\n issuerPaid: Boolean;\r\n issued: Boolean;\r\n terminated: Boolean;\r\n beneficiary: string;\r\n applicant: string;\r\n advisory: string;\r\n issuer: string;\r\n amount: number;\r\n currency: string;\r\n quantity: number;\r\n orderRef: string;\r\n description: string;\r\n status: string;\r\n\r\n deserialize(input: any) {\r\n this.id = input.first;\r\n this.beneficiaryPaid = input.second.beneficiaryPaid;\r\n this.advisoryPaid = input.second.advisoryPaid;\r\n this.issuerPaid = input.second.issuerPaid;\r\n this.issued = input.second.issued;\r\n this.terminated = input.second.terminated;\r\n this.beneficiary = input.second.beneficiary;\r\n this.applicant = input.second.applicant;\r\n this.advisory = input.second.advisoryBank;\r\n this.issuer = input.second.issuingBank;\r\n this.amount = input.second.amount;\r\n this.currency = input.second.currency;\r\n this.quantity = input.second.quantity;\r\n this.orderRef = input.second.purchaseOrderRef;\r\n this.description = input.second.description;\r\n this.status = input.second.status;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-summary.ts","module.exports = \"
\\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n \\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n
\\n\\n
\\n
\\n
\\n\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n\\n\\n
\\n \\n
\\n
\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.html\n// module id = ../../../../../src/app/loc-state-view/loc-state-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.scss\n// module id = ../../../../../src/app/loc-state-view/loc-state-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { LocState } from './../loc-state';\nimport { Party } from './../party'\nimport { CreditType } from './../services/credit-types/credit-type';\nimport { Currency } from './../services/common/currency';\nimport { WeightUnit } from './../services/common/weight-unit';\nimport { CommonService } from './../services/common/common.service';\nimport { LocService } from './../loc.service';\nimport { DatePipe } from '@angular/common';\nimport { DatepickerModule } from 'ngx-bootstrap';\nimport { ViewLocStateModalComponent } from './../modals/view-loc-state-modal.component';\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\n\n@Component({\n selector: 'loc-state-view',\n templateUrl: './loc-state-view.component.html',\n styleUrls: ['./loc-state-view.component.scss']\n})\nexport class LocStateViewComponent implements OnChanges {\n @Input() ref: string;\n loc: LocState;\n submitted = false;\n txResponse: string;\n bsModalRef: BsModalRef;\n public title: string\n\n constructor(private commonService: CommonService,\n private locService: LocService,\n private modalComponent: ViewLocStateModalComponent,\n private modalService: BsModalService) { }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.ref[0] !== undefined) {\n this.locService.getLoc(this.ref).then(loc => this.loc = loc);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-state-view/loc-state-view.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class LocSummary implements Serializable {\r\n id: string;\r\n beneficiary: string;\r\n applicant: string;\r\n amount: number;\r\n currency: string;\r\n description: string;\r\n orderRef: string;\r\n status: string;\r\n advisingPayment: Boolean\r\n issuingPayment: Boolean\r\n buyerPayment: Boolean\r\n\r\n deserialize(input: any) {\r\n this.id = input.first;\r\n this.beneficiary = input.second.beneficiary;\r\n this.applicant = input.second.applicant;\r\n this.amount = input.second.amount;\r\n this.currency = input.second.currency;\r\n this.description = input.second.description;\r\n this.orderRef = input.second.purchaseOrderRef;\r\n this.status = input.second.status;\r\n this.advisingPayment = input.second.advisingPayment;\r\n this.issuingPayment = input.second.issuingPayment;\r\n this.buyerPayment = input.second.buyerPayment;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc-summary.ts","import { Injectable } from '@angular/core';\r\nimport { Headers, Http } from '@angular/http'\r\nimport { Loc } from './loc'\r\nimport { LocState } from './loc-state'\r\nimport { LocSummary } from './loc-summary'\r\nimport { LocStateSummary } from './loc-state-summary'\r\nimport { ClaimFund } from './claim-fund'\r\nimport { Cash } from './cash'\r\nimport { Party } from './party'\r\nimport { Stats } from './stats'\r\nimport { Invoice } from './invoice'\r\nimport { Tx } from './tx'\r\nimport 'rxjs/add/operator/toPromise';\r\n\r\n@Injectable()\r\nexport class LocService {\r\n\r\n public buyer = 10013;\r\n public issuer = 10007;\r\n public advisory = 10010;\r\n public seller = 10016;\r\n current = this.issuer;\r\n\r\n // mock data\r\n private mockSummary = 'api/locsummary';\r\n\r\n private meBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me';\r\n private meIssueUrl = 'http://localhost:' + this.issuer + '/api/loc/me';\r\n private meAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me';\r\n private meSellerUrl = 'http://localhost:' + this.seller + '/api/loc/me';\r\n private peersUrl = 'http://localhost:' + this.current + '/api/loc/peers';\r\n\r\n private getLocUrl = 'http://localhost:' + this.current + '/api/loc/get-loc';\r\n private getLocAppUrl = 'http://localhost:' + this.current + '/api/loc/get-loc-app';\r\n private awaitingApprovalLocUrl = 'http://localhost:' + this.buyer + '/api/loc/awaiting-approval';\r\n private awaitingApprovalLocUrlIssuer = 'http://localhost:' + this.current + '/api/loc/awaiting-approval';\r\n private activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active';\r\n private awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment';\r\n private createLocUrl = 'http://localhost:' + this.buyer + '/api/loc/apply-for-loc';\r\n private approveLocUrl = 'http://localhost:' + this.current + '/api/loc/approve-loc';\r\n private statsUrl = 'http://localhost:' + this.current + '/api/loc/loc-stats';\r\n private allLocUrl = 'http://localhost:' + this.current + '/api/loc/all';\r\n\r\n private cashBalancesBuyerUrl = 'http://localhost:' + this.buyer + '/api/loc/cash-balances';\r\n private cashBalancesSellerUrl = 'http://localhost:' + this.seller + '/api/loc/cash-balances';\r\n private cashBalancesIssuerUrl = 'http://localhost:' + this.issuer + '/api/loc/cash-balances';\r\n private cashBalancesAdvisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/cash-balances';\r\n\r\n private allLocAppUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/all-app'\r\n private allLocAppUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/all-app';\r\n private allLocUrlSeller = 'http://localhost:' + this.seller + '/api/loc/all';\r\n private allLocUrlAdviser = 'http://localhost:' + this.advisory + '/api/loc/all';\r\n\r\n private claimFundsUrl = 'http://localhost:' + this.advisory + '/api/loc/claim-funds';\r\n\r\n private paySellerUrl = 'http://localhost:' + this.advisory + '/api/loc/pay-seller';\r\n private payAdvisoryUrl = 'http://localhost:' + this.issuer + '/api/loc/pay-adviser';\r\n private payIssuerUrl = 'http://localhost:' + this.buyer + '/api/loc/pay-issuer';\r\n\r\n private headers = new Headers({'Content-Type': 'application/json'});\r\n\r\n constructor(private http: Http) {}\r\n\r\n getLocApp(id: string): Promise {\r\n let trimmedId = id[0];\r\n trimmedId = trimmedId.substring(0, trimmedId.length - 3);\r\n const url = `${this.getLocAppUrl}?ref=${trimmedId}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => response.json() as Loc)\r\n .catch(this.handleError);\r\n }\r\n\r\n getLoc(id: string): Promise {\r\n let trimmedId = id[0];\r\n trimmedId = trimmedId.substring(0, trimmedId.length - 3);\r\n const url = `${this.getLocUrl}?ref=${trimmedId}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => response.json() as LocState)\r\n .catch(this.handleError);\r\n }\r\n\r\n getAllLocApps(node: string): Promise {\r\n let getAllUrl: string;\r\n switch (node) {\r\n case 'advising':\r\n getAllUrl = this.allLocUrlAdviser;\r\n break;\r\n case 'buyer':\r\n getAllUrl = this.allLocAppUrlBuyer;\r\n break;\r\n case 'seller':\r\n getAllUrl = this.allLocUrlSeller;\r\n break;\r\n case 'issuer':\r\n getAllUrl = this.allLocAppUrlIssuer;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n return this.http.get(getAllUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingApprovalLocs(): Promise {\r\n return this.http.get(this.awaitingApprovalLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingApprovalLocsIssuer(): Promise {\r\n return this.http.get(this.awaitingApprovalLocUrlIssuer)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getActiveLocsApps(): Promise {\r\n return this.http.get(this.activeLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getActiveLocs(): Promise {\r\n return this.http.get(this.allLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocStateSummaryArray(response.json()) as LocStateSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAllLocs(): Promise {\r\n return this.http.get(this.allLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getAwaitingPaymentLocs(): Promise {\r\n return this.http.get(this.awaitingPaymentLocUrl)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json()) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n getCashBalances(node: string): Promise {\r\n let url: string\r\n switch (node) {\r\n case 'buyer':\r\n url = this.cashBalancesBuyerUrl;\r\n break;\r\n case 'seller':\r\n url = this.cashBalancesSellerUrl;\r\n break;\r\n case 'issuing':\r\n url = this.cashBalancesIssuerUrl;\r\n break;\r\n case 'advising':\r\n url = this.cashBalancesAdvisoryUrl;\r\n break;\r\n default:\r\n url = this.cashBalancesIssuerUrl\r\n }\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => new Cash().deserialize(response.json()) as Cash)\r\n .catch(this.handleError)\r\n }\r\n\r\n getMe(id: string): Promise {\r\n let url: string\r\n switch (id) {\r\n case 'buyer':\r\n url = this.meBuyerUrl;\r\n break;\r\n case 'seller':\r\n url = this.meSellerUrl;\r\n break;\r\n case 'issuing':\r\n url = this.meIssueUrl;\r\n break;\r\n case 'advising':\r\n url = this.meAdvisoryUrl;\r\n break;\r\n default:\r\n url = this.meBuyerUrl\r\n }\r\n\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(response => new Party().deserialize(response.json()) as Party)\r\n .catch(this.handleError);\r\n }\r\n\r\n getPort(id: string): number {\r\n let port: number;\r\n switch (id) {\r\n case 'buyer':\r\n port = this.buyer;\r\n break;\r\n case 'seller':\r\n port = this.seller;\r\n break;\r\n case 'issuing':\r\n port = this.issuer;\r\n break;\r\n case 'advising':\r\n port = this.advisory;\r\n break;\r\n default:\r\n port = 0;\r\n break;\r\n }\r\n return port;\r\n }\r\n\r\n getPeers(): Promise {\r\n return this.http.get(this.peersUrl)\r\n .toPromise()\r\n .then(response => this.createPartyArray(response.json()) as Party[])\r\n .catch(this.handleError);\r\n }\r\n\r\n getStats(): Promise {\r\n return this.http.get(this.statsUrl)\r\n .toPromise()\r\n .then(response => new Stats().deserialize(response.json()) as Stats)\r\n .catch(this.handleError);\r\n }\r\n\r\n createLoc(loc: Loc): Promise {\r\n return this.http\r\n .post(this.createLocUrl, JSON.stringify(loc), { headers: this.headers })\r\n .toPromise()\r\n .then(res => new Tx().deserialize(res.json()).txResponse as string)\r\n .catch(this.handleError);\r\n }\r\n\r\n approveLoc(ref: string): Promise {\r\n const url = `${this.approveLocUrl}?ref=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError);\r\n }\r\n\r\n paySeller(ref: string): Promise {\r\n const url = `${this.paySellerUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n payAdviser(ref: string): Promise {\r\n const url = `${this.payAdvisoryUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n payIssuer(ref: string): Promise {\r\n const url = `${this.payIssuerUrl}?locId=${ref}`;\r\n return this.http.get(url)\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError)\r\n }\r\n\r\n claimFunds(ref: string) {\r\n this.getMe('issuing').then(result => {\r\n let claimFund = new ClaimFund(ref, result.name);\r\n this.http.post(this.claimFundsUrl, JSON.stringify(claimFund), { headers: this.headers })\r\n .toPromise()\r\n .then(res => new Tx().text(res).txResponse as string)\r\n .catch(this.handleError) })\r\n }\r\n\r\n private createPartyArray(input: any): Party[] {\r\n let parties = new Array();\r\n input.peers.forEach((element: string) => {\r\n let party = new Party().deserializeName(element);\r\n parties.push(party)\r\n });\r\n return parties;\r\n }\r\n\r\n private createLocSummaryArray(input: any): LocSummary[] {\r\n let locSummaries = new Array();\r\n input.forEach((element: string[]) => {\r\n let locSummary = new LocSummary().deserialize(element);\r\n locSummaries.push(locSummary)\r\n });\r\n return locSummaries;\r\n }\r\n\r\n private createLocStateSummaryArray(input: any): LocStateSummary[] {\r\n let locStateSummaries = new Array();\r\n input.forEach((element: string[]) => {\r\n let locStateSummary = new LocStateSummary().deserialize(element);\r\n locStateSummaries.push(locStateSummary)\r\n });\r\n return locStateSummaries;\r\n }\r\n\r\n private handleError(error: any): Promise {\r\n console.error('An error occurred', error); // for demo purposes only\r\n return Promise.reject(error.message || error);\r\n }\r\n\r\n /// MOCK DATA STUFF\r\n getDummySummary(): Promise {\r\n return this.http.get(this.mockSummary)\r\n .toPromise()\r\n .then(response => this.createLocSummaryArray(response.json().data) as LocSummary[])\r\n .catch(this.handleError)\r\n }\r\n\r\n shipGoods(loc: LocSummary): Promise {\r\n const url = `${this.mockSummary}/${loc.id}`;\r\n loc.status = 'Shipped';\r\n return this.http\r\n .put(url, JSON.stringify(loc), {headers: this.headers})\r\n .toPromise()\r\n .then(() => loc)\r\n .catch(this.handleError);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc.service.ts","export class Loc {\r\n\r\n public applicationId: string;\r\n public applicationDate: Date;\r\n public typeCredit: string;\r\n public amount: number;\r\n public currency: string;\r\n public expiryDate: Date;\r\n\r\n public portLoadingCountry: string;\r\n public portLoadingCity: string;\r\n public portLoadingAddress: string;\r\n\r\n public portDischargeCountry: string;\r\n public portDischargeCity: string;\r\n public portDischargeAddress: string;\r\n\r\n public goodsDescription: string;\r\n public goodsQuantity: number;\r\n public goodsWeight: number;\r\n public goodsWeightUnit: string;\r\n public goodsUnitPrice: number;\r\n public goodsPurchaseOrderRef: string;\r\n\r\n public placePresentationCountry: string;\r\n public placePresentationState: string;\r\n public placePresentationCity: string;\r\n\r\n public lastShipmentDate: Date;\r\n\r\n public periodPresentation: number;\r\n public beneficiary: string;\r\n public issuer: string;\r\n public applicant: string;\r\n public advisingBank: string;\r\n\r\n public state: string;\r\n\r\n public txRef: string;\r\n\r\nconstructor(\r\n) { }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/loc.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"html {\\r\\n background: url(http://cdn.magdeleine.co/wp-content/uploads/2014/05/3jPYgeVCTWCMqjtb7Dqi_IMG_8251-1400x933.jpg) no-repeat center center fixed !important;\\r\\n background-size: cover;\\r\\n overflow: hidden;\\r\\n}\\r\\n\\r\\nimg{\\r\\n display: block;\\r\\n margin: auto;\\r\\n width: 100%;\\r\\n height: auto;\\r\\n}\\r\\n\\r\\n#login-button{\\r\\n cursor: pointer;\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n padding: 30px;\\r\\n margin: auto;\\r\\n width: 100px;\\r\\n height: 100px;\\r\\n border-radius: 50%;\\r\\n background: rgba(3,3,3,.8);\\r\\n overflow: hidden;\\r\\n opacity: 0.6;\\r\\n box-shadow: 10px 10px 30px #000;}\\r\\n\\r\\n/* Login container */\\r\\n#container{\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n margin: auto;\\r\\n width: 260px;\\r\\n height: 260px;\\r\\n border-radius: 5px;\\r\\n background: rgba(3,3,3,0.25);\\r\\n box-shadow: 1px 1px 50px #000;\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.close-btn{\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n line-height: 18px;\\r\\n top: 3px;\\r\\n right: 3px;\\r\\n width: 20px;\\r\\n height: 20px;\\r\\n text-align: center;\\r\\n border-radius: 10px;\\r\\n opacity: .2;\\r\\n transition: all 0.2s ease-in-out;\\r\\n}\\r\\n\\r\\n.close-btn:hover{\\r\\n opacity: .5;\\r\\n}\\r\\n\\r\\n/* Heading */\\r\\nh1{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n position: relative;\\r\\n margin-top: 0px;\\r\\n text-align: center;\\r\\n font-size: 40px;\\r\\n color: #ddd;\\r\\n text-shadow: 3px 3px 10px #000;\\r\\n}\\r\\n\\r\\n/* Inputs */\\r\\na,\\r\\ninput{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n text-decoration: none;\\r\\n position: relative;\\r\\n width: 80%;\\r\\n display: block;\\r\\n margin: 9px auto;\\r\\n font-size: 17px;\\r\\n color: #fff;\\r\\n padding: 8px;\\r\\n border-radius: 6px;\\r\\n border: none;\\r\\n background: rgba(3,3,3,.1);\\r\\n transition: all 0.2s ease-in-out;\\r\\n}\\r\\n\\r\\ninput:focus{\\r\\n outline: none;\\r\\n box-shadow: 3px 3px 10px #333;\\r\\n background: rgba(3,3,3,.18);\\r\\n}\\r\\n\\r\\n/* Placeholders */\\r\\n::-webkit-input-placeholder {\\r\\n color: #ddd; }\\r\\n:-moz-placeholder { /* Firefox 18- */\\r\\n color: red; }\\r\\n::-moz-placeholder { /* Firefox 19+ */\\r\\n color: red; }\\r\\n:-ms-input-placeholder {\\r\\n color: #333; }\\r\\n\\r\\n/* Link */\\r\\na{\\r\\n font-family: 'Open Sans Condensed', sans-serif;\\r\\n text-align: center;\\r\\n padding: 4px 8px;\\r\\n background: rgba(107,255,3,0.3);\\r\\n}\\r\\n\\r\\na:hover{\\r\\n opacity: 0.7;\\r\\n}\\r\\n\\r\\n#remember-container{\\r\\n position: relative;\\r\\n margin: -5px 20px;\\r\\n}\\r\\n\\r\\n.checkbox {\\r\\n position: relative;\\r\\n cursor: pointer;\\r\\n\\t-webkit-appearance: none;\\r\\n\\tpadding: 5px;\\r\\n\\tborder-radius: 4px;\\r\\n background: rgba(3,3,3,.2);\\r\\n\\tdisplay: inline-block;\\r\\n width: 16px;\\r\\n height: 15px;\\r\\n}\\r\\n\\r\\n.checkbox:checked:active {\\r\\n\\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);\\r\\n}\\r\\n\\r\\n.checkbox:checked {\\r\\n background: rgba(3,3,3,.4);\\r\\n\\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.5);\\r\\n\\tcolor: #fff;\\r\\n}\\r\\n\\r\\n.checkbox:checked:after {\\r\\n\\tcontent: '\\\\2714';\\r\\n\\tfont-size: 10px;\\r\\n\\tposition: absolute;\\r\\n\\ttop: 0px;\\r\\n\\tleft: 4px;\\r\\n\\tcolor: #fff;\\r\\n}\\r\\n\\r\\n#remember{\\r\\n position: absolute;\\r\\n font-size: 13px;\\r\\n font-family: 'Hind', sans-serif;\\r\\n color: rgba(255,255,255,.5);\\r\\n top: 7px;\\r\\n left: 20px;\\r\\n}\\r\\n\\r\\n.orange-btn{\\r\\n background: rgba(87,198,255,.5);\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.css\n// module id = ../../../../../src/app/login/login.component.css\n// module chunks = main","module.exports = \"
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n

Log In

\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n Log in\\r\\n
\\r\\n \\r\\n Remember me\\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.html\n// module id = ../../../../../src/app/login/login.component.html\n// module chunks = main","import { Component, ViewChild, ElementRef, AfterViewInit } from '@angular/core';\nimport * as TweenMax from './../../../node_modules/gsap/TweenLite.js';\nimport * as Sine from './../../../node_modules/gsap/TweenLite.js';\ndeclare var $: any;\n\n@Component({\n selector: 'app-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements AfterViewInit {\n path: string;\n\n ngAfterViewInit(): void {\n\n$('#login-button').click(function(){\n $('#login-button').fadeOut('slow', function(){\n $('#container').fadeIn();\n TweenMax.from('#container', .4, { scale: 0, ease:Sine.easeInOut});\n TweenMax.to('#container', .4, { scale: 1, ease:Sine.easeInOut});\n });\n $('#logo').animate({'width': '40%', 'height': '40%'}, 1000);\n});\n\n$('.close-btn').click(function(){\n TweenMax.from('#container', .4, { scale: 1, ease:Sine.easeInOut});\n TweenMax.to('#container', .4, { left:'0px', scale: 0, ease:Sine.easeInOut});\n $('#container, #forgotten-container').fadeOut(800, function(){\n $('#login-button').fadeIn(800);\n });\n $('#logo').animate({'width': '100%', 'height': '100%'}, 1000);\n});\n\n/* Forgotten Password */\n$('#forgotten').click(function(){\n $('#container').fadeOut(function(){\n $('#forgotten-container').fadeIn();\n });\n});\n }\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/login/login.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".main-menu {\\r\\n /*background-color: #343436;*/\\r\\n padding: 15px;\\r\\n max-width: 200px;\\r\\n}\\r\\n\\r\\n.hype {\\r\\n border-radius: 999em;\\r\\n border: 1px solid #ccaaaa;\\r\\n -webkit-filter:blur(3px);\\r\\n filter:blur(3px);\\r\\n color: white;\\r\\n background: #fff;\\r\\n outline: none;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n font-size: 12px;\\r\\n display: inline-block;\\r\\n text-transform:uppercase;\\r\\n cursor: pointer;\\r\\n box-sizing: border-box;\\r\\n}\\r\\n\\r\\n.hype {\\r\\n position: relative;\\r\\n}\\r\\n.hype::before, .hype::after {\\r\\n content: '';\\r\\n position: absolute;\\r\\n box-sizing: border-box;\\r\\n border-radius: 999em;\\r\\n}\\r\\n.hype::after {\\r\\n top: 0;\\r\\n left: 0;\\r\\n z-index: 1;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n border: 1px solid #229999;\\r\\n filter:blur(2px);\\r\\n -webkit-filter:blur(1px);\\r\\n}\\r\\n.hype::before {\\r\\n z-index: -1;\\r\\n width: 70px;\\r\\n height: 70px;\\r\\n/* background: inherit; */\\r\\n opacity: .6;\\r\\n top: 0;\\r\\n left: 0;\\r\\n -webkit-animation: pluse .6s ease-in-out 0s infinite alternate;\\r\\n animation: pluse .6s ease-in-out 0s infinite alternate;\\r\\n}\\r\\n.hype:hover::after {\\r\\n -webkit-animation: pulse-ring 1.5s ease-out 0s infinite;\\r\\n animation: pulse-ring 1.5s ease-out 0s infinite;\\r\\n}\\r\\n@-webkit-keyframes pluse {\\r\\n 0% {\\r\\n -webkit-transform: scale(1.4, 1.4);\\r\\n transform: scale(1.4, 1.4);\\r\\n }\\r\\n 50% {\\r\\n -webkit-transform: scale(1.6, 1.6);\\r\\n transform: scale(1.6, 1.6);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(1.5, 1.5);\\r\\n transform: scale(1.5, 1.5);\\r\\n }\\r\\n}\\r\\n@keyframes pluse {\\r\\n 0% {\\r\\n -webkit-transform: scale(1.4, 1.4);\\r\\n transform: scale(1.4, 1.4);\\r\\n }\\r\\n 50% {\\r\\n -webkit-transform: scale(1.6, 1.6);\\r\\n transform: scale(1.6, 1.6);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(1.5, 1.5);\\r\\n transform: scale(1.5, 1.5);\\r\\n }\\r\\n}\\r\\n@-webkit-keyframes pulse-ring {\\r\\n 0% {\\r\\n -webkit-transform: scale(0, 0);\\r\\n transform: scale(0, 0);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(2, 2);\\r\\n transform: scale(2, 2);\\r\\n opacity: 0;\\r\\n }\\r\\n}\\r\\n@keyframes pulse-ring {\\r\\n 0% {\\r\\n -webkit-transform: scale(0, 0);\\r\\n transform: scale(0, 0);\\r\\n }\\r\\n 100% {\\r\\n -webkit-transform: scale(2, 2);\\r\\n transform: scale(2, 2);\\r\\n opacity: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n.btn {\\r\\n border-radius: 28px;\\r\\n font-family: Arial;\\r\\n color: #ffffff;\\r\\n font-size: 16px;\\r\\n background: #ff0000;\\r\\n padding: 10px 20px 10px 20px;\\r\\n text-decoration: none;\\r\\n min-width: 170px;\\r\\n margin-bottom: 25px;\\r\\n}\\r\\n.btn:hover {\\r\\n background: #fa5757;\\r\\n background-image: linear-gradient(to bottom, #fa5757, #fa9696);\\r\\n text-decoration: none;\\r\\n}\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.css\n// module id = ../../../../../src/app/main-menu/main-menu.component.css\n// module chunks = main","module.exports = \"\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.html\n// module id = ../../../../../src/app/main-menu/main-menu.component.html\n// module chunks = main","import { Component, OnInit } from '@angular/core';\nimport { ApplyForLocComponent } from './../apply-for-loc/apply-for-loc.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ApplyModalComponent } from './../modals/apply-modal.component';\nimport { ActivatedRoute, UrlSegment } from '@angular/router';\n\n@Component({\n selector: 'main-menu',\n templateUrl: './main-menu.component.html',\n styleUrls: ['./main-menu.component.css']\n})\nexport class MainMenuComponent implements OnInit {\n bsModalRef: BsModalRef;\n buyer: string;\n issuing: string;\n advising: string;\n seller: string;\n dashboard: string;\n\n constructor(private modalService: BsModalService,\n private route: ActivatedRoute) { }\n\n ngOnInit() {\n let current = this.route.snapshot.url[0].toString();\n switch (current) {\n case 'buyer': this.buyer = 'btn-info';\n break;\n case 'issuing': this.issuing = 'btn-info';\n break;\n case 'advising': this.advising = 'btn-info';\n break;\n case 'seller': this.seller = 'btn-info';\n break;\n case 'dashboard': this.dashboard = 'btn-info';\n break;\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/main-menu/main-menu.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ApplyModalComponent {\r\n public title: string;\r\n public id: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/apply-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ApproveLocModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/approve-loc-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocStateSummary } from './../loc-state-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreateBolModalComponent {\r\n public title: string;\r\n public locSummary: LocStateSummary\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-bol-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreateInvoiceModalComponent {\r\n public title: string;\r\n public ref: string;\r\n public body: Component;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-invoice-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocStateSummary } from './../loc-state-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class CreatePlModalComponent {\r\n public title: string;\r\n public locSummary: LocStateSummary\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/create-pl-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class DocsModalComponent {\r\n public title: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/docs-modal.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.push([module.id, \"@import url(https://fonts.googleapis.com/css?family=Open+Sans);\", \"\"]);\n\n// module\nexports.push([module.id, \".modal-content {\\r\\n background-color: #000 !important;\\r\\n font-family: \\\"Open Sans\\\", Impact;\\r\\n}\\r\\n\\r\\n.svg {\\r\\n height: 200px;\\r\\n}\\r\\n\\r\\n.area {\\r\\n text-align: center;\\r\\n font-size: 2.5em;\\r\\n color: #fff;\\r\\n letter-spacing: -7px;\\r\\n font-weight: 700;\\r\\n text-transform: uppercase;\\r\\n -webkit-animation: blur 1s ease-out 5;\\r\\n animation: blur 1s ease-out 5;\\r\\n text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;\\r\\n}\\r\\n\\r\\n@-webkit-keyframes blur {\\r\\n from {\\r\\n text-shadow:0px 0px 10px #fff,\\r\\n 0px 0px 10px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #7B96B8,\\r\\n 0px 0px 150px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8;\\r\\n }\\r\\n}\\r\\n\\r\\n@keyframes blur {\\r\\n from {\\r\\n text-shadow:0px 0px 10px #fff,\\r\\n 0px 0px 10px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 25px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #fff,\\r\\n 0px 0px 50px #7B96B8,\\r\\n 0px 0px 150px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px 10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8,\\r\\n 0px -10px 100px #7B96B8;\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.css\n// module id = ../../../../../src/app/modals/modal.component.css\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"/*dark background to support form theme*/\\n.modal-main {\\n background: url(http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_wall.png); }\\n\\n/*sass variables used*/\\n/*site container*/\\n.wrapper {\\n width: 420px;\\n height: 200px;\\n margin: 0 auto; }\\n\\nh1 {\\n text-align: center;\\n padding: 30px 0px 0px 0px;\\n font: 25px Oswald;\\n color: #FFF;\\n text-transform: uppercase;\\n text-shadow: #000 0px 1px 5px;\\n margin: 0px; }\\n\\np {\\n font: 13px Open Sans;\\n color: #6E6E6E;\\n text-shadow: #000 0px 1px 5px;\\n margin-bottom: 30px; }\\n\\n.name-help, .email-help {\\n display: none;\\n padding: 0px;\\n margin: 0px 0px 15px 0px; }\\n\\n.optimize {\\n position: fixed;\\n right: 3%;\\n top: 0px; }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/modal.component.scss\n// module id = ../../../../../src/app/modals/modal.component.scss\n// module chunks = main","import { Component, OnInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { RefreshService } from './../services/refresh.service';\r\nimport { SpinnerComponent } from './../spinner/spinner.component';\r\nimport { Observable } from 'rxjs/Rx';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.css'],\r\n template: `\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{message}}\r\n \r\n \r\n \r\n
\r\n\r\n\r\n
\r\n`\r\n})\r\nexport class ResponseModalComponent implements OnInit {\r\n public title: string;\r\n public message: string;\r\n public body: string;\r\n constructor(public bsModalRef: BsModalRef,\r\n private refreshService: RefreshService) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n\r\n updateMessage(text: string) {\r\n this.message = text;\r\n }\r\n\r\n ngOnInit(): void {\r\n Observable.timer(500).subscribe(t => { this.updateMessage('Running') })\r\n // Observable.timer(100).subscribe(t => { this.updateMessage('Building Transaction') })\r\n // Observable.timer(1100).subscribe(t => { this.updateMessage('Verifying States') })\r\n // Observable.timer(2100).subscribe(t => { this.updateMessage('Gathering Signatures') })\r\n // Observable.timer(3100).subscribe(t => { this.updateMessage('Commiting to Ledger') })\r\n // Observable.timer(4100).subscribe(t => { this.updateMessage(this.body) })\r\n Observable.timer(1200).subscribe(t => { this.close() })\r\n Observable.timer(1200).subscribe(t => { this.refreshService.confirmMission() })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/response-modal.component.ts","module.exports = \"
\\r\\n
\\r\\n

{{title}}

\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal-nested.html\n// module id = ../../../../../src/app/modals/ship-modal-nested.html\n// module chunks = main","import { Component, TemplateRef } from '@angular/core';\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n templateUrl: './ship-modal-nested.html'\r\n})\r\nexport class ShipModalComponent {\r\n public title: string;\r\n public locSummary: LocSummary\r\n public modalRef: BsModalRef;\r\n public modalRef2: BsModalRef;\r\n constructor(public bsModalRef: BsModalRef,\r\n private modalService: BsModalService) {}\r\n\r\n public openModal(template: TemplateRef) {\r\n this.modalRef = this.modalService.show(template, {class: 'second'});\r\n }\r\n\r\n public openModal2(template: TemplateRef) {\r\n this.modalRef2 = this.modalService.show(template, {class: 'second'});\r\n }\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/ship-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\nimport { BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ViewBolTimelineModalComponent } from './view-bol-timeline-modal.component'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewBolModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n public modalRef2: BsModalRef;\r\n constructor(public bsModalRef: BsModalRef,\r\n private modalService: BsModalService) {}\r\n\r\n public openModal2() {\r\n this.modalRef2 = this.modalService.show(ViewBolTimelineModalComponent);\r\n this.modalRef2.content.id = this.id;\r\n this.modalRef2.content.requestor = this.requestor;\r\n }\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewBolTimelineModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-bol-timeline-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewInvoiceModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public invoiceId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-invoice-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewLocAppModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-app-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewLocStateModalComponent {\r\n public title: string;\r\n public body: Component;\r\n public locId: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-loc-state-modal.component.ts","import { Component } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\r\nimport { LocSummary } from './../loc-summary'\r\n\r\n@Component({\r\n selector: 'modal-content',\r\n styleUrls: ['./modal.component.scss'],\r\n template: `\r\n
\r\n
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n `\r\n})\r\nexport class ViewPlModalComponent {\r\n public title: string;\r\n public id: string;\r\n public requestor: string;\r\n constructor(public bsModalRef: BsModalRef) {}\r\n\r\n public close() {\r\n this.bsModalRef.hide();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/modals/view-pl-modal.component.ts","module.exports = \"
\\n
\\n \\n
\\n \\n
\\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.html\n// module id = ../../../../../src/app/packing-list-view/packing-list-view.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.scss\n// module id = ../../../../../src/app/packing-list-view/packing-list-view.component.scss\n// module chunks = main","import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { PackingList } from './../packinglist'\nimport { DocsService } from './../services/docs.service'\nimport { ViewPlModalComponent } from './../modals/view-pl-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\n\n@Component({\n selector: 'packing-list-view',\n templateUrl: './packing-list-view.component.html',\n styleUrls: ['./packing-list-view.component.scss']\n})\nexport class PackingListViewComponent implements OnChanges {\n @Input() id: string\n @Input() requestor: string\n pl: PackingList;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: ViewPlModalComponent,\n private modalService: BsModalService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getPackingList(this.id, this.requestor).then(pl => this.pl = pl);\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packing-list-view/packing-list-view.component.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.css\n// module id = ../../../../../src/app/packing-list/packing-list.component.css\n// module chunks = main","module.exports = \"
\\n
\\n \\n
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n \\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n \\n \\n
\\n
\\n\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n \\n \\n\\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.html\n// module id = ../../../../../src/app/packing-list/packing-list.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { PackingList } from './../packinglist'\nimport { DocsService } from './../services/docs.service'\nimport { CreatePlModalComponent } from './../modals/create-pl-modal.component'\nimport { BsModalService } from 'ngx-bootstrap/modal';\nimport { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';\nimport { ResponseModalComponent } from './../modals/response-modal.component'\nimport { LocStateSummary } from './../loc-state-summary'\n\n@Component({\n selector: 'packing-list',\n templateUrl: './packing-list.component.html',\n styleUrls: ['./packing-list.component.css']\n})\nexport class PackingListComponent implements OnInit {\n pl = new PackingList();\n submitted = false;\n bsModalRef: BsModalRef;\n @Input() loc: LocStateSummary;\n\n constructor(\n private docsService: DocsService,\n private modalComponent: CreatePlModalComponent,\n private modalService: BsModalService) { }\n\n createpl(): void {\n this.pl.advisingBank = this.loc[0].advisory;\n this.pl.issuingBank = this.loc[0].issuer;\n this.docsService.createPackingList(this.pl).then(result => this.callResponse(result));\n this.close()\n }\n\n autoComplete(): void {\n let d = new Date()\n this.pl.issueDate = d;\n this.pl.orderNumber = this.loc[0].orderRef;\n this.pl.sellersOrderNumber = this.loc[0].orderRef;\n this.pl.transportMethod = 'Ship';\n this.pl.nameOfVessel = 'SurfRider';\n this.pl.billOfLadingNumber = this.loc[0].orderRef;\n this.pl.sellerName = 'Seller';\n this.pl.sellerAddress = '123 Street. Beijing, China';\n this.pl.buyerName = 'Buyer';\n this.pl.buyerAddress = '123 Main St. Awesome Town, ZZ 11111';\n this.pl.goodsDescription = this.loc[0].description;\n this.pl.goodsPurchaseOrderRef = this.loc[0].orderRef;\n this.pl.goodsQuantity = 10000;\n this.pl.goodsUnitPrice = this.loc[0].amount;\n this.pl.goodsGrossWeight = 1000;\n }\n\n callResponse(result: String): void {\n this.bsModalRef = this.modalService.show(ResponseModalComponent);\n this.bsModalRef.content.title = 'Response';\n this.bsModalRef.content.body = result;\n }\n\n close(): void {\n this.modalComponent.close();\n }\n\n ngOnInit() {\n }\n\n onSubmit() {\n this.submitted = true;\n this.createpl();\n }\n\n }\n\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packing-list/packing-list.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class PackingList implements Serializable {\r\n\r\n public issueDate: Date;\r\n public orderNumber: string;\r\n public sellersOrderNumber: string;\r\n\r\n public transportMethod: string;\r\n public nameOfVessel: string;\r\n public billOfLadingNumber: string;\r\n\r\n public sellerName: string;\r\n public sellerAddress: string;\r\n public sellerPhone: string;\r\n\r\n public buyerName: string;\r\n public buyerAddress: string;\r\n public buyerPhone: string;\r\n\r\n public goodsDescription: string;\r\n public goodsPurchaseOrderRef: string;\r\n public goodsQuantity: number;\r\n public goodsUnitPrice: number;\r\n public goodsGrossWeight: number;\r\n\r\n public attachmentHash: string;\r\n\r\n public advisingBank: string;\r\n public issuingBank: string;\r\n\r\n deserialize(input: any) {\r\n this.issueDate = input.props.issueDate;\r\n this.orderNumber = input.props.orderNumber;\r\n this.sellersOrderNumber = input.props.sellersOrderNumber;\r\n\r\n this.transportMethod = input.props.transportMethod;\r\n this.nameOfVessel = input.props.nameOfVessel;\r\n this.billOfLadingNumber = input.props.billOfLadingNumber;\r\n\r\n this.sellerName = input.props.seller.name;\r\n this.sellerAddress = input.props.seller.address;\r\n this.sellerPhone = input.props.seller.phone;\r\n\r\n this.buyerName = input.props.buyer.name;\r\n this.buyerAddress = input.props.buyer.address;\r\n this.buyerPhone = input.props.buyer.phone;\r\n\r\n this.goodsDescription = input.props.descriptionOfGoods[0].description;\r\n this.goodsPurchaseOrderRef = input.props.descriptionOfGoods[0].purchaseOrderRef;\r\n this.goodsQuantity = input.props.descriptionOfGoods[0].quantity;\r\n this.goodsUnitPrice = input.props.descriptionOfGoods[0].unitPrice;\r\n this.goodsGrossWeight = input.props.descriptionOfGoods[0].grossWeight.quantity + input.props.descriptionOfGoods[0].grossWeight.unit;\r\n\r\n this.attachmentHash = input.props.attachmentHash\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/packinglist.ts","import { Serializable } from './serializable';\r\n\r\nexport class Party implements Serializable {\r\n name: string;\r\n\r\n deserialize(input: any) {\r\n this.name = input.me;\r\n return this;\r\n }\r\n\r\n deserializeName(input: any) {\r\n this.name = input;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/party.ts","import { Injectable } from '@angular/core';\nimport { LocService } from './../loc.service'\n\n@Injectable()\nexport class AdvisingBankService {\n\nservice: LocService;\n\nconstructor(private locService: LocService) {\n this.locService = locService;\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/advising-bank.service.ts","import { Injectable } from '@angular/core';\nimport { Currency } from './currency'\nimport { CURRENCY } from './mock-currency'\nimport { WeightUnit } from './weight-unit'\nimport { WEIGHTUNIT } from './mock-weight-unit'\n\n@Injectable()\nexport class CommonService {\n getCurrencies(): Promise {\n return Promise.resolve(CURRENCY);\n }\n\n getWeightUnits(): Promise {\n return Promise.resolve(WEIGHTUNIT);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/common.service.ts","import { Currency } from './currency'\r\n\r\nexport const CURRENCY: Currency[] = [\r\n { id: 'USD', name: 'USD' },\r\n { id: 'EUR', name: 'EUR' },\r\n { id: 'GBP', name: 'GBP' }\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/mock-currency.ts","import { WeightUnit } from './weight-unit'\r\n\r\nexport const WEIGHTUNIT: WeightUnit[] = [\r\n { id: 11, name: 'KG' },\r\n { id: 12, name: 'LBS' }\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/common/mock-weight-unit.ts","import { Injectable } from '@angular/core';\r\nimport { CreditType } from './credit-type'\r\nimport { CREDITTYPES } from './mock-credit-type'\r\n\r\n@Injectable()\r\nexport class CreditTypeService {\r\n getCreditTypes(): Promise {\r\n return Promise.resolve(CREDITTYPES);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/credit-types/credit-type.service.ts","import { CreditType } from './credit-type'\r\n\r\nexport const CREDITTYPES: CreditType[] = [\r\n { id: 'SIGHT', name: 'Sight' },\r\n { id: 'DEFERRED_PAYMENT', name: 'Deferred Payment' },\r\n { id: 'ACCEPTANCE', name: 'Acceptance' },\r\n { id: 'NEGOTIABLE_CREDIT', name: 'Negotiable Credit' },\r\n { id: 'TRANSFERABLE', name: 'Transferable' },\r\n { id: 'STANDBY', name: 'Standby' },\r\n { id: 'REVOLVING', name: 'Revolving' },\r\n { id: 'RED_CLAUSE', name: 'Red Clause' },\r\n { id: 'GREEN_CLAUSE', name: 'Green Clause' },\r\n ];\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/credit-types/mock-credit-type.ts","import { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http'\nimport { Bol } from './../bol'\nimport { BolEvents } from './../bol-events'\nimport { PackingList } from './../packinglist'\nimport { Invoice } from './../invoice'\nimport { LocSummary } from './../loc-summary'\nimport { Party } from './../party'\nimport { Tx } from './../tx'\nimport 'rxjs/add/operator/toPromise';\n\n@Injectable()\nexport class DocsService {\n\n public buyer = 10013;\n public issuer = 10007;\n public advisory = 10010;\n public seller = 10016;\n current = this.issuer;\n\n private allLocUrl = 'http://localhost:' + this.current + '/api/loc/all';\n private awaitingApprovalLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-approval';\n private activeLocUrl = 'http://localhost:' + this.current + '/api/loc/active';\n private awaitingPaymentLocUrl = 'http://localhost:' + this.current + '/api/loc/awaiting-payment';\n private peersUrl = 'http://localhost:' + this.current + '/api/loc/peers';\n\n private createBolUrl = 'http://localhost:' + this.seller + '/api/loc/submit-bol';\n private createPackingListUrl = 'http://localhost:' + this.seller + '/api/loc/submit-pl';\n private createInvoiceUrl = 'http://localhost:' + this.seller + '/api/loc/create-trade';\n\n private invoicesUrl = 'http://localhost:' + this.buyer + '/api/loc/invoices';\n private invoiceUrl = 'http://localhost:' + this.buyer + '/api/loc/get-invoice';\n\n private bolUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol';\n private bolUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol';\n private bolUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol';\n private packingListUrl = 'http://localhost:' + this.advisory + '/api/loc/get-packing-list';\n private packingListUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-packing-list';\n private packingListUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-packing-list';\n\n private bolEventsUrl = 'http://localhost:' + this.advisory + '/api/loc/get-bol-events';\n private bolEventsUrlIssuer = 'http://localhost:' + this.issuer + '/api/loc/get-bol-events';\n private bolEventsUrlBuyer = 'http://localhost:' + this.buyer + '/api/loc/get-bol-events';\n\n private headers = new Headers({'Content-Type': 'application/json'});\n\n constructor(private http: Http) {}\n\n createBol(bol: Bol): Promise {\n return this.http\n .post(this.createBolUrl, JSON.stringify(bol), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n createPackingList(packingList: PackingList): Promise {\n return this.http\n .post(this.createPackingListUrl, JSON.stringify(packingList), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n createInvoice(invoice: Invoice): Promise {\n return this.http\n .post(this.createInvoiceUrl, JSON.stringify(invoice), { headers: this.headers })\n .toPromise()\n .then(res => new Tx().deserialize(res).txResponse as string)\n .catch(this.handleError);\n }\n\n getBol(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor[0]) {\n case 'buyer': {\n url = `${this.bolUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.bolUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.bolUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new Bol().deserialize(response.json()) as Bol)\n .catch(this.handleError);\n }\n\n getBolEvents(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor[0]) {\n case 'buyer': {\n url = `${this.bolEventsUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.bolEventsUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.bolEventsUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new BolEvents().deserialize(response.json()) as BolEvents)\n .catch(this.handleError);\n }\n\n getPackingList(id: string, requestor: string): Promise {\n let url: string;\n switch (requestor) {\n case 'buyer': {\n url = `${this.packingListUrlBuyer}?ref=${id}`;\n break;\n }\n case 'issuing': {\n url = `${this.packingListUrlIssuer}?ref=${id}`;\n break;\n }\n default:\n url = `${this.packingListUrl}?ref=${id}`;\n break;\n }\n\n return this.http.get(url)\n .toPromise()\n .then(response => new PackingList().deserialize(response.json()) as PackingList)\n .catch(this.handleError);\n }\n\n getInvoices(): Promise {\n return this.http.get(this.invoicesUrl)\n .toPromise()\n .then(response => this.createInvoiceArray(response.json()) as Invoice[])\n .catch(this.handleError)\n }\n\n getInvoice(id: string): Promise {\n const url = `${this.invoiceUrl}?ref=${id}`;\n return this.http.get(url)\n .toPromise()\n .then(response => new Invoice().deserialize(response.json()) as Invoice)\n .catch(this.handleError);\n }\n\n private createInvoiceArray(input: any): Invoice[] {\n let invoices = new Array();\n input.forEach((element: string[]) => {\n let invoice = new Invoice().deserialize(element);\n invoices.push(invoice)\n });\n return invoices;\n }\n\n private handleError(error: any): Promise {\n console.error('An error occurred', error); // for demo purposes only\n return Promise.reject(error.message || error);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/docs.service.ts","import { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http'\nimport { Party } from './../party';\nimport 'rxjs/add/operator/toPromise';\n\n@Injectable()\nexport class IdentityService {\n\n public buyer = 10013;\n public issuer = 10007;\n public advisory = 10010;\n public seller = 10016;\n\n private buyerUrl = 'http://localhost:' + this.buyer + '/api/loc/me';\n private issuerUrl = 'http://localhost:' + this.issuer + '/api/loc/me';\n private advisoryUrl = 'http://localhost:' + this.advisory + '/api/loc/me';\n private sellerUrl = 'http://localhost:' + this.seller + '/api/loc/me';\n\n public buyerId: string;\n public issuerId: string;\n public advisoryId: string;\n public sellerId: string;\n\n constructor(private http: Http) { }\n\n getAll() {\n this.getBuyer();\n this.getIssuer();\n this.getAdvisory();\n this.getSeller();\n }\n\n getBuyer() {\n if (this.buyerId === undefined) {\n this.http.get(this.buyerUrl)\n .toPromise()\n .then(response => this.buyerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getIssuer() {\n if (this.issuerId === undefined) {\n this.http.get(this.issuerId)\n .toPromise()\n .then(response => this.issuerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getAdvisory() {\n if (this.advisoryId === undefined) {\n this.http.get(this.advisoryId)\n .toPromise()\n .then(response => this.advisoryId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n getSeller() {\n if (this.sellerId === undefined) {\n this.http.get(this.sellerId)\n .toPromise()\n .then(response => this.sellerId = new Party().deserialize(response.json()).name)\n .catch(this.handleError)\n }\n }\n\n private handleError(error: any): Promise {\n console.error('An error occurred', error); // for demo purposes only\n return Promise.reject(error.message || error);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/identity.service.ts","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class IssuingBankService {\n\nconstructor() { }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/issuing-bank.service.ts","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs/Subject';\n\n@Injectable()\nexport class RefreshService {\n\n // Observable sources\n private confirmedSource = new Subject();\n\n // Observable string streams\n missionConfirmed$ = this.confirmedSource.asObservable();\n\n confirmMission() {\n this.confirmedSource.next(true);\n }\n\nconstructor() { }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/services/refresh.service.ts","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.css\n// module id = ../../../../../src/app/ship/ship.component.css\n// module chunks = main","module.exports = \"\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.html\n// module id = ../../../../../src/app/ship/ship.component.html\n// module chunks = main","import { Component, OnInit, Input } from '@angular/core';\nimport { LocService } from './../loc.service';\nimport { LocSummary } from './../loc-summary'\nimport 'rxjs/add/operator/switchMap';\n\n@Component({\n selector: 'ship',\n templateUrl: './ship.component.html',\n styleUrls: ['./ship.component.css']\n})\nexport class ShipComponent implements OnInit {\n @Input() loc: LocSummary\n\n constructor(private locService: LocService) { }\n\n ngOnInit() {\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/ship/ship.component.ts","module.exports = \"
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.html\n// module id = ../../../../../src/app/spinner/spinner.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"body {\\n background: #161616;\\n font: 12px normal Verdana, Arial, Helvetica, sans-serif;\\n}\\n.stop {\\n animation-play-state: paused;\\n -moz-animation-play-state: paused;\\n -webkit-animation-play-state: paused;\\n}\\n.trigger {\\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\\n background-image: -moz-linear-gradient(top, #161616 25%, #000);\\n border: 1px solid #111;\\n border-right-color: #333;\\n border-bottom-color: #333;\\n text-decoration: none;\\n color: #fff;\\n padding: 10px;\\n font-family: Verdana, Geneva, sans-serif;\\n font-size: 0.8em;\\n text-transform: lowercase;\\n margin: 10px auto;\\n display: block;\\n width: 140px;\\n border-radius: 5px;\\n text-align: center;\\n}\\n.trigger:hover {\\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@color1', endColorstr='@color2');\\n background-image: -moz-linear-gradient(top, #202020 25%, #161616);\\n}\\n#ajaxloader1 {\\n width: 30px !important;\\n height: 30px !important;\\n border: 8px solid #fff !important;\\n border-radius: 50% !important;\\n box-shadow: 0 0 25px 2px !important;\\n color: #fff !important;\\n border-color: #f00 !important;\\n color: #cc0000 !important;\\n border-right-color: transparent !important;\\n border-top-color: transparent !important;\\n -webkit-animation: spin-right 1s linear infinite normal !important;\\n animation: spin-right 1s linear infinite normal !important;\\n -webkit-animation-delay: 0 !important;\\n animation-delay: 0 !important;\\n margin: 30px auto 0 !important;\\n}\\n#ajaxloader1:after {\\n display: block !important;\\n width: 13px !important;\\n height: 13px !important;\\n margin: 3px !important;\\n border: 6px solid #f00 !important;\\n content: \\\" \\\" !important;\\n border-radius: 50% !important;\\n border-left-color: transparent !important;\\n border-bottom-color: transparent !important;\\n}\\n@keyframes spin-right {\\n from {\\n -webkit-transform: rotate(0deg);\\n transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(180deg);\\n transform: rotate(180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n opacity: 0.2;\\n }\\n}\\n@-webkit-keyframes spin-right {\\n from {\\n -webkit-transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(360deg);\\n opacity: 0.2;\\n }\\n}\\n@keyframes spin-left {\\n from {\\n -webkit-transform: rotate(0deg);\\n transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(-180deg);\\n transform: rotate(-180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(-360deg);\\n transform: rotate(-360deg);\\n opacity: 0.2;\\n }\\n}\\n@-webkit-keyframes spin-left {\\n from {\\n -webkit-transform: rotate(0deg);\\n opacity: 0.2;\\n }\\n 50% {\\n -webkit-transform: rotate(-180deg);\\n opacity: 1.0;\\n }\\n to {\\n -webkit-transform: rotate(-360deg);\\n opacity: 0.2;\\n }\\n}\\n@keyframes pulse {\\n from {\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n opacity: 1;\\n }\\n to {\\n -webkit-transform: scale(0.7);\\n transform: scale(0.7);\\n opacity: 0.1;\\n }\\n}\\n@-webkit-keyframes pulse {\\n from {\\n -webkit-transform: scale(1.2);\\n opacity: 1;\\n }\\n to {\\n -webkit-transform: scale(0.7);\\n opacity: 0.1;\\n }\\n}\\n@keyframes ball-circlex {\\n from {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n 25% {\\n -webkit-transform: translateX(25px);\\n transform: translateX(25px);\\n -webkit-animation-timing-function: ease-in;\\n animation-timing-function: ease-in;\\n }\\n 50% {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n 75% {\\n -webkit-transform: translateX(-25px);\\n transform: translateX(-25px);\\n -webkit-animation-timing-function: ease-in;\\n animation-timing-function: ease-in;\\n }\\n to {\\n -webkit-transform: translateX(0px);\\n transform: translateX(0px);\\n }\\n}\\n@-webkit-keyframes ball-circlex {\\n from {\\n -webkit-transform: translateX(0px);\\n }\\n 25% {\\n -webkit-transform: translateX(25px);\\n -webkit-animation-timing-function: ease-in;\\n }\\n 50% {\\n -webkit-transform: translateX(0px);\\n }\\n 75% {\\n -webkit-transform: translateX(-25px);\\n -webkit-animation-timing-function: ease-in;\\n }\\n to {\\n -webkit-transform: translateX(0px);\\n }\\n}\\n@keyframes facebook-pulse {\\n 10% {\\n margin-top: 5px;\\n height: 22px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 20% {\\n margin-top: 0px;\\n height: 32px;\\n border-color: #d1d7e2;\\n background-color: #bac5db;\\n }\\n 30% {\\n margin-top: 1px;\\n height: 30px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 40% {\\n margin-top: 3px;\\n height: 26px;\\n }\\n 50% {\\n margin-top: 5px;\\n height: 22px;\\n }\\n 60% {\\n margin-top: 6px;\\n height: 18px;\\n }\\n}\\n@-webkit-keyframes facebook-pulse {\\n 10% {\\n margin-top: 5px;\\n height: 22px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 20% {\\n margin-top: 0px;\\n height: 32px;\\n border-color: #d1d7e2;\\n background-color: #bac5db;\\n }\\n 30% {\\n margin-top: 1px;\\n height: 30px;\\n border-color: #d1d8e6;\\n background-color: #bac5db;\\n }\\n 40% {\\n margin-top: 3px;\\n height: 26px;\\n }\\n 50% {\\n margin-top: 5px;\\n height: 22px;\\n }\\n 60% {\\n margin-top: 6px;\\n height: 18px;\\n }\\n}\\n@keyframes loadpulse-ball {\\n from {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n }\\n to {\\n -webkit-transform: scale(1);\\n transform: scale(1);\\n }\\n}\\n@-webkit-keyframes loadpulse-ball {\\n from {\\n -webkit-transform: scale(0);\\n }\\n to {\\n -webkit-transform: scale(1);\\n }\\n}\\n@keyframes loadpulse-glow {\\n from {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n opacity: 0;\\n }\\n 10% {\\n -webkit-transform: scale(1);\\n transform: scale(1);\\n opacity: 0.5;\\n }\\n 50% {\\n -webkit-transform: scale(1.75);\\n transform: scale(1.75);\\n opacity: 0;\\n }\\n to {\\n -webkit-transform: scale(0);\\n transform: scale(0);\\n opacity: 0;\\n }\\n}\\n@-webkit-keyframes loadpulse-glow {\\n from {\\n -webkit-transform: scale(0);\\n opacity: 0;\\n }\\n 10% {\\n -webkit-transform: scale(1);\\n opacity: 0.5;\\n }\\n 50% {\\n -webkit-transform: scale(1.75);\\n opacity: 0;\\n }\\n to {\\n -webkit-transform: scale(0);\\n opacity: 0;\\n }\\n}\\n@keyframes pound {\\n to {\\n -webkit-transform: scale(1.2);\\n transform: scale(1.2);\\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\\n }\\n}\\n@-webkit-keyframes pound {\\n to {\\n -webkit-transform: scale(1.2);\\n box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.65), 2px 6px 12px 0 rgba(0, 0, 0, 0.5), 3px 8px 15px 0 rgba(0, 0, 0, 0.45);\\n }\\n}\\n@keyframes letters {\\n to {\\n text-shadow: 0 0 2px rgba(204, 208, 212, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);\\n }\\n}\\n@-webkit-keyframes letters {\\n to {\\n text-shadow: 0 0 2px rgba(22, 22, 22, 0.2), 0 0 3px rgba(0, 0, 0, 0.02), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);\\n }\\n}\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.less\n// module id = ../../../../../src/app/spinner/spinner.component.less\n// module chunks = main","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'spinner',\n templateUrl: './spinner.component.html',\n styleUrls: ['./spinner.component.less']\n})\nexport class SpinnerComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/spinner/spinner.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Stats implements Serializable {\r\n public awaitingApproval: number;\r\n public active: number;\r\n public awaitingPayment: number;\r\n\r\n deserialize(input: any) {\r\n this.awaitingApproval = input.awaitingApproval;\r\n this.active = input.active;\r\n this.awaitingPayment = input.awaitingPayment\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/stats.ts","module.exports = \"
    \\n\\n
    \\n\\n
  • \\n
    {{event.value}}
    \\n
  • \\n\\n
  • \\n
    \\n
    \\n
    \\n

    Owned by {{event.key}}

    \\n

    {{event.value}}

    \\n
    \\n
    \\n
  • \\n\\n
    \\n
\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.html\n// module id = ../../../../../src/app/timeline/timeline.component.html\n// module chunks = main","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"img {\\n border: 0;\\n max-width: 100%; }\\n\\n.page-header h1 {\\n font-size: 3.26em;\\n text-align: center;\\n color: #efefef;\\n text-shadow: 1px 1px 0 #000; }\\n\\n/** timeline box structure **/\\n.timeline {\\n list-style: none;\\n padding: 20px 0 20px;\\n position: relative; }\\n\\n.timeline:before {\\n top: 0;\\n bottom: 0;\\n position: absolute;\\n content: \\\" \\\";\\n width: 3px;\\n background-color: #eee;\\n left: 50%;\\n margin-left: -1.5px; }\\n\\n.tldate {\\n display: block;\\n width: 200px;\\n background: #414141;\\n border: 3px solid #212121;\\n color: #ededed;\\n margin: 0 auto;\\n padding: 3px 0;\\n font-weight: bold;\\n text-align: center;\\n -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35); }\\n\\n.timeline li {\\n margin-bottom: 25px;\\n position: relative; }\\n\\n.timeline li:before, .timeline li:after {\\n content: \\\" \\\";\\n display: table; }\\n\\n.timeline li:after {\\n clear: both; }\\n\\n.timeline li:before, .timeline li:after {\\n content: \\\" \\\";\\n display: table; }\\n\\n/** timeline panels **/\\n.timeline li .timeline-panel {\\n width: 46%;\\n float: left;\\n background: #fff;\\n border: 1px solid #d4d4d4;\\n padding: 20px;\\n position: relative;\\n border-radius: 8px;\\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15); }\\n\\n/** panel arrows **/\\n.timeline li .timeline-panel:before {\\n position: absolute;\\n top: 26px;\\n right: -15px;\\n display: inline-block;\\n border-top: 15px solid transparent;\\n border-left: 15px solid #ccc;\\n border-right: 0 solid #ccc;\\n border-bottom: 15px solid transparent;\\n content: \\\" \\\"; }\\n\\n.timeline li .timeline-panel:after {\\n position: absolute;\\n top: 27px;\\n right: -14px;\\n display: inline-block;\\n border-top: 14px solid transparent;\\n border-left: 14px solid #fff;\\n border-right: 0 solid #fff;\\n border-bottom: 14px solid transparent;\\n content: \\\" \\\"; }\\n\\n.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {\\n top: 0;\\n right: 0;\\n display: none;\\n border: 0; }\\n\\n.timeline li.timeline-inverted .timeline-panel {\\n float: right; }\\n\\n.timeline li.timeline-inverted .timeline-panel:before {\\n border-left-width: 0;\\n border-right-width: 15px;\\n left: -15px;\\n right: auto; }\\n\\n.timeline li.timeline-inverted .timeline-panel:after {\\n border-left-width: 0;\\n border-right-width: 14px;\\n left: -14px;\\n right: auto; }\\n\\n/** timeline circle icons **/\\n.timeline li .tl-circ {\\n position: absolute;\\n top: 23px;\\n left: 50%;\\n text-align: center;\\n background: #6a8db3;\\n color: #fff;\\n width: 35px;\\n height: 35px;\\n line-height: 35px;\\n margin-left: -16px;\\n border: 3px solid #90acc7;\\n border-top-right-radius: 50%;\\n border-top-left-radius: 50%;\\n border-bottom-right-radius: 50%;\\n border-bottom-left-radius: 50%;\\n z-index: 99999; }\\n\\n/** timeline content **/\\n.tl-heading h4 {\\n margin: 0;\\n color: #c25b4e; }\\n\\n.tl-body p, .tl-body ul {\\n margin-bottom: 0; }\\n\\n.tl-body > p + p {\\n margin-top: 5px; }\\n\\n/** media queries **/\\n@media (max-width: 991px) {\\n .timeline li .timeline-panel {\\n width: 44%; } }\\n\\n@media (max-width: 700px) {\\n .page-header h1 {\\n font-size: 1.8em; }\\n ul.timeline:before {\\n left: 40px; }\\n .tldate {\\n width: 140px; }\\n ul.timeline li .timeline-panel {\\n width: calc(100% - 90px);\\n width: -webkit-calc(100% - 90px); }\\n ul.timeline li .tl-circ {\\n top: 22px;\\n left: 22px;\\n margin-left: 0; }\\n ul.timeline > li > .tldate {\\n margin: 0; }\\n ul.timeline > li > .timeline-panel {\\n float: right; }\\n ul.timeline > li > .timeline-panel:before {\\n border-left-width: 0;\\n border-right-width: 15px;\\n left: -15px;\\n right: auto; }\\n ul.timeline > li > .timeline-panel:after {\\n border-left-width: 0;\\n border-right-width: 14px;\\n left: -14px;\\n right: auto; } }\\n\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.scss\n// module id = ../../../../../src/app/timeline/timeline.component.scss\n// module chunks = main","import { Component, OnChanges, Input, SimpleChanges } from '@angular/core';\nimport { DocsService } from './../services/docs.service';\nimport { BolEvents } from './../bol-events';\n\n@Component({\n selector: 'timeline',\n templateUrl: './timeline.component.html',\n styleUrls: ['./timeline.component.scss']\n})\nexport class TimelineComponent implements OnChanges {\n @Input() id: string;\n @Input() requestor: string;\n bolEvents: BolEvents;\n\n constructor(private docsService: DocsService) { }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.id[0] !== undefined) {\n this.docsService.getBolEvents(this.id, this.requestor).then(bolEvents => this.bolEvents = bolEvents);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/timeline/timeline.component.ts","import { Serializable } from './serializable';\r\n\r\nexport class Tx implements Serializable {\r\n\r\n public txResponse: string;\r\n\r\n deserialize(input: any) {\r\n this.txResponse = input.message;\r\n return this;\r\n }\r\n\r\n text(input: any) {\r\n this.txResponse = input;\r\n return this;\r\n }\r\n\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/app/tx.ts","var myExtObject = (function() {\r\n\r\n return {\r\n loadModal: function() {\r\n $('#modal-container').removeAttr('class').addClass('one');\r\n $('body').addClass('modal-active');\r\n setTimeout(this.closeModal(), 3000);\r\n },\r\n closeModal: function() {\r\n $('#modal-container').removeAttr('class');\r\n $(this).addClass('out');\r\n $('body').removeClass('modal-active');\r\n }\r\n }\r\n\r\n })(myExtObject||{})\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/src/assets/modal.js\n// module id = ../../../../../src/assets/modal.js\n// module chunks = main","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport { enableProdMode } from '@angular/core';\nimport { AppModule } from './app/app.module';\n\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/main.ts","var map = {\n\t\"./af\": \"../../../../moment/locale/af.js\",\n\t\"./af.js\": \"../../../../moment/locale/af.js\",\n\t\"./ar\": \"../../../../moment/locale/ar.js\",\n\t\"./ar-dz\": \"../../../../moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"../../../../moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"../../../../moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"../../../../moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"../../../../moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"../../../../moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"../../../../moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"../../../../moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"../../../../moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"../../../../moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"../../../../moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"../../../../moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"../../../../moment/locale/ar.js\",\n\t\"./az\": \"../../../../moment/locale/az.js\",\n\t\"./az.js\": \"../../../../moment/locale/az.js\",\n\t\"./be\": \"../../../../moment/locale/be.js\",\n\t\"./be.js\": \"../../../../moment/locale/be.js\",\n\t\"./bg\": \"../../../../moment/locale/bg.js\",\n\t\"./bg.js\": \"../../../../moment/locale/bg.js\",\n\t\"./bn\": \"../../../../moment/locale/bn.js\",\n\t\"./bn.js\": \"../../../../moment/locale/bn.js\",\n\t\"./bo\": \"../../../../moment/locale/bo.js\",\n\t\"./bo.js\": \"../../../../moment/locale/bo.js\",\n\t\"./br\": \"../../../../moment/locale/br.js\",\n\t\"./br.js\": \"../../../../moment/locale/br.js\",\n\t\"./bs\": \"../../../../moment/locale/bs.js\",\n\t\"./bs.js\": \"../../../../moment/locale/bs.js\",\n\t\"./ca\": \"../../../../moment/locale/ca.js\",\n\t\"./ca.js\": \"../../../../moment/locale/ca.js\",\n\t\"./cs\": \"../../../../moment/locale/cs.js\",\n\t\"./cs.js\": \"../../../../moment/locale/cs.js\",\n\t\"./cv\": \"../../../../moment/locale/cv.js\",\n\t\"./cv.js\": \"../../../../moment/locale/cv.js\",\n\t\"./cy\": \"../../../../moment/locale/cy.js\",\n\t\"./cy.js\": \"../../../../moment/locale/cy.js\",\n\t\"./da\": \"../../../../moment/locale/da.js\",\n\t\"./da.js\": \"../../../../moment/locale/da.js\",\n\t\"./de\": \"../../../../moment/locale/de.js\",\n\t\"./de-at\": \"../../../../moment/locale/de-at.js\",\n\t\"./de-at.js\": \"../../../../moment/locale/de-at.js\",\n\t\"./de-ch\": \"../../../../moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"../../../../moment/locale/de-ch.js\",\n\t\"./de.js\": \"../../../../moment/locale/de.js\",\n\t\"./dv\": \"../../../../moment/locale/dv.js\",\n\t\"./dv.js\": \"../../../../moment/locale/dv.js\",\n\t\"./el\": \"../../../../moment/locale/el.js\",\n\t\"./el.js\": \"../../../../moment/locale/el.js\",\n\t\"./en-au\": \"../../../../moment/locale/en-au.js\",\n\t\"./en-au.js\": \"../../../../moment/locale/en-au.js\",\n\t\"./en-ca\": \"../../../../moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"../../../../moment/locale/en-ca.js\",\n\t\"./en-gb\": \"../../../../moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"../../../../moment/locale/en-gb.js\",\n\t\"./en-ie\": \"../../../../moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"../../../../moment/locale/en-ie.js\",\n\t\"./en-nz\": \"../../../../moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"../../../../moment/locale/en-nz.js\",\n\t\"./eo\": \"../../../../moment/locale/eo.js\",\n\t\"./eo.js\": \"../../../../moment/locale/eo.js\",\n\t\"./es\": \"../../../../moment/locale/es.js\",\n\t\"./es-do\": \"../../../../moment/locale/es-do.js\",\n\t\"./es-do.js\": \"../../../../moment/locale/es-do.js\",\n\t\"./es.js\": \"../../../../moment/locale/es.js\",\n\t\"./et\": \"../../../../moment/locale/et.js\",\n\t\"./et.js\": \"../../../../moment/locale/et.js\",\n\t\"./eu\": \"../../../../moment/locale/eu.js\",\n\t\"./eu.js\": \"../../../../moment/locale/eu.js\",\n\t\"./fa\": \"../../../../moment/locale/fa.js\",\n\t\"./fa.js\": \"../../../../moment/locale/fa.js\",\n\t\"./fi\": \"../../../../moment/locale/fi.js\",\n\t\"./fi.js\": \"../../../../moment/locale/fi.js\",\n\t\"./fo\": \"../../../../moment/locale/fo.js\",\n\t\"./fo.js\": \"../../../../moment/locale/fo.js\",\n\t\"./fr\": \"../../../../moment/locale/fr.js\",\n\t\"./fr-ca\": \"../../../../moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"../../../../moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"../../../../moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"../../../../moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"../../../../moment/locale/fr.js\",\n\t\"./fy\": \"../../../../moment/locale/fy.js\",\n\t\"./fy.js\": \"../../../../moment/locale/fy.js\",\n\t\"./gd\": \"../../../../moment/locale/gd.js\",\n\t\"./gd.js\": \"../../../../moment/locale/gd.js\",\n\t\"./gl\": \"../../../../moment/locale/gl.js\",\n\t\"./gl.js\": \"../../../../moment/locale/gl.js\",\n\t\"./gom-latn\": \"../../../../moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"../../../../moment/locale/gom-latn.js\",\n\t\"./he\": \"../../../../moment/locale/he.js\",\n\t\"./he.js\": \"../../../../moment/locale/he.js\",\n\t\"./hi\": \"../../../../moment/locale/hi.js\",\n\t\"./hi.js\": \"../../../../moment/locale/hi.js\",\n\t\"./hr\": \"../../../../moment/locale/hr.js\",\n\t\"./hr.js\": \"../../../../moment/locale/hr.js\",\n\t\"./hu\": \"../../../../moment/locale/hu.js\",\n\t\"./hu.js\": \"../../../../moment/locale/hu.js\",\n\t\"./hy-am\": \"../../../../moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"../../../../moment/locale/hy-am.js\",\n\t\"./id\": \"../../../../moment/locale/id.js\",\n\t\"./id.js\": \"../../../../moment/locale/id.js\",\n\t\"./is\": \"../../../../moment/locale/is.js\",\n\t\"./is.js\": \"../../../../moment/locale/is.js\",\n\t\"./it\": \"../../../../moment/locale/it.js\",\n\t\"./it.js\": \"../../../../moment/locale/it.js\",\n\t\"./ja\": \"../../../../moment/locale/ja.js\",\n\t\"./ja.js\": \"../../../../moment/locale/ja.js\",\n\t\"./jv\": \"../../../../moment/locale/jv.js\",\n\t\"./jv.js\": \"../../../../moment/locale/jv.js\",\n\t\"./ka\": \"../../../../moment/locale/ka.js\",\n\t\"./ka.js\": \"../../../../moment/locale/ka.js\",\n\t\"./kk\": \"../../../../moment/locale/kk.js\",\n\t\"./kk.js\": \"../../../../moment/locale/kk.js\",\n\t\"./km\": \"../../../../moment/locale/km.js\",\n\t\"./km.js\": \"../../../../moment/locale/km.js\",\n\t\"./kn\": \"../../../../moment/locale/kn.js\",\n\t\"./kn.js\": \"../../../../moment/locale/kn.js\",\n\t\"./ko\": \"../../../../moment/locale/ko.js\",\n\t\"./ko.js\": \"../../../../moment/locale/ko.js\",\n\t\"./ky\": \"../../../../moment/locale/ky.js\",\n\t\"./ky.js\": \"../../../../moment/locale/ky.js\",\n\t\"./lb\": \"../../../../moment/locale/lb.js\",\n\t\"./lb.js\": \"../../../../moment/locale/lb.js\",\n\t\"./lo\": \"../../../../moment/locale/lo.js\",\n\t\"./lo.js\": \"../../../../moment/locale/lo.js\",\n\t\"./lt\": \"../../../../moment/locale/lt.js\",\n\t\"./lt.js\": \"../../../../moment/locale/lt.js\",\n\t\"./lv\": \"../../../../moment/locale/lv.js\",\n\t\"./lv.js\": \"../../../../moment/locale/lv.js\",\n\t\"./me\": \"../../../../moment/locale/me.js\",\n\t\"./me.js\": \"../../../../moment/locale/me.js\",\n\t\"./mi\": \"../../../../moment/locale/mi.js\",\n\t\"./mi.js\": \"../../../../moment/locale/mi.js\",\n\t\"./mk\": \"../../../../moment/locale/mk.js\",\n\t\"./mk.js\": \"../../../../moment/locale/mk.js\",\n\t\"./ml\": \"../../../../moment/locale/ml.js\",\n\t\"./ml.js\": \"../../../../moment/locale/ml.js\",\n\t\"./mr\": \"../../../../moment/locale/mr.js\",\n\t\"./mr.js\": \"../../../../moment/locale/mr.js\",\n\t\"./ms\": \"../../../../moment/locale/ms.js\",\n\t\"./ms-my\": \"../../../../moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"../../../../moment/locale/ms-my.js\",\n\t\"./ms.js\": \"../../../../moment/locale/ms.js\",\n\t\"./my\": \"../../../../moment/locale/my.js\",\n\t\"./my.js\": \"../../../../moment/locale/my.js\",\n\t\"./nb\": \"../../../../moment/locale/nb.js\",\n\t\"./nb.js\": \"../../../../moment/locale/nb.js\",\n\t\"./ne\": \"../../../../moment/locale/ne.js\",\n\t\"./ne.js\": \"../../../../moment/locale/ne.js\",\n\t\"./nl\": \"../../../../moment/locale/nl.js\",\n\t\"./nl-be\": \"../../../../moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"../../../../moment/locale/nl-be.js\",\n\t\"./nl.js\": \"../../../../moment/locale/nl.js\",\n\t\"./nn\": \"../../../../moment/locale/nn.js\",\n\t\"./nn.js\": \"../../../../moment/locale/nn.js\",\n\t\"./pa-in\": \"../../../../moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"../../../../moment/locale/pa-in.js\",\n\t\"./pl\": \"../../../../moment/locale/pl.js\",\n\t\"./pl.js\": \"../../../../moment/locale/pl.js\",\n\t\"./pt\": \"../../../../moment/locale/pt.js\",\n\t\"./pt-br\": \"../../../../moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"../../../../moment/locale/pt-br.js\",\n\t\"./pt.js\": \"../../../../moment/locale/pt.js\",\n\t\"./ro\": \"../../../../moment/locale/ro.js\",\n\t\"./ro.js\": \"../../../../moment/locale/ro.js\",\n\t\"./ru\": \"../../../../moment/locale/ru.js\",\n\t\"./ru.js\": \"../../../../moment/locale/ru.js\",\n\t\"./sd\": \"../../../../moment/locale/sd.js\",\n\t\"./sd.js\": \"../../../../moment/locale/sd.js\",\n\t\"./se\": \"../../../../moment/locale/se.js\",\n\t\"./se.js\": \"../../../../moment/locale/se.js\",\n\t\"./si\": \"../../../../moment/locale/si.js\",\n\t\"./si.js\": \"../../../../moment/locale/si.js\",\n\t\"./sk\": \"../../../../moment/locale/sk.js\",\n\t\"./sk.js\": \"../../../../moment/locale/sk.js\",\n\t\"./sl\": \"../../../../moment/locale/sl.js\",\n\t\"./sl.js\": \"../../../../moment/locale/sl.js\",\n\t\"./sq\": \"../../../../moment/locale/sq.js\",\n\t\"./sq.js\": \"../../../../moment/locale/sq.js\",\n\t\"./sr\": \"../../../../moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"../../../../moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"../../../../moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"../../../../moment/locale/sr.js\",\n\t\"./ss\": \"../../../../moment/locale/ss.js\",\n\t\"./ss.js\": \"../../../../moment/locale/ss.js\",\n\t\"./sv\": \"../../../../moment/locale/sv.js\",\n\t\"./sv.js\": \"../../../../moment/locale/sv.js\",\n\t\"./sw\": \"../../../../moment/locale/sw.js\",\n\t\"./sw.js\": \"../../../../moment/locale/sw.js\",\n\t\"./ta\": \"../../../../moment/locale/ta.js\",\n\t\"./ta.js\": \"../../../../moment/locale/ta.js\",\n\t\"./te\": \"../../../../moment/locale/te.js\",\n\t\"./te.js\": \"../../../../moment/locale/te.js\",\n\t\"./tet\": \"../../../../moment/locale/tet.js\",\n\t\"./tet.js\": \"../../../../moment/locale/tet.js\",\n\t\"./th\": \"../../../../moment/locale/th.js\",\n\t\"./th.js\": \"../../../../moment/locale/th.js\",\n\t\"./tl-ph\": \"../../../../moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"../../../../moment/locale/tl-ph.js\",\n\t\"./tlh\": \"../../../../moment/locale/tlh.js\",\n\t\"./tlh.js\": \"../../../../moment/locale/tlh.js\",\n\t\"./tr\": \"../../../../moment/locale/tr.js\",\n\t\"./tr.js\": \"../../../../moment/locale/tr.js\",\n\t\"./tzl\": \"../../../../moment/locale/tzl.js\",\n\t\"./tzl.js\": \"../../../../moment/locale/tzl.js\",\n\t\"./tzm\": \"../../../../moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"../../../../moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"../../../../moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"../../../../moment/locale/tzm.js\",\n\t\"./uk\": \"../../../../moment/locale/uk.js\",\n\t\"./uk.js\": \"../../../../moment/locale/uk.js\",\n\t\"./ur\": \"../../../../moment/locale/ur.js\",\n\t\"./ur.js\": \"../../../../moment/locale/ur.js\",\n\t\"./uz\": \"../../../../moment/locale/uz.js\",\n\t\"./uz-latn\": \"../../../../moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"../../../../moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"../../../../moment/locale/uz.js\",\n\t\"./vi\": \"../../../../moment/locale/vi.js\",\n\t\"./vi.js\": \"../../../../moment/locale/vi.js\",\n\t\"./x-pseudo\": \"../../../../moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"../../../../moment/locale/x-pseudo.js\",\n\t\"./yo\": \"../../../../moment/locale/yo.js\",\n\t\"./yo.js\": \"../../../../moment/locale/yo.js\",\n\t\"./zh-cn\": \"../../../../moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"../../../../moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"../../../../moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"../../../../moment/locale/zh-hk.js\",\n\t\"./zh-tw\": \"../../../../moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"../../../../moment/locale/zh-tw.js\"\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"../../../../moment/locale recursive ^\\\\.\\\\/.*$\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/moment/locale ^\\.\\/.*$\n// module id = ../../../../moment/locale recursive ^\\.\\/.*$\n// module chunks = main"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/polyfills.bundle.js b/kotlin-source/src/main/resources/loc/polyfills.bundle.js new file mode 100644 index 0000000..eacbc2a --- /dev/null +++ b/kotlin-source/src/main/resources/loc/polyfills.bundle.js @@ -0,0 +1,5393 @@ +webpackJsonp(["polyfills"],{ + +/***/ "../../../../../src/polyfills.ts": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__("../../../../core-js/es6/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__("../../../../core-js/es7/reflect.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__ = __webpack_require__("../../../../zone.js/dist/zone.js"); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__); +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html + */ +/*************************************************************************************************** + * BROWSER POLYFILLS + */ +/** IE9, IE10 and IE11 requires all of the following polyfills. **/ +// import 'core-js/es6/symbol'; +// import 'core-js/es6/object'; +// import 'core-js/es6/function'; +// import 'core-js/es6/parse-int'; +// import 'core-js/es6/parse-float'; +// import 'core-js/es6/number'; +// import 'core-js/es6/math'; +// import 'core-js/es6/string'; +// import 'core-js/es6/date'; +// import 'core-js/es6/array'; +// import 'core-js/es6/regexp'; +// import 'core-js/es6/map'; +// import 'core-js/es6/weak-map'; +// import 'core-js/es6/set'; +/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. +/** Evergreen browsers require these. **/ + + +/** + * Required to support Web Animations `@angular/animation`. + * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + **/ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. +/*************************************************************************************************** + * Zone JS is required by Angular itself. + */ + // Included with Angular CLI. +/*************************************************************************************************** + * APPLICATION IMPORTS + */ +/** + * Date, currency, decimal and percent pipes. + * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 + */ +// import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en'; +//# sourceMappingURL=polyfills.js.map + +/***/ }), + +/***/ "../../../../core-js/es6/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es6.reflect.apply.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.construct.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.define-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.delete-property.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.enumerate.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.get-prototype-of.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.has.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.is-extensible.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.own-keys.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.prevent-extensions.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set.js"); +__webpack_require__("../../../../core-js/modules/es6.reflect.set-prototype-of.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/es7/reflect.js": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("../../../../core-js/modules/es7.reflect.define-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.delete-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.has-own-metadata.js"); +__webpack_require__("../../../../core-js/modules/es7.reflect.metadata.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").Reflect; + + +/***/ }), + +/***/ "../../../../core-js/modules/_a-function.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-instance.js": +/***/ (function(module, exports) { + +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { + throw TypeError(name + ': incorrect invocation!'); + } return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_an-object.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-from-iterable.js": +/***/ (function(module, exports, __webpack_require__) { + +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); + +module.exports = function (iter, ITERATOR) { + var result = []; + forOf(iter, false, result.push, result, ITERATOR); + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-includes.js": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var toAbsoluteIndex = __webpack_require__("../../../../core-js/modules/_to-absolute-index.js"); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-methods.js": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var asc = __webpack_require__("../../../../core-js/modules/_array-species-create.js"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-constructor.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var isArray = __webpack_require__("../../../../core-js/modules/_is-array.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_array-species-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("../../../../core-js/modules/_array-species-constructor.js"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_bind.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var invoke = __webpack_require__("../../../../core-js/modules/_invoke.js"); +var arraySlice = [].slice; +var factories = {}; + +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); + } return factories[len](F, args); +}; + +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { + var args = partArgs.concat(arraySlice.call(arguments)); + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); + }; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; + return bound; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_classof.js": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_cof.js": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-strong.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var $iterDefine = __webpack_require__("../../../../core-js/modules/_iter-define.js"); +var step = __webpack_require__("../../../../core-js/modules/_iter-step.js"); +var setSpecies = __webpack_require__("../../../../core-js/modules/_set-species.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var fastKey = __webpack_require__("../../../../core-js/modules/_meta.js").fastKey; +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SIZE = DESCRIPTORS ? '_s' : 'size'; + +var getEntry = function (that, key) { + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; + // frozen object case + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = create(null); // index + that._f = undefined; // first entry + that._l = undefined; // last entry + that[SIZE] = 0; // size + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.1.3.1 Map.prototype.clear() + // 23.2.3.2 Set.prototype.clear() + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { + entry.r = true; + if (entry.p) entry.p = entry.p.n = undefined; + delete data[entry.i]; + } + that._f = that._l = undefined; + that[SIZE] = 0; + }, + // 23.1.3.3 Map.prototype.delete(key) + // 23.2.3.4 Set.prototype.delete(value) + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; + delete that._i[entry.i]; + entry.r = true; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; + that[SIZE]--; + } return !!entry; + }, + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { + f(entry.v, entry.k, this); + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + } + }, + // 23.1.3.7 Map.prototype.has(key) + // 23.2.3.7 Set.prototype.has(value) + has: function has(key) { + return !!getEntry(validate(this, NAME), key); + } + }); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; + } + }); + return C; + }, + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; + // change existing entry + if (entry) { + entry.v = value; + // create new entry + } else { + that._l = entry = { + i: index = fastKey(key, true), // <- index + k: key, // <- key + v: value, // <- value + p: prev = that._l, // <- previous entry + n: undefined, // <- next entry + r: false // <- removed + }; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; + that[SIZE]++; + // add to index + if (index !== 'F') that._i[index] = entry; + } return that; + }, + getEntry: getEntry, + setStrong: function (C, NAME, IS_MAP) { + // add .keys, .values, .entries, [@@iterator] + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + // get next entry + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { + // or finish the iteration + that._t = undefined; + return step(1); + } + // return step by kind + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); + return step(0, [entry.k, entry.v]); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // add [@@species], 23.1.2.2, 23.2.2.2 + setSpecies(NAME); + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection-weak.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var getWeak = __webpack_require__("../../../../core-js/modules/_meta.js").getWeak; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var createArrayMethod = __webpack_require__("../../../../core-js/modules/_array-methods.js"); +var $has = __webpack_require__("../../../../core-js/modules/_has.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); +}; +var UncaughtFrozenStore = function () { + this.a = []; +}; +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { + return it[0] === key; + }); +}; +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.a.push([key, value]); + }, + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { + return it[0] === key; + }); + if (~index) this.a.splice(index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = id++; // collection id + that._l = undefined; // leak store for uncaught frozen objects + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.3.3.2 WeakMap.prototype.delete(key) + // 23.4.3.3 WeakSet.prototype.delete(value) + 'delete': function (key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); + return data && $has(data, this._i) && delete data[this._i]; + }, + // 23.3.3.4 WeakMap.prototype.has(key) + // 23.4.3.4 WeakSet.prototype.has(value) + has: function has(key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); + return data && $has(data, this._i); + } + }); + return C; + }, + def: function (that, key, value) { + var data = getWeak(anObject(key), true); + if (data === true) uncaughtFrozenStore(that).set(key, value); + else data[that._i] = value; + return that; + }, + ufstore: uncaughtFrozenStore +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_collection.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var redefineAll = __webpack_require__("../../../../core-js/modules/_redefine-all.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var forOf = __webpack_require__("../../../../core-js/modules/_for-of.js"); +var anInstance = __webpack_require__("../../../../core-js/modules/_an-instance.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var $iterDetect = __webpack_require__("../../../../core-js/modules/_iter-detect.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__("../../../../core-js/modules/_inherit-if-required.js"); + +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + var fixMethod = function (KEY) { + var fn = proto[KEY]; + redefine(proto, KEY, + KEY == 'delete' ? function (a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'has' ? function has(a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'get' ? function get(a) { + return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } + : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } + ); + }; + if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { + new C().entries().next(); + }))) { + // create collection constructor + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); + redefineAll(C.prototype, methods); + meta.NEED = true; + } else { + var instance = new C(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new C(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + C = wrapper(function (target, iterable) { + anInstance(target, C, NAME); + var that = inheritIfRequired(new Base(), target, C); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + return that; + }); + C.prototype = proto; + proto.constructor = C; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + // weak collections should not contains .clear method + if (IS_WEAK && proto.clear) delete proto.clear; + } + + setToStringTag(C, NAME); + + O[NAME] = C; + $export($export.G + $export.W + $export.F * (C != Base), O); + + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); + + return C; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_core.js": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.5.0' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_ctx.js": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_defined.js": +/***/ (function(module, exports) { + +// 7.2.1 RequireObjectCoercible(argument) +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_descriptors.js": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_dom-create.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_enum-bug-keys.js": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "../../../../core-js/modules/_export.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var core = __webpack_require__("../../../../core-js/modules/_core.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var PROTOTYPE = 'prototype'; + +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; + + +/***/ }), + +/***/ "../../../../core-js/modules/_fails.js": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_for-of.js": +/***/ (function(module, exports, __webpack_require__) { + +var ctx = __webpack_require__("../../../../core-js/modules/_ctx.js"); +var call = __webpack_require__("../../../../core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__("../../../../core-js/modules/_is-array-iter.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toLength = __webpack_require__("../../../../core-js/modules/_to-length.js"); +var getIterFn = __webpack_require__("../../../../core-js/modules/core.get-iterator-method.js"); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); + // fast case for arrays with default iterator + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { + result = call(iterator, f, step.value, entries); + if (result === BREAK || result === RETURN) return result; + } +}; +exports.BREAK = BREAK; +exports.RETURN = RETURN; + + +/***/ }), + +/***/ "../../../../core-js/modules/_global.js": +/***/ (function(module, exports) { + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "../../../../core-js/modules/_has.js": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_hide.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_html.js": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("../../../../core-js/modules/_global.js").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "../../../../core-js/modules/_ie8-dom-define.js": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("../../../../core-js/modules/_descriptors.js") && !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__("../../../../core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_inherit-if-required.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var setPrototypeOf = __webpack_require__("../../../../core-js/modules/_set-proto.js").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_invoke.js": +/***/ (function(module, exports) { + +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function (fn, args, that) { + var un = that === undefined; + switch (args.length) { + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array-iter.js": +/***/ (function(module, exports, __webpack_require__) { + +// check on default Array iterator +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var ArrayProto = Array.prototype; + +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-array.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("../../../../core-js/modules/_cof.js"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_is-object.js": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-call.js": +/***/ (function(module, exports, __webpack_require__) { + +// call something on iterator step with safe closing on error +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +module.exports = function (iterator, fn, value, entries) { + try { + return entries ? fn(anObject(value)[0], value[1]) : fn(value); + // 7.4.6 IteratorClose(iterator, completion) + } catch (e) { + var ret = iterator['return']; + if (ret !== undefined) anObject(ret.call(iterator)); + throw e; + } +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-create.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var descriptor = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("../../../../core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-define.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("../../../../core-js/modules/_library.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +var $iterCreate = __webpack_require__("../../../../core-js/modules/_iter-create.js"); +var setToStringTag = __webpack_require__("../../../../core-js/modules/_set-to-string-tag.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; + +var returnThis = function () { return this; }; + +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-detect.js": +/***/ (function(module, exports, __webpack_require__) { + +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var SAFE_CLOSING = false; + +try { + var riter = [7][ITERATOR](); + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } + +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; + var safe = false; + try { + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; + exec(arr); + } catch (e) { /* empty */ } + return safe; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iter-step.js": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_iterators.js": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_library.js": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "../../../../core-js/modules/_meta.js": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("../../../../core-js/modules/_uid.js")('meta'); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var setDesc = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); +}; +var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var Map = __webpack_require__("../../../../core-js/modules/es6.map.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('metadata'); +var store = shared.store || (shared.store = new (__webpack_require__("../../../../core-js/modules/es6.weak-map.js"))()); + +var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return undefined; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return undefined; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; +}; +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); +}; +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); +}; +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); +}; +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); + return keys; +}; +var toMetaKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); +}; +var exp = function (O) { + $export($export.S, 'Reflect', O); +}; + +module.exports = { + store: store, + map: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + key: toMetaKey, + exp: exp +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-assign.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 19.1.2.1 Object.assign(target, source, ...) +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var $assign = Object.assign; + +// should work with symbols and should have deterministic property order (V8 bug) +module.exports = !$assign || __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; + } return T; +} : $assign; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-create.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var dPs = __webpack_require__("../../../../core-js/modules/_object-dps.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = __webpack_require__("../../../../core-js/modules/_dom-create.js")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("../../../../core-js/modules/_html.js").appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); +}; + +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dp.js": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-dps.js": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getKeys = __webpack_require__("../../../../core-js/modules/_object-keys.js"); + +module.exports = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopd.js": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("../../../../core-js/modules/_object-pie.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var IE8_DOM_DEFINE = __webpack_require__("../../../../core-js/modules/_ie8-dom-define.js"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("../../../../core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gopn.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var hiddenKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gops.js": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-gpo.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toObject = __webpack_require__("../../../../core-js/modules/_to-object.js"); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); +var ObjectProto = Object.prototype; + +module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys-internal.js": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var toIObject = __webpack_require__("../../../../core-js/modules/_to-iobject.js"); +var arrayIndexOf = __webpack_require__("../../../../core-js/modules/_array-includes.js")(false); +var IE_PROTO = __webpack_require__("../../../../core-js/modules/_shared-key.js")('IE_PROTO'); + +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("../../../../core-js/modules/_object-keys-internal.js"); +var enumBugKeys = __webpack_require__("../../../../core-js/modules/_enum-bug-keys.js"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_object-pie.js": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "../../../../core-js/modules/_own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// all object keys, includes non-enumerable and symbols +var gOPN = __webpack_require__("../../../../core-js/modules/_object-gopn.js"); +var gOPS = __webpack_require__("../../../../core-js/modules/_object-gops.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Reflect = __webpack_require__("../../../../core-js/modules/_global.js").Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; + return getSymbols ? keys.concat(getSymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_property-desc.js": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine-all.js": +/***/ (function(module, exports, __webpack_require__) { + +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +module.exports = function (target, src, safe) { + for (var key in src) redefine(target, key, src[key], safe); + return target; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_redefine.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var hide = __webpack_require__("../../../../core-js/modules/_hide.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var SRC = __webpack_require__("../../../../core-js/modules/_uid.js")('src'); +var TO_STRING = 'toString'; +var $toString = Function[TO_STRING]; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("../../../../core-js/modules/_core.js").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-proto.js": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("../../../../core-js/modules/_ctx.js")(Function.call, __webpack_require__("../../../../core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-species.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var DESCRIPTORS = __webpack_require__("../../../../core-js/modules/_descriptors.js"); +var SPECIES = __webpack_require__("../../../../core-js/modules/_wks.js")('species'); + +module.exports = function (KEY) { + var C = global[KEY]; + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { + configurable: true, + get: function () { return this; } + }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_set-to-string-tag.js": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("../../../../core-js/modules/_object-dp.js").f; +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var TAG = __webpack_require__("../../../../core-js/modules/_wks.js")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared-key.js": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("../../../../core-js/modules/_shared.js")('keys'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_shared.js": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("../../../../core-js/modules/_global.js"); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); +module.exports = function (key) { + return store[key] || (store[key] = {}); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-absolute-index.js": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-integer.js": +/***/ (function(module, exports) { + +// 7.1.4 ToInteger +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-iobject.js": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("../../../../core-js/modules/_iobject.js"); +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-length.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("../../../../core-js/modules/_to-integer.js"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-object.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("../../../../core-js/modules/_defined.js"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_to-primitive.js": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_uid.js": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_validate-collection.js": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/_wks.js": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("../../../../core-js/modules/_shared.js")('wks'); +var uid = __webpack_require__("../../../../core-js/modules/_uid.js"); +var Symbol = __webpack_require__("../../../../core-js/modules/_global.js").Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; + +var $exports = module.exports = function (name) { + return store[name] || (store[name] = + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); +}; + +$exports.store = store; + + +/***/ }), + +/***/ "../../../../core-js/modules/core.get-iterator-method.js": +/***/ (function(module, exports, __webpack_require__) { + +var classof = __webpack_require__("../../../../core-js/modules/_classof.js"); +var ITERATOR = __webpack_require__("../../../../core-js/modules/_wks.js")('iterator'); +var Iterators = __webpack_require__("../../../../core-js/modules/_iterators.js"); +module.exports = __webpack_require__("../../../../core-js/modules/_core.js").getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] + || it['@@iterator'] + || Iterators[classof(it)]; +}; + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var MAP = 'Map'; + +// 23.1 Map Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.1.3.6 Map.prototype.get(key) + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); + return entry && entry.v; + }, + // 23.1.3.9 Map.prototype.set(key, value) + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); + } +}, strong, true); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.apply.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var rApply = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).apply; +var fApply = Function.apply; +// MS Edge argumentsList argument is optional +$export($export.S + $export.F * !__webpack_require__("../../../../core-js/modules/_fails.js")(function () { + rApply(function () { /* empty */ }); +}), 'Reflect', { + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); + return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.construct.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var create = __webpack_require__("../../../../core-js/modules/_object-create.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var bind = __webpack_require__("../../../../core-js/modules/_bind.js"); +var rConstruct = (__webpack_require__("../../../../core-js/modules/_global.js").Reflect || {}).construct; + +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); +}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); +}); + +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { + construct: function construct(Target, args /* , newTarget */) { + aFunction(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + $args.push.apply($args, args); + return new (bind.apply(Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); + return isObject(result) ? result : instance; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.define-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__("../../../../core-js/modules/_to-primitive.js"); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +$export($export.S + $export.F * __webpack_require__("../../../../core-js/modules/_fails.js")(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); +}), 'Reflect', { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + propertyKey = toPrimitive(propertyKey, true); + anObject(attributes); + try { + dP.f(target, propertyKey, attributes); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.delete-property.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.4 Reflect.deleteProperty(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js").f; +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + deleteProperty: function deleteProperty(target, propertyKey) { + var desc = gOPD(anObject(target), propertyKey); + return desc && !desc.configurable ? false : delete target[propertyKey]; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.enumerate.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 26.1.5 Reflect.enumerate(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var Enumerate = function (iterated) { + this._t = anObject(iterated); // target + this._i = 0; // next index + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); +}; +__webpack_require__("../../../../core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; + do { + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; +}); + +$export($export.S, 'Reflect', { + enumerate: function enumerate(target) { + return new Enumerate(target); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return gOPD.f(anObject(target), propertyKey); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.8 Reflect.getPrototypeOf(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var getProto = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +$export($export.S, 'Reflect', { + getPrototypeOf: function getPrototypeOf(target) { + return getProto(anObject(target)); + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.get.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); + +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') + ? desc.value + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); +} + +$export($export.S, 'Reflect', { get: get }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.has.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.9 Reflect.has(target, propertyKey) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.is-extensible.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.10 Reflect.isExtensible(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $isExtensible = Object.isExtensible; + +$export($export.S, 'Reflect', { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible ? $isExtensible(target) : true; + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.own-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.11 Reflect.ownKeys(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); + +$export($export.S, 'Reflect', { ownKeys: __webpack_require__("../../../../core-js/modules/_own-keys.js") }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.prevent-extensions.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.12 Reflect.preventExtensions(target) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var $preventExtensions = Object.preventExtensions; + +$export($export.S, 'Reflect', { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + if ($preventExtensions) $preventExtensions(target); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set-prototype-of.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.14 Reflect.setPrototypeOf(target, proto) +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var setProto = __webpack_require__("../../../../core-js/modules/_set-proto.js"); + +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { + setProto.check(target, proto); + try { + setProto.set(target, proto); + return true; + } catch (e) { + return false; + } + } +}); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.reflect.set.js": +/***/ (function(module, exports, __webpack_require__) { + +// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) +var dP = __webpack_require__("../../../../core-js/modules/_object-dp.js"); +var gOPD = __webpack_require__("../../../../core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var has = __webpack_require__("../../../../core-js/modules/_has.js"); +var $export = __webpack_require__("../../../../core-js/modules/_export.js"); +var createDesc = __webpack_require__("../../../../core-js/modules/_property-desc.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); + +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { + return set(proto, propertyKey, V, receiver); + } + ownDesc = createDesc(0); + } + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; + existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + return true; + } + return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +} + +$export($export.S, 'Reflect', { set: set }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.set.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var strong = __webpack_require__("../../../../core-js/modules/_collection-strong.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var SET = 'Set'; + +// 23.2 Set Objects +module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.2.3.1 Set.prototype.add(value) + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); + } +}, strong); + + +/***/ }), + +/***/ "../../../../core-js/modules/es6.weak-map.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var each = __webpack_require__("../../../../core-js/modules/_array-methods.js")(0); +var redefine = __webpack_require__("../../../../core-js/modules/_redefine.js"); +var meta = __webpack_require__("../../../../core-js/modules/_meta.js"); +var assign = __webpack_require__("../../../../core-js/modules/_object-assign.js"); +var weak = __webpack_require__("../../../../core-js/modules/_collection-weak.js"); +var isObject = __webpack_require__("../../../../core-js/modules/_is-object.js"); +var fails = __webpack_require__("../../../../core-js/modules/_fails.js"); +var validate = __webpack_require__("../../../../core-js/modules/_validate-collection.js"); +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var tmp = {}; +var InternalMap; + +var wrapper = function (get) { + return function WeakMap() { + return get(this, arguments.length > 0 ? arguments[0] : undefined); + }; +}; + +var methods = { + // 23.3.3.3 WeakMap.prototype.get(key) + get: function get(key) { + if (isObject(key)) { + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); + return data ? data[this._i] : undefined; + } + }, + // 23.3.3.5 WeakMap.prototype.set(key, value) + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); + } +}; + +// 23.3 WeakMap Objects +var $WeakMap = module.exports = __webpack_require__("../../../../core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); + +// IE11 WeakMap frozen keys fix +if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); + assign(InternalMap.prototype, methods); + meta.NEED = true; + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { + // store frozen objects on internal weakmap shim + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); + var result = this._f[key](a, b); + return key == 'set' ? this : result; + // store all the rest on native weakmap + } return method.call(this, a, b); + }); + }); +} + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.define-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var ordinaryDefineOwnMetadata = metadata.set; + +metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.delete-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var toMetaKey = metadata.key; +var getOrCreateMetadataMap = metadata.map; +var store = metadata.store; + +metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var Set = __webpack_require__("../../../../core-js/modules/es6.set.js"); +var from = __webpack_require__("../../../../core-js/modules/_array-from-iterable.js"); +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; +}; + +metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; +}; + +metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryOwnMetadataKeys = metadata.keys; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.get-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryGetOwnMetadata = metadata.get; +var toMetaKey = metadata.key; + +metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryGetOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var getPrototypeOf = __webpack_require__("../../../../core-js/modules/_object-gpo.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; +}; + +metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.has-own-metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var ordinaryHasOwnMetadata = metadata.has; +var toMetaKey = metadata.key; + +metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + return ordinaryHasOwnMetadata(metadataKey, anObject(target) + , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); +} }); + + +/***/ }), + +/***/ "../../../../core-js/modules/es7.reflect.metadata.js": +/***/ (function(module, exports, __webpack_require__) { + +var $metadata = __webpack_require__("../../../../core-js/modules/_metadata.js"); +var anObject = __webpack_require__("../../../../core-js/modules/_an-object.js"); +var aFunction = __webpack_require__("../../../../core-js/modules/_a-function.js"); +var toMetaKey = $metadata.key; +var ordinaryDefineOwnMetadata = $metadata.set; + +$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, targetKey) { + ordinaryDefineOwnMetadata( + metadataKey, metadataValue, + (targetKey !== undefined ? anObject : aFunction)(target), + toMetaKey(targetKey) + ); + }; +} }); + + +/***/ }), + +/***/ "../../../../webpack/buildin/global.js": +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), + +/***/ "../../../../zone.js/dist/zone.js": +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global) {/** +* @license +* Copyright Google Inc. All Rights Reserved. +* +* Use of this source code is governed by an MIT-style license that can be +* found in the LICENSE file at https://angular.io/license +*/ +(function (global, factory) { + true ? factory() : + typeof define === 'function' && define.amd ? define(factory) : + (factory()); +}(this, (function () { 'use strict'; + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +var Zone$1 = (function (global) { + var FUNCTION = 'function'; + var performance = global['performance']; + function mark(name) { + performance && performance['mark'] && performance['mark'](name); + } + function performanceMeasure(name, label) { + performance && performance['measure'] && performance['measure'](name, label); + } + mark('Zone'); + if (global['Zone']) { + throw new Error('Zone already loaded.'); + } + var Zone = (function () { + function Zone(parent, zoneSpec) { + this._properties = null; + this._parent = parent; + this._name = zoneSpec ? zoneSpec.name || 'unnamed' : ''; + this._properties = zoneSpec && zoneSpec.properties || {}; + this._zoneDelegate = + new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); + } + Zone.assertZonePatched = function () { + if (global['Promise'] !== patches['ZoneAwarePromise']) { + throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + + 'has been overwritten.\n' + + 'Most 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(Zone, "root", { + get: function () { + var zone = Zone.current; + while (zone.parent) { + zone = zone.parent; + } + return zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Zone, "current", { + get: function () { + return _currentZoneFrame.zone; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone, "currentTask", { + get: function () { + return _currentTask; + }, + enumerable: true, + configurable: true + }); + + Zone.__load_patch = function (name, fn) { + if (patches.hasOwnProperty(name)) { + throw Error('Already loaded patch: ' + name); + } + else if (!global['__Zone_disable_' + name]) { + var perfName = 'Zone:' + name; + mark(perfName); + patches[name] = fn(global, Zone, _api); + performanceMeasure(perfName, perfName); + } + }; + Object.defineProperty(Zone.prototype, "parent", { + get: function () { + return this._parent; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(Zone.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + + Zone.prototype.get = function (key) { + var zone = this.getZoneWith(key); + if (zone) + return zone._properties[key]; + }; + Zone.prototype.getZoneWith = function (key) { + var current = this; + while (current) { + if (current._properties.hasOwnProperty(key)) { + return current; + } + current = current._parent; + } + return null; + }; + Zone.prototype.fork = function (zoneSpec) { + if (!zoneSpec) + throw new Error('ZoneSpec required!'); + return this._zoneDelegate.fork(this, zoneSpec); + }; + Zone.prototype.wrap = function (callback, source) { + if (typeof callback !== FUNCTION) { + throw new Error('Expecting function got: ' + callback); + } + var _callback = this._zoneDelegate.intercept(this, callback, source); + var zone = this; + return function () { + return zone.runGuarded(_callback, this, arguments, source); + }; + }; + Zone.prototype.run = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = undefined; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { + if (applyThis === void 0) { applyThis = null; } + if (applyArgs === void 0) { applyArgs = null; } + if (source === void 0) { source = null; } + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + try { + return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + _currentZoneFrame = _currentZoneFrame.parent; + } + }; + Zone.prototype.runTask = function (task, applyThis, applyArgs) { + if (task.zone != this) { + throw new Error('A task can only be run in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + } + // https://github.com/angular/zone.js/issues/778, sometimes eventTask + // will run in notScheduled(canceled) state, we should not try to + // run such kind of task but just return + // we have to define an variable here, if not + // typescript compiler will complain below + var isNotScheduled = task.state === notScheduled; + if (isNotScheduled && task.type === eventTask) { + return; + } + var reEntryGuard = task.state != running; + reEntryGuard && task._transitionTo(running, scheduled); + task.runCount++; + var previousTask = _currentTask; + _currentTask = task; + _currentZoneFrame = { parent: _currentZoneFrame, zone: this }; + try { + if (task.type == macroTask && task.data && !task.data.isPeriodic) { + task.cancelFn = null; + } + try { + return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); + } + catch (error) { + if (this._zoneDelegate.handleError(this, error)) { + throw error; + } + } + } + finally { + // if the task's state is notScheduled or unknown, then it has already been cancelled + // we should not reset the state to scheduled + if (task.state !== notScheduled && task.state !== unknown) { + if (task.type == eventTask || (task.data && task.data.isPeriodic)) { + reEntryGuard && task._transitionTo(scheduled, running); + } + else { + task.runCount = 0; + this._updateTaskCount(task, -1); + reEntryGuard && + task._transitionTo(notScheduled, running, notScheduled); + } + } + _currentZoneFrame = _currentZoneFrame.parent; + _currentTask = previousTask; + } + }; + Zone.prototype.scheduleTask = function (task) { + if (task.zone && task.zone !== this) { + // check if the task was rescheduled, the newZone + // should not be the children of the original zone + var newZone = this; + while (newZone) { + if (newZone === task.zone) { + throw Error("can not reschedule task to " + this + .name + " which is descendants of the original zone " + task.zone.name); + } + newZone = newZone.parent; + } + } + task._transitionTo(scheduling, notScheduled); + var zoneDelegates = []; + task._zoneDelegates = zoneDelegates; + task._zone = this; + try { + task = this._zoneDelegate.scheduleTask(this, task); + } + catch (err) { + // should set task's state to unknown when scheduleTask throw error + // because the err may from reschedule, so the fromState maybe notScheduled + task._transitionTo(unknown, scheduling, notScheduled); + // TODO: @JiaLiPassion, should we check the result from handleError? + this._zoneDelegate.handleError(this, err); + throw err; + } + if (task._zoneDelegates === zoneDelegates) { + // we have to check because internally the delegate can reschedule the task. + this._updateTaskCount(task, 1); + } + if (task.state == scheduling) { + task._transitionTo(scheduled, scheduling); + } + return task; + }; + Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { + return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null)); + }; + Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { + return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); + }; + Zone.prototype.cancelTask = function (task) { + if (task.zone != this) + throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); + task._transitionTo(canceling, scheduled, running); + try { + this._zoneDelegate.cancelTask(this, task); + } + catch (err) { + // if error occurs when cancelTask, transit the state to unknown + task._transitionTo(unknown, canceling); + this._zoneDelegate.handleError(this, err); + throw err; + } + this._updateTaskCount(task, -1); + task._transitionTo(notScheduled, canceling); + task.runCount = 0; + return task; + }; + Zone.prototype._updateTaskCount = function (task, count) { + var zoneDelegates = task._zoneDelegates; + if (count == -1) { + task._zoneDelegates = null; + } + for (var i = 0; i < zoneDelegates.length; i++) { + zoneDelegates[i]._updateTaskCount(task.type, count); + } + }; + return Zone; + }()); + Zone.__symbol__ = __symbol__; + var DELEGATE_ZS = { + name: '', + onHasTask: function (delegate, _, target, hasTaskState) { + return delegate.hasTask(target, hasTaskState); + }, + onScheduleTask: function (delegate, _, target, task) { + return delegate.scheduleTask(target, task); + }, + onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); }, + onCancelTask: function (delegate, _, target, task) { + return delegate.cancelTask(target, task); + } + }; + var ZoneDelegate = (function () { + function ZoneDelegate(zone, parentDelegate, zoneSpec) { + this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 }; + this.zone = zone; + this._parentDelegate = parentDelegate; + this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); + this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); + this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone); + this._interceptZS = + zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); + this._interceptDlgt = + zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); + this._interceptCurrZone = + zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone); + this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); + this._invokeDlgt = + zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); + this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone); + this._handleErrorZS = + zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); + this._handleErrorDlgt = + zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); + this._handleErrorCurrZone = + zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone); + this._scheduleTaskZS = + zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); + this._scheduleTaskDlgt = + zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); + this._scheduleTaskCurrZone = + zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone); + this._invokeTaskZS = + zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); + this._invokeTaskDlgt = + zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); + this._invokeTaskCurrZone = + zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone); + this._cancelTaskZS = + zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); + this._cancelTaskDlgt = + zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); + this._cancelTaskCurrZone = + zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone); + this._hasTaskZS = null; + this._hasTaskDlgt = null; + this._hasTaskDlgtOwner = null; + this._hasTaskCurrZone = null; + var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; + var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; + if (zoneSpecHasTask || parentHasTask) { + // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such + // a case all task related interceptors must go through this ZD. We can't short circuit it. + this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; + this._hasTaskDlgt = parentDelegate; + this._hasTaskDlgtOwner = this; + this._hasTaskCurrZone = zone; + if (!zoneSpec.onScheduleTask) { + this._scheduleTaskZS = DELEGATE_ZS; + this._scheduleTaskDlgt = parentDelegate; + this._scheduleTaskCurrZone = this.zone; + } + if (!zoneSpec.onInvokeTask) { + this._invokeTaskZS = DELEGATE_ZS; + this._invokeTaskDlgt = parentDelegate; + this._invokeTaskCurrZone = this.zone; + } + if (!zoneSpec.onCancelTask) { + this._cancelTaskZS = DELEGATE_ZS; + this._cancelTaskDlgt = parentDelegate; + this._cancelTaskCurrZone = this.zone; + } + } + } + ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { + return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : + new Zone(targetZone, zoneSpec); + }; + ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { + return this._interceptZS ? + this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : + callback; + }; + ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { + return this._invokeZS ? + this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : + callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.handleError = function (targetZone, error) { + return this._handleErrorZS ? + this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : + true; + }; + ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { + var returnTask = task; + if (this._scheduleTaskZS) { + if (this._hasTaskZS) { + returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); + } + returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); + if (!returnTask) + returnTask = task; + } + else { + if (task.scheduleFn) { + task.scheduleFn(task); + } + else if (task.type == microTask) { + scheduleMicroTask(task); + } + else { + throw new Error('Task is missing scheduleFn.'); + } + } + return returnTask; + }; + ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { + return this._invokeTaskZS ? + this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : + task.callback.apply(applyThis, applyArgs); + }; + ZoneDelegate.prototype.cancelTask = function (targetZone, task) { + var value; + if (this._cancelTaskZS) { + value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); + } + else { + if (!task.cancelFn) { + throw Error('Task is not cancelable'); + } + value = task.cancelFn(task); + } + return value; + }; + ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { + // hasTask should not throw error so other ZoneDelegate + // can still trigger hasTask callback + try { + return this._hasTaskZS && + this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); + } + catch (err) { + this.handleError(targetZone, err); + } + }; + ZoneDelegate.prototype._updateTaskCount = function (type, count) { + var counts = this._taskCounts; + var prev = counts[type]; + var next = counts[type] = prev + count; + if (next < 0) { + throw new Error('More tasks executed then were scheduled.'); + } + if (prev == 0 || next == 0) { + var isEmpty = { + microTask: counts['microTask'] > 0, + macroTask: counts['macroTask'] > 0, + eventTask: counts['eventTask'] > 0, + change: type + }; + this.hasTask(this.zone, isEmpty); + } + }; + return ZoneDelegate; + }()); + var ZoneTask = (function () { + function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { + this._zone = null; + this.runCount = 0; + this._zoneDelegates = null; + this._state = 'notScheduled'; + this.type = type; + this.source = source; + this.data = options; + this.scheduleFn = scheduleFn; + this.cancelFn = cancelFn; + this.callback = callback; + var self = this; + if (type === eventTask && options && options.isUsingGlobalCallback) { + this.invoke = ZoneTask.invokeTask; + } + else { + this.invoke = function () { + return ZoneTask.invokeTask.apply(global, [self, this, arguments]); + }; + } + } + ZoneTask.invokeTask = function (task, target, args) { + if (!task) { + task = this; + } + _numberOfNestedTaskFrames++; + try { + task.runCount++; + return task.zone.runTask(task, target, args); + } + finally { + if (_numberOfNestedTaskFrames == 1) { + drainMicroTaskQueue(); + } + _numberOfNestedTaskFrames--; + } + }; + Object.defineProperty(ZoneTask.prototype, "zone", { + get: function () { + return this._zone; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ZoneTask.prototype, "state", { + get: function () { + return this._state; + }, + enumerable: true, + configurable: true + }); + ZoneTask.prototype.cancelScheduleRequest = function () { + this._transitionTo(notScheduled, scheduling); + }; + ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { + if (this._state === fromState1 || this._state === fromState2) { + this._state = toState; + if (toState == notScheduled) { + this._zoneDelegates = null; + } + } + else { + throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? + ' or \'' + fromState2 + '\'' : + '') + ", was '" + this._state + "'."); + } + }; + ZoneTask.prototype.toString = function () { + if (this.data && typeof this.data.handleId !== 'undefined') { + return this.data.handleId; + } + else { + return Object.prototype.toString.call(this); + } + }; + // add toJSON method to prevent cyclic error when + // call JSON.stringify(zoneTask) + ZoneTask.prototype.toJSON = function () { + return { + type: this.type, + state: this.state, + source: this.source, + zone: this.zone.name, + invoke: this.invoke, + scheduleFn: this.scheduleFn, + cancelFn: this.cancelFn, + runCount: this.runCount, + callback: this.callback + }; + }; + return ZoneTask; + }()); + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// MICROTASK QUEUE + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var symbolSetTimeout = __symbol__('setTimeout'); + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + var _microTaskQueue = []; + var _isDrainingMicrotaskQueue = false; + var nativeMicroTaskQueuePromise; + function scheduleMicroTask(task) { + // if we are not running in any task, and there has not been anything scheduled + // we must bootstrap the initial task creation by manually scheduling the drain + if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { + // We are not running in Task, so we need to kickstart the microtask queue. + if (!nativeMicroTaskQueuePromise) { + if (global[symbolPromise]) { + nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); + } + } + if (nativeMicroTaskQueuePromise) { + nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue); + } + else { + global[symbolSetTimeout](drainMicroTaskQueue, 0); + } + } + task && _microTaskQueue.push(task); + } + function drainMicroTaskQueue() { + if (!_isDrainingMicrotaskQueue) { + _isDrainingMicrotaskQueue = true; + while (_microTaskQueue.length) { + var queue = _microTaskQueue; + _microTaskQueue = []; + for (var i = 0; i < queue.length; i++) { + var task = queue[i]; + try { + task.zone.runTask(task, null, null); + } + catch (error) { + _api.onUnhandledError(error); + } + } + } + var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; + _api.microtaskDrainDone(); + _isDrainingMicrotaskQueue = false; + } + } + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + /// BOOTSTRAP + ////////////////////////////////////////////////////// + ////////////////////////////////////////////////////// + var NO_ZONE = { name: 'NO ZONE' }; + var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown'; + var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask'; + var patches = {}; + var _api = { + symbol: __symbol__, + currentZoneFrame: function () { return _currentZoneFrame; }, + onUnhandledError: noop, + microtaskDrainDone: noop, + scheduleMicroTask: scheduleMicroTask, + showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; }, + patchEventTarget: function () { return []; }, + patchOnProperties: noop, + patchMethod: function () { return noop; }, + }; + var _currentZoneFrame = { parent: null, zone: new Zone(null, null) }; + var _currentTask = null; + var _numberOfNestedTaskFrames = 0; + function noop() { } + function __symbol__(name) { + return '__zone_symbol__' + name; + } + performanceMeasure('Zone', 'Zone'); + return global['Zone'] = Zone; +})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { + var __symbol__ = api.symbol; + var _uncaughtPromiseErrors = []; + var symbolPromise = __symbol__('Promise'); + var symbolThen = __symbol__('then'); + api.onUnhandledError = function (e) { + if (api.showUncaughtError()) { + var rejection = e && e.rejection; + if (rejection) { + console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); + } + else { + console.error(e); + } + } + }; + api.microtaskDrainDone = function () { + while (_uncaughtPromiseErrors.length) { + var _loop_1 = function () { + var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); + try { + uncaughtPromiseError.zone.runGuarded(function () { + throw uncaughtPromiseError; + }); + } + catch (error) { + handleUnhandledRejection(error); + } + }; + while (_uncaughtPromiseErrors.length) { + _loop_1(); + } + } + }; + var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); + function handleUnhandledRejection(e) { + api.onUnhandledError(e); + try { + var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; + if (handler && typeof handler === 'function') { + handler.apply(this, [e]); + } + } + catch (err) { + } + } + function isThenable(value) { + return value && value.then; + } + function forwardResolution(value) { + return value; + } + function forwardRejection(rejection) { + return ZoneAwarePromise.reject(rejection); + } + var symbolState = __symbol__('state'); + var symbolValue = __symbol__('value'); + var source = 'Promise.then'; + var UNRESOLVED = null; + var RESOLVED = true; + var REJECTED = false; + var REJECTED_NO_CATCH = 0; + function makeResolver(promise, state) { + return function (v) { + try { + resolvePromise(promise, state, v); + } + catch (err) { + resolvePromise(promise, false, err); + } + // Do not return value or you will break the Promise spec. + }; + } + var once = function () { + var wasCalled = false; + return function wrapper(wrappedFunction) { + return function () { + if (wasCalled) { + return; + } + wasCalled = true; + wrappedFunction.apply(null, arguments); + }; + }; + }; + var TYPE_ERROR = 'Promise resolved with itself'; + var OBJECT = 'object'; + var FUNCTION = 'function'; + var CURRENT_TASK_SYMBOL = __symbol__('currentTask'); + // Promise Resolution + function resolvePromise(promise, state, value) { + var onceWrapper = once(); + if (promise === value) { + throw new TypeError(TYPE_ERROR); + } + if (promise[symbolState] === UNRESOLVED) { + // should only get value.then once based on promise spec. + var then = null; + try { + if (typeof value === OBJECT || typeof value === FUNCTION) { + then = value && value.then; + } + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + return promise; + } + // if (value instanceof ZoneAwarePromise) { + if (state !== REJECTED && value instanceof ZoneAwarePromise && + value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && + value[symbolState] !== UNRESOLVED) { + clearRejectedNoCatch(value); + resolvePromise(promise, value[symbolState], value[symbolValue]); + } + else if (state !== REJECTED && typeof then === FUNCTION) { + try { + then.apply(value, [ + onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)) + ]); + } + catch (err) { + onceWrapper(function () { + resolvePromise(promise, false, err); + })(); + } + } + else { + promise[symbolState] = state; + var queue = promise[symbolValue]; + promise[symbolValue] = value; + // record task information in value when error occurs, so we can + // do some additional work such as render longStackTrace + if (state === REJECTED && value instanceof Error) { + value[CURRENT_TASK_SYMBOL] = Zone.currentTask; + } + for (var i = 0; i < queue.length;) { + scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); + } + if (queue.length == 0 && state == REJECTED) { + promise[symbolState] = REJECTED_NO_CATCH; + try { + throw new Error('Uncaught (in promise): ' + value + + (value && value.stack ? '\n' + value.stack : '')); + } + catch (err) { + var error_1 = err; + error_1.rejection = value; + error_1.promise = promise; + error_1.zone = Zone.current; + error_1.task = Zone.currentTask; + _uncaughtPromiseErrors.push(error_1); + api.scheduleMicroTask(); // to make sure that it is running + } + } + } + } + // Resolving an already resolved promise is a noop. + return promise; + } + var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); + function clearRejectedNoCatch(promise) { + if (promise[symbolState] === REJECTED_NO_CATCH) { + // if the promise is rejected no catch status + // and queue.length > 0, means there is a error handler + // here to handle the rejected promise, we should trigger + // windows.rejectionhandled eventHandler or nodejs rejectionHandled + // eventHandler + try { + var handler = Zone[REJECTION_HANDLED_HANDLER]; + if (handler && typeof handler === FUNCTION) { + handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]); + } + } + catch (err) { + } + promise[symbolState] = REJECTED; + for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { + if (promise === _uncaughtPromiseErrors[i].promise) { + _uncaughtPromiseErrors.splice(i, 1); + } + } + } + } + function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { + clearRejectedNoCatch(promise); + var delegate = promise[symbolState] ? + (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution : + (typeof onRejected === FUNCTION) ? onRejected : forwardRejection; + zone.scheduleMicroTask(source, function () { + try { + resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]])); + } + catch (error) { + resolvePromise(chainPromise, false, error); + } + }); + } + var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; + var ZoneAwarePromise = (function () { + function ZoneAwarePromise(executor) { + var promise = this; + if (!(promise instanceof ZoneAwarePromise)) { + throw new Error('Must be an instanceof Promise.'); + } + promise[symbolState] = UNRESOLVED; + promise[symbolValue] = []; // queue; + try { + executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); + } + catch (error) { + resolvePromise(promise, false, error); + } + } + ZoneAwarePromise.toString = function () { + return ZONE_AWARE_PROMISE_TO_STRING; + }; + ZoneAwarePromise.resolve = function (value) { + return resolvePromise(new this(null), RESOLVED, value); + }; + ZoneAwarePromise.reject = function (error) { + return resolvePromise(new this(null), REJECTED, error); + }; + ZoneAwarePromise.race = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + _a = [res, rej], resolve = _a[0], reject = _a[1]; + var _a; + }); + function onResolve(value) { + promise && (promise = null || resolve(value)); + } + function onReject(error) { + promise && (promise = null || reject(error)); + } + for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { + var value = values_1[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then(onResolve, onReject); + } + return promise; + }; + ZoneAwarePromise.all = function (values) { + var resolve; + var reject; + var promise = new this(function (res, rej) { + resolve = res; + reject = rej; + }); + var count = 0; + var resolvedValues = []; + for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { + var value = values_2[_i]; + if (!isThenable(value)) { + value = this.resolve(value); + } + value.then((function (index) { return function (value) { + resolvedValues[index] = value; + count--; + if (!count) { + resolve(resolvedValues); + } + }; })(count), reject); + count++; + } + if (!count) + resolve(resolvedValues); + return promise; + }; + ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { + var chainPromise = new this.constructor(null); + var zone = Zone.current; + if (this[symbolState] == UNRESOLVED) { + this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); + } + else { + scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); + } + return chainPromise; + }; + ZoneAwarePromise.prototype.catch = function (onRejected) { + return this.then(null, onRejected); + }; + return ZoneAwarePromise; + }()); + // Protect against aggressive optimizers dropping seemingly unused properties. + // E.g. Closure Compiler in advanced mode. + ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; + ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; + ZoneAwarePromise['race'] = ZoneAwarePromise.race; + ZoneAwarePromise['all'] = ZoneAwarePromise.all; + var NativePromise = global[symbolPromise] = global['Promise']; + global['Promise'] = ZoneAwarePromise; + var symbolThenPatched = __symbol__('thenPatched'); + function patchThen(Ctor) { + var proto = Ctor.prototype; + var originalThen = proto.then; + // Keep a reference to the original method. + proto[symbolThen] = originalThen; + // check Ctor.prototype.then propertyDescritor is writable or not + // in meteor env, writable is false, we have to make it to be true. + var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then'); + if (prop && prop.writable === false && prop.configurable) { + Object.defineProperty(Ctor.prototype, 'then', { writable: true }); + } + Ctor.prototype.then = function (onResolve, onReject) { + var _this = this; + var wrapped = new ZoneAwarePromise(function (resolve, reject) { + originalThen.call(_this, resolve, reject); + }); + return wrapped.then(onResolve, onReject); + }; + Ctor[symbolThenPatched] = true; + } + function zoneify(fn) { + return function () { + var resultPromise = fn.apply(this, arguments); + if (resultPromise instanceof ZoneAwarePromise) { + return resultPromise; + } + var ctor = resultPromise.constructor; + if (!ctor[symbolThenPatched]) { + patchThen(ctor); + } + return resultPromise; + }; + } + if (NativePromise) { + patchThen(NativePromise); + var fetch_1 = global['fetch']; + if (typeof fetch_1 == FUNCTION) { + global['fetch'] = zoneify(fetch_1); + } + } + // This is not part of public API, but it is useful for tests, so we expose it. + Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; + return ZoneAwarePromise; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * Suppress closure compiler errors about unknown 'Zone' variable + * @fileoverview + * @suppress {undefinedVars,globalThis,missingRequire} + */ +var zoneSymbol = Zone.__symbol__; +var _global = typeof window === 'object' && window || typeof self === 'object' && self || global; +var FUNCTION = 'function'; +var UNDEFINED = 'undefined'; +var REMOVE_ATTRIBUTE = 'removeAttribute'; +function bindArguments(args, source) { + for (var i = args.length - 1; i >= 0; i--) { + if (typeof args[i] === FUNCTION) { + args[i] = Zone.current.wrap(args[i], source + '_' + i); + } + } + return args; +} +function patchPrototype(prototype, fnNames) { + var source = prototype.constructor['name']; + var _loop_1 = function (i) { + var name_1 = fnNames[i]; + var delegate = prototype[name_1]; + if (delegate) { + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1); + if (!isPropertyWritable(prototypeDesc)) { + return "continue"; + } + prototype[name_1] = (function (delegate) { + var patched = function () { + return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); + }; + attachOriginToPatched(patched, delegate); + return patched; + })(delegate); + } + }; + for (var i = 0; i < fnNames.length; i++) { + _loop_1(i); + } +} +function isPropertyWritable(propertyDesc) { + if (!propertyDesc) { + return true; + } + if (propertyDesc.writable === false) { + return false; + } + if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) { + return false; + } + return true; +} +var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope); +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]'); +var isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']); +// we are in electron of nw, so we are both browser and nodejs +// Make sure to access `process` through `_global` so that WebPack does not accidently browserify +// this code. +var isMix = typeof _global.process !== 'undefined' && + {}.toString.call(_global.process) === '[object process]' && !isWebWorker && + !!(typeof window !== 'undefined' && window['HTMLElement']); +var ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler'); +var zoneSymbolEventNames = {}; +var wrapFn = function (event) { + var eventNameSymbol = zoneSymbolEventNames[event.type]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); + } + var listener = this[eventNameSymbol]; + var result = listener && listener.apply(this, arguments); + if (result != undefined && !result) { + event.preventDefault(); + } + return result; +}; +function patchProperty(obj, prop, prototype) { + var desc = Object.getOwnPropertyDescriptor(obj, prop); + if (!desc && prototype) { + // when patch window object, use prototype to check prop exist or not + var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop); + if (prototypeDesc) { + desc = { enumerable: true, configurable: true }; + } + } + // if the descriptor not exists or is not configurable + // just return + if (!desc || !desc.configurable) { + return; + } + // A property descriptor cannot have getter/setter and be writable + // deleting the writable and value properties avoids this error: + // + // TypeError: property descriptors must not specify a value or be writable when a + // getter or setter has been specified + delete desc.writable; + delete desc.value; + var originalDescGet = desc.get; + // substr(2) cuz 'onclick' -> 'click', etc + var eventName = prop.substr(2); + var eventNameSymbol = zoneSymbolEventNames[eventName]; + if (!eventNameSymbol) { + eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); + } + desc.set = function (newValue) { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return; + } + var previousValue = target[eventNameSymbol]; + if (previousValue) { + target.removeEventListener(eventName, wrapFn); + } + if (typeof newValue === 'function') { + target[eventNameSymbol] = newValue; + target.addEventListener(eventName, wrapFn, false); + } + else { + target[eventNameSymbol] = null; + } + }; + // The getter would return undefined for unassigned properties but the default value of an + // unassigned property is null + desc.get = function () { + // in some of windows's onproperty callback, this is undefined + // so we need to check it + var target = this; + if (!target && obj === _global) { + target = _global; + } + if (!target) { + return null; + } + if (target[eventNameSymbol]) { + return wrapFn; + } + else if (originalDescGet) { + // result will be null when use inline event attribute, + // such as + // because the onclick function is internal raw uncompiled handler + // the onclick will be evaluated when first time event was triggered or + // the property is accessed, https://github.com/angular/zone.js/issues/525 + // so we should use original native get to retrieve the handler + var value = originalDescGet && originalDescGet.apply(this); + if (value) { + desc.set.apply(this, [value]); + if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) { + target.removeAttribute(prop); + } + return value; + } + } + return null; + }; + Object.defineProperty(obj, prop, desc); +} +function patchOnProperties(obj, properties, prototype) { + if (properties) { + for (var i = 0; i < properties.length; i++) { + patchProperty(obj, 'on' + properties[i], prototype); + } + } + else { + var onProperties = []; + for (var prop in obj) { + if (prop.substr(0, 2) == 'on') { + onProperties.push(prop); + } + } + for (var j = 0; j < onProperties.length; j++) { + patchProperty(obj, onProperties[j], prototype); + } + } +} +var originalInstanceKey = zoneSymbol('originalInstance'); +// wrap some native API on `window` +function patchClass(className) { + var OriginalClass = _global[className]; + if (!OriginalClass) + return; + // keep original class in global + _global[zoneSymbol(className)] = OriginalClass; + _global[className] = function () { + var a = bindArguments(arguments, className); + switch (a.length) { + case 0: + this[originalInstanceKey] = new OriginalClass(); + break; + case 1: + this[originalInstanceKey] = new OriginalClass(a[0]); + break; + case 2: + this[originalInstanceKey] = new OriginalClass(a[0], a[1]); + break; + case 3: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); + break; + case 4: + this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); + break; + default: + throw new Error('Arg list too long.'); + } + }; + // attach original delegate to patched function + attachOriginToPatched(_global[className], OriginalClass); + var instance = new OriginalClass(function () { }); + var prop; + for (prop in instance) { + // https://bugs.webkit.org/show_bug.cgi?id=44721 + if (className === 'XMLHttpRequest' && prop === 'responseBlob') + continue; + (function (prop) { + if (typeof instance[prop] === 'function') { + _global[className].prototype[prop] = function () { + return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); + }; + } + else { + Object.defineProperty(_global[className].prototype, prop, { + set: function (fn) { + if (typeof fn === 'function') { + this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop); + // keep callback in wrapped function so we can + // use it in Function.prototype.toString to return + // the native one. + attachOriginToPatched(this[originalInstanceKey][prop], fn); + } + else { + this[originalInstanceKey][prop] = fn; + } + }, + get: function () { + return this[originalInstanceKey][prop]; + } + }); + } + }(prop)); + } + for (prop in OriginalClass) { + if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { + _global[className][prop] = OriginalClass[prop]; + } + } +} +function patchMethod(target, name, patchFn) { + var proto = target; + while (proto && !proto.hasOwnProperty(name)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && target[name]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = target; + } + var delegateName = zoneSymbol(name); + var delegate; + if (proto && !(delegate = proto[delegateName])) { + delegate = proto[delegateName] = proto[name]; + // check whether proto[name] is writable + // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob + var desc = proto && Object.getOwnPropertyDescriptor(proto, name); + if (isPropertyWritable(desc)) { + var patchDelegate_1 = patchFn(delegate, delegateName, name); + proto[name] = function () { + return patchDelegate_1(this, arguments); + }; + attachOriginToPatched(proto[name], delegate); + } + } + return delegate; +} +// TODO: @JiaLiPassion, support cancel task later if necessary +function patchMacroTask(obj, funcName, metaCreator) { + var setNative = null; + function scheduleTask(task) { + var data = task.data; + data.args[data.callbackIndex] = function () { + task.invoke.apply(this, arguments); + }; + setNative.apply(data.target, data.args); + return task; + } + setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) { + var meta = metaCreator(self, args); + if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') { + var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null); + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(self, args); + } + }; }); +} + +function attachOriginToPatched(patched, original) { + patched[zoneSymbol('OriginalDelegate')] = original; +} +var isDetectedIEOrEdge = false; +var ieOrEdge = false; +function isIEOrEdge() { + if (isDetectedIEOrEdge) { + return ieOrEdge; + } + isDetectedIEOrEdge = true; + try { + var ua = window.navigator.userAgent; + var msie = ua.indexOf('MSIE '); + if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { + ieOrEdge = true; + } + return ieOrEdge; + } + catch (error) { + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// override Function.prototype.toString to make zone.js patched function +// look like native function +Zone.__load_patch('toString', function (global, Zone, api) { + // patch Func.prototype.toString to let them look like native + var originalFunctionToString = Zone['__zone_symbol__originalToString'] = + Function.prototype.toString; + var FUNCTION = 'function'; + var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); + var PROMISE_SYMBOL = zoneSymbol('Promise'); + var ERROR_SYMBOL = zoneSymbol('Error'); + Function.prototype.toString = function () { + if (typeof this === FUNCTION) { + var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; + if (originalDelegate) { + if (typeof originalDelegate === FUNCTION) { + return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments); + } + else { + return Object.prototype.toString.call(originalDelegate); + } + } + if (this === Promise) { + var nativePromise = global[PROMISE_SYMBOL]; + if (nativePromise) { + return originalFunctionToString.apply(nativePromise, arguments); + } + } + if (this === Error) { + var nativeError = global[ERROR_SYMBOL]; + if (nativeError) { + return originalFunctionToString.apply(nativeError, arguments); + } + } + } + return originalFunctionToString.apply(this, arguments); + }; + // patch Object.prototype.toString to let them look like native + var originalObjectToString = Object.prototype.toString; + var PROMISE_OBJECT_TO_STRING = '[object Promise]'; + Object.prototype.toString = function () { + if (this instanceof Promise) { + return PROMISE_OBJECT_TO_STRING; + } + return originalObjectToString.apply(this, arguments); + }; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +var TRUE_STR = 'true'; +var FALSE_STR = 'false'; +// an identifier to tell ZoneTask do not create a new invoke closure +var OPTIMIZED_ZONE_EVENT_TASK_DATA = { + isUsingGlobalCallback: true +}; +var zoneSymbolEventNames$1 = {}; +var globalSources = {}; +var CONSTRUCTOR_NAME = 'name'; +var FUNCTION_TYPE = 'function'; +var OBJECT_TYPE = 'object'; +var ZONE_SYMBOL_PREFIX = '__zone_symbol__'; +var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/; +function patchEventTarget(_global, apis, patchOptions) { + var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener'; + var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener'; + var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners'; + var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners'; + var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); + var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; + var PREPEND_EVENT_LISTENER = 'prependListener'; + var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; + var invokeTask = function (task, target, event) { + // for better performance, check isRemoved which is set + // by removeEventListener + if (task.isRemoved) { + return; + } + var delegate = task.callback; + if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) { + // create the bind version of handleEvent when invoke + task.callback = function (event) { return delegate.handleEvent(event); }; + task.originalDelegate = delegate; + } + // invoke static task.invoke + task.invoke(task, target, [event]); + var options = task.options; + if (options && typeof options === 'object' && options.once) { + // if options.once is true, after invoke once remove listener here + // only browser need to do this, nodejs eventEmitter will cal removeListener + // inside EventEmitter.once + var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; + target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]); + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = false + var globalZoneAwareCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + // global shared zoneAwareCallback to handle all event callback with capture = true + var globalZoneAwareCaptureCallback = function (event) { + var target = this || _global; + var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; + if (tasks) { + // invoke all tasks which attached to current target with given event.type and capture = false + // for performance concern, if task.length === 1, just invoke + if (tasks.length === 1) { + invokeTask(tasks[0], target, event); + } + else { + // https://github.com/angular/zone.js/issues/836 + // copy the tasks array before invoke, to avoid + // the callback will remove itself or other listener + var copyTasks = tasks.slice(); + for (var i = 0; i < copyTasks.length; i++) { + invokeTask(copyTasks[i], target, event); + } + } + } + }; + function patchEventTargetMethods(obj, patchOptions) { + if (!obj) { + return false; + } + var useGlobalCallback = true; + if (patchOptions && patchOptions.useGlobalCallback !== undefined) { + useGlobalCallback = patchOptions.useGlobalCallback; + } + var validateHandler = patchOptions && patchOptions.validateHandler; + var checkDuplicate = true; + if (patchOptions && patchOptions.checkDuplicate !== undefined) { + checkDuplicate = patchOptions.checkDuplicate; + } + var returnTarget = false; + if (patchOptions && patchOptions.returnTarget !== undefined) { + returnTarget = patchOptions.returnTarget; + } + var proto = obj; + while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { + proto = Object.getPrototypeOf(proto); + } + if (!proto && obj[ADD_EVENT_LISTENER]) { + // somehow we did not find it, but we can see it. This happens on IE for Window properties. + proto = obj; + } + if (!proto) { + return false; + } + if (proto[zoneSymbolAddEventListener]) { + return false; + } + // a shared global taskData to pass data for scheduleEventTask + // so we do not need to create a new object just for pass some data + var taskData = {}; + var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; + var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = + proto[REMOVE_EVENT_LISTENER]; + var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = + proto[LISTENERS_EVENT_LISTENER]; + var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; + var nativePrependEventListener; + if (patchOptions && patchOptions.prependEventListenerFnName) { + nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] = + proto[patchOptions.prependEventListenerFnName]; + } + var customScheduleGlobal = function (task) { + // if there is already a task for the eventName + capture, + // just return, because we use the shared globalZoneAwareCallback here. + if (taskData.isExisting) { + return; + } + return nativeAddEventListener.apply(taskData.target, [ + taskData.eventName, + taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + taskData.options + ]); + }; + var customCancelGlobal = function (task) { + // if task is not marked as isRemoved, this call is directly + // from Zone.prototype.cancelTask, we should remove the task + // from tasksList of target first + if (!task.isRemoved) { + var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; + var symbolEventName = void 0; + if (symbolEventNames) { + symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && task.target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + if (existingTask === task) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + task.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + task.allRemoved = true; + task.target[symbolEventName] = null; + } + break; + } + } + } + } + // if all tasks for the eventName + capture have gone, + // we will really remove the global event callback, + // if not, return + if (!task.allRemoved) { + return; + } + return nativeRemoveEventListener.apply(task.target, [ + task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, + task.options + ]); + }; + var customScheduleNonGlobal = function (task) { + return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customSchedulePrepend = function (task) { + return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]); + }; + var customCancelNonGlobal = function (task) { + return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]); + }; + var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; + var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; + var compareTaskCallbackVsDelegate = function (task, delegate) { + var typeOfDelegate = typeof delegate; + if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) || + (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) { + // same callback, same capture, same event name, just return + return true; + } + return false; + }; + var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ? + patchOptions.compareTaskCallbackVsDelegate : + compareTaskCallbackVsDelegate; + var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { + if (returnTarget === void 0) { returnTarget = false; } + if (prepend === void 0) { prepend = false; } + return function () { + var target = this || _global; + var targetZone = Zone.current; + var delegate = arguments[1]; + if (!delegate) { + return nativeListener.apply(this, arguments); + } + // don't create the bind delegate function for handleEvent + // case here to improve addEventListener performance + // we will create the bind delegate when invoke + var isHandleEvent = false; + if (typeof delegate !== FUNCTION_TYPE) { + if (!delegate.handleEvent) { + return nativeListener.apply(this, arguments); + } + isHandleEvent = true; + } + if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { + return; + } + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + var once = false; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + once = options ? !!options.once : false; + } + var zone = Zone.current; + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (!symbolEventNames) { + // the code is duplicate, but I just want to get some better performance + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + symbolEventName = capture ? symbolCapture : symbol; + } + else { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = target[symbolEventName]; + var isExisting = false; + if (existingTasks) { + // already have task registered + isExisting = true; + if (checkDuplicate) { + for (var i = 0; i < existingTasks.length; i++) { + if (compare(existingTasks[i], delegate)) { + // same callback, same capture, same event name, just return + return; + } + } + } + } + else { + existingTasks = target[symbolEventName] = []; + } + var source; + var constructorName = target.constructor[CONSTRUCTOR_NAME]; + var targetSource = globalSources[constructorName]; + if (targetSource) { + source = targetSource[eventName]; + } + if (!source) { + source = constructorName + addSource + eventName; + } + // do not create a new object as task.data to pass those things + // just use the global shared one + taskData.options = options; + if (once) { + // if addEventListener with once options, we don't pass it to + // native addEventListener, instead we keep the once setting + // and handle ourselves. + taskData.options.once = false; + } + taskData.target = target; + taskData.capture = capture; + taskData.eventName = eventName; + taskData.isExisting = isExisting; + var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null; + var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); + // have to save those information to task in case + // application may call task.zone.cancelTask() directly + if (once) { + options.once = true; + } + task.options = options; + task.target = target; + task.capture = capture; + task.eventName = eventName; + if (isHandleEvent) { + // save original delegate for compare to check duplicate + task.originalDelegate = delegate; + } + if (!prepend) { + existingTasks.push(task); + } + else { + existingTasks.unshift(task); + } + if (returnTarget) { + return target; + } + }; + }; + proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); + if (nativePrependEventListener) { + proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); + } + proto[REMOVE_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var options = arguments[2]; + var capture; + if (options === undefined) { + capture = false; + } + else if (options === true) { + capture = true; + } + else if (options === false) { + capture = false; + } + else { + capture = options ? !!options.capture : false; + } + var delegate = arguments[1]; + if (!delegate) { + return nativeRemoveEventListener.apply(this, arguments); + } + if (validateHandler && + !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { + return; + } + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + var symbolEventName; + if (symbolEventNames) { + symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; + } + var existingTasks = symbolEventName && target[symbolEventName]; + if (existingTasks) { + for (var i = 0; i < existingTasks.length; i++) { + var existingTask = existingTasks[i]; + var typeOfDelegate = typeof delegate; + if (compare(existingTask, delegate)) { + existingTasks.splice(i, 1); + // set isRemoved to data for faster invokeTask check + existingTask.isRemoved = true; + if (existingTasks.length === 0) { + // all tasks for the eventName + capture have gone, + // remove globalZoneAwareCallback and remove the task cache from target + existingTask.allRemoved = true; + target[symbolEventName] = null; + } + existingTask.zone.cancelTask(existingTask); + return; + } + } + } + }; + proto[LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + var listeners = []; + var tasks = findEventTasks(target, eventName); + for (var i = 0; i < tasks.length; i++) { + var task = tasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + listeners.push(delegate); + } + return listeners; + }; + proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { + var target = this || _global; + var eventName = arguments[0]; + if (!eventName) { + var keys = Object.keys(target); + for (var i = 0; i < keys.length; i++) { + var prop = keys[i]; + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + // in nodejs EventEmitter, removeListener event is + // used for monitoring the removeListener call, + // so just keep removeListener eventListener until + // all other eventListeners are removed + if (evtName && evtName !== 'removeListener') { + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]); + } + } + // remove removeListener listener finally + this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']); + } + else { + var symbolEventNames = zoneSymbolEventNames$1[eventName]; + if (symbolEventNames) { + var symbolEventName = symbolEventNames[FALSE_STR]; + var symbolCaptureEventName = symbolEventNames[TRUE_STR]; + var tasks = target[symbolEventName]; + var captureTasks = target[symbolCaptureEventName]; + if (tasks) { + var removeTasks = tasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + if (captureTasks) { + var removeTasks = captureTasks.slice(); + for (var i = 0; i < removeTasks.length; i++) { + var task = removeTasks[i]; + var delegate = task.originalDelegate ? task.originalDelegate : task.callback; + this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]); + } + } + } + } + }; + // for native toString patch + attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); + attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); + if (nativeRemoveAllListeners) { + attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); + } + if (nativeListeners) { + attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); + } + return true; + } + var results = []; + for (var i = 0; i < apis.length; i++) { + results[i] = patchEventTargetMethods(apis[i], patchOptions); + } + return results; +} +function findEventTasks(target, eventName) { + var foundTasks = []; + for (var prop in target) { + var match = EVENT_NAME_SYMBOL_REGX.exec(prop); + var evtName = match && match[1]; + if (evtName && (!eventName || evtName === eventName)) { + var tasks = target[prop]; + if (tasks) { + for (var i = 0; i < tasks.length; i++) { + foundTasks.push(tasks[i]); + } + } + } + } + return foundTasks; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +function patchTimer(window, setName, cancelName, nameSuffix) { + var setNative = null; + var clearNative = null; + setName += nameSuffix; + cancelName += nameSuffix; + var tasksByHandleId = {}; + var NUMBER = 'number'; + var STRING = 'string'; + var FUNCTION = 'function'; + var INTERVAL = 'Interval'; + var TIMEOUT = 'Timeout'; + var NOT_SCHEDULED = 'notScheduled'; + function scheduleTask(task) { + var data = task.data; + function timer() { + try { + task.invoke.apply(this, arguments); + } + finally { + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[data.handleId]; + } + } + } + data.args[0] = timer; + data.handleId = setNative.apply(window, data.args); + if (typeof data.handleId === NUMBER) { + // Node returns complex objects as handleIds -> no need to keep them around. Additionally, + // this throws an + // exception in older node versions and has no effect there, because of the stringified key. + tasksByHandleId[data.handleId] = task; + } + return task; + } + function clearTask(task) { + if (typeof task.data.handleId === NUMBER) { + // Node returns complex objects as handleIds + delete tasksByHandleId[task.data.handleId]; + } + return clearNative(task.data.handleId); + } + setNative = + patchMethod(window, setName, function (delegate) { return function (self, args) { + if (typeof args[0] === FUNCTION) { + var zone = Zone.current; + var options = { + handleId: null, + isPeriodic: nameSuffix === INTERVAL, + delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null, + args: args + }; + var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask); + if (!task) { + return task; + } + // Node.js must additionally support the ref and unref functions. + var handle = task.data.handleId; + // check whether handle is null, because some polyfill or browser + // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame + if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION && + typeof handle.unref === FUNCTION) { + task.ref = handle.ref.bind(handle); + task.unref = handle.unref.bind(handle); + } + return task; + } + else { + // cause an error by calling it directly. + return delegate.apply(window, args); + } + }; }); + clearNative = + patchMethod(window, cancelName, function (delegate) { return function (self, args) { + var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0]; + if (task && typeof task.type === STRING) { + if (task.state !== NOT_SCHEDULED && + (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { + // Do not cancel already canceled functions + task.zone.cancelTask(task); + } + } + else { + // cause an error by calling it directly. + delegate.apply(window, args); + } + }; }); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/* + * This is necessary for Chrome and Chrome mobile, to enable + * things like redefining `createdCallback` on an element. + */ +var _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty; +var _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] = + Object.getOwnPropertyDescriptor; +var _create = Object.create; +var unconfigurablesKey = zoneSymbol('unconfigurables'); +var PROTOTYPE = 'prototype'; +var OBJECT = 'object'; +var UNDEFINED$1 = 'undefined'; +function propertyPatch() { + Object.defineProperty = function (obj, prop, desc) { + if (isUnconfigurable(obj, prop)) { + throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); + } + var originalConfigurableFlag = desc.configurable; + if (prop !== PROTOTYPE) { + desc = rewriteDescriptor(obj, prop, desc); + } + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); + }; + Object.defineProperties = function (obj, props) { + Object.keys(props).forEach(function (prop) { + Object.defineProperty(obj, prop, props[prop]); + }); + return obj; + }; + Object.create = function (obj, proto) { + if (typeof proto === OBJECT && !Object.isFrozen(proto)) { + Object.keys(proto).forEach(function (prop) { + proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); + }); + } + return _create(obj, proto); + }; + Object.getOwnPropertyDescriptor = function (obj, prop) { + var desc = _getOwnPropertyDescriptor(obj, prop); + if (isUnconfigurable(obj, prop)) { + desc.configurable = false; + } + return desc; + }; +} +function _redefineProperty(obj, prop, desc) { + var originalConfigurableFlag = desc.configurable; + desc = rewriteDescriptor(obj, prop, desc); + return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); +} +function isUnconfigurable(obj, prop) { + return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; +} +function rewriteDescriptor(obj, prop, desc) { + desc.configurable = true; + if (!desc.configurable) { + if (!obj[unconfigurablesKey]) { + _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} }); + } + obj[unconfigurablesKey][prop] = true; + } + return desc; +} +function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + if (desc.configurable) { + // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's + // retry with the original flag value + if (typeof originalConfigurableFlag == UNDEFINED$1) { + delete desc.configurable; + } + else { + desc.configurable = originalConfigurableFlag; + } + try { + return _defineProperty(obj, prop, desc); + } + catch (error) { + var descJson = null; + try { + descJson = JSON.stringify(desc); + } + catch (error) { + descJson = descJson.toString(); + } + console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); + } + } + else { + throw error; + } + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +// we have to patch the instance since the proto is non-configurable +function apply(api, _global) { + var WS = _global.WebSocket; + // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener + // On older Chrome, no need since EventTarget was already patched + if (!_global.EventTarget) { + patchEventTarget(_global, [WS.prototype]); + } + _global.WebSocket = function (a, b) { + var socket = arguments.length > 1 ? new WS(a, b) : new WS(a); + var proxySocket; + var proxySocketProto; + // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance + var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage'); + if (onmessageDesc && onmessageDesc.configurable === false) { + proxySocket = Object.create(socket); + // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' + // but proxySocket not, so we will keep socket as prototype and pass it to + // patchOnProperties method + proxySocketProto = socket; + ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) { + proxySocket[propName] = function () { + var args = Array.prototype.slice.call(arguments); + if (propName === 'addEventListener' || propName === 'removeEventListener') { + var eventName = args.length > 0 ? args[0] : undefined; + if (eventName) { + var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); + socket[propertySymbol] = proxySocket[propertySymbol]; + } + } + return socket[propName].apply(socket, args); + }; + }); + } + else { + // we can patch the real socket + proxySocket = socket; + } + patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); + return proxySocket; + }; + var globalWebSocket = _global['WebSocket']; + for (var prop in WS) { + globalWebSocket[prop] = WS[prop]; + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {globalThis} + */ +var globalEventHandlersEventNames = [ + 'abort', + 'animationcancel', + 'animationend', + 'animationiteration', + 'auxclick', + 'beforeinput', + 'blur', + 'cancel', + 'canplay', + 'canplaythrough', + 'change', + 'compositionstart', + 'compositionupdate', + 'compositionend', + 'cuechange', + 'click', + 'close', + 'contextmenu', + 'curechange', + 'dblclick', + 'drag', + 'dragend', + 'dragenter', + 'dragexit', + 'dragleave', + 'dragover', + 'drop', + 'durationchange', + 'emptied', + 'ended', + 'error', + 'focus', + 'focusin', + 'focusout', + 'gotpointercapture', + 'input', + 'invalid', + 'keydown', + 'keypress', + 'keyup', + 'load', + 'loadstart', + 'loadeddata', + 'loadedmetadata', + 'lostpointercapture', + 'mousedown', + 'mouseenter', + 'mouseleave', + 'mousemove', + 'mouseout', + 'mouseover', + 'mouseup', + 'mousewheel', + 'pause', + 'play', + 'playing', + 'pointercancel', + 'pointerdown', + 'pointerenter', + 'pointerleave', + 'pointerlockchange', + 'mozpointerlockchange', + 'webkitpointerlockerchange', + 'pointerlockerror', + 'mozpointerlockerror', + 'webkitpointerlockerror', + 'pointermove', + 'pointout', + 'pointerover', + 'pointerup', + 'progress', + 'ratechange', + 'reset', + 'resize', + 'scroll', + 'seeked', + 'seeking', + 'select', + 'selectionchange', + 'selectstart', + 'show', + 'sort', + 'stalled', + 'submit', + 'suspend', + 'timeupdate', + 'volumechange', + 'touchcancel', + 'touchmove', + 'touchstart', + 'transitioncancel', + 'transitionend', + 'waiting', + 'wheel' +]; +var documentEventNames = [ + 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange', + 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', + 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange' +]; +var windowEventNames = [ + 'absolutedeviceorientation', + 'afterinput', + 'afterprint', + 'appinstalled', + 'beforeinstallprompt', + 'beforeprint', + 'beforeunload', + 'devicelight', + 'devicemotion', + 'deviceorientation', + 'deviceorientationabsolute', + 'deviceproximity', + 'hashchange', + 'languagechange', + 'message', + 'mozbeforepaint', + 'offline', + 'online', + 'paint', + 'pageshow', + 'pagehide', + 'popstate', + 'rejectionhandled', + 'storage', + 'unhandledrejection', + 'unload', + 'userproximity', + 'vrdisplyconnected', + 'vrdisplaydisconnected', + 'vrdisplaypresentchange' +]; +var htmlElementEventNames = [ + 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', + 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', + 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend' +]; +var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; +var ieElementEventNames = [ + 'activate', + 'afterupdate', + 'ariarequest', + 'beforeactivate', + 'beforedeactivate', + 'beforeeditfocus', + 'beforeupdate', + 'cellchange', + 'controlselect', + 'dataavailable', + 'datasetchanged', + 'datasetcomplete', + 'errorupdate', + 'filterchange', + 'layoutcomplete', + 'losecapture', + 'move', + 'moveend', + 'movestart', + 'propertychange', + 'resizeend', + 'resizestart', + 'rowenter', + 'rowexit', + 'rowsdelete', + 'rowsinserted', + 'command', + 'compassneedscalibration', + 'deactivate', + 'help', + 'mscontentzoom', + 'msmanipulationstatechanged', + 'msgesturechange', + 'msgesturedoubletap', + 'msgestureend', + 'msgesturehold', + 'msgesturestart', + 'msgesturetap', + 'msgotpointercapture', + 'msinertiastart', + 'mslostpointercapture', + 'mspointercancel', + 'mspointerdown', + 'mspointerenter', + 'mspointerhover', + 'mspointerleave', + 'mspointermove', + 'mspointerout', + 'mspointerover', + 'mspointerup', + 'pointerout', + 'mssitemodejumplistitemremoved', + 'msthumbnailclick', + 'stop', + 'storagecommit' +]; +var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; +var formEventNames = ['autocomplete', 'autocompleteerror']; +var detailEventNames = ['toggle']; +var frameEventNames = ['load']; +var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; +var marqueeEventNames = ['bounce', 'finish', 'start']; +var XMLHttpRequestEventNames = [ + 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', + 'readystatechange' +]; +var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; +var websocketEventNames = ['close', 'error', 'open', 'message']; +var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); +function filterProperties(target, onProperties, ignoreProperties) { + if (!ignoreProperties) { + return onProperties; + } + var tip = ignoreProperties.filter(function (ip) { return ip.target === target; }); + if (!tip || tip.length === 0) { + return onProperties; + } + var targetIgnoreProperties = tip[0].ignoreProperties; + return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; }); +} +function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { + var filteredProperties = filterProperties(target, onProperties, ignoreProperties); + patchOnProperties(target, filteredProperties, prototype); +} +function propertyDescriptorPatch(api, _global) { + if (isNode && !isMix) { + return; + } + var supportsWebSocket = typeof WebSocket !== 'undefined'; + if (canPatchViaPropertyDescriptor()) { + var ignoreProperties = _global.__Zone_ignore_on_properties; + // for browsers that we can patch the descriptor: Chrome & Firefox + if (isBrowser) { + // in IE/Edge, onProp not exist in window object, but in WindowPrototype + // so we need to pass WindowPrototype to check onProp exist or not + patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window)); + patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); + if (typeof window['SVGElement'] !== 'undefined') { + patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties); + } + patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); + patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); + patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); + patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); + patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); + var HTMLMarqueeElement_1 = window['HTMLMarqueeElement']; + if (HTMLMarqueeElement_1) { + patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); + } + } + patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); + var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); + } + if (typeof IDBIndex !== 'undefined') { + patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); + patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); + } + if (supportsWebSocket) { + patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); + } + } + else { + // Safari, Android browsers (Jelly Bean) + patchViaCapturingAllTheEvents(); + patchClass('XMLHttpRequest'); + if (supportsWebSocket) { + apply(api, _global); + } + } +} +function canPatchViaPropertyDescriptor() { + if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && + typeof Element !== 'undefined') { + // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 + // IDL interface attributes are not configurable + var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick'); + if (desc && !desc.configurable) + return false; + } + var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange'); + // add enumerable and configurable here because in opera + // by default XMLHttpRequest.prototype.onreadystatechange is undefined + // without adding enumerable and configurable will cause onreadystatechange + // non-configurable + // and if XMLHttpRequest.prototype.onreadystatechange is undefined, + // we should set a real desc instead a fake one + if (xhrDesc) { + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return true; + } + }); + var req = new XMLHttpRequest(); + var result = !!req.onreadystatechange; + // restore original desc + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {}); + return result; + } + else { + var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange'); + Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', { + enumerable: true, + configurable: true, + get: function () { + return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; + }, + set: function (value) { + this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; + } + }); + var req = new XMLHttpRequest(); + var detectFunc = function () { }; + req.onreadystatechange = detectFunc; + var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; + req.onreadystatechange = null; + return result; + } +} + +var unboundKey = zoneSymbol('unbound'); +// Whenever any eventListener fires, we check the eventListener target and all parents +// for `onwhatever` properties and replace them with zone-bound functions +// - Chrome (for now) +function patchViaCapturingAllTheEvents() { + var _loop_1 = function (i) { + var property = eventNames[i]; + var onproperty = 'on' + property; + self.addEventListener(property, function (event) { + var elt = event.target, bound, source; + if (elt) { + source = elt.constructor['name'] + '.' + onproperty; + } + else { + source = 'unknown.' + onproperty; + } + while (elt) { + if (elt[onproperty] && !elt[onproperty][unboundKey]) { + bound = Zone.current.wrap(elt[onproperty], source); + bound[unboundKey] = elt[onproperty]; + elt[onproperty] = bound; + } + elt = elt.parentElement; + } + }, true); + }; + for (var i = 0; i < eventNames.length; i++) { + _loop_1(i); + } +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function eventTargetPatch(_global, api) { + var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; + var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket' + .split(','); + var EVENT_TARGET = 'EventTarget'; + var apis = []; + var isWtf = _global['wtf']; + var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); + if (isWtf) { + // Workaround for: https://github.com/google/tracing-framework/issues/555 + apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET); + } + else if (_global[EVENT_TARGET]) { + apis.push(EVENT_TARGET); + } + else { + // Note: EventTarget is not available in all browsers, + // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget + apis = NO_EVENT_TARGET; + } + var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; + var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; + var ieOrEdge = isIEOrEdge(); + var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; + var FUNCTION_WRAPPER = '[object FunctionWrapper]'; + var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; + // predefine all __zone_symbol__ + eventName + true/false string + for (var i = 0; i < eventNames.length; i++) { + var eventName = eventNames[i]; + var falseEventName = eventName + FALSE_STR; + var trueEventName = eventName + TRUE_STR; + var symbol = ZONE_SYMBOL_PREFIX + falseEventName; + var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; + zoneSymbolEventNames$1[eventName] = {}; + zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; + zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; + } + // predefine all task.source string + for (var i = 0; i < WTF_ISSUE_555.length; i++) { + var target = WTF_ISSUE_555_ARRAY[i]; + var targets = globalSources[target] = {}; + for (var j = 0; j < eventNames.length; j++) { + var eventName = eventNames[j]; + targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; + } + } + var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) { + if (!isDisableIECheck && ieOrEdge) { + if (isEnableCrossContextCheck) { + try { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + else { + var testString = delegate.toString(); + if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) { + nativeDelegate.apply(target, args); + return false; + } + } + } + else if (isEnableCrossContextCheck) { + try { + delegate.toString(); + } + catch (error) { + nativeDelegate.apply(target, args); + return false; + } + } + return true; + }; + var apiTypes = []; + for (var i = 0; i < apis.length; i++) { + var type = _global[apis[i]]; + apiTypes.push(type && type.prototype); + } + patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext }); + api.patchEventTarget = patchEventTarget; + return true; +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +function registerElementPatch(_global) { + if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) { + return; + } + var _registerElement = document.registerElement; + var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; + document.registerElement = function (name, opts) { + if (opts && opts.prototype) { + callbacks.forEach(function (callback) { + var source = 'Document.registerElement::' + callback; + if (opts.prototype.hasOwnProperty(callback)) { + var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback); + if (descriptor && descriptor.value) { + descriptor.value = Zone.current.wrap(descriptor.value, source); + _redefineProperty(opts.prototype, callback, descriptor); + } + else { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + } + else if (opts.prototype[callback]) { + opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source); + } + }); + } + return _registerElement.apply(document, [name, opts]); + }; + attachOriginToPatched(document.registerElement, _registerElement); +} + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +/** + * @fileoverview + * @suppress {missingRequire} + */ +Zone.__load_patch('timers', function (global, Zone, api) { + var set = 'set'; + var clear = 'clear'; + patchTimer(global, set, clear, 'Timeout'); + patchTimer(global, set, clear, 'Interval'); + patchTimer(global, set, clear, 'Immediate'); +}); +Zone.__load_patch('requestAnimationFrame', function (global, Zone, api) { + patchTimer(global, 'request', 'cancel', 'AnimationFrame'); + patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); + patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); +}); +Zone.__load_patch('blocking', function (global, Zone, api) { + var blockingMethods = ['alert', 'prompt', 'confirm']; + for (var i = 0; i < blockingMethods.length; i++) { + var name_1 = blockingMethods[i]; + patchMethod(global, name_1, function (delegate, symbol, name) { + return function (s, args) { + return Zone.current.run(delegate, global, args, name); + }; + }); + } +}); +Zone.__load_patch('EventTarget', function (global, Zone, api) { + eventTargetPatch(global, api); + // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener + var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { + api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); + } + patchClass('MutationObserver'); + patchClass('WebKitMutationObserver'); + patchClass('IntersectionObserver'); + patchClass('FileReader'); +}); +Zone.__load_patch('on_property', function (global, Zone, api) { + propertyDescriptorPatch(api, global); + propertyPatch(); + registerElementPatch(global); +}); +Zone.__load_patch('canvas', function (global, Zone, api) { + var HTMLCanvasElement = global['HTMLCanvasElement']; + if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype && + HTMLCanvasElement.prototype.toBlob) { + patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) { + return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args }; + }); + } +}); +Zone.__load_patch('XHR', function (global, Zone, api) { + // Treat XMLHTTPRequest as a macrotask. + patchXHR(global); + var XHR_TASK = zoneSymbol('xhrTask'); + var XHR_SYNC = zoneSymbol('xhrSync'); + var XHR_LISTENER = zoneSymbol('xhrListener'); + var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); + function patchXHR(window) { + function findPendingTask(target) { + var pendingTask = target[XHR_TASK]; + return pendingTask; + } + var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener'); + var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener'); + var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER]; + var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER]; + if (!oriAddListener) { + var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget']; + if (XMLHttpRequestEventTarget) { + oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER]; + } + } + var READY_STATE_CHANGE = 'readystatechange'; + var SCHEDULED = 'scheduled'; + function scheduleTask(task) { + XMLHttpRequest[XHR_SCHEDULED] = false; + var data = task.data; + var target = data.target; + // remove existing event listener + var listener = target[XHR_LISTENER]; + if (!oriAddListener) { + oriAddListener = target[SYMBOL_ADDEVENTLISTENER]; + oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER]; + } + if (listener) { + oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]); + } + var newListener = target[XHR_LISTENER] = function () { + if (target.readyState === target.DONE) { + // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with + // readyState=4 multiple times, so we need to check task state here + if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) { + task.invoke(); + } + } + }; + oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]); + var storedTask = target[XHR_TASK]; + if (!storedTask) { + target[XHR_TASK] = task; + } + sendNative.apply(target, data.args); + XMLHttpRequest[XHR_SCHEDULED] = true; + return task; + } + function placeholderCallback() { } + function clearTask(task) { + var data = task.data; + // Note - ideally, we would call data.target.removeEventListener here, but it's too late + // to prevent it from firing. So instead, we store info for the event listener. + data.aborted = true; + return abortNative.apply(data.target, data.args); + } + var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) { + self[XHR_SYNC] = args[2] == false; + return openNative.apply(self, args); + }; }); + var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; + var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) { + var zone = Zone.current; + if (self[XHR_SYNC]) { + // if the XHR is sync there is no task to schedule, just execute the code. + return sendNative.apply(self, args); + } + else { + var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false }; + return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); + } + }; }); + var STRING_TYPE = 'string'; + var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) { + var task = findPendingTask(self); + if (task && typeof task.type == STRING_TYPE) { + // If the XHR has already completed, do nothing. + // If the XHR has already been aborted, do nothing. + // Fix #569, call abort multiple times before done will cause + // macroTask task count be negative number + if (task.cancelFn == null || (task.data && task.data.aborted)) { + return; + } + task.zone.cancelTask(task); + } + // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no + // task + // to cancel. Do nothing. + }; }); + } +}); +Zone.__load_patch('geolocation', function (global, Zone, api) { + /// GEO_LOCATION + if (global['navigator'] && global['navigator'].geolocation) { + patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); + } +}); +Zone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) { + // handle unhandled promise rejection + function findPromiseRejectionHandler(evtName) { + return function (e) { + var eventTasks = findEventTasks(global, evtName); + eventTasks.forEach(function (eventTask) { + // windows has added unhandledrejection event listener + // trigger the event listener + var PromiseRejectionEvent = global['PromiseRejectionEvent']; + if (PromiseRejectionEvent) { + var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection }); + eventTask.invoke(evt); + } + }); + }; + } + if (global['PromiseRejectionEvent']) { + Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = + findPromiseRejectionHandler('unhandledrejection'); + Zone[zoneSymbol('rejectionHandledHandler')] = + findPromiseRejectionHandler('rejectionhandled'); + } +}); +Zone.__load_patch('util', function (global, Zone, api) { + api.patchOnProperties = patchOnProperties; + api.patchMethod = patchMethod; +}); + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +}))); + +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("../../../../webpack/buildin/global.js"))) + +/***/ }), + +/***/ 1: +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("../../../../../src/polyfills.ts"); + + +/***/ }) + +},[1]); +//# sourceMappingURL=polyfills.bundle.js.map \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/polyfills.bundle.js.map b/kotlin-source/src/main/resources/loc/polyfills.bundle.js.map new file mode 100644 index 0000000..b1b4837 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/polyfills.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["C:/Dev/CorDapps/locWeb/src/polyfills.ts","C:/Dev/CorDapps/locWeb/node_modules/core-js/es6/reflect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/es7/reflect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_a-function.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-instance.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-from-iterable.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-includes.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-methods.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-constructor.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_bind.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_classof.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_cof.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-strong.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-weak.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_core.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ctx.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_defined.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_descriptors.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_dom-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_enum-bug-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_export.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_fails.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_for-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_global.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_has.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_hide.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_html.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ie8-dom-define.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_inherit-if-required.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_invoke.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iobject.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array-iter.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-call.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-define.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-detect.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-step.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iterators.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_library.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_meta.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-assign.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-create.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dp.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dps.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopd.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopn.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gops.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gpo.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys-internal.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-pie.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_own-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_property-desc.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine-all.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-proto.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-species.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-to-string-tag.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared-key.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-absolute-index.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-integer.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-iobject.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-length.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-object.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-primitive.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_uid.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_validate-collection.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_wks.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/core.get-iterator-method.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.map.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.apply.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.construct.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.define-property.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.delete-property.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.enumerate.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-prototype-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.has.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.is-extensible.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.own-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.prevent-extensions.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set-prototype-of.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.set.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.weak-map.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.define-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.delete-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-own-metadata.js","C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.metadata.js","(webpack)/buildin/global.js","C:/Dev/CorDapps/locWeb/node_modules/zone.js/dist/zone.js"],"names":[],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AAEH,mEAAmE;AACnE,+BAA+B;AAC/B,+BAA+B;AAC/B,iCAAiC;AACjC,kCAAkC;AAClC,oCAAoC;AACpC,+BAA+B;AAC/B,6BAA6B;AAC7B,+BAA+B;AAC/B,6BAA6B;AAC7B,8BAA8B;AAC9B,+BAA+B;AAC/B,4BAA4B;AAC5B,iCAAiC;AACjC,4BAA4B;AAE5B,+EAA+E;AAC/E,oEAAoE;AAEpE,yCAAyC;AACZ;AACA;AAG7B;;;IAGI;AACJ,8EAA8E;AAI9E;;GAEG;AACwB,CAAE,6BAA6B;AAI1D;;GAEG;AAEH;;;GAGG;AACH,oDAAoD;AACpD;;GAEG;AACH,sCAAsC;;;;;;;;ACvEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,SAAS;AACpC;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxBA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;AC/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,qBAAqB;AACrB,0BAA0B;AAC1B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,iBAAiB,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,mEAAmE,gBAAgB;AACnF;AACA;AACA,GAAG,4CAA4C,gCAAgC;AAC/E;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;ACPA;AACA;;;;;;;;ACDA;AACA,+GAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;AAEA;AACA,oKAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;ACrEA;AACA;;AAEA;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;ACFA;;;;;;;;ACAA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,gBAAgB,EAAE;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,UAAU,EAAE;AAChD,mBAAmB,sCAAsC;AACzD,CAAC,qCAAqC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;ACjCD;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA,cAAc;;;;;;;;ACAd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;AC9BD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY,cAAc;AACjC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC,GAAG;AACH;;;;;;;;ACZA;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA,kDAAkD;AAClD;AACA,uCAAuC;AACvC;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;;;;;;;;AClBD;AACA;AACA;AACA;AACA,yFAAgD;AAChD;AACA;AACA;AACA,sBAAsB,cAAc;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACfD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6FAAoD;;AAEpD;AACA;AACA;AACA,gBAAgB;AAChB,mCAAmC,cAAc;AACjD,CAAC;AACD;AACA,0BAA0B,cAAc;AACxC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;AC9CD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC,MAAM,WAAW,OAAO,WAAW;AACnE,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACtBD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;ACVD;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B,cAAc;AACd,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC,GAAG;AACH,UAAU;AACV,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACzBD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACTD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACTD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,WAAW;;;;;;;;ACpB1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACPD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACVD;AACA;;AAEA,+BAA+B,2EAAkC;;;;;;;;ACHjE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACfD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;ACdD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,WAAW;;;;;;;;;AC9B1C;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;ACbD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,uBAAuB,4EAA4E,EAAE;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;;;;;AC1DA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACPH;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAE;;;;;;;;ACdH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;AClBH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;AChBH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACPH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA,CAAC,EAAE;;;;;;;;ACRH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA,CAAC,EAAE;;;;;;;;ACfH;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA,CAAC,EAAE;;;;;;;;ACRH;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAE;;;;;;;;ACdH;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,qBAAqB;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,uBAAuB;AAC9D,uCAAuC,kBAAkB;AACzD,oCAAoC,eAAe;AACnD,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,kBAAkB;AACzD,uCAAuC,kBAAkB;AACzD,oCAAoC,eAAe;AACnD,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,0BAA0B;AACrD;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT,kFAAkF,gEAAgE,EAAE;AACpJ;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA,uCAAuC,0BAA0B,EAAE;AACnE;AACA;AACA;AACA,wCAAwC,6DAA6D,EAAE;AACvG,uCAAuC,WAAW,EAAE;AACpD;AACA,kCAAkC,aAAa,EAAE;AACjD;AACA,6BAA6B;AAC7B;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4HAA4H,wBAAwB,oCAAoC;AACxL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,oDAAoD;AAC9F;AACA;AACA;AACA;AACA;AACA,2BAA2B,mCAAmC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,qEAAqE,gBAAgB;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA,kBAAkB,EAAE;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D,iBAAiB;AAC5E;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,yBAAyB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,EAAE;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,iBAAiB;AACjB;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,EAAE;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,oCAAoC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,0BAA0B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,sBAAsB;AAChE,qCAAqC,iBAAiB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,0BAA0B;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,iBAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,wBAAwB;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,wBAAwB;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;AACA,6DAA6D;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,0BAA0B,EAAE;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,6BAA6B,EAAE;AACpF;AACA;AACA;AACA;AACA,8CAA8C,kDAAkD,EAAE;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,2FAA2F;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,SAAS;AACT;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,mBAAmB,uBAAuB;AAC1C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,+BAA+B,EAAE;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qEAAqE,gBAAgB;AACrF;AACA,mBAAmB,uBAAuB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA,yCAAyC,0CAA0C;AACnF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,mBAAmB,4BAA4B;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F;AAC3F;AACA;AACA,UAAU,EAAE;AACZ;AACA,2FAA2F;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,UAAU,EAAE;AACZ;AACA,qGAAqG;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,EAAE;AACZ;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kEAAkE,0CAA0C;AAC5G;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,CAAC","file":"polyfills.bundle.js","sourcesContent":["/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es6/symbol';\n// import 'core-js/es6/object';\n// import 'core-js/es6/function';\n// import 'core-js/es6/parse-int';\n// import 'core-js/es6/parse-float';\n// import 'core-js/es6/number';\n// import 'core-js/es6/math';\n// import 'core-js/es6/string';\n// import 'core-js/es6/date';\n// import 'core-js/es6/array';\n// import 'core-js/es6/regexp';\n// import 'core-js/es6/map';\n// import 'core-js/es6/weak-map';\n// import 'core-js/es6/set';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** Evergreen browsers require these. **/\nimport 'core-js/es6/reflect';\nimport 'core-js/es7/reflect';\n\n\n/**\n * Required to support Web Animations `@angular/animation`.\n * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation\n **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n\n\n/***************************************************************************************************\n * Zone JS is required by Angular itself.\n */\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n/**\n * Date, currency, decimal and percent pipes.\n * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10\n */\n// import 'intl'; // Run `npm install --save intl`.\n/**\n * Need to import at least one locale-data with intl.\n */\n// import 'intl/locale-data/jsonp/en';\n\n\n\n// WEBPACK FOOTER //\n// C:/Dev/CorDapps/locWeb/src/polyfills.ts","require('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core').Reflect;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/es6/reflect.js\n// module id = ../../../../core-js/es6/reflect.js\n// module chunks = polyfills","require('../modules/es7.reflect.define-metadata');\nrequire('../modules/es7.reflect.delete-metadata');\nrequire('../modules/es7.reflect.get-metadata');\nrequire('../modules/es7.reflect.get-metadata-keys');\nrequire('../modules/es7.reflect.get-own-metadata');\nrequire('../modules/es7.reflect.get-own-metadata-keys');\nrequire('../modules/es7.reflect.has-metadata');\nrequire('../modules/es7.reflect.has-own-metadata');\nrequire('../modules/es7.reflect.metadata');\nmodule.exports = require('../modules/_core').Reflect;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/es7/reflect.js\n// module id = ../../../../core-js/es7/reflect.js\n// module chunks = polyfills","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_a-function.js\n// module id = ../../../../core-js/modules/_a-function.js\n// module chunks = polyfills","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-instance.js\n// module id = ../../../../core-js/modules/_an-instance.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_an-object.js\n// module id = ../../../../core-js/modules/_an-object.js\n// module chunks = polyfills","var forOf = require('./_for-of');\n\nmodule.exports = function (iter, ITERATOR) {\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-from-iterable.js\n// module id = ../../../../core-js/modules/_array-from-iterable.js\n// module chunks = polyfills","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-includes.js\n// module id = ../../../../core-js/modules/_array-includes.js\n// module chunks = polyfills","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-methods.js\n// module id = ../../../../core-js/modules/_array-methods.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-constructor.js\n// module id = ../../../../core-js/modules/_array-species-constructor.js\n// module chunks = polyfills","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_array-species-create.js\n// module id = ../../../../core-js/modules/_array-species-create.js\n// module chunks = polyfills","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_bind.js\n// module id = ../../../../core-js/modules/_bind.js\n// module chunks = polyfills","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_classof.js\n// module id = ../../../../core-js/modules/_classof.js\n// module chunks = polyfills","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_cof.js\n// module id = ../../../../core-js/modules/_cof.js\n// module chunks = polyfills","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-strong.js\n// module id = ../../../../core-js/modules/_collection-strong.js\n// module chunks = polyfills","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection-weak.js\n// module id = ../../../../core-js/modules/_collection-weak.js\n// module chunks = polyfills","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_collection.js\n// module id = ../../../../core-js/modules/_collection.js\n// module chunks = polyfills","var core = module.exports = { version: '2.5.0' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_core.js\n// module id = ../../../../core-js/modules/_core.js\n// module chunks = polyfills","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ctx.js\n// module id = ../../../../core-js/modules/_ctx.js\n// module chunks = polyfills","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_defined.js\n// module id = ../../../../core-js/modules/_defined.js\n// module chunks = polyfills","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_descriptors.js\n// module id = ../../../../core-js/modules/_descriptors.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_dom-create.js\n// module id = ../../../../core-js/modules/_dom-create.js\n// module chunks = polyfills","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_enum-bug-keys.js\n// module id = ../../../../core-js/modules/_enum-bug-keys.js\n// module chunks = polyfills","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_export.js\n// module id = ../../../../core-js/modules/_export.js\n// module chunks = polyfills","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_fails.js\n// module id = ../../../../core-js/modules/_fails.js\n// module chunks = polyfills","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_for-of.js\n// module id = ../../../../core-js/modules/_for-of.js\n// module chunks = polyfills","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_global.js\n// module id = ../../../../core-js/modules/_global.js\n// module chunks = polyfills","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_has.js\n// module id = ../../../../core-js/modules/_has.js\n// module chunks = polyfills","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_hide.js\n// module id = ../../../../core-js/modules/_hide.js\n// module chunks = polyfills","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_html.js\n// module id = ../../../../core-js/modules/_html.js\n// module chunks = polyfills","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_ie8-dom-define.js\n// module id = ../../../../core-js/modules/_ie8-dom-define.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_inherit-if-required.js\n// module id = ../../../../core-js/modules/_inherit-if-required.js\n// module chunks = polyfills","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_invoke.js\n// module id = ../../../../core-js/modules/_invoke.js\n// module chunks = polyfills","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iobject.js\n// module id = ../../../../core-js/modules/_iobject.js\n// module chunks = polyfills","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array-iter.js\n// module id = ../../../../core-js/modules/_is-array-iter.js\n// module chunks = polyfills","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-array.js\n// module id = ../../../../core-js/modules/_is-array.js\n// module chunks = polyfills","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_is-object.js\n// module id = ../../../../core-js/modules/_is-object.js\n// module chunks = polyfills","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-call.js\n// module id = ../../../../core-js/modules/_iter-call.js\n// module chunks = polyfills","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-create.js\n// module id = ../../../../core-js/modules/_iter-create.js\n// module chunks = polyfills","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-define.js\n// module id = ../../../../core-js/modules/_iter-define.js\n// module chunks = polyfills","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-detect.js\n// module id = ../../../../core-js/modules/_iter-detect.js\n// module chunks = polyfills","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iter-step.js\n// module id = ../../../../core-js/modules/_iter-step.js\n// module chunks = polyfills","module.exports = {};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_iterators.js\n// module id = ../../../../core-js/modules/_iterators.js\n// module chunks = polyfills","module.exports = false;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_library.js\n// module id = ../../../../core-js/modules/_library.js\n// module chunks = polyfills","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_meta.js\n// module id = ../../../../core-js/modules/_meta.js\n// module chunks = polyfills","var Map = require('./es6.map');\nvar $export = require('./_export');\nvar shared = require('./_shared')('metadata');\nvar store = shared.store || (shared.store = new (require('./es6.weak-map'))());\n\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\n var targetMetadata = store.get(target);\n if (!targetMetadata) {\n if (!create) return undefined;\n store.set(target, targetMetadata = new Map());\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if (!keyMetadata) {\n if (!create) return undefined;\n targetMetadata.set(targetKey, keyMetadata = new Map());\n } return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n var keys = [];\n if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\n return keys;\n};\nvar toMetaKey = function (it) {\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\nvar exp = function (O) {\n $export($export.S, 'Reflect', O);\n};\n\nmodule.exports = {\n store: store,\n map: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n key: toMetaKey,\n exp: exp\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_metadata.js\n// module id = ../../../../core-js/modules/_metadata.js\n// module chunks = polyfills","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-assign.js\n// module id = ../../../../core-js/modules/_object-assign.js\n// module chunks = polyfills","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-create.js\n// module id = ../../../../core-js/modules/_object-create.js\n// module chunks = polyfills","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dp.js\n// module id = ../../../../core-js/modules/_object-dp.js\n// module chunks = polyfills","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-dps.js\n// module id = ../../../../core-js/modules/_object-dps.js\n// module chunks = polyfills","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopd.js\n// module id = ../../../../core-js/modules/_object-gopd.js\n// module chunks = polyfills","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gopn.js\n// module id = ../../../../core-js/modules/_object-gopn.js\n// module chunks = polyfills","exports.f = Object.getOwnPropertySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gops.js\n// module id = ../../../../core-js/modules/_object-gops.js\n// module chunks = polyfills","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-gpo.js\n// module id = ../../../../core-js/modules/_object-gpo.js\n// module chunks = polyfills","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys-internal.js\n// module id = ../../../../core-js/modules/_object-keys-internal.js\n// module chunks = polyfills","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-keys.js\n// module id = ../../../../core-js/modules/_object-keys.js\n// module chunks = polyfills","exports.f = {}.propertyIsEnumerable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_object-pie.js\n// module id = ../../../../core-js/modules/_object-pie.js\n// module chunks = polyfills","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_own-keys.js\n// module id = ../../../../core-js/modules/_own-keys.js\n// module chunks = polyfills","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_property-desc.js\n// module id = ../../../../core-js/modules/_property-desc.js\n// module chunks = polyfills","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine-all.js\n// module id = ../../../../core-js/modules/_redefine-all.js\n// module chunks = polyfills","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_redefine.js\n// module id = ../../../../core-js/modules/_redefine.js\n// module chunks = polyfills","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-proto.js\n// module id = ../../../../core-js/modules/_set-proto.js\n// module chunks = polyfills","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-species.js\n// module id = ../../../../core-js/modules/_set-species.js\n// module chunks = polyfills","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_set-to-string-tag.js\n// module id = ../../../../core-js/modules/_set-to-string-tag.js\n// module chunks = polyfills","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared-key.js\n// module id = ../../../../core-js/modules/_shared-key.js\n// module chunks = polyfills","var global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function (key) {\n return store[key] || (store[key] = {});\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_shared.js\n// module id = ../../../../core-js/modules/_shared.js\n// module chunks = polyfills","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-absolute-index.js\n// module id = ../../../../core-js/modules/_to-absolute-index.js\n// module chunks = polyfills","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-integer.js\n// module id = ../../../../core-js/modules/_to-integer.js\n// module chunks = polyfills","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-iobject.js\n// module id = ../../../../core-js/modules/_to-iobject.js\n// module chunks = polyfills","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-length.js\n// module id = ../../../../core-js/modules/_to-length.js\n// module chunks = polyfills","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-object.js\n// module id = ../../../../core-js/modules/_to-object.js\n// module chunks = polyfills","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_to-primitive.js\n// module id = ../../../../core-js/modules/_to-primitive.js\n// module chunks = polyfills","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_uid.js\n// module id = ../../../../core-js/modules/_uid.js\n// module chunks = polyfills","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_validate-collection.js\n// module id = ../../../../core-js/modules/_validate-collection.js\n// module chunks = polyfills","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/_wks.js\n// module id = ../../../../core-js/modules/_wks.js\n// module chunks = polyfills","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/core.get-iterator-method.js\n// module id = ../../../../core-js/modules/core.get-iterator-method.js\n// module chunks = polyfills","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.map.js\n// module id = ../../../../core-js/modules/es6.map.js\n// module chunks = polyfills","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.apply.js\n// module id = ../../../../core-js/modules/es6.reflect.apply.js\n// module chunks = polyfills","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.construct.js\n// module id = ../../../../core-js/modules/es6.reflect.construct.js\n// module chunks = polyfills","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.define-property.js\n// module id = ../../../../core-js/modules/es6.reflect.define-property.js\n// module chunks = polyfills","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.delete-property.js\n// module id = ../../../../core-js/modules/es6.reflect.delete-property.js\n// module chunks = polyfills","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.enumerate.js\n// module id = ../../../../core-js/modules/es6.reflect.enumerate.js\n// module chunks = polyfills","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js\n// module id = ../../../../core-js/modules/es6.reflect.get-own-property-descriptor.js\n// module chunks = polyfills","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get-prototype-of.js\n// module id = ../../../../core-js/modules/es6.reflect.get-prototype-of.js\n// module chunks = polyfills","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.get.js\n// module id = ../../../../core-js/modules/es6.reflect.get.js\n// module chunks = polyfills","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.has.js\n// module id = ../../../../core-js/modules/es6.reflect.has.js\n// module chunks = polyfills","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.is-extensible.js\n// module id = ../../../../core-js/modules/es6.reflect.is-extensible.js\n// module chunks = polyfills","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.own-keys.js\n// module id = ../../../../core-js/modules/es6.reflect.own-keys.js\n// module chunks = polyfills","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.prevent-extensions.js\n// module id = ../../../../core-js/modules/es6.reflect.prevent-extensions.js\n// module chunks = polyfills","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set-prototype-of.js\n// module id = ../../../../core-js/modules/es6.reflect.set-prototype-of.js\n// module chunks = polyfills","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.reflect.set.js\n// module id = ../../../../core-js/modules/es6.reflect.set.js\n// module chunks = polyfills","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.set.js\n// module id = ../../../../core-js/modules/es6.set.js\n// module chunks = polyfills","'use strict';\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar validate = require('./_validate-collection');\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar tmp = {};\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es6.weak-map.js\n// module id = ../../../../core-js/modules/es6.weak-map.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.define-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.define-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar getOrCreateMetadataMap = metadata.map;\nvar store = metadata.store;\n\nmetadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.delete-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.delete-metadata.js\n// module chunks = polyfills","var Set = require('./es6.set');\nvar from = require('./_array-from-iterable');\nvar metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\nmetadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js\n// module id = ../../../../core-js/modules/es7.reflect.get-metadata-keys.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\nmetadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.get-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js\n// module id = ../../../../core-js/modules/es7.reflect.get-own-metadata-keys.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.get-own-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.get-own-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\nmetadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.has-metadata.js\n// module chunks = polyfills","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.has-own-metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.has-own-metadata.js\n// module chunks = polyfills","var $metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar toMetaKey = $metadata.key;\nvar ordinaryDefineOwnMetadata = $metadata.set;\n\n$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, targetKey) {\n ordinaryDefineOwnMetadata(\n metadataKey, metadataValue,\n (targetKey !== undefined ? anObject : aFunction)(target),\n toMetaKey(targetKey)\n );\n };\n} });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/core-js/modules/es7.reflect.metadata.js\n// module id = ../../../../core-js/modules/es7.reflect.metadata.js\n// module chunks = polyfills","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = ../../../../webpack/buildin/global.js\n// module chunks = polyfills vendor","/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(factory());\n}(this, (function () { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar Zone$1 = (function (global) {\n var FUNCTION = 'function';\n var performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n if (global['Zone']) {\n throw new Error('Zone already loaded.');\n }\n var Zone = (function () {\n function Zone(parent, zoneSpec) {\n this._properties = null;\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"root\", {\n get: function () {\n var zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZoneFrame.zone;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.__load_patch = function (name, fn) {\n if (patches.hasOwnProperty(name)) {\n throw Error('Already loaded patch: ' + name);\n }\n else if (!global['__Zone_disable_' + name]) {\n var perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n };\n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== FUNCTION) {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = undefined; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n // we have to define an variable here, if not\n // typescript compiler will complain below\n var isNotScheduled = task.state === notScheduled;\n if (isNotScheduled && task.type === eventTask) {\n return;\n }\n var reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n var previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = null;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleTask = function (task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n var newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(\"can not reschedule task to \" + this\n .name + \" which is descendants of the original zone \" + task.zone.name);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n var zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, null));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n };\n Zone.prototype._updateTaskCount = function (task, count) {\n var zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (var i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n };\n return Zone;\n }());\n Zone.__symbol__ = __symbol__;\n var DELEGATE_ZS = {\n name: '',\n onHasTask: function (delegate, _, target, hasTaskState) {\n return delegate.hasTask(target, hasTaskState);\n },\n onScheduleTask: function (delegate, _, target, task) {\n return delegate.scheduleTask(target, task);\n },\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); },\n onCancelTask: function (delegate, _, target, task) {\n return delegate.cancelTask(target, task);\n }\n };\n var ZoneDelegate = (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt =\n zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ?\n this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n var returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ?\n this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n return this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n };\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = (function () {\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n this._zone = null;\n this.runCount = 0;\n this._zoneDelegates = null;\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n this.callback = callback;\n var self = this;\n if (type === eventTask && options && options.isUsingGlobalCallback) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.apply(global, [self, this, arguments]);\n };\n }\n }\n ZoneTask.invokeTask = function (task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\n get: function () {\n return this._zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ZoneTask.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n enumerable: true,\n configurable: true\n });\n ZoneTask.prototype.cancelScheduleRequest = function () {\n this._transitionTo(notScheduled, scheduling);\n };\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ?\n ' or \\'' + fromState2 + '\\'' :\n '') + \", was '\" + this._state + \"'.\");\n }\n };\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId;\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n ZoneTask.prototype.toJSON = function () {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n invoke: this.invoke,\n scheduleFn: this.scheduleFn,\n cancelFn: this.cancelFn,\n runCount: this.runCount,\n callback: this.callback\n };\n };\n return ZoneTask;\n }());\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var nativeMicroTaskQueuePromise;\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n nativeMicroTaskQueuePromise[symbolThen](drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n var showError = !Zone[__symbol__('ignoreConsoleErrorUncaughtError')];\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var NO_ZONE = { name: 'NO ZONE' };\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n var patches = {};\n var _api = {\n symbol: __symbol__,\n currentZoneFrame: function () { return _currentZoneFrame; },\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\n patchEventTarget: function () { return []; },\n patchOnProperties: noop,\n patchMethod: function () { return noop; },\n };\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n var _currentTask = null;\n var _numberOfNestedTaskFrames = 0;\n function noop() { }\n function __symbol__(name) {\n return '__zone_symbol__' + name;\n }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n var __symbol__ = api.symbol;\n var _uncaughtPromiseErrors = [];\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n api.onUnhandledError = function (e) {\n if (api.showUncaughtError()) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = function () {\n while (_uncaughtPromiseErrors.length) {\n var _loop_1 = function () {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_1();\n }\n }\n };\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (handler && typeof handler === 'function') {\n handler.apply(this, [e]);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n var once = function () {\n var wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n var TYPE_ERROR = 'Promise resolved with itself';\n var OBJECT = 'object';\n var FUNCTION = 'function';\n var CURRENT_TASK_SYMBOL = __symbol__('currentTask');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n var onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n var then = null;\n try {\n if (typeof value === OBJECT || typeof value === FUNCTION) {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === FUNCTION) {\n try {\n then.apply(value, [\n onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false))\n ]);\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n value[CURRENT_TASK_SYMBOL] = Zone.currentTask;\n }\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n try {\n throw new Error('Uncaught (in promise): ' + value +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n var error_1 = err;\n error_1.rejection = value;\n error_1.promise = promise;\n error_1.zone = Zone.current;\n error_1.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(error_1);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n var handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === FUNCTION) {\n handler.apply(this, [{ rejection: promise[symbolValue], promise: promise }]);\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var delegate = promise[symbolState] ?\n (typeof onFulfilled === FUNCTION) ? onFulfilled : forwardResolution :\n (typeof onRejected === FUNCTION) ? onRejected : forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n resolvePromise(chainPromise, true, zone.run(delegate, undefined, [promise[symbolValue]]));\n }\n catch (error) {\n resolvePromise(chainPromise, false, error);\n }\n });\n }\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n var ZoneAwarePromise = (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n ZoneAwarePromise.toString = function () {\n return ZONE_AWARE_PROMISE_TO_STRING;\n };\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n _a = [res, rej], resolve = _a[0], reject = _a[1];\n var _a;\n });\n function onResolve(value) {\n promise && (promise = null || resolve(value));\n }\n function onReject(error) {\n promise && (promise = null || reject(error));\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var count = 0;\n var resolvedValues = [];\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then((function (index) { return function (value) {\n resolvedValues[index] = value;\n count--;\n if (!count) {\n resolve(resolvedValues);\n }\n }; })(count), reject);\n count++;\n }\n if (!count)\n resolve(resolvedValues);\n return promise;\n };\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var chainPromise = new this.constructor(null);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[symbolPromise] = global['Promise'];\n global['Promise'] = ZoneAwarePromise;\n var symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n var proto = Ctor.prototype;\n var originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n // check Ctor.prototype.then propertyDescritor is writable or not\n // in meteor env, writable is false, we have to make it to be true.\n var prop = Object.getOwnPropertyDescriptor(Ctor.prototype, 'then');\n if (prop && prop.writable === false && prop.configurable) {\n Object.defineProperty(Ctor.prototype, 'then', { writable: true });\n }\n Ctor.prototype.then = function (onResolve, onReject) {\n var _this = this;\n var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n originalThen.call(_this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n function zoneify(fn) {\n return function () {\n var resultPromise = fn.apply(this, arguments);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n var ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n var fetch_1 = global['fetch'];\n if (typeof fetch_1 == FUNCTION) {\n global['fetch'] = zoneify(fetch_1);\n }\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\nvar zoneSymbol = Zone.__symbol__;\nvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\nvar FUNCTION = 'function';\nvar UNDEFINED = 'undefined';\nvar REMOVE_ATTRIBUTE = 'removeAttribute';\nfunction bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === FUNCTION) {\n args[i] = Zone.current.wrap(args[i], source + '_' + i);\n }\n }\n return args;\n}\nfunction patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function (i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, name_1);\n if (!isPropertyWritable(prototypeDesc)) {\n return \"continue\";\n }\n prototype[name_1] = (function (delegate) {\n var patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n}\nfunction isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n if (typeof propertyDesc.get === FUNCTION && typeof propertyDesc.set === UNDEFINED) {\n return false;\n }\n return true;\n}\nvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n// Make sure to access `process` through `_global` so that WebPack does not accidently browserify\n// this code.\nvar isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\nvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n// we are in electron of nw, so we are both browser and nodejs\n// Make sure to access `process` through `_global` so that WebPack does not accidently browserify\n// this code.\nvar isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(typeof window !== 'undefined' && window['HTMLElement']);\nvar ON_PROPERTY_HANDLER_SYMBOL = zoneSymbol('onPropertyHandler');\nvar zoneSymbolEventNames = {};\nvar wrapFn = function (event) {\n var eventNameSymbol = zoneSymbolEventNames[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n var listener = this[eventNameSymbol];\n var result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n return result;\n};\nfunction patchProperty(obj, prop, prototype) {\n var desc = Object.getOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n var prototypeDesc = Object.getOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n var originalDescGet = desc.get;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var eventNameSymbol = zoneSymbolEventNames[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n var previousValue = target[eventNameSymbol];\n if (previousValue) {\n target.removeEventListener(eventName, wrapFn);\n }\n if (typeof newValue === 'function') {\n target[eventNameSymbol] = newValue;\n target.addEventListener(eventName, wrapFn, false);\n }\n else {\n target[eventNameSymbol] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n if (target[eventNameSymbol]) {\n return wrapFn;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n var value = originalDescGet && originalDescGet.apply(this);\n if (value) {\n desc.set.apply(this, [value]);\n if (typeof target[REMOVE_ATTRIBUTE] === FUNCTION) {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n Object.defineProperty(obj, prop, desc);\n}\nfunction patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n}\nvar originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n var OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n Object.defineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n}\nfunction patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate;\n if (proto && !(delegate = proto[delegateName])) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n var desc = proto && Object.getOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate_1(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n }\n }\n return delegate;\n}\n// TODO: @JiaLiPassion, support cancel task later if necessary\nfunction patchMacroTask(obj, funcName, metaCreator) {\n var setNative = null;\n function scheduleTask(task) {\n var data = task.data;\n data.args[data.callbackIndex] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\n var meta = metaCreator(self, args);\n if (meta.callbackIndex >= 0 && typeof args[meta.callbackIndex] === 'function') {\n var task = Zone.current.scheduleMacroTask(meta.name, args[meta.callbackIndex], meta, scheduleTask, null);\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n }; });\n}\n\nfunction attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n}\nvar isDetectedIEOrEdge = false;\nvar ieOrEdge = false;\nfunction isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n var ua = window.navigator.userAgent;\n var msie = ua.indexOf('MSIE ');\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n return ieOrEdge;\n }\n catch (error) {\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// override Function.prototype.toString to make zone.js patched function\n// look like native function\nZone.__load_patch('toString', function (global, Zone, api) {\n // patch Func.prototype.toString to let them look like native\n var originalFunctionToString = Zone['__zone_symbol__originalToString'] =\n Function.prototype.toString;\n var FUNCTION = 'function';\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n var PROMISE_SYMBOL = zoneSymbol('Promise');\n var ERROR_SYMBOL = zoneSymbol('Error');\n Function.prototype.toString = function () {\n if (typeof this === FUNCTION) {\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === FUNCTION) {\n return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n var nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.apply(nativePromise, arguments);\n }\n }\n if (this === Error) {\n var nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.apply(nativeError, arguments);\n }\n }\n }\n return originalFunctionToString.apply(this, arguments);\n };\n // patch Object.prototype.toString to let them look like native\n var originalObjectToString = Object.prototype.toString;\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.apply(this, arguments);\n };\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nvar TRUE_STR = 'true';\nvar FALSE_STR = 'false';\n// an identifier to tell ZoneTask do not create a new invoke closure\nvar OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n isUsingGlobalCallback: true\n};\nvar zoneSymbolEventNames$1 = {};\nvar globalSources = {};\nvar CONSTRUCTOR_NAME = 'name';\nvar FUNCTION_TYPE = 'function';\nvar OBJECT_TYPE = 'object';\nvar ZONE_SYMBOL_PREFIX = '__zone_symbol__';\nvar EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\\w+)(true|false)$/;\nfunction patchEventTarget(_global, apis, patchOptions) {\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.addEventListenerFnName) || 'addEventListener';\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.removeEventListenerFnName) || 'removeEventListener';\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listenersFnName) || 'eventListeners';\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.removeAllFnName) || 'removeAllListeners';\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n var PREPEND_EVENT_LISTENER = 'prependListener';\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n var invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n var delegate = task.callback;\n if (typeof delegate === OBJECT_TYPE && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = function (event) { return delegate.handleEvent(event); };\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n task.invoke(task, target, [event]);\n var options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].apply(target, [event.type, delegate_1, options]);\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = false\n var globalZoneAwareCallback = function (event) {\n var target = this || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n var globalZoneAwareCaptureCallback = function (event) {\n var target = this || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n var useGlobalCallback = true;\n if (patchOptions && patchOptions.useGlobalCallback !== undefined) {\n useGlobalCallback = patchOptions.useGlobalCallback;\n }\n var validateHandler = patchOptions && patchOptions.validateHandler;\n var checkDuplicate = true;\n if (patchOptions && patchOptions.checkDuplicate !== undefined) {\n checkDuplicate = patchOptions.checkDuplicate;\n }\n var returnTarget = false;\n if (patchOptions && patchOptions.returnTarget !== undefined) {\n returnTarget = patchOptions.returnTarget;\n }\n var proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n var taskData = {};\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n var nativePrependEventListener;\n if (patchOptions && patchOptions.prependEventListenerFnName) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prependEventListenerFnName)] =\n proto[patchOptions.prependEventListenerFnName];\n }\n var customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n return nativeAddEventListener.apply(taskData.target, [\n taskData.eventName,\n taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback,\n taskData.options\n ]);\n };\n var customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n var symbolEventName = void 0;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.apply(task.target, [\n task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback,\n task.options\n ]);\n };\n var customScheduleNonGlobal = function (task) {\n return nativeAddEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]);\n };\n var customSchedulePrepend = function (task) {\n return nativePrependEventListener.apply(taskData.target, [taskData.eventName, task.invoke, taskData.options]);\n };\n var customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.apply(task.target, [task.eventName, task.invoke, task.options]);\n };\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n var compareTaskCallbackVsDelegate = function (task, delegate) {\n var typeOfDelegate = typeof delegate;\n if ((typeOfDelegate === FUNCTION_TYPE && task.callback === delegate) ||\n (typeOfDelegate === OBJECT_TYPE && task.originalDelegate === delegate)) {\n // same callback, same capture, same event name, just return\n return true;\n }\n return false;\n };\n var compare = (patchOptions && patchOptions.compareTaskCallbackVsDelegate) ?\n patchOptions.compareTaskCallbackVsDelegate :\n compareTaskCallbackVsDelegate;\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\n if (returnTarget === void 0) { returnTarget = false; }\n if (prepend === void 0) { prepend = false; }\n return function () {\n var target = this || _global;\n var targetZone = Zone.current;\n var delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n var isHandleEvent = false;\n if (typeof delegate !== FUNCTION_TYPE) {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n var eventName = arguments[0];\n var options = arguments[2];\n var capture;\n var once = false;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n once = options ? !!options.once : false;\n }\n var zone = Zone.current;\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (!symbolEventNames) {\n // the code is duplicate, but I just want to get some better performance\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n symbolEventName = capture ? symbolCapture : symbol;\n }\n else {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = target[symbolEventName];\n var isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (var i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n var source;\n var constructorName = target.constructor[CONSTRUCTOR_NAME];\n var targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource + eventName;\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : null;\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n task.options = options;\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var options = arguments[2];\n var capture;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n }\n var delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n var typeOfDelegate = typeof delegate;\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n }\n existingTask.zone.cancelTask(existingTask);\n return;\n }\n }\n }\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var listeners = [];\n var tasks = findEventTasks(target, eventName);\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (!eventName) {\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n var prop = keys[i];\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, [evtName]);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].apply(this, ['removeListener']);\n }\n else {\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (symbolEventNames) {\n var symbolEventName = symbolEventNames[FALSE_STR];\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n var tasks = target[symbolEventName];\n var captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n var removeTasks = tasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]);\n }\n }\n if (captureTasks) {\n var removeTasks = captureTasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].apply(this, [eventName, delegate, task.options]);\n }\n }\n }\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n var results = [];\n for (var i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n}\nfunction findEventTasks(target, eventName) {\n var foundTasks = [];\n for (var prop in target) {\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n var tasks = target[prop];\n if (tasks) {\n for (var i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n var NUMBER = 'number';\n var STRING = 'string';\n var FUNCTION = 'function';\n var INTERVAL = 'Interval';\n var TIMEOUT = 'Timeout';\n var NOT_SCHEDULED = 'notScheduled';\n function scheduleTask(task) {\n var data = task.data;\n function timer() {\n try {\n task.invoke.apply(this, arguments);\n }\n finally {\n if (typeof data.handleId === NUMBER) {\n // Node returns complex objects as handleIds\n delete tasksByHandleId[data.handleId];\n }\n }\n }\n data.args[0] = timer;\n data.handleId = setNative.apply(window, data.args);\n if (typeof data.handleId === NUMBER) {\n // Node returns complex objects as handleIds -> no need to keep them around. Additionally,\n // this throws an\n // exception in older node versions and has no effect there, because of the stringified key.\n tasksByHandleId[data.handleId] = task;\n }\n return task;\n }\n function clearTask(task) {\n if (typeof task.data.handleId === NUMBER) {\n // Node returns complex objects as handleIds\n delete tasksByHandleId[task.data.handleId];\n }\n return clearNative(task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === FUNCTION) {\n var zone = Zone.current;\n var options = {\n handleId: null,\n isPeriodic: nameSuffix === INTERVAL,\n delay: (nameSuffix === TIMEOUT || nameSuffix === INTERVAL) ? args[1] || 0 : null,\n args: args\n };\n var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === FUNCTION &&\n typeof handle.unref === FUNCTION) {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var task = typeof args[0] === NUMBER ? tasksByHandleId[args[0]] : args[0];\n if (task && typeof task.type === STRING) {\n if (task.state !== NOT_SCHEDULED &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\nvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\nvar _create = Object.create;\nvar unconfigurablesKey = zoneSymbol('unconfigurables');\nvar PROTOTYPE = 'prototype';\nvar OBJECT = 'object';\nvar UNDEFINED$1 = 'undefined';\nfunction propertyPatch() {\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== PROTOTYPE) {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === OBJECT && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n}\nfunction _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\nfunction isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n desc.configurable = true;\n if (!desc.configurable) {\n if (!obj[unconfigurablesKey]) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n obj[unconfigurablesKey][prop] = true;\n }\n return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == UNDEFINED$1) {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (error) {\n descJson = descJson.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\n }\n }\n else {\n throw error;\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// we have to patch the instance since the proto is non-configurable\nfunction apply(api, _global) {\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n patchEventTarget(_global, [WS.prototype]);\n }\n _global.WebSocket = function (a, b) {\n var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n var proxySocket;\n var proxySocketProto;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = Object.create(socket);\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n // but proxySocket not, so we will keep socket as prototype and pass it to\n // patchOnProperties method\n proxySocketProto = socket;\n ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n var args = Array.prototype.slice.call(arguments);\n if (propName === 'addEventListener' || propName === 'removeEventListener') {\n var eventName = args.length > 0 ? args[0] : undefined;\n if (eventName) {\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n socket[propertySymbol] = proxySocket[propertySymbol];\n }\n }\n return socket[propName].apply(socket, args);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n return proxySocket;\n };\n var globalWebSocket = _global['WebSocket'];\n for (var prop in WS) {\n globalWebSocket[prop] = WS[prop];\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nvar globalEventHandlersEventNames = [\n 'abort',\n 'animationcancel',\n 'animationend',\n 'animationiteration',\n 'auxclick',\n 'beforeinput',\n 'blur',\n 'cancel',\n 'canplay',\n 'canplaythrough',\n 'change',\n 'compositionstart',\n 'compositionupdate',\n 'compositionend',\n 'cuechange',\n 'click',\n 'close',\n 'contextmenu',\n 'curechange',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'dragexit',\n 'dragleave',\n 'dragover',\n 'drop',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'focus',\n 'focusin',\n 'focusout',\n 'gotpointercapture',\n 'input',\n 'invalid',\n 'keydown',\n 'keypress',\n 'keyup',\n 'load',\n 'loadstart',\n 'loadeddata',\n 'loadedmetadata',\n 'lostpointercapture',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n 'mousewheel',\n 'pause',\n 'play',\n 'playing',\n 'pointercancel',\n 'pointerdown',\n 'pointerenter',\n 'pointerleave',\n 'pointerlockchange',\n 'mozpointerlockchange',\n 'webkitpointerlockerchange',\n 'pointerlockerror',\n 'mozpointerlockerror',\n 'webkitpointerlockerror',\n 'pointermove',\n 'pointout',\n 'pointerover',\n 'pointerup',\n 'progress',\n 'ratechange',\n 'reset',\n 'resize',\n 'scroll',\n 'seeked',\n 'seeking',\n 'select',\n 'selectionchange',\n 'selectstart',\n 'show',\n 'sort',\n 'stalled',\n 'submit',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'touchcancel',\n 'touchmove',\n 'touchstart',\n 'transitioncancel',\n 'transitionend',\n 'waiting',\n 'wheel'\n];\nvar documentEventNames = [\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'fullscreenchange',\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange'\n];\nvar windowEventNames = [\n 'absolutedeviceorientation',\n 'afterinput',\n 'afterprint',\n 'appinstalled',\n 'beforeinstallprompt',\n 'beforeprint',\n 'beforeunload',\n 'devicelight',\n 'devicemotion',\n 'deviceorientation',\n 'deviceorientationabsolute',\n 'deviceproximity',\n 'hashchange',\n 'languagechange',\n 'message',\n 'mozbeforepaint',\n 'offline',\n 'online',\n 'paint',\n 'pageshow',\n 'pagehide',\n 'popstate',\n 'rejectionhandled',\n 'storage',\n 'unhandledrejection',\n 'unload',\n 'userproximity',\n 'vrdisplyconnected',\n 'vrdisplaydisconnected',\n 'vrdisplaypresentchange'\n];\nvar htmlElementEventNames = [\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n];\nvar mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\nvar ieElementEventNames = [\n 'activate',\n 'afterupdate',\n 'ariarequest',\n 'beforeactivate',\n 'beforedeactivate',\n 'beforeeditfocus',\n 'beforeupdate',\n 'cellchange',\n 'controlselect',\n 'dataavailable',\n 'datasetchanged',\n 'datasetcomplete',\n 'errorupdate',\n 'filterchange',\n 'layoutcomplete',\n 'losecapture',\n 'move',\n 'moveend',\n 'movestart',\n 'propertychange',\n 'resizeend',\n 'resizestart',\n 'rowenter',\n 'rowexit',\n 'rowsdelete',\n 'rowsinserted',\n 'command',\n 'compassneedscalibration',\n 'deactivate',\n 'help',\n 'mscontentzoom',\n 'msmanipulationstatechanged',\n 'msgesturechange',\n 'msgesturedoubletap',\n 'msgestureend',\n 'msgesturehold',\n 'msgesturestart',\n 'msgesturetap',\n 'msgotpointercapture',\n 'msinertiastart',\n 'mslostpointercapture',\n 'mspointercancel',\n 'mspointerdown',\n 'mspointerenter',\n 'mspointerhover',\n 'mspointerleave',\n 'mspointermove',\n 'mspointerout',\n 'mspointerover',\n 'mspointerup',\n 'pointerout',\n 'mssitemodejumplistitemremoved',\n 'msthumbnailclick',\n 'stop',\n 'storagecommit'\n];\nvar webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\nvar formEventNames = ['autocomplete', 'autocompleteerror'];\nvar detailEventNames = ['toggle'];\nvar frameEventNames = ['load'];\nvar frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\nvar marqueeEventNames = ['bounce', 'finish', 'start'];\nvar XMLHttpRequestEventNames = [\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n 'readystatechange'\n];\nvar IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\nvar websocketEventNames = ['close', 'error', 'open', 'message'];\nvar eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\nfunction filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties) {\n return onProperties;\n }\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n var targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\n}\nfunction patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n}\nfunction propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n if (canPatchViaPropertyDescriptor()) {\n var ignoreProperties = _global.__Zone_ignore_on_properties;\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(window, eventNames.concat(['messageerror']), ignoreProperties, Object.getPrototypeOf(window));\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n if (typeof window['SVGElement'] !== 'undefined') {\n patchFilteredProperties(window['SVGElement'].prototype, eventNames, ignoreProperties);\n }\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n var HTMLMarqueeElement_1 = window['HTMLMarqueeElement'];\n if (HTMLMarqueeElement_1) {\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\n }\n }\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n if (typeof IDBIndex !== 'undefined') {\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n }\n if (supportsWebSocket) {\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n }\n }\n else {\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents();\n patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(api, _global);\n }\n }\n}\nfunction canPatchViaPropertyDescriptor() {\n if ((isBrowser || isMix) && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n }\n var xhrDesc = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'onreadystatechange');\n // add enumerable and configurable here because in opera\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n // without adding enumerable and configurable will cause onreadystatechange\n // non-configurable\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n // we should set a real desc instead a fake one\n if (xhrDesc) {\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n // restore original desc\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', xhrDesc || {});\n return result;\n }\n else {\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fakeonreadystatechange');\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n enumerable: true,\n configurable: true,\n get: function () {\n return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n },\n set: function (value) {\n this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n }\n });\n var req = new XMLHttpRequest();\n var detectFunc = function () { };\n req.onreadystatechange = detectFunc;\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n req.onreadystatechange = null;\n return result;\n }\n}\n\nvar unboundKey = zoneSymbol('unbound');\n// Whenever any eventListener fires, we check the eventListener target and all parents\n// for `onwhatever` properties and replace them with zone-bound functions\n// - Chrome (for now)\nfunction patchViaCapturingAllTheEvents() {\n var _loop_1 = function (i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = Zone.current.wrap(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_1(i);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction eventTargetPatch(_global, api) {\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\n .split(',');\n var EVENT_TARGET = 'EventTarget';\n var apis = [];\n var isWtf = _global['wtf'];\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n var ieOrEdge = isIEOrEdge();\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n }\n // predefine all task.source string\n for (var i = 0; i < WTF_ISSUE_555.length; i++) {\n var target = WTF_ISSUE_555_ARRAY[i];\n var targets = globalSources[target] = {};\n for (var j = 0; j < eventNames.length; j++) {\n var eventName = eventNames[j];\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n }\n }\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\n if (!isDisableIECheck && ieOrEdge) {\n if (isEnableCrossContextCheck) {\n try {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n else {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n }\n else if (isEnableCrossContextCheck) {\n try {\n delegate.toString();\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n return true;\n };\n var apiTypes = [];\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n apiTypes.push(type && type.prototype);\n }\n patchEventTarget(_global, apiTypes, { validateHandler: checkIEAndCrossContext });\n api.patchEventTarget = patchEventTarget;\n return true;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction registerElementPatch(_global) {\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\n return;\n }\n var _registerElement = document.registerElement;\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n document.registerElement = function (name, opts) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = 'Document.registerElement::' + callback;\n if (opts.prototype.hasOwnProperty(callback)) {\n var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = Zone.current.wrap(descriptor.value, source);\n _redefineProperty(opts.prototype, callback, descriptor);\n }\n else {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n }\n else if (opts.prototype[callback]) {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n });\n }\n return _registerElement.apply(document, [name, opts]);\n };\n attachOriginToPatched(document.registerElement, _registerElement);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nZone.__load_patch('timers', function (global, Zone, api) {\n var set = 'set';\n var clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n});\nZone.__load_patch('requestAnimationFrame', function (global, Zone, api) {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n});\nZone.__load_patch('blocking', function (global, Zone, api) {\n var blockingMethods = ['alert', 'prompt', 'confirm'];\n for (var i = 0; i < blockingMethods.length; i++) {\n var name_1 = blockingMethods[i];\n patchMethod(global, name_1, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n});\nZone.__load_patch('EventTarget', function (global, Zone, api) {\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n }\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n patchClass('IntersectionObserver');\n patchClass('FileReader');\n});\nZone.__load_patch('on_property', function (global, Zone, api) {\n propertyDescriptorPatch(api, global);\n propertyPatch();\n registerElementPatch(global);\n});\nZone.__load_patch('canvas', function (global, Zone, api) {\n var HTMLCanvasElement = global['HTMLCanvasElement'];\n if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype &&\n HTMLCanvasElement.prototype.toBlob) {\n patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) {\n return { name: 'HTMLCanvasElement.toBlob', target: self, callbackIndex: 0, args: args };\n });\n }\n});\nZone.__load_patch('XHR', function (global, Zone, api) {\n // Treat XMLHTTPRequest as a macrotask.\n patchXHR(global);\n var XHR_TASK = zoneSymbol('xhrTask');\n var XHR_SYNC = zoneSymbol('xhrSync');\n var XHR_LISTENER = zoneSymbol('xhrListener');\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n function patchXHR(window) {\n function findPendingTask(target) {\n var pendingTask = target[XHR_TASK];\n return pendingTask;\n }\n var SYMBOL_ADDEVENTLISTENER = zoneSymbol('addEventListener');\n var SYMBOL_REMOVEEVENTLISTENER = zoneSymbol('removeEventListener');\n var oriAddListener = XMLHttpRequest.prototype[SYMBOL_ADDEVENTLISTENER];\n var oriRemoveListener = XMLHttpRequest.prototype[SYMBOL_REMOVEEVENTLISTENER];\n if (!oriAddListener) {\n var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n oriAddListener = XMLHttpRequestEventTarget.prototype[SYMBOL_ADDEVENTLISTENER];\n oriRemoveListener = XMLHttpRequestEventTarget.prototype[SYMBOL_REMOVEEVENTLISTENER];\n }\n }\n var READY_STATE_CHANGE = 'readystatechange';\n var SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n XMLHttpRequest[XHR_SCHEDULED] = false;\n var data = task.data;\n var target = data.target;\n // remove existing event listener\n var listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[SYMBOL_ADDEVENTLISTENER];\n oriRemoveListener = target[SYMBOL_REMOVEEVENTLISTENER];\n }\n if (listener) {\n oriRemoveListener.apply(target, [READY_STATE_CHANGE, listener]);\n }\n var newListener = target[XHR_LISTENER] = function () {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && XMLHttpRequest[XHR_SCHEDULED] && task.state === SCHEDULED) {\n task.invoke();\n }\n }\n };\n oriAddListener.apply(target, [READY_STATE_CHANGE, newListener]);\n var storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n XMLHttpRequest[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n return openNative.apply(self, args);\n }; });\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n var zone = Zone.current;\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n return zone.scheduleMacroTask(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n }\n }; });\n var STRING_TYPE = 'string';\n var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == STRING_TYPE) {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n }; });\n }\n});\nZone.__load_patch('geolocation', function (global, Zone, api) {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n});\nZone.__load_patch('PromiseRejectionEvent', function (global, Zone, api) {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n var eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(function (eventTask) {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n});\nZone.__load_patch('util', function (global, Zone, api) {\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/zone.js/dist/zone.js\n// module id = ../../../../zone.js/dist/zone.js\n// module chunks = polyfills"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/kotlin-source/src/main/resources/loc/scripts.bundle.js b/kotlin-source/src/main/resources/loc/scripts.bundle.js new file mode 100644 index 0000000..b977f96 --- /dev/null +++ b/kotlin-source/src/main/resources/loc/scripts.bundle.js @@ -0,0 +1,43 @@ +webpackJsonp(["scripts"],{ + +/***/ "../../../../raw-loader/index.js!../../../../jquery/dist/jquery.min.js": +/***/ (function(module, exports) { + +module.exports = "/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(a,b){\"use strict\";\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){\"use strict\";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement(\"script\");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q=\"3.2.1\",r=function(a,b){return new r.fn.init(a,b)},s=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=\"sizzle\"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(N),U=new RegExp(\"^\"+L+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L+\"|[*])\"),ATTR:new RegExp(\"^\"+M),PSEUDO:new RegExp(\"^\"+N),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),aa=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ca=function(a,b){return b?\"\\0\"===a?\"\\ufffd\":a.slice(0,-1)+\"\\\\\"+a.charCodeAt(a.length-1).toString(16)+\" \":\"\\\\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&(\"form\"in a||\"label\"in a)},{dir:\"parentNode\",next:\"legend\"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],\"string\"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+\" \"]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if(\"object\"!==b.nodeName.toLowerCase()){(k=b.getAttribute(\"id\"))?k=k.replace(ba,ca):b.setAttribute(\"id\",k=u),o=g(a),h=o.length;while(h--)o[h]=\"#\"+k+\" \"+sa(o[h]);r=o.join(\",\"),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute(\"id\")}}}return i(a.replace(P,\"$1\"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement(\"fieldset\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split(\"|\"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function oa(a){return function(b){return\"form\"in b?b.parentNode&&b.disabled===!1?\"label\"in b?\"label\"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:\"label\"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&\"undefined\"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&\"HTML\"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(\"unload\",da,!1):e.attachEvent&&e.attachEvent(\"onunload\",da)),c.attributes=ja(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute(\"id\")===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c=\"undefined\"!=typeof a.getAttributeNode&&a.getAttributeNode(\"id\");return c&&c.value===b}},d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode(\"id\"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return\"undefined\"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if(\"undefined\"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML=\"\",a.querySelectorAll(\"[msallowcapture^='']\").length&&q.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||q.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\"[id~=\"+u+\"-]\").length||q.push(\"~=\"),a.querySelectorAll(\":checked\").length||q.push(\":checked\"),a.querySelectorAll(\"a#\"+u+\"+*\").length||q.push(\".#.+[+~]\")}),ja(function(a){a.innerHTML=\"\";var b=n.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&q.push(\"name\"+K+\"*[*^$|!~]?=\"),2!==a.querySelectorAll(\":enabled\").length&&q.push(\":enabled\",\":disabled\"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(\":disabled\").length&&q.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),q.push(\",.*:\")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,\"*\"),s.call(a,\"[s!='']:x\"),r.push(\"!=\",N)}),q=q.length&&new RegExp(q.join(\"|\")),r=r.length&&new RegExp(r.join(\"|\")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,\"='$1']\"),c.matchesSelector&&p&&!A[b+\" \"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+\"\").replace(ba,ca)},ga.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||\"\").replace(_,aa),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||\"\":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&y(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||\"undefined\"!=typeof a.getAttribute&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?\"!=\"===b:!b||(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e.replace(O,\" \")+\" \").indexOf(c)>-1:\"|=\"===b&&(e===c||e.slice(0,c.length+1)===c+\"-\"))}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error(\"unsupported pseudo: \"+a);return e[u]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,\"$1\"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||\"\")||ga.error(\"unsupported lang: \"+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[\" \"],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:\" \"===a[i-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s=\"0\",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG(\"*\",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+\" \"];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m=\"function\"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split(\"\").sort(B).join(\"\")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement(\"fieldset\"))}),ja(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||ka(\"type|href|height|width\",function(a,b,c){if(!c)return a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||ka(\"value\",function(a,b,c){if(!c&&\"input\"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute(\"disabled\")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[\":\"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i,D=/^.[^:#\\[\\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):\"string\"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if(\"string\"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,\"string\"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,\"string\"==typeof a){if(e=\"<\"===a[0]&&\">\"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?\"string\"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,\"parentNode\")},parentsUntil:function(a,b,c){return y(a,\"parentNode\",c)},next:function(a){return K(a,\"nextSibling\")},prev:function(a){return K(a,\"previousSibling\")},nextAll:function(a){return y(a,\"nextSibling\")},prevAll:function(a){return y(a,\"previousSibling\")},nextUntil:function(a,b,c){return y(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return y(a,\"previousSibling\",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,\"iframe\")?a.contentDocument:(B(a,\"template\")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\\x20\\t\\r\\n\\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a=\"string\"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c=\"\",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=\"\"),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[[\"notify\",\"progress\",r.Callbacks(\"memory\"),r.Callbacks(\"memory\"),2],[\"resolve\",\"done\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",r.Callbacks(\"once memory\"),r.Callbacks(\"once memory\"),1,\"rejected\"]],d=\"pending\",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},\"catch\":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+\"With\"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+\"With\"](this===f?void 0:this,arguments),this},f[b[0]+\"With\"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),\"pending\"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn(\"jQuery.Deferred exception: \"+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)[\"catch\"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener(\"DOMContentLoaded\",S),\na.removeEventListener(\"load\",S),r.ready()}\"complete\"===d.readyState||\"loading\"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener(\"DOMContentLoaded\",S),a.addEventListener(\"load\",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if(\"object\"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||\"fx\")+\"queue\",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||\"fx\";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks(\"once memory\").add(function(){W.remove(a,[b+\"queue\",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.length\\x20\\t\\r\\n\\f]+)/i,la=/^$|\\/(?:java|ecma)script/i,ma={option:[1,\"\"],thead:[1,\"
IdApplicantAmountDescription
{{loc.id}}{{loc.applicant}}{{loc.amount}}{{loc.description}}
\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c=\"undefined\"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||\"*\"):\"undefined\"!=typeof a.querySelectorAll?a.querySelectorAll(b||\"*\"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),\"script\"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||\"\")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement(\"div\")),c=d.createElement(\"input\");c.setAttribute(\"type\",\"radio\"),c.setAttribute(\"checked\",\"checked\"),c.setAttribute(\"name\",\"t\"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML=\"\",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if(\"object\"==typeof b){\"string\"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(\"string\"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return\"undefined\"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(\".\")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||\"\").match(L)||[\"\"],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||\"\").split(\".\").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+o.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&(\"**\"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,\"handle events\")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,\"events\")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&(\"click\"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,Aa=/\\s*$/g;function Ea(a,b){return B(a,\"table\")&&B(11!==b.nodeType?b:b.firstChild,\"tr\")?r(\">tbody\",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute(\"type\"))+\"/\"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&\"string\"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,\"script\"),Fa),i=h.length;l\")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,\"script\")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent=\"\");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if(\"string\"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?\"\":\"px\")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,\"\"),b&&\"auto\"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:\"swing\"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e[\"margin\"+c]=e[\"padding\"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners[\"*\"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return\"undefined\"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+\"\"),c):e&&\"get\"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),\nnull==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&\"radio\"===b&&B(a,\"input\")){var c=a.value;return a.setAttribute(\"type\",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&\"set\"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&\"get\"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,\"tabindex\");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{\"for\":\"htmlFor\",\"class\":\"className\"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(\" \")}function qb(a){return a.getAttribute&&a.getAttribute(\"class\")||\"\"}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])d.indexOf(\" \"+f+\" \")<0&&(d+=f+\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr(\"class\",\"\");if(\"string\"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&\" \"+pb(e)+\" \"){g=0;while(f=b[g++])while(d.indexOf(\" \"+f+\" \")>-1)d=d.replace(\" \"+f+\" \",\" \");h=pb(d),e!==h&&c.setAttribute(\"class\",h)}}return this},toggleClass:function(a,b){var c=typeof a;return\"boolean\"==typeof b&&\"string\"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if(\"string\"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&\"boolean\"!==c||(b=qb(this),b&&W.set(this,\"__className__\",b),this.setAttribute&&this.setAttribute(\"class\",b||a===!1?\"\":W.get(this,\"__className__\")||\"\"))})},hasClass:function(a){var b,c,d=0;b=\" \"+a+\" \";while(c=this[d++])if(1===c.nodeType&&(\" \"+pb(qb(c))+\" \").indexOf(b)>-1)return!0;return!1}});var rb=/\\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e=\"\":\"number\"==typeof e?e+=\"\":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?\"\":a+\"\"})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&\"set\"in b&&void 0!==b.set(this,e,\"value\")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&\"get\"in b&&void 0!==(c=b.get(e,\"value\"))?c:(c=e.value,\"string\"==typeof c?c.replace(rb,\"\"):null==c?\"\":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,\"value\");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g=\"select-one\"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each([\"radio\",\"checkbox\"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute(\"value\")?\"on\":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,\"type\")?b.type:b,q=l.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(\".\")>-1&&(q=p.split(\".\"),p=q.shift(),q.sort()),k=p.indexOf(\":\")<0&&\"on\"+p,b=b[r.expando]?b:new r.Event(p,\"object\"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join(\".\"),b.rnamespace=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,\"events\")||{})[b.type]&&W.get(h,\"handle\"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin=\"onfocusin\"in a,o.focusin||r.each({focus:\"focusin\",blur:\"focusout\"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\\?/;r.parseXML=function(b){var c;if(!b||\"string\"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,\"text/xml\")}catch(d){c=void 0}return c&&!c.getElementsByTagName(\"parsererror\").length||r.error(\"Invalid XML: \"+b),c};var wb=/\\[\\]$/,xb=/\\r?\\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+\"[\"+(\"object\"==typeof e&&null!=e?b:\"\")+\"]\",e,c,d)});else if(c||\"object\"!==r.type(b))d(a,b);else for(e in b)Ab(a+\"[\"+e+\"]\",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+\"=\"+encodeURIComponent(null==c?\"\":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join(\"&\")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,\"elements\");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(\":disabled\")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,\"\\r\\n\")}}):{name:b.name,value:c.replace(xb,\"\\r\\n\")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\\/\\//,Ib={},Jb={},Kb=\"*/\".concat(\"*\"),Lb=d.createElement(\"a\");Lb.href=tb.href;function Mb(a){return function(b,c){\"string\"!=typeof b&&(c=b,b=\"*\");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])\"+\"===d[0]?(d=d.slice(1)||\"*\",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return\"string\"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e[\"*\"]&&g(\"*\")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while(\"*\"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader(\"Content-Type\"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+\" \"+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if(\"*\"===f)f=i;else if(\"*\"!==i&&i!==f){if(g=j[i+\" \"+f]||j[\"* \"+f],!g)for(e in j)if(h=e.split(\" \"),h[1]===f&&(g=j[i+\" \"+h[0]]||j[\"* \"+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a[\"throws\"])b=g(b);else try{b=g(b)}catch(l){return{state:\"parsererror\",error:g?l:\"No conversion from \"+i+\" to \"+f}}}return{state:\"success\",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:\"GET\",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Kb,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){\"object\"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks(\"once memory\"),u=o.statusCode||{},v={},w={},x=\"canceled\",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+\"\").replace(Hb,tb.protocol+\"//\"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||\"*\").toLowerCase().match(L)||[\"\"],null==o.crossDomain){j=d.createElement(\"a\");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+\"//\"+Lb.host!=j.protocol+\"//\"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&\"string\"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger(\"ajaxStart\"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,\"\"),o.hasContent?o.data&&o.processData&&0===(o.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(o.data=o.data.replace(Bb,\"+\")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?\"&\":\"?\")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,\"$1\"),n=(vb.test(f)?\"&\":\"?\")+\"_=\"+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader(\"If-Modified-Since\",r.lastModified[f]),r.etag[f]&&y.setRequestHeader(\"If-None-Match\",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader(\"Content-Type\",o.contentType),y.setRequestHeader(\"Accept\",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+(\"*\"!==o.dataTypes[0]?\", \"+Kb+\"; q=0.01\":\"\"):o.accepts[\"*\"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x=\"abort\",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger(\"ajaxSend\",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort(\"timeout\")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,\"No Transport\");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||\"\",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader(\"Last-Modified\"),w&&(r.lastModified[f]=w),w=y.getResponseHeader(\"etag\"),w&&(r.etag[f]=w)),204===b||\"HEAD\"===o.type?x=\"nocontent\":304===b?x=\"notmodified\":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x=\"error\",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+\"\",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?\"ajaxSuccess\":\"ajaxError\",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger(\"ajaxComplete\",[y,o]),--r.active||r.event.trigger(\"ajaxStop\")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,\"json\")},getScript:function(a,b){return r.get(a,void 0,b,\"script\")}}),r.each([\"get\",\"post\"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,\"throws\":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not(\"body\").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&\"withCredentials\"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e[\"X-Requested-With\"]||(e[\"X-Requested-With\"]=\"XMLHttpRequest\");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,\"abort\"===a?h.abort():\"error\"===a?\"number\"!=typeof h.status?f(0,\"error\"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,\"text\"!==(h.responseType||\"text\")||\"string\"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c(\"error\"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c(\"abort\");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter(\"script\",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type=\"GET\")}),r.ajaxTransport(\"script\",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r(\" + * + * + * + * + * + * @param {!string} ns The namespace of the class definition, leaving off "com.greensock." as that's assumed. For example, "TweenLite" or "plugins.CSSPlugin" or "easing.Back". + * @param {!Array.} dependencies An array of dependencies (described as their namespaces minus "com.greensock." prefix). For example ["TweenLite","plugins.TweenPlugin","core.Animation"] + * @param {!function():Object} func The function that should be called and passed the resolved dependencies which will return the actual class for this definition. + * @param {boolean=} global If true, the class will be added to the global scope (typically window unless you define a window.GreenSockGlobals object) + */ + Definition = function(ns, dependencies, func, global) { + this.sc = (_defLookup[ns]) ? _defLookup[ns].sc : []; //subclasses + _defLookup[ns] = this; + this.gsClass = null; + this.func = func; + var _classes = []; + this.check = function(init) { + var i = dependencies.length, + missing = i, + cur, a, n, cl; + while (--i > -1) { + if ((cur = _defLookup[dependencies[i]] || new Definition(dependencies[i], [])).gsClass) { + _classes[i] = cur.gsClass; + missing--; + } else if (init) { + cur.sc.push(this); + } + } + if (missing === 0 && func) { + a = ("com.greensock." + ns).split("."); + n = a.pop(); + cl = _namespace(a.join("."))[n] = this.gsClass = func.apply(func, _classes); + + //exports to multiple environments + if (global) { + _globals[n] = _exports[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.) + if (typeof(module) !== "undefined" && module.exports) { //node + if (ns === moduleName) { + module.exports = _exports[moduleName] = cl; + for (i in _exports) { + cl[i] = _exports[i]; + } + } else if (_exports[moduleName]) { + _exports[moduleName][n] = cl; + } + } else if (true){ //AMD + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return cl; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + } + for (i = 0; i < this.sc.length; i++) { + this.sc[i].check(); + } + } + }; + this.check(true); + }, + + //used to create Definition instances (which basically registers a class that has dependencies). + _gsDefine = window._gsDefine = function(ns, dependencies, func, global) { + return new Definition(ns, dependencies, func, global); + }, + + //a quick way to create a class that doesn't have any dependencies. Returns the class, but first registers it in the GreenSock namespace so that other classes can grab it (other classes might be dependent on the class). + _class = gs._class = function(ns, func, global) { + func = func || function() {}; + _gsDefine(ns, [], function(){ return func; }, global); + return func; + }; + + _gsDefine.globals = _globals; + + + +/* + * ---------------------------------------------------------------- + * Ease + * ---------------------------------------------------------------- + */ + var _baseParams = [0, 0, 1, 1], + Ease = _class("easing.Ease", function(func, extraParams, type, power) { + this._func = func; + this._type = type || 0; + this._power = power || 0; + this._params = extraParams ? _baseParams.concat(extraParams) : _baseParams; + }, true), + _easeMap = Ease.map = {}, + _easeReg = Ease.register = function(ease, names, types, create) { + var na = names.split(","), + i = na.length, + ta = (types || "easeIn,easeOut,easeInOut").split(","), + e, name, j, type; + while (--i > -1) { + name = na[i]; + e = create ? _class("easing."+name, null, true) : gs.easing[name] || {}; + j = ta.length; + while (--j > -1) { + type = ta[j]; + _easeMap[name + "." + type] = _easeMap[type + name] = e[type] = ease.getRatio ? ease : ease[type] || new ease(); + } + } + }; + + p = Ease.prototype; + p._calcEnd = false; + p.getRatio = function(p) { + if (this._func) { + this._params[0] = p; + return this._func.apply(null, this._params); + } + var t = this._type, + pw = this._power, + r = (t === 1) ? 1 - p : (t === 2) ? p : (p < 0.5) ? p * 2 : (1 - p) * 2; + if (pw === 1) { + r *= r; + } else if (pw === 2) { + r *= r * r; + } else if (pw === 3) { + r *= r * r * r; + } else if (pw === 4) { + r *= r * r * r * r; + } + return (t === 1) ? 1 - r : (t === 2) ? r : (p < 0.5) ? r / 2 : 1 - (r / 2); + }; + + //create all the standard eases like Linear, Quad, Cubic, Quart, Quint, Strong, Power0, Power1, Power2, Power3, and Power4 (each with easeIn, easeOut, and easeInOut) + a = ["Linear","Quad","Cubic","Quart","Quint,Strong"]; + i = a.length; + while (--i > -1) { + p = a[i]+",Power"+i; + _easeReg(new Ease(null,null,1,i), p, "easeOut", true); + _easeReg(new Ease(null,null,2,i), p, "easeIn" + ((i === 0) ? ",easeNone" : "")); + _easeReg(new Ease(null,null,3,i), p, "easeInOut"); + } + _easeMap.linear = gs.easing.Linear.easeIn; + _easeMap.swing = gs.easing.Quad.easeInOut; //for jQuery folks + + +/* + * ---------------------------------------------------------------- + * EventDispatcher + * ---------------------------------------------------------------- + */ + var EventDispatcher = _class("events.EventDispatcher", function(target) { + this._listeners = {}; + this._eventTarget = target || this; + }); + p = EventDispatcher.prototype; + + p.addEventListener = function(type, callback, scope, useParam, priority) { + priority = priority || 0; + var list = this._listeners[type], + index = 0, + listener, i; + if (this === _ticker && !_tickerActive) { + _ticker.wake(); + } + if (list == null) { + this._listeners[type] = list = []; + } + i = list.length; + while (--i > -1) { + listener = list[i]; + if (listener.c === callback && listener.s === scope) { + list.splice(i, 1); + } else if (index === 0 && listener.pr < priority) { + index = i + 1; + } + } + list.splice(index, 0, {c:callback, s:scope, up:useParam, pr:priority}); + }; + + p.removeEventListener = function(type, callback) { + var list = this._listeners[type], i; + if (list) { + i = list.length; + while (--i > -1) { + if (list[i].c === callback) { + list.splice(i, 1); + return; + } + } + } + }; + + p.dispatchEvent = function(type) { + var list = this._listeners[type], + i, t, listener; + if (list) { + i = list.length; + if (i > 1) { + list = list.slice(0); //in case addEventListener() is called from within a listener/callback (otherwise the index could change, resulting in a skip) + } + t = this._eventTarget; + while (--i > -1) { + listener = list[i]; + if (listener) { + if (listener.up) { + listener.c.call(listener.s || t, {type:type, target:t}); + } else { + listener.c.call(listener.s || t); + } + } + } + } + }; + + +/* + * ---------------------------------------------------------------- + * Ticker + * ---------------------------------------------------------------- + */ + var _reqAnimFrame = window.requestAnimationFrame, + _cancelAnimFrame = window.cancelAnimationFrame, + _getTime = Date.now || function() {return new Date().getTime();}, + _lastUpdate = _getTime(); + + //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill. + a = ["ms","moz","webkit","o"]; + i = a.length; + while (--i > -1 && !_reqAnimFrame) { + _reqAnimFrame = window[a[i] + "RequestAnimationFrame"]; + _cancelAnimFrame = window[a[i] + "CancelAnimationFrame"] || window[a[i] + "CancelRequestAnimationFrame"]; + } + + _class("Ticker", function(fps, useRAF) { + var _self = this, + _startTime = _getTime(), + _useRAF = (useRAF !== false && _reqAnimFrame) ? "auto" : false, + _lagThreshold = 500, + _adjustedLag = 33, + _tickWord = "tick", //helps reduce gc burden + _fps, _req, _id, _gap, _nextTime, + _tick = function(manual) { + var elapsed = _getTime() - _lastUpdate, + overlap, dispatch; + if (elapsed > _lagThreshold) { + _startTime += elapsed - _adjustedLag; + } + _lastUpdate += elapsed; + _self.time = (_lastUpdate - _startTime) / 1000; + overlap = _self.time - _nextTime; + if (!_fps || overlap > 0 || manual === true) { + _self.frame++; + _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap); + dispatch = true; + } + if (manual !== true) { //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise. + _id = _req(_tick); + } + if (dispatch) { + _self.dispatchEvent(_tickWord); + } + }; + + EventDispatcher.call(_self); + _self.time = _self.frame = 0; + _self.tick = function() { + _tick(true); + }; + + _self.lagSmoothing = function(threshold, adjustedLag) { + if (!arguments.length) { //if lagSmoothing() is called with no arguments, treat it like a getter that returns a boolean indicating if it's enabled or not. This is purposely undocumented and is for internal use. + return (_lagThreshold < 1 / _tinyNum); + } + _lagThreshold = threshold || (1 / _tinyNum); //zero should be interpreted as basically unlimited + _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0); + }; + + _self.sleep = function() { + if (_id == null) { + return; + } + if (!_useRAF || !_cancelAnimFrame) { + clearTimeout(_id); + } else { + _cancelAnimFrame(_id); + } + _req = _emptyFunc; + _id = null; + if (_self === _ticker) { + _tickerActive = false; + } + }; + + _self.wake = function(seamless) { + if (_id !== null) { + _self.sleep(); + } else if (seamless) { + _startTime += -_lastUpdate + (_lastUpdate = _getTime()); + } else if (_self.frame > 10) { //don't trigger lagSmoothing if we're just waking up, and make sure that at least 10 frames have elapsed because of the iOS bug that we work around below with the 1.5-second setTimout(). + _lastUpdate = _getTime() - _lagThreshold + 5; + } + _req = (_fps === 0) ? _emptyFunc : (!_useRAF || !_reqAnimFrame) ? function(f) { return setTimeout(f, ((_nextTime - _self.time) * 1000 + 1) | 0); } : _reqAnimFrame; + if (_self === _ticker) { + _tickerActive = true; + } + _tick(2); + }; + + _self.fps = function(value) { + if (!arguments.length) { + return _fps; + } + _fps = value; + _gap = 1 / (_fps || 60); + _nextTime = this.time + _gap; + _self.wake(); + }; + + _self.useRAF = function(value) { + if (!arguments.length) { + return _useRAF; + } + _self.sleep(); + _useRAF = value; + _self.fps(_fps); + }; + _self.fps(fps); + + //a bug in iOS 6 Safari occasionally prevents the requestAnimationFrame from working initially, so we use a 1.5-second timeout that automatically falls back to setTimeout() if it senses this condition. + setTimeout(function() { + if (_useRAF === "auto" && _self.frame < 5 && _doc.visibilityState !== "hidden") { + _self.useRAF(false); + } + }, 1500); + }); + + p = gs.Ticker.prototype = new gs.events.EventDispatcher(); + p.constructor = gs.Ticker; + + +/* + * ---------------------------------------------------------------- + * Animation + * ---------------------------------------------------------------- + */ + var Animation = _class("core.Animation", function(duration, vars) { + this.vars = vars = vars || {}; + this._duration = this._totalDuration = duration || 0; + this._delay = Number(vars.delay) || 0; + this._timeScale = 1; + this._active = (vars.immediateRender === true); + this.data = vars.data; + this._reversed = (vars.reversed === true); + + if (!_rootTimeline) { + return; + } + if (!_tickerActive) { //some browsers (like iOS 6 Safari) shut down JavaScript execution when the tab is disabled and they [occasionally] neglect to start up requestAnimationFrame again when returning - this code ensures that the engine starts up again properly. + _ticker.wake(); + } + + var tl = this.vars.useFrames ? _rootFramesTimeline : _rootTimeline; + tl.add(this, tl._time); + + if (this.vars.paused) { + this.paused(true); + } + }); + + _ticker = Animation.ticker = new gs.Ticker(); + p = Animation.prototype; + p._dirty = p._gc = p._initted = p._paused = false; + p._totalTime = p._time = 0; + p._rawPrevTime = -1; + p._next = p._last = p._onUpdate = p._timeline = p.timeline = null; + p._paused = false; + + + //some browsers (like iOS) occasionally drop the requestAnimationFrame event when the user switches to a different tab and then comes back again, so we use a 2-second setTimeout() to sense if/when that condition occurs and then wake() the ticker. + var _checkTimeout = function() { + if (_tickerActive && _getTime() - _lastUpdate > 2000 && (_doc.visibilityState !== "hidden" || !_ticker.lagSmoothing())) { //note: if the tab is hidden, we should still wake if lagSmoothing has been disabled. + _ticker.wake(); + } + var t = setTimeout(_checkTimeout, 2000); + if (t.unref) { + // allows a node process to exit even if the timeout’s callback hasn't been invoked. Without it, the node process could hang as this function is called every two seconds. + t.unref(); + } + }; + _checkTimeout(); + + + p.play = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.reversed(false).paused(false); + }; + + p.pause = function(atTime, suppressEvents) { + if (atTime != null) { + this.seek(atTime, suppressEvents); + } + return this.paused(true); + }; + + p.resume = function(from, suppressEvents) { + if (from != null) { + this.seek(from, suppressEvents); + } + return this.paused(false); + }; + + p.seek = function(time, suppressEvents) { + return this.totalTime(Number(time), suppressEvents !== false); + }; + + p.restart = function(includeDelay, suppressEvents) { + return this.reversed(false).paused(false).totalTime(includeDelay ? -this._delay : 0, (suppressEvents !== false), true); + }; + + p.reverse = function(from, suppressEvents) { + if (from != null) { + this.seek((from || this.totalDuration()), suppressEvents); + } + return this.reversed(true).paused(false); + }; + + p.render = function(time, suppressEvents, force) { + //stub - we override this method in subclasses. + }; + + p.invalidate = function() { + this._time = this._totalTime = 0; + this._initted = this._gc = false; + this._rawPrevTime = -1; + if (this._gc || !this.timeline) { + this._enabled(true); + } + return this; + }; + + p.isActive = function() { + var tl = this._timeline, //the 2 root timelines won't have a _timeline; they're always active. + startTime = this._startTime, + rawTime; + return (!tl || (!this._gc && !this._paused && tl.isActive() && (rawTime = tl.rawTime(true)) >= startTime && rawTime < startTime + this.totalDuration() / this._timeScale - 0.0000001)); + }; + + p._enabled = function (enabled, ignoreTimeline) { + if (!_tickerActive) { + _ticker.wake(); + } + this._gc = !enabled; + this._active = this.isActive(); + if (ignoreTimeline !== true) { + if (enabled && !this.timeline) { + this._timeline.add(this, this._startTime - this._delay); + } else if (!enabled && this.timeline) { + this._timeline._remove(this, true); + } + } + return false; + }; + + + p._kill = function(vars, target) { + return this._enabled(false, false); + }; + + p.kill = function(vars, target) { + this._kill(vars, target); + return this; + }; + + p._uncache = function(includeSelf) { + var tween = includeSelf ? this : this.timeline; + while (tween) { + tween._dirty = true; + tween = tween.timeline; + } + return this; + }; + + p._swapSelfInParams = function(params) { + var i = params.length, + copy = params.concat(); + while (--i > -1) { + if (params[i] === "{self}") { + copy[i] = this; + } + } + return copy; + }; + + p._callback = function(type) { + var v = this.vars, + callback = v[type], + params = v[type + "Params"], + scope = v[type + "Scope"] || v.callbackScope || this, + l = params ? params.length : 0; + switch (l) { //speed optimization; call() is faster than apply() so use it when there are only a few parameters (which is by far most common). Previously we simply did var v = this.vars; v[type].apply(v[type + "Scope"] || v.callbackScope || this, v[type + "Params"] || _blankArray); + case 0: callback.call(scope); break; + case 1: callback.call(scope, params[0]); break; + case 2: callback.call(scope, params[0], params[1]); break; + default: callback.apply(scope, params); + } + }; + +//----Animation getters/setters -------------------------------------------------------- + + p.eventCallback = function(type, callback, params, scope) { + if ((type || "").substr(0,2) === "on") { + var v = this.vars; + if (arguments.length === 1) { + return v[type]; + } + if (callback == null) { + delete v[type]; + } else { + v[type] = callback; + v[type + "Params"] = (_isArray(params) && params.join("").indexOf("{self}") !== -1) ? this._swapSelfInParams(params) : params; + v[type + "Scope"] = scope; + } + if (type === "onUpdate") { + this._onUpdate = callback; + } + } + return this; + }; + + p.delay = function(value) { + if (!arguments.length) { + return this._delay; + } + if (this._timeline.smoothChildTiming) { + this.startTime( this._startTime + value - this._delay ); + } + this._delay = value; + return this; + }; + + p.duration = function(value) { + if (!arguments.length) { + this._dirty = false; + return this._duration; + } + this._duration = this._totalDuration = value; + this._uncache(true); //true in case it's a TweenMax or TimelineMax that has a repeat - we'll need to refresh the totalDuration. + if (this._timeline.smoothChildTiming) if (this._time > 0) if (this._time < this._duration) if (value !== 0) { + this.totalTime(this._totalTime * (value / this._duration), true); + } + return this; + }; + + p.totalDuration = function(value) { + this._dirty = false; + return (!arguments.length) ? this._totalDuration : this.duration(value); + }; + + p.time = function(value, suppressEvents) { + if (!arguments.length) { + return this._time; + } + if (this._dirty) { + this.totalDuration(); + } + return this.totalTime((value > this._duration) ? this._duration : value, suppressEvents); + }; + + p.totalTime = function(time, suppressEvents, uncapped) { + if (!_tickerActive) { + _ticker.wake(); + } + if (!arguments.length) { + return this._totalTime; + } + if (this._timeline) { + if (time < 0 && !uncapped) { + time += this.totalDuration(); + } + if (this._timeline.smoothChildTiming) { + if (this._dirty) { + this.totalDuration(); + } + var totalDuration = this._totalDuration, + tl = this._timeline; + if (time > totalDuration && !uncapped) { + time = totalDuration; + } + this._startTime = (this._paused ? this._pauseTime : tl._time) - ((!this._reversed ? time : totalDuration - time) / this._timeScale); + if (!tl._dirty) { //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here. + this._uncache(false); + } + //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The startTime of that child would get pushed out, but one of the ancestors may have completed. + if (tl._timeline) { + while (tl._timeline) { + if (tl._timeline._time !== (tl._startTime + tl._totalTime) / tl._timeScale) { + tl.totalTime(tl._totalTime, true); + } + tl = tl._timeline; + } + } + } + if (this._gc) { + this._enabled(true, false); + } + if (this._totalTime !== time || this._duration === 0) { + if (_lazyTweens.length) { + _lazyRender(); + } + this.render(time, suppressEvents, false); + if (_lazyTweens.length) { //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render. + _lazyRender(); + } + } + } + return this; + }; + + p.progress = p.totalProgress = function(value, suppressEvents) { + var duration = this.duration(); + return (!arguments.length) ? (duration ? this._time / duration : this.ratio) : this.totalTime(duration * value, suppressEvents); + }; + + p.startTime = function(value) { + if (!arguments.length) { + return this._startTime; + } + if (value !== this._startTime) { + this._startTime = value; + if (this.timeline) if (this.timeline._sortChildren) { + this.timeline.add(this, value - this._delay); //ensures that any necessary re-sequencing of Animations in the timeline occurs to make sure the rendering order is correct. + } + } + return this; + }; + + p.endTime = function(includeRepeats) { + return this._startTime + ((includeRepeats != false) ? this.totalDuration() : this.duration()) / this._timeScale; + }; + + p.timeScale = function(value) { + if (!arguments.length) { + return this._timeScale; + } + var pauseTime, t; + value = value || _tinyNum; //can't allow zero because it'll throw the math off + if (this._timeline && this._timeline.smoothChildTiming) { + pauseTime = this._pauseTime; + t = (pauseTime || pauseTime === 0) ? pauseTime : this._timeline.totalTime(); + this._startTime = t - ((t - this._startTime) * this._timeScale / value); + } + this._timeScale = value; + t = this.timeline; + while (t && t.timeline) { //must update the duration/totalDuration of all ancestor timelines immediately in case in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though. + t._dirty = true; + t.totalDuration(); + t = t.timeline; + } + return this; + }; + + p.reversed = function(value) { + if (!arguments.length) { + return this._reversed; + } + if (value != this._reversed) { + this._reversed = value; + this.totalTime(((this._timeline && !this._timeline.smoothChildTiming) ? this.totalDuration() - this._totalTime : this._totalTime), true); + } + return this; + }; + + p.paused = function(value) { + if (!arguments.length) { + return this._paused; + } + var tl = this._timeline, + raw, elapsed; + if (value != this._paused) if (tl) { + if (!_tickerActive && !value) { + _ticker.wake(); + } + raw = tl.rawTime(); + elapsed = raw - this._pauseTime; + if (!value && tl.smoothChildTiming) { + this._startTime += elapsed; + this._uncache(false); + } + this._pauseTime = value ? raw : null; + this._paused = value; + this._active = this.isActive(); + if (!value && elapsed !== 0 && this._initted && this.duration()) { + raw = tl.smoothChildTiming ? this._totalTime : (raw - this._startTime) / this._timeScale; + this.render(raw, (raw === this._totalTime), true); //in case the target's properties changed via some other tween or manual update by the user, we should force a render. + } + } + if (this._gc && !value) { + this._enabled(true, false); + } + return this; + }; + + +/* + * ---------------------------------------------------------------- + * SimpleTimeline + * ---------------------------------------------------------------- + */ + var SimpleTimeline = _class("core.SimpleTimeline", function(vars) { + Animation.call(this, 0, vars); + this.autoRemoveChildren = this.smoothChildTiming = true; + }); + + p = SimpleTimeline.prototype = new Animation(); + p.constructor = SimpleTimeline; + p.kill()._gc = false; + p._first = p._last = p._recent = null; + p._sortChildren = false; + + p.add = p.insert = function(child, position, align, stagger) { + var prevTween, st; + child._startTime = Number(position || 0) + child._delay; + if (child._paused) if (this !== child._timeline) { //we only adjust the _pauseTime if it wasn't in this timeline already. Remember, sometimes a tween will be inserted again into the same timeline when its startTime is changed so that the tweens in the TimelineLite/Max are re-ordered properly in the linked list (so everything renders in the proper order). + child._pauseTime = child._startTime + ((this.rawTime() - child._startTime) / child._timeScale); + } + if (child.timeline) { + child.timeline._remove(child, true); //removes from existing timeline so that it can be properly added to this one. + } + child.timeline = child._timeline = this; + if (child._gc) { + child._enabled(true, true); + } + prevTween = this._last; + if (this._sortChildren) { + st = child._startTime; + while (prevTween && prevTween._startTime > st) { + prevTween = prevTween._prev; + } + } + if (prevTween) { + child._next = prevTween._next; + prevTween._next = child; + } else { + child._next = this._first; + this._first = child; + } + if (child._next) { + child._next._prev = child; + } else { + this._last = child; + } + child._prev = prevTween; + this._recent = child; + if (this._timeline) { + this._uncache(true); + } + return this; + }; + + p._remove = function(tween, skipDisable) { + if (tween.timeline === this) { + if (!skipDisable) { + tween._enabled(false, true); + } + + if (tween._prev) { + tween._prev._next = tween._next; + } else if (this._first === tween) { + this._first = tween._next; + } + if (tween._next) { + tween._next._prev = tween._prev; + } else if (this._last === tween) { + this._last = tween._prev; + } + tween._next = tween._prev = tween.timeline = null; + if (tween === this._recent) { + this._recent = this._last; + } + + if (this._timeline) { + this._uncache(true); + } + } + return this; + }; + + p.render = function(time, suppressEvents, force) { + var tween = this._first, + next; + this._totalTime = this._time = this._rawPrevTime = time; + while (tween) { + next = tween._next; //record it here because the value could change after rendering... + if (tween._active || (time >= tween._startTime && !tween._paused && !tween._gc)) { + if (!tween._reversed) { + tween.render((time - tween._startTime) * tween._timeScale, suppressEvents, force); + } else { + tween.render(((!tween._dirty) ? tween._totalDuration : tween.totalDuration()) - ((time - tween._startTime) * tween._timeScale), suppressEvents, force); + } + } + tween = next; + } + }; + + p.rawTime = function() { + if (!_tickerActive) { + _ticker.wake(); + } + return this._totalTime; + }; + +/* + * ---------------------------------------------------------------- + * TweenLite + * ---------------------------------------------------------------- + */ + var TweenLite = _class("TweenLite", function(target, duration, vars) { + Animation.call(this, duration, vars); + this.render = TweenLite.prototype.render; //speed optimization (avoid prototype lookup on this "hot" method) + + if (target == null) { + throw "Cannot tween a null target."; + } + + this.target = target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target; + + var isSelector = (target.jquery || (target.length && target !== window && target[0] && (target[0] === window || (target[0].nodeType && target[0].style && !target.nodeType)))), + overwrite = this.vars.overwrite, + i, targ, targets; + + this._overwrite = overwrite = (overwrite == null) ? _overwriteLookup[TweenLite.defaultOverwrite] : (typeof(overwrite) === "number") ? overwrite >> 0 : _overwriteLookup[overwrite]; + + if ((isSelector || target instanceof Array || (target.push && _isArray(target))) && typeof(target[0]) !== "number") { + this._targets = targets = _slice(target); //don't use Array.prototype.slice.call(target, 0) because that doesn't work in IE8 with a NodeList that's returned by querySelectorAll() + this._propLookup = []; + this._siblings = []; + for (i = 0; i < targets.length; i++) { + targ = targets[i]; + if (!targ) { + targets.splice(i--, 1); + continue; + } else if (typeof(targ) === "string") { + targ = targets[i--] = TweenLite.selector(targ); //in case it's an array of strings + if (typeof(targ) === "string") { + targets.splice(i+1, 1); //to avoid an endless loop (can't imagine why the selector would return a string, but just in case) + } + continue; + } else if (targ.length && targ !== window && targ[0] && (targ[0] === window || (targ[0].nodeType && targ[0].style && !targ.nodeType))) { //in case the user is passing in an array of selector objects (like jQuery objects), we need to check one more level and pull things out if necessary. Also note that elements pass all the criteria regarding length and the first child having style, so we must also check to ensure the target isn't an HTML node itself.\n\t\t\t\t\t\t\ttargets.splice(i--, 1);\n\t\t\t\t\t\t\tthis._targets = targets = targets.concat(_slice(targ));\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis._siblings[i] = _register(targ, this, false);\n\t\t\t\t\t\tif (overwrite === 1) if (this._siblings[i].length > 1) {\n\t\t\t\t\t\t\t_applyOverwrite(targ, this, null, 1, this._siblings[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tthis._propLookup = {};\n\t\t\t\t\tthis._siblings = _register(target, this, false);\n\t\t\t\t\tif (overwrite === 1) if (this._siblings.length > 1) {\n\t\t\t\t\t\t_applyOverwrite(target, this, null, 1, this._siblings);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.vars.immediateRender || (duration === 0 && this._delay === 0 && this.vars.immediateRender !== false)) {\n\t\t\t\t\tthis._time = -_tinyNum; //forces a render without having to set the render() \"force\" parameter to true because we want to allow lazying by default (using the \"force\" parameter always forces an immediate full render)\n\t\t\t\t\tthis.render(Math.min(0, -this._delay)); //in case delay is negative\n\t\t\t\t}\n\t\t\t}, true),\n\t\t\t_isSelector = function(v) {\n\t\t\t\treturn (v && v.length && v !== window && v[0] && (v[0] === window || (v[0].nodeType && v[0].style && !v.nodeType))); //we cannot check \"nodeType\" if the target is window from within an iframe, otherwise it will trigger a security error in some browsers like Firefox.\n\t\t\t},\n\t\t\t_autoCSS = function(vars, target) {\n\t\t\t\tvar css = {},\n\t\t\t\t\tp;\n\t\t\t\tfor (p in vars) {\n\t\t\t\t\tif (!_reservedProps[p] && (!(p in target) || p === \"transform\" || p === \"x\" || p === \"y\" || p === \"width\" || p === \"height\" || p === \"className\" || p === \"border\") && (!_plugins[p] || (_plugins[p] && _plugins[p]._autoCSS))) { //note: elements contain read-only \"x\" and \"y\" properties. We should also prioritize editing css width/height rather than the element's properties.\n\t\t\t\t\t\tcss[p] = vars[p];\n\t\t\t\t\t\tdelete vars[p];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvars.css = css;\n\t\t\t};\n\n\t\tp = TweenLite.prototype = new Animation();\n\t\tp.constructor = TweenLite;\n\t\tp.kill()._gc = false;\n\n//----TweenLite defaults, overwrite management, and root updates ----------------------------------------------------\n\n\t\tp.ratio = 0;\n\t\tp._firstPT = p._targets = p._overwrittenProps = p._startAt = null;\n\t\tp._notifyPluginsOfEnabled = p._lazy = false;\n\n\t\tTweenLite.version = \"1.20.3\";\n\t\tTweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);\n\t\tTweenLite.defaultOverwrite = \"auto\";\n\t\tTweenLite.ticker = _ticker;\n\t\tTweenLite.autoSleep = 120;\n\t\tTweenLite.lagSmoothing = function(threshold, adjustedLag) {\n\t\t\t_ticker.lagSmoothing(threshold, adjustedLag);\n\t\t};\n\n\t\tTweenLite.selector = window.$ || window.jQuery || function(e) {\n\t\t\tvar selector = window.$ || window.jQuery;\n\t\t\tif (selector) {\n\t\t\t\tTweenLite.selector = selector;\n\t\t\t\treturn selector(e);\n\t\t\t}\n\t\t\treturn (typeof(_doc) === \"undefined\") ? e : (_doc.querySelectorAll ? _doc.querySelectorAll(e) : _doc.getElementById((e.charAt(0) === \"#\") ? e.substr(1) : e));\n\t\t};\n\n\t\tvar _lazyTweens = [],\n\t\t\t_lazyLookup = {},\n\t\t\t_numbersExp = /(?:(-|-=|\\+=)?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[0-9]/ig,\n\t\t\t_relExp = /[\\+-]=-?[\\.\\d]/,\n\t\t\t//_nonNumbersExp = /(?:([\\-+](?!(\\d|=)))|[^\\d\\-+=e]|(e(?![\\-+][\\d])))+/ig,\n\t\t\t_setRatio = function(v) {\n\t\t\t\tvar pt = this._firstPT,\n\t\t\t\t\tmin = 0.000001,\n\t\t\t\t\tval;\n\t\t\t\twhile (pt) {\n\t\t\t\t\tval = !pt.blob ? pt.c * v + pt.s : (v === 1 && this.end != null) ? this.end : v ? this.join(\"\") : this.start;\n\t\t\t\t\tif (pt.m) {\n\t\t\t\t\t\tval = pt.m(val, this._target || pt.t);\n\t\t\t\t\t} else if (val < min) if (val > -min && !pt.blob) { //prevents issues with converting very small numbers to strings in the browser\n\t\t\t\t\t\tval = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif (!pt.f) {\n\t\t\t\t\t\tpt.t[pt.p] = val;\n\t\t\t\t\t} else if (pt.fp) {\n\t\t\t\t\t\tpt.t[pt.p](pt.fp, val);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.t[pt.p](val);\n\t\t\t\t\t}\n\t\t\t\t\tpt = pt._next;\n\t\t\t\t}\n\t\t\t},\n\t\t\t//compares two strings (start/end), finds the numbers that are different and spits back an array representing the whole value but with the changing values isolated as elements. For example, \"rgb(0,0,0)\" and \"rgb(100,50,0)\" would become [\"rgb(\", 0, \",\", 50, \",0)\"]. Notice it merges the parts that are identical (performance optimization). The array also has a linked list of PropTweens attached starting with _firstPT that contain the tweening data (t, p, s, c, f, etc.). It also stores the starting value as a \"start\" property so that we can revert to it if/when necessary, like when a tween rewinds fully. If the quantity of numbers differs between the start and end, it will always prioritize the end value(s). The pt parameter is optional - it's for a PropTween that will be appended to the end of the linked list and is typically for actually setting the value after all of the elements have been updated (with array.join(\"\")).\n\t\t\t_blobDif = function(start, end, filter, pt) {\n\t\t\t\tvar a = [],\n\t\t\t\t\tcharIndex = 0,\n\t\t\t\t\ts = \"\",\n\t\t\t\t\tcolor = 0,\n\t\t\t\t\tstartNums, endNums, num, i, l, nonNumbers, currentNum;\n\t\t\t\ta.start = start;\n\t\t\t\ta.end = end;\n\t\t\t\tstart = a[0] = start + \"\"; //ensure values are strings\n\t\t\t\tend = a[1] = end + \"\";\n\t\t\t\tif (filter) {\n\t\t\t\t\tfilter(a); //pass an array with the starting and ending values and let the filter do whatever it needs to the values.\n\t\t\t\t\tstart = a[0];\n\t\t\t\t\tend = a[1];\n\t\t\t\t}\n\t\t\t\ta.length = 0;\n\t\t\t\tstartNums = start.match(_numbersExp) || [];\n\t\t\t\tendNums = end.match(_numbersExp) || [];\n\t\t\t\tif (pt) {\n\t\t\t\t\tpt._next = null;\n\t\t\t\t\tpt.blob = 1;\n\t\t\t\t\ta._firstPT = a._applyPT = pt; //apply last in the linked list (which means inserting it first)\n\t\t\t\t}\n\t\t\t\tl = endNums.length;\n\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\tcurrentNum = endNums[i];\n\t\t\t\t\tnonNumbers = end.substr(charIndex, end.indexOf(currentNum, charIndex)-charIndex);\n\t\t\t\t\ts += (nonNumbers || !i) ? nonNumbers : \",\"; //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.\n\t\t\t\t\tcharIndex += nonNumbers.length;\n\t\t\t\t\tif (color) { //sense rgba() values and round them.\n\t\t\t\t\t\tcolor = (color + 1) % 5;\n\t\t\t\t\t} else if (nonNumbers.substr(-5) === \"rgba(\") {\n\t\t\t\t\t\tcolor = 1;\n\t\t\t\t\t}\n\t\t\t\t\tif (currentNum === startNums[i] || startNums.length <= i) {\n\t\t\t\t\t\ts += currentNum;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (s) {\n\t\t\t\t\t\t\ta.push(s);\n\t\t\t\t\t\t\ts = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnum = parseFloat(startNums[i]);\n\t\t\t\t\t\ta.push(num);\n\t\t\t\t\t\ta._firstPT = {_next: a._firstPT, t:a, p: a.length-1, s:num, c:((currentNum.charAt(1) === \"=\") ? parseInt(currentNum.charAt(0) + \"1\", 10) * parseFloat(currentNum.substr(2)) : (parseFloat(currentNum) - num)) || 0, f:0, m:(color && color < 4) ? Math.round : 0};\n\t\t\t\t\t\t//note: we don't set _prev because we'll never need to remove individual PropTweens from this list.\n\t\t\t\t\t}\n\t\t\t\t\tcharIndex += currentNum.length;\n\t\t\t\t}\n\t\t\t\ts += end.substr(charIndex);\n\t\t\t\tif (s) {\n\t\t\t\t\ta.push(s);\n\t\t\t\t}\n\t\t\t\ta.setRatio = _setRatio;\n\t\t\t\tif (_relExp.test(end)) { //if the end string contains relative values, delete it so that on the final render (in _setRatio()), we don't actually set it to the string with += or -= characters (forces it to use the calculated value).\n\t\t\t\t\ta.end = null;\n\t\t\t\t}\n\t\t\t\treturn a;\n\t\t\t},\n\t\t\t//note: \"funcParam\" is only necessary for function-based getters/setters that require an extra parameter like getAttribute(\"width\") and setAttribute(\"width\", value). In this example, funcParam would be \"width\". Used by AttrPlugin for example.\n\t\t\t_addPropTween = function(target, prop, start, end, overwriteProp, mod, funcParam, stringFilter, index) {\n\t\t\t\tif (typeof(end) === \"function\") {\n\t\t\t\t\tend = end(index || 0, target);\n\t\t\t\t}\n\t\t\t\tvar type = typeof(target[prop]),\n\t\t\t\t\tgetterName = (type !== \"function\") ? \"\" : ((prop.indexOf(\"set\") || typeof(target[\"get\" + prop.substr(3)]) !== \"function\") ? prop : \"get\" + prop.substr(3)),\n\t\t\t\t\ts = (start !== \"get\") ? start : !getterName ? target[prop] : funcParam ? target[getterName](funcParam) : target[getterName](),\n\t\t\t\t\tisRelative = (typeof(end) === \"string\" && end.charAt(1) === \"=\"),\n\t\t\t\t\tpt = {t:target, p:prop, s:s, f:(type === \"function\"), pg:0, n:overwriteProp || prop, m:(!mod ? 0 : (typeof(mod) === \"function\") ? mod : Math.round), pr:0, c:isRelative ? parseInt(end.charAt(0) + \"1\", 10) * parseFloat(end.substr(2)) : (parseFloat(end) - s) || 0},\n\t\t\t\t\tblob;\n\n\t\t\t\tif (typeof(s) !== \"number\" || (typeof(end) !== \"number\" && !isRelative)) {\n\t\t\t\t\tif (funcParam || isNaN(s) || (!isRelative && isNaN(end)) || typeof(s) === \"boolean\" || typeof(end) === \"boolean\") {\n\t\t\t\t\t\t//a blob (string that has multiple numbers in it)\n\t\t\t\t\t\tpt.fp = funcParam;\n\t\t\t\t\t\tblob = _blobDif(s, (isRelative ? parseFloat(pt.s) + pt.c : end), stringFilter || TweenLite.defaultStringFilter, pt);\n\t\t\t\t\t\tpt = {t: blob, p: \"setRatio\", s: 0, c: 1, f: 2, pg: 0, n: overwriteProp || prop, pr: 0, m: 0}; //\"2\" indicates it's a Blob property tween. Needed for RoundPropsPlugin for example.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.s = parseFloat(s);\n\t\t\t\t\t\tif (!isRelative) {\n\t\t\t\t\t\t\tpt.c = (parseFloat(end) - pt.s) || 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (pt.c) { //only add it to the linked list if there's a change.\n\t\t\t\t\tif ((pt._next = this._firstPT)) {\n\t\t\t\t\t\tpt._next._prev = pt;\n\t\t\t\t\t}\n\t\t\t\t\tthis._firstPT = pt;\n\t\t\t\t\treturn pt;\n\t\t\t\t}\n\t\t\t},\n\t\t\t_internals = TweenLite._internals = {isArray:_isArray, isSelector:_isSelector, lazyTweens:_lazyTweens, blobDif:_blobDif}, //gives us a way to expose certain private values to other GreenSock classes without contaminating tha main TweenLite object.\n\t\t\t_plugins = TweenLite._plugins = {},\n\t\t\t_tweenLookup = _internals.tweenLookup = {},\n\t\t\t_tweenLookupNum = 0,\n\t\t\t_reservedProps = _internals.reservedProps = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, onCompleteScope:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, onUpdateScope:1, onStart:1, onStartParams:1, onStartScope:1, onReverseComplete:1, onReverseCompleteParams:1, onReverseCompleteScope:1, onRepeat:1, onRepeatParams:1, onRepeatScope:1, easeParams:1, yoyo:1, immediateRender:1, repeat:1, repeatDelay:1, data:1, paused:1, reversed:1, autoCSS:1, lazy:1, onOverwrite:1, callbackScope:1, stringFilter:1, id:1, yoyoEase:1},\n\t\t\t_overwriteLookup = {none:0, all:1, auto:2, concurrent:3, allOnStart:4, preexisting:5, \"true\":1, \"false\":0},\n\t\t\t_rootFramesTimeline = Animation._rootFramesTimeline = new SimpleTimeline(),\n\t\t\t_rootTimeline = Animation._rootTimeline = new SimpleTimeline(),\n\t\t\t_nextGCFrame = 30,\n\t\t\t_lazyRender = _internals.lazyRender = function() {\n\t\t\t\tvar i = _lazyTweens.length,\n\t\t\t\t\ttween;\n\t\t\t\t_lazyLookup = {};\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ttween = _lazyTweens[i];\n\t\t\t\t\tif (tween && tween._lazy !== false) {\n\t\t\t\t\t\ttween.render(tween._lazy[0], tween._lazy[1], true);\n\t\t\t\t\t\ttween._lazy = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_lazyTweens.length = 0;\n\t\t\t};\n\n\t\t_rootTimeline._startTime = _ticker.time;\n\t\t_rootFramesTimeline._startTime = _ticker.frame;\n\t\t_rootTimeline._active = _rootFramesTimeline._active = true;\n\t\tsetTimeout(_lazyRender, 1); //on some mobile devices, there isn't a \"tick\" before code runs which means any lazy renders wouldn't run before the next official \"tick\".\n\n\t\tAnimation._updateRoot = TweenLite.render = function() {\n\t\t\t\tvar i, a, p;\n\t\t\t\tif (_lazyTweens.length) { //if code is run outside of the requestAnimationFrame loop, there may be tweens queued AFTER the engine refreshed, so we need to ensure any pending renders occur before we refresh again.\n\t\t\t\t\t_lazyRender();\n\t\t\t\t}\n\t\t\t\t_rootTimeline.render((_ticker.time - _rootTimeline._startTime) * _rootTimeline._timeScale, false, false);\n\t\t\t\t_rootFramesTimeline.render((_ticker.frame - _rootFramesTimeline._startTime) * _rootFramesTimeline._timeScale, false, false);\n\t\t\t\tif (_lazyTweens.length) {\n\t\t\t\t\t_lazyRender();\n\t\t\t\t}\n\t\t\t\tif (_ticker.frame >= _nextGCFrame) { //dump garbage every 120 frames or whatever the user sets TweenLite.autoSleep to\n\t\t\t\t\t_nextGCFrame = _ticker.frame + (parseInt(TweenLite.autoSleep, 10) || 120);\n\t\t\t\t\tfor (p in _tweenLookup) {\n\t\t\t\t\t\ta = _tweenLookup[p].tweens;\n\t\t\t\t\t\ti = a.length;\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tif (a[i]._gc) {\n\t\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (a.length === 0) {\n\t\t\t\t\t\t\tdelete _tweenLookup[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//if there are no more tweens in the root timelines, or if they're all paused, make the _timer sleep to reduce load on the CPU slightly\n\t\t\t\t\tp = _rootTimeline._first;\n\t\t\t\t\tif (!p || p._paused) if (TweenLite.autoSleep && !_rootFramesTimeline._first && _ticker._listeners.tick.length === 1) {\n\t\t\t\t\t\twhile (p && p._paused) {\n\t\t\t\t\t\t\tp = p._next;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!p) {\n\t\t\t\t\t\t\t_ticker.sleep();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t_ticker.addEventListener(\"tick\", Animation._updateRoot);\n\n\t\tvar _register = function(target, tween, scrub) {\n\t\t\t\tvar id = target._gsTweenID, a, i;\n\t\t\t\tif (!_tweenLookup[id || (target._gsTweenID = id = \"t\" + (_tweenLookupNum++))]) {\n\t\t\t\t\t_tweenLookup[id] = {target:target, tweens:[]};\n\t\t\t\t}\n\t\t\t\tif (tween) {\n\t\t\t\t\ta = _tweenLookup[id].tweens;\n\t\t\t\t\ta[(i = a.length)] = tween;\n\t\t\t\t\tif (scrub) {\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tif (a[i] === tween) {\n\t\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn _tweenLookup[id].tweens;\n\t\t\t},\n\t\t\t_onOverwrite = function(overwrittenTween, overwritingTween, target, killedProps) {\n\t\t\t\tvar func = overwrittenTween.vars.onOverwrite, r1, r2;\n\t\t\t\tif (func) {\n\t\t\t\t\tr1 = func(overwrittenTween, overwritingTween, target, killedProps);\n\t\t\t\t}\n\t\t\t\tfunc = TweenLite.onOverwrite;\n\t\t\t\tif (func) {\n\t\t\t\t\tr2 = func(overwrittenTween, overwritingTween, target, killedProps);\n\t\t\t\t}\n\t\t\t\treturn (r1 !== false && r2 !== false);\n\t\t\t},\n\t\t\t_applyOverwrite = function(target, tween, props, mode, siblings) {\n\t\t\t\tvar i, changed, curTween, l;\n\t\t\t\tif (mode === 1 || mode >= 4) {\n\t\t\t\t\tl = siblings.length;\n\t\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\t\tif ((curTween = siblings[i]) !== tween) {\n\t\t\t\t\t\t\tif (!curTween._gc) {\n\t\t\t\t\t\t\t\tif (curTween._kill(null, target, tween)) {\n\t\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (mode === 5) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn changed;\n\t\t\t\t}\n\t\t\t\t//NOTE: Add 0.0000000001 to overcome floating point errors that can cause the startTime to be VERY slightly off (when a tween's time() is set for example)\n\t\t\t\tvar startTime = tween._startTime + _tinyNum,\n\t\t\t\t\toverlaps = [],\n\t\t\t\t\toCount = 0,\n\t\t\t\t\tzeroDur = (tween._duration === 0),\n\t\t\t\t\tglobalStart;\n\t\t\t\ti = siblings.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif ((curTween = siblings[i]) === tween || curTween._gc || curTween._paused) {\n\t\t\t\t\t\t//ignore\n\t\t\t\t\t} else if (curTween._timeline !== tween._timeline) {\n\t\t\t\t\t\tglobalStart = globalStart || _checkOverlap(tween, 0, zeroDur);\n\t\t\t\t\t\tif (_checkOverlap(curTween, globalStart, zeroDur) === 0) {\n\t\t\t\t\t\t\toverlaps[oCount++] = curTween;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (curTween._startTime <= startTime) if (curTween._startTime + curTween.totalDuration() / curTween._timeScale > startTime) if (!((zeroDur || !curTween._initted) && startTime - curTween._startTime <= 0.0000000002)) {\n\t\t\t\t\t\toverlaps[oCount++] = curTween;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ti = oCount;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tcurTween = overlaps[i];\n\t\t\t\t\tif (mode === 2) if (curTween._kill(props, target, tween)) {\n\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (mode !== 2 || (!curTween._firstPT && curTween._initted)) {\n\t\t\t\t\t\tif (mode !== 2 && !_onOverwrite(curTween, tween)) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (curTween._enabled(false, false)) { //if all property tweens have been overwritten, kill the tween.\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn changed;\n\t\t\t},\n\t\t\t_checkOverlap = function(tween, reference, zeroDur) {\n\t\t\t\tvar tl = tween._timeline,\n\t\t\t\t\tts = tl._timeScale,\n\t\t\t\t\tt = tween._startTime;\n\t\t\t\twhile (tl._timeline) {\n\t\t\t\t\tt += tl._startTime;\n\t\t\t\t\tts *= tl._timeScale;\n\t\t\t\t\tif (tl._paused) {\n\t\t\t\t\t\treturn -100;\n\t\t\t\t\t}\n\t\t\t\t\ttl = tl._timeline;\n\t\t\t\t}\n\t\t\t\tt /= ts;\n\t\t\t\treturn (t > reference) ? t - reference : ((zeroDur && t === reference) || (!tween._initted && t - reference < 2 * _tinyNum)) ? _tinyNum : ((t += tween.totalDuration() / tween._timeScale / ts) > reference + _tinyNum) ? 0 : t - reference - _tinyNum;\n\t\t\t};\n\n\n//---- TweenLite instance methods -----------------------------------------------------------------------------\n\n\t\tp._init = function() {\n\t\t\tvar v = this.vars,\n\t\t\t\top = this._overwrittenProps,\n\t\t\t\tdur = this._duration,\n\t\t\t\timmediate = !!v.immediateRender,\n\t\t\t\tease = v.ease,\n\t\t\t\ti, initPlugins, pt, p, startVars, l;\n\t\t\tif (v.startAt) {\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tthis._startAt.render(-1, true); //if we've run a startAt previously (when the tween instantiated), we should revert it so that the values re-instantiate correctly particularly for relative tweens. Without this, a TweenLite.fromTo(obj, 1, {x:\"+=100\"}, {x:\"-=100\"}), for example, would actually jump to +=200 because the startAt would run twice, doubling the relative change.\n\t\t\t\t\tthis._startAt.kill();\n\t\t\t\t}\n\t\t\t\tstartVars = {};\n\t\t\t\tfor (p in v.startAt) { //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, 1, from, to).fromTo(e, 1, to, from);\n\t\t\t\t\tstartVars[p] = v.startAt[p];\n\t\t\t\t}\n\t\t\t\tstartVars.data = \"isStart\";\n\t\t\t\tstartVars.overwrite = false;\n\t\t\t\tstartVars.immediateRender = true;\n\t\t\t\tstartVars.lazy = (immediate && v.lazy !== false);\n\t\t\t\tstartVars.startAt = startVars.delay = null; //no nesting of startAt objects allowed (otherwise it could cause an infinite loop).\n\t\t\t\tstartVars.onUpdate = v.onUpdate;\n\t\t\t\tstartVars.onUpdateParams = v.onUpdateParams;\n\t\t\t\tstartVars.onUpdateScope = v.onUpdateScope || v.callbackScope || this;\n\t\t\t\tthis._startAt = TweenLite.to(this.target, 0, startVars);\n\t\t\t\tif (immediate) {\n\t\t\t\t\tif (this._time > 0) {\n\t\t\t\t\t\tthis._startAt = null; //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in TimelineLite/Max instances where immediateRender was false (which is the default in the convenience methods like from()).\n\t\t\t\t\t} else if (dur !== 0) {\n\t\t\t\t\t\treturn; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a TimelineLite or TimelineMax, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (v.runBackwards && dur !== 0) {\n\t\t\t\t//from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tthis._startAt.render(-1, true);\n\t\t\t\t\tthis._startAt.kill();\n\t\t\t\t\tthis._startAt = null;\n\t\t\t\t} else {\n\t\t\t\t\tif (this._time !== 0) { //in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0\n\t\t\t\t\t\timmediate = false;\n\t\t\t\t\t}\n\t\t\t\t\tpt = {};\n\t\t\t\t\tfor (p in v) { //copy props into a new object and skip any reserved props, otherwise onComplete or onUpdate or onStart could fire. We should, however, permit autoCSS to go through.\n\t\t\t\t\t\tif (!_reservedProps[p] || p === \"autoCSS\") {\n\t\t\t\t\t\t\tpt[p] = v[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpt.overwrite = 0;\n\t\t\t\t\tpt.data = \"isFromStart\"; //we tag the tween with as \"isFromStart\" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a \"from()\" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:\"height\", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.\n\t\t\t\t\tpt.lazy = (immediate && v.lazy !== false);\n\t\t\t\t\tpt.immediateRender = immediate; //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)\n\t\t\t\t\tthis._startAt = TweenLite.to(this.target, 0, pt);\n\t\t\t\t\tif (!immediate) {\n\t\t\t\t\t\tthis._startAt._init(); //ensures that the initial values are recorded\n\t\t\t\t\t\tthis._startAt._enabled(false); //no need to have the tween render on the next cycle. Disable it because we'll always manually control the renders of the _startAt tween.\n\t\t\t\t\t\tif (this.vars.immediateRender) {\n\t\t\t\t\t\t\tthis._startAt = null;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (this._time === 0) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._ease = ease = (!ease) ? TweenLite.defaultEase : (ease instanceof Ease) ? ease : (typeof(ease) === \"function\") ? new Ease(ease, v.easeParams) : _easeMap[ease] || TweenLite.defaultEase;\n\t\t\tif (v.easeParams instanceof Array && ease.config) {\n\t\t\t\tthis._ease = ease.config.apply(ease, v.easeParams);\n\t\t\t}\n\t\t\tthis._easeType = this._ease._type;\n\t\t\tthis._easePower = this._ease._power;\n\t\t\tthis._firstPT = null;\n\n\t\t\tif (this._targets) {\n\t\t\t\tl = this._targets.length;\n\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\tif ( this._initProps( this._targets[i], (this._propLookup[i] = {}), this._siblings[i], (op ? op[i] : null), i) ) {\n\t\t\t\t\t\tinitPlugins = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tinitPlugins = this._initProps(this.target, this._propLookup, this._siblings, op, 0);\n\t\t\t}\n\n\t\t\tif (initPlugins) {\n\t\t\t\tTweenLite._onPluginEvent(\"_onInitAllProps\", this); //reorders the array in order of priority. Uses a static TweenPlugin method in order to minimize file size in TweenLite\n\t\t\t}\n\t\t\tif (op) if (!this._firstPT) if (typeof(this.target) !== \"function\") { //if all tweening properties have been overwritten, kill the tween. If the target is a function, it's probably a delayedCall so let it live.\n\t\t\t\tthis._enabled(false, false);\n\t\t\t}\n\t\t\tif (v.runBackwards) {\n\t\t\t\tpt = this._firstPT;\n\t\t\t\twhile (pt) {\n\t\t\t\t\tpt.s += pt.c;\n\t\t\t\t\tpt.c = -pt.c;\n\t\t\t\t\tpt = pt._next;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._onUpdate = v.onUpdate;\n\t\t\tthis._initted = true;\n\t\t};\n\n\t\tp._initProps = function(target, propLookup, siblings, overwrittenProps, index) {\n\t\t\tvar p, i, initPlugins, plugin, pt, v;\n\t\t\tif (target == null) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (_lazyLookup[target._gsTweenID]) {\n\t\t\t\t_lazyRender(); //if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)\n\t\t\t}\n\n\t\t\tif (!this.vars.css) if (target.style) if (target !== window && target.nodeType) if (_plugins.css) if (this.vars.autoCSS !== false) { //it's so common to use TweenLite/Max to animate the css of DOM elements, we assume that if the target is a DOM element, that's what is intended (a convenience so that users don't have to wrap things in css:{}, although we still recommend it for a slight performance boost and better specificity). Note: we cannot check \"nodeType\" on the window inside an iframe.\n\t\t\t\t_autoCSS(this.vars, target);\n\t\t\t}\n\t\t\tfor (p in this.vars) {\n\t\t\t\tv = this.vars[p];\n\t\t\t\tif (_reservedProps[p]) {\n\t\t\t\t\tif (v) if ((v instanceof Array) || (v.push && _isArray(v))) if (v.join(\"\").indexOf(\"{self}\") !== -1) {\n\t\t\t\t\t\tthis.vars[p] = v = this._swapSelfInParams(v, this);\n\t\t\t\t\t}\n\n\t\t\t\t} else if (_plugins[p] && (plugin = new _plugins[p]())._onInitTween(target, this.vars[p], this, index)) {\n\n\t\t\t\t\t//t - target \t\t[object]\n\t\t\t\t\t//p - property \t\t[string]\n\t\t\t\t\t//s - start\t\t\t[number]\n\t\t\t\t\t//c - change\t\t[number]\n\t\t\t\t\t//f - isFunction\t[boolean]\n\t\t\t\t\t//n - name\t\t\t[string]\n\t\t\t\t\t//pg - isPlugin \t[boolean]\n\t\t\t\t\t//pr - priority\t\t[number]\n\t\t\t\t\t//m - mod [function | 0]\n\t\t\t\t\tthis._firstPT = pt = {_next:this._firstPT, t:plugin, p:\"setRatio\", s:0, c:1, f:1, n:p, pg:1, pr:plugin._priority, m:0};\n\t\t\t\t\ti = plugin._overwriteProps.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tpropLookup[plugin._overwriteProps[i]] = this._firstPT;\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin._priority || plugin._onInitAllProps) {\n\t\t\t\t\t\tinitPlugins = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin._onDisable || plugin._onEnable) {\n\t\t\t\t\t\tthis._notifyPluginsOfEnabled = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\tpt._next._prev = pt;\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tpropLookup[p] = _addPropTween.call(this, target, p, \"get\", v, p, 0, null, this.vars.stringFilter, index);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (overwrittenProps) if (this._kill(overwrittenProps, target)) { //another tween may have tried to overwrite properties of this tween before init() was called (like if two tweens start at the same time, the one created second will run first)\n\t\t\t\treturn this._initProps(target, propLookup, siblings, overwrittenProps, index);\n\t\t\t}\n\t\t\tif (this._overwrite > 1) if (this._firstPT) if (siblings.length > 1) if (_applyOverwrite(target, this, propLookup, this._overwrite, siblings)) {\n\t\t\t\tthis._kill(propLookup, target);\n\t\t\t\treturn this._initProps(target, propLookup, siblings, overwrittenProps, index);\n\t\t\t}\n\t\t\tif (this._firstPT) if ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration)) { //zero duration tweens don't lazy render by default; everything else does.\n\t\t\t\t_lazyLookup[target._gsTweenID] = true;\n\t\t\t}\n\t\t\treturn initPlugins;\n\t\t};\n\n\t\tp.render = function(time, suppressEvents, force) {\n\t\t\tvar prevTime = this._time,\n\t\t\t\tduration = this._duration,\n\t\t\t\tprevRawPrevTime = this._rawPrevTime,\n\t\t\t\tisComplete, callback, pt, rawPrevTime;\n\t\t\tif (time >= duration - 0.0000001 && time >= 0) { //to work around occasional floating point math artifacts.\n\t\t\t\tthis._totalTime = this._time = duration;\n\t\t\t\tthis.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1;\n\t\t\t\tif (!this._reversed ) {\n\t\t\t\t\tisComplete = true;\n\t\t\t\t\tcallback = \"onComplete\";\n\t\t\t\t\tforce = (force || this._timeline.autoRemoveChildren); //otherwise, if the animation is unpaused/activated after it's already finished, it doesn't get removed from the parent timeline.\n\t\t\t\t}\n\t\t\t\tif (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the \"playhead\" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's \"playhead\" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.\n\t\t\t\t\tif (this._startTime === this._timeline._duration) { //if a zero-duration tween is at the VERY end of a timeline and that timeline renders at its end, it will typically add a tiny bit of cushion to the render time to prevent rounding errors from getting in the way of tweens rendering their VERY end. If we then reverse() that timeline, the zero-duration tween will trigger its onReverseComplete even though technically the playhead didn't pass over it again. It's a very specific edge case we must accommodate.\n\t\t\t\t\t\ttime = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif (prevRawPrevTime < 0 || (time <= 0 && time >= -0.0000001) || (prevRawPrevTime === _tinyNum && this.data !== \"isPause\")) if (prevRawPrevTime !== time) { //note: when this.data is \"isPause\", it's a callback added by addPause() on a timeline that we should not be triggered when LEAVING its exact start time. In other words, tl.addPause(1).play(1) shouldn't pause.\n\t\t\t\t\t\tforce = true;\n\t\t\t\t\t\tif (prevRawPrevTime > _tinyNum) {\n\t\t\t\t\t\t\tcallback = \"onReverseComplete\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.\n\t\t\t\t}\n\n\t\t\t} else if (time < 0.0000001) { //to work around occasional floating point math artifacts, round super small values to 0.\n\t\t\t\tthis._totalTime = this._time = 0;\n\t\t\t\tthis.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0;\n\t\t\t\tif (prevTime !== 0 || (duration === 0 && prevRawPrevTime > 0)) {\n\t\t\t\t\tcallback = \"onReverseComplete\";\n\t\t\t\t\tisComplete = this._reversed;\n\t\t\t\t}\n\t\t\t\tif (time < 0) {\n\t\t\t\t\tthis._active = false;\n\t\t\t\t\tif (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the \"playhead\" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's \"playhead\" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.\n\t\t\t\t\t\tif (prevRawPrevTime >= 0 && !(prevRawPrevTime === _tinyNum && this.data === \"isPause\")) {\n\t\t\t\t\t\t\tforce = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!this._initted || (this._startAt && this._startAt.progress())) { //if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately. Also, we check progress() because if startAt has already rendered at its end, we should force a render at its beginning. Otherwise, if you put the playhead directly on top of where a fromTo({immediateRender:false}) starts, and then move it backwards, the from() won't revert its values.\n\t\t\t\t\tforce = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._totalTime = this._time = time;\n\n\t\t\t\tif (this._easeType) {\n\t\t\t\t\tvar r = time / duration, type = this._easeType, pow = this._easePower;\n\t\t\t\t\tif (type === 1 || (type === 3 && r >= 0.5)) {\n\t\t\t\t\t\tr = 1 - r;\n\t\t\t\t\t}\n\t\t\t\t\tif (type === 3) {\n\t\t\t\t\t\tr *= 2;\n\t\t\t\t\t}\n\t\t\t\t\tif (pow === 1) {\n\t\t\t\t\t\tr *= r;\n\t\t\t\t\t} else if (pow === 2) {\n\t\t\t\t\t\tr *= r * r;\n\t\t\t\t\t} else if (pow === 3) {\n\t\t\t\t\t\tr *= r * r * r;\n\t\t\t\t\t} else if (pow === 4) {\n\t\t\t\t\t\tr *= r * r * r * r;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (type === 1) {\n\t\t\t\t\t\tthis.ratio = 1 - r;\n\t\t\t\t\t} else if (type === 2) {\n\t\t\t\t\t\tthis.ratio = r;\n\t\t\t\t\t} else if (time / duration < 0.5) {\n\t\t\t\t\t\tthis.ratio = r / 2;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.ratio = 1 - (r / 2);\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tthis.ratio = this._ease.getRatio(time / duration);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this._time === prevTime && !force) {\n\t\t\t\treturn;\n\t\t\t} else if (!this._initted) {\n\t\t\t\tthis._init();\n\t\t\t\tif (!this._initted || this._gc) { //immediateRender tweens typically won't initialize until the playhead advances (_time is greater than 0) in order to ensure that overwriting occurs properly. Also, if all of the tweening properties have been overwritten (which would cause _gc to be true, as set in _init()), we shouldn't continue otherwise an onStart callback could be called for example.\n\t\t\t\t\treturn;\n\t\t\t\t} else if (!force && this._firstPT && ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration))) {\n\t\t\t\t\tthis._time = this._totalTime = prevTime;\n\t\t\t\t\tthis._rawPrevTime = prevRawPrevTime;\n\t\t\t\t\t_lazyTweens.push(this);\n\t\t\t\t\tthis._lazy = [time, suppressEvents];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t//_ease is initially set to defaultEase, so now that init() has run, _ease is set properly and we need to recalculate the ratio. Overall this is faster than using conditional logic earlier in the method to avoid having to set ratio twice because we only init() once but renderTime() gets called VERY frequently.\n\t\t\t\tif (this._time && !isComplete) {\n\t\t\t\t\tthis.ratio = this._ease.getRatio(this._time / duration);\n\t\t\t\t} else if (isComplete && this._ease._calcEnd) {\n\t\t\t\t\tthis.ratio = this._ease.getRatio((this._time === 0) ? 0 : 1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this._lazy !== false) { //in case a lazy render is pending, we should flush it because the new render is occurring now (imagine a lazy tween instantiating and then immediately the user calls tween.seek(tween.duration()), skipping to the end - the end render would be forced, and then if we didn't flush the lazy render, it'd fire AFTER the seek(), rendering it at the wrong time.\n\t\t\t\tthis._lazy = false;\n\t\t\t}\n\t\t\tif (!this._active) if (!this._paused && this._time !== prevTime && time >= 0) {\n\t\t\t\tthis._active = true; //so that if the user renders a tween (as opposed to the timeline rendering it), the timeline is forced to re-render and align it with the proper time/frame on the next rendering cycle. Maybe the tween already finished but the user manually re-renders it as halfway done.\n\t\t\t}\n\t\t\tif (prevTime === 0) {\n\t\t\t\tif (this._startAt) {\n\t\t\t\t\tif (time >= 0) {\n\t\t\t\t\t\tthis._startAt.render(time, true, force);\n\t\t\t\t\t} else if (!callback) {\n\t\t\t\t\t\tcallback = \"_dummyGS\"; //if no callback is defined, use a dummy value just so that the condition at the end evaluates as true because _startAt should render AFTER the normal render loop when the time is negative. We could handle this in a more intuitive way, of course, but the render loop is the MOST important thing to optimize, so this technique allows us to avoid adding extra conditional logic in a high-frequency area.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (this.vars.onStart) if (this._time !== 0 || duration === 0) if (!suppressEvents) {\n\t\t\t\t\tthis._callback(\"onStart\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tpt = this._firstPT;\n\t\t\twhile (pt) {\n\t\t\t\tif (pt.f) {\n\t\t\t\t\tpt.t[pt.p](pt.c * this.ratio + pt.s);\n\t\t\t\t} else {\n\t\t\t\t\tpt.t[pt.p] = pt.c * this.ratio + pt.s;\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\n\t\t\tif (this._onUpdate) {\n\t\t\t\tif (time < 0) if (this._startAt && time !== -0.0001) { //if the tween is positioned at the VERY beginning (_startTime 0) of its parent timeline, it's illegal for the playhead to go back further, so we should not render the recorded startAt values.\n\t\t\t\t\tthis._startAt.render(time, true, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.\n\t\t\t\t}\n\t\t\t\tif (!suppressEvents) if (this._time !== prevTime || isComplete || force) {\n\t\t\t\t\tthis._callback(\"onUpdate\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (callback) if (!this._gc || force) { //check _gc because there's a chance that kill() could be called in an onUpdate\n\t\t\t\tif (time < 0 && this._startAt && !this._onUpdate && time !== -0.0001) { //-0.0001 is a special value that we use when looping back to the beginning of a repeated TimelineMax, in which case we shouldn't render the _startAt values.\n\t\t\t\t\tthis._startAt.render(time, true, force);\n\t\t\t\t}\n\t\t\t\tif (isComplete) {\n\t\t\t\t\tif (this._timeline.autoRemoveChildren) {\n\t\t\t\t\t\tthis._enabled(false, false);\n\t\t\t\t\t}\n\t\t\t\t\tthis._active = false;\n\t\t\t\t}\n\t\t\t\tif (!suppressEvents && this.vars[callback]) {\n\t\t\t\t\tthis._callback(callback);\n\t\t\t\t}\n\t\t\t\tif (duration === 0 && this._rawPrevTime === _tinyNum && rawPrevTime !== _tinyNum) { //the onComplete or onReverseComplete could trigger movement of the playhead and for zero-duration tweens (which must discern direction) that land directly back on their start time, we don't want to fire again on the next render. Think of several addPause()'s in a timeline that forces the playhead to a certain spot, but what if it's already paused and another tween is tweening the \"time\" of the timeline? Each time it moves [forward] past that spot, it would move back, and since suppressEvents is true, it'd reset _rawPrevTime to _tinyNum so that when it begins again, the callback would fire (so ultimately it could bounce back and forth during that tween). Again, this is a very uncommon scenario, but possible nonetheless.\n\t\t\t\t\tthis._rawPrevTime = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tp._kill = function(vars, target, overwritingTween) {\n\t\t\tif (vars === \"all\") {\n\t\t\t\tvars = null;\n\t\t\t}\n\t\t\tif (vars == null) if (target == null || target === this.target) {\n\t\t\t\tthis._lazy = false;\n\t\t\t\treturn this._enabled(false, false);\n\t\t\t}\n\t\t\ttarget = (typeof(target) !== \"string\") ? (target || this._targets || this.target) : TweenLite.selector(target) || target;\n\t\t\tvar simultaneousOverwrite = (overwritingTween && this._time && overwritingTween._startTime === this._startTime && this._timeline === overwritingTween._timeline),\n\t\t\t\ti, overwrittenProps, p, pt, propLookup, changed, killProps, record, killed;\n\t\t\tif ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== \"number\") {\n\t\t\t\ti = target.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (this._kill(vars, target[i], overwritingTween)) {\n\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (this._targets) {\n\t\t\t\t\ti = this._targets.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tif (target === this._targets[i]) {\n\t\t\t\t\t\t\tpropLookup = this._propLookup[i] || {};\n\t\t\t\t\t\t\tthis._overwrittenProps = this._overwrittenProps || [];\n\t\t\t\t\t\t\toverwrittenProps = this._overwrittenProps[i] = vars ? this._overwrittenProps[i] || {} : \"all\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (target !== this.target) {\n\t\t\t\t\treturn false;\n\t\t\t\t} else {\n\t\t\t\t\tpropLookup = this._propLookup;\n\t\t\t\t\toverwrittenProps = this._overwrittenProps = vars ? this._overwrittenProps || {} : \"all\";\n\t\t\t\t}\n\n\t\t\t\tif (propLookup) {\n\t\t\t\t\tkillProps = vars || propLookup;\n\t\t\t\t\trecord = (vars !== overwrittenProps && overwrittenProps !== \"all\" && vars !== propLookup && (typeof(vars) !== \"object\" || !vars._tempKill)); //_tempKill is a super-secret way to delete a particular tweening property but NOT have it remembered as an official overwritten property (like in BezierPlugin)\n\t\t\t\t\tif (overwritingTween && (TweenLite.onOverwrite || this.vars.onOverwrite)) {\n\t\t\t\t\t\tfor (p in killProps) {\n\t\t\t\t\t\t\tif (propLookup[p]) {\n\t\t\t\t\t\t\t\tif (!killed) {\n\t\t\t\t\t\t\t\t\tkilled = [];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tkilled.push(p);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ((killed || !vars) && !_onOverwrite(this, overwritingTween, target, killed)) { //if the onOverwrite returned false, that means the user wants to override the overwriting (cancel it).\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (p in killProps) {\n\t\t\t\t\t\tif ((pt = propLookup[p])) {\n\t\t\t\t\t\t\tif (simultaneousOverwrite) { //if another tween overwrites this one and they both start at exactly the same time, yet this tween has already rendered once (for example, at 0.001) because it's first in the queue, we should revert the values to where they were at 0 so that the starting values aren't contaminated on the overwriting tween.\n\t\t\t\t\t\t\t\tif (pt.f) {\n\t\t\t\t\t\t\t\t\tpt.t[pt.p](pt.s);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tpt.t[pt.p] = pt.s;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (pt.pg && pt.t._kill(killProps)) {\n\t\t\t\t\t\t\t\tchanged = true; //some plugins need to be notified so they can perform cleanup tasks first\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!pt.pg || pt.t._overwriteProps.length === 0) {\n\t\t\t\t\t\t\t\tif (pt._prev) {\n\t\t\t\t\t\t\t\t\tpt._prev._next = pt._next;\n\t\t\t\t\t\t\t\t} else if (pt === this._firstPT) {\n\t\t\t\t\t\t\t\t\tthis._firstPT = pt._next;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\t\t\t\tpt._next._prev = pt._prev;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpt._next = pt._prev = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdelete propLookup[p];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (record) {\n\t\t\t\t\t\t\toverwrittenProps[p] = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!this._firstPT && this._initted) { //if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.\n\t\t\t\t\t\tthis._enabled(false, false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn changed;\n\t\t};\n\n\t\tp.invalidate = function() {\n\t\t\tif (this._notifyPluginsOfEnabled) {\n\t\t\t\tTweenLite._onPluginEvent(\"_onDisable\", this);\n\t\t\t}\n\t\t\tthis._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null;\n\t\t\tthis._notifyPluginsOfEnabled = this._active = this._lazy = false;\n\t\t\tthis._propLookup = (this._targets) ? {} : [];\n\t\t\tAnimation.prototype.invalidate.call(this);\n\t\t\tif (this.vars.immediateRender) {\n\t\t\t\tthis._time = -_tinyNum; //forces a render without having to set the render() \"force\" parameter to true because we want to allow lazying by default (using the \"force\" parameter always forces an immediate full render)\n\t\t\t\tthis.render(Math.min(0, -this._delay)); //in case delay is negative.\n\t\t\t}\n\t\t\treturn this;\n\t\t};\n\n\t\tp._enabled = function(enabled, ignoreTimeline) {\n\t\t\tif (!_tickerActive) {\n\t\t\t\t_ticker.wake();\n\t\t\t}\n\t\t\tif (enabled && this._gc) {\n\t\t\t\tvar targets = this._targets,\n\t\t\t\t\ti;\n\t\t\t\tif (targets) {\n\t\t\t\t\ti = targets.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tthis._siblings[i] = _register(targets[i], this, true);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis._siblings = _register(this.target, this, true);\n\t\t\t\t}\n\t\t\t}\n\t\t\tAnimation.prototype._enabled.call(this, enabled, ignoreTimeline);\n\t\t\tif (this._notifyPluginsOfEnabled) if (this._firstPT) {\n\t\t\t\treturn TweenLite._onPluginEvent((enabled ? \"_onEnable\" : \"_onDisable\"), this);\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\n//----TweenLite static methods -----------------------------------------------------\n\n\t\tTweenLite.to = function(target, duration, vars) {\n\t\t\treturn new TweenLite(target, duration, vars);\n\t\t};\n\n\t\tTweenLite.from = function(target, duration, vars) {\n\t\t\tvars.runBackwards = true;\n\t\t\tvars.immediateRender = (vars.immediateRender != false);\n\t\t\treturn new TweenLite(target, duration, vars);\n\t\t};\n\n\t\tTweenLite.fromTo = function(target, duration, fromVars, toVars) {\n\t\t\ttoVars.startAt = fromVars;\n\t\t\ttoVars.immediateRender = (toVars.immediateRender != false && fromVars.immediateRender != false);\n\t\t\treturn new TweenLite(target, duration, toVars);\n\t\t};\n\n\t\tTweenLite.delayedCall = function(delay, callback, params, scope, useFrames) {\n\t\t\treturn new TweenLite(callback, 0, {delay:delay, onComplete:callback, onCompleteParams:params, callbackScope:scope, onReverseComplete:callback, onReverseCompleteParams:params, immediateRender:false, lazy:false, useFrames:useFrames, overwrite:0});\n\t\t};\n\n\t\tTweenLite.set = function(target, vars) {\n\t\t\treturn new TweenLite(target, 0, vars);\n\t\t};\n\n\t\tTweenLite.getTweensOf = function(target, onlyActive) {\n\t\t\tif (target == null) { return []; }\n\t\t\ttarget = (typeof(target) !== \"string\") ? target : TweenLite.selector(target) || target;\n\t\t\tvar i, a, j, t;\n\t\t\tif ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== \"number\") {\n\t\t\t\ti = target.length;\n\t\t\t\ta = [];\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ta = a.concat(TweenLite.getTweensOf(target[i], onlyActive));\n\t\t\t\t}\n\t\t\t\ti = a.length;\n\t\t\t\t//now get rid of any duplicates (tweens of arrays of objects could cause duplicates)\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tt = a[i];\n\t\t\t\t\tj = i;\n\t\t\t\t\twhile (--j > -1) {\n\t\t\t\t\t\tif (t === a[j]) {\n\t\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (target._gsTweenID) {\n\t\t\t\ta = _register(target).concat();\n\t\t\t\ti = a.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (a[i]._gc || (onlyActive && !a[i].isActive())) {\n\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn a || [];\n\t\t};\n\n\t\tTweenLite.killTweensOf = TweenLite.killDelayedCallsTo = function(target, onlyActive, vars) {\n\t\t\tif (typeof(onlyActive) === \"object\") {\n\t\t\t\tvars = onlyActive; //for backwards compatibility (before \"onlyActive\" parameter was inserted)\n\t\t\t\tonlyActive = false;\n\t\t\t}\n\t\t\tvar a = TweenLite.getTweensOf(target, onlyActive),\n\t\t\t\ti = a.length;\n\t\t\twhile (--i > -1) {\n\t\t\t\ta[i]._kill(vars, target);\n\t\t\t}\n\t\t};\n\n\n\n/*\n * ----------------------------------------------------------------\n * TweenPlugin (could easily be split out as a separate file/class, but included for ease of use (so that people don't need to include another script call before loading plugins which is easy to forget)\n * ----------------------------------------------------------------\n */\n\t\tvar TweenPlugin = _class(\"plugins.TweenPlugin\", function(props, priority) {\n\t\t\t\t\tthis._overwriteProps = (props || \"\").split(\",\");\n\t\t\t\t\tthis._propName = this._overwriteProps[0];\n\t\t\t\t\tthis._priority = priority || 0;\n\t\t\t\t\tthis._super = TweenPlugin.prototype;\n\t\t\t\t}, true);\n\n\t\tp = TweenPlugin.prototype;\n\t\tTweenPlugin.version = \"1.19.0\";\n\t\tTweenPlugin.API = 2;\n\t\tp._firstPT = null;\n\t\tp._addTween = _addPropTween;\n\t\tp.setRatio = _setRatio;\n\n\t\tp._kill = function(lookup) {\n\t\t\tvar a = this._overwriteProps,\n\t\t\t\tpt = this._firstPT,\n\t\t\t\ti;\n\t\t\tif (lookup[this._propName] != null) {\n\t\t\t\tthis._overwriteProps = [];\n\t\t\t} else {\n\t\t\t\ti = a.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tif (lookup[a[i]] != null) {\n\t\t\t\t\t\ta.splice(i, 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile (pt) {\n\t\t\t\tif (lookup[pt.n] != null) {\n\t\t\t\t\tif (pt._next) {\n\t\t\t\t\t\tpt._next._prev = pt._prev;\n\t\t\t\t\t}\n\t\t\t\t\tif (pt._prev) {\n\t\t\t\t\t\tpt._prev._next = pt._next;\n\t\t\t\t\t\tpt._prev = null;\n\t\t\t\t\t} else if (this._firstPT === pt) {\n\t\t\t\t\t\tthis._firstPT = pt._next;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t\tp._mod = p._roundProps = function(lookup) {\n\t\t\tvar pt = this._firstPT,\n\t\t\t\tval;\n\t\t\twhile (pt) {\n\t\t\t\tval = lookup[this._propName] || (pt.n != null && lookup[ pt.n.split(this._propName + \"_\").join(\"\") ]);\n\t\t\t\tif (val && typeof(val) === \"function\") { //some properties that are very plugin-specific add a prefix named after the _propName plus an underscore, so we need to ignore that extra stuff here.\n\t\t\t\t\tif (pt.f === 2) {\n\t\t\t\t\t\tpt.t._applyPT.m = val;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpt.m = val;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t};\n\n\t\tTweenLite._onPluginEvent = function(type, tween) {\n\t\t\tvar pt = tween._firstPT,\n\t\t\t\tchanged, pt2, first, last, next;\n\t\t\tif (type === \"_onInitAllProps\") {\n\t\t\t\t//sorts the PropTween linked list in order of priority because some plugins need to render earlier/later than others, like MotionBlurPlugin applies its effects after all x/y/alpha tweens have rendered on each frame.\n\t\t\t\twhile (pt) {\n\t\t\t\t\tnext = pt._next;\n\t\t\t\t\tpt2 = first;\n\t\t\t\t\twhile (pt2 && pt2.pr > pt.pr) {\n\t\t\t\t\t\tpt2 = pt2._next;\n\t\t\t\t\t}\n\t\t\t\t\tif ((pt._prev = pt2 ? pt2._prev : last)) {\n\t\t\t\t\t\tpt._prev._next = pt;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tfirst = pt;\n\t\t\t\t\t}\n\t\t\t\t\tif ((pt._next = pt2)) {\n\t\t\t\t\t\tpt2._prev = pt;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlast = pt;\n\t\t\t\t\t}\n\t\t\t\t\tpt = next;\n\t\t\t\t}\n\t\t\t\tpt = tween._firstPT = first;\n\t\t\t}\n\t\t\twhile (pt) {\n\t\t\t\tif (pt.pg) if (typeof(pt.t[type]) === \"function\") if (pt.t[type]()) {\n\t\t\t\t\tchanged = true;\n\t\t\t\t}\n\t\t\t\tpt = pt._next;\n\t\t\t}\n\t\t\treturn changed;\n\t\t};\n\n\t\tTweenPlugin.activate = function(plugins) {\n\t\t\tvar i = plugins.length;\n\t\t\twhile (--i > -1) {\n\t\t\t\tif (plugins[i].API === TweenPlugin.API) {\n\t\t\t\t\t_plugins[(new plugins[i]())._propName] = plugins[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\t//provides a more concise way to define plugins that have no dependencies besides TweenPlugin and TweenLite, wrapping common boilerplate stuff into one function (added in 1.9.0). You don't NEED to use this to define a plugin - the old way still works and can be useful in certain (rare) situations.\n\t\t_gsDefine.plugin = function(config) {\n\t\t\tif (!config || !config.propName || !config.init || !config.API) { throw \"illegal plugin definition.\"; }\n\t\t\tvar propName = config.propName,\n\t\t\t\tpriority = config.priority || 0,\n\t\t\t\toverwriteProps = config.overwriteProps,\n\t\t\t\tmap = {init:\"_onInitTween\", set:\"setRatio\", kill:\"_kill\", round:\"_mod\", mod:\"_mod\", initAll:\"_onInitAllProps\"},\n\t\t\t\tPlugin = _class(\"plugins.\" + propName.charAt(0).toUpperCase() + propName.substr(1) + \"Plugin\",\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tTweenPlugin.call(this, propName, priority);\n\t\t\t\t\t\tthis._overwriteProps = overwriteProps || [];\n\t\t\t\t\t}, (config.global === true)),\n\t\t\t\tp = Plugin.prototype = new TweenPlugin(propName),\n\t\t\t\tprop;\n\t\t\tp.constructor = Plugin;\n\t\t\tPlugin.API = config.API;\n\t\t\tfor (prop in map) {\n\t\t\t\tif (typeof(config[prop]) === \"function\") {\n\t\t\t\t\tp[map[prop]] = config[prop];\n\t\t\t\t}\n\t\t\t}\n\t\t\tPlugin.version = config.version;\n\t\t\tTweenPlugin.activate([Plugin]);\n\t\t\treturn Plugin;\n\t\t};\n\n\n\t\t//now run through all the dependencies discovered and if any are missing, log that to the console as a warning. This is why it's best to have TweenLite load last - it can check all the dependencies for you.\n\t\ta = window._gsQueue;\n\t\tif (a) {\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\ta[i]();\n\t\t\t}\n\t\t\tfor (p in _defLookup) {\n\t\t\t\tif (!_defLookup[p].func) {\n\t\t\t\t\twindow.console.log(\"GSAP encountered missing dependency: \" + p);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_tickerActive = false; //ensures that the first official animation forces a ticker.tick() to update the time when it is instantiated\n\n})((typeof(module) !== \"undefined\" && module.exports && typeof(global) !== \"undefined\") ? global : this || window, \"TweenLite\");\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/Dev/CorDapps/locWeb/node_modules/gsap/TweenLite.js\n// module id = ../../../../gsap/TweenLite.js\n// module chunks = vendor","/**\n * @license\n * Lodash \n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.4';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n reLeadingDot = /^\\./,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading and trailing whitespace. */\n var reTrim = /^\\s+|\\s+$/g,\n reTrimStart = /^\\s+/,\n reTrimEnd = /\\s+$/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:(?:1st|2nd|3rd|(?![123])\\\\dth)\\\\b)',\n rsOrdUpper = '\\\\d*(?:(?:1ST|2ND|3RD|(?![123])\\\\dTH)\\\\b)',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Adds the key-value `pair` to `map`.\n *\n * @private\n * @param {Object} map The map to modify.\n * @param {Array} pair The key-value pair to add.\n * @returns {Object} Returns `map`.\n */\n function addMapEntry(map, pair) {\n // Don't return `map.set` because it's not chainable in IE 11.\n map.set(pair[0], pair[1]);\n return map;\n }\n\n /**\n * Adds `value` to `set`.\n *\n * @private\n * @param {Object} set The set to modify.\n * @param {*} value The value to add.\n * @returns {Object} Returns `set`.\n */\n function addSetEntry(set, value) {\n // Don't return `set.add` because it's not chainable in IE 11.\n set.add(value);\n return set;\n }\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, baseClone, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n if (isObject(srcValue)) {\n stack || (stack = new Stack);\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(object[key], srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = object[key],\n srcValue = source[key],\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n value = iteratee(value);\n\n var low = 0,\n high = array == null ? 0 : array.length,\n valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `map`.\n *\n * @private\n * @param {Object} map The map to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned map.\n */\n function cloneMap(map, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(mapToArray(map), CLONE_DEEP_FLAG) : mapToArray(map);\n return arrayReduce(array, addMapEntry, new map.constructor);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of `set`.\n *\n * @private\n * @param {Object} set The set to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned set.\n */\n function cloneSet(set, isDeep, cloneFunc) {\n var array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set);\n return arrayReduce(array, addSetEntry, new set.constructor);\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {Function} cloneFunc The function to clone values.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, cloneFunc, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return cloneMap(object, isDeep, cloneFunc);\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return cloneSet(object, isDeep, cloneFunc);\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (reLeadingDot.test(string)) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(args) {\n args.push(undefined, customDefaultsAssignIn);\n return apply(assignInWith, undefined, args);\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '