Page MenuHomec4science

No OneTemporary

File Metadata

Created
Wed, May 1, 19:56
This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/js-tools/templates/aurelia-jspm/.gitignore b/js-tools/templates/aurelia-jspm/.gitignore
new file mode 100644
index 000000000..5148e527a
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/.gitignore
@@ -0,0 +1,37 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules
+jspm_packages
+
+# Optional npm cache directory
+.npm
+
+# Optional REPL history
+.node_repl_history
diff --git a/js-tools/templates/aurelia-jspm/.vscode/launch.json b/js-tools/templates/aurelia-jspm/.vscode/launch.json
deleted file mode 100644
index 5ae40c98f..000000000
--- a/js-tools/templates/aurelia-jspm/.vscode/launch.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- // Use IntelliSense to learn about possible Node.js debug attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "type": "node",
- "request": "launch",
- "name": "Launch Program",
- "program": "${workspaceRoot}/test.js"
- },
- {
- "type": "node",
- "request": "attach",
- "name": "Attach to Process",
- "address": "localhost",
- "port": 5858
- }
- ]
-}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/README.md b/js-tools/templates/aurelia-jspm/README.md
index 658cd469b..ead06140a 100644
--- a/js-tools/templates/aurelia-jspm/README.md
+++ b/js-tools/templates/aurelia-jspm/README.md
@@ -1 +1,215 @@
-# aurelia-jspm
+# aurelia-skeleton-navigation
+
+## Running The App
+
+To run the app, follow these steps.
+
+1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
+2. From the project folder, execute the following command:
+
+ ```shell
+ npm install
+ ```
+3. Ensure that [Gulp](http://gulpjs.com/) is installed globally. If you need to install it, use the following command:
+
+ ```shell
+ npm install -g gulp
+ ```
+ > **Note:** Gulp must be installed globally, but a local version will also be installed to ensure a compatible version is used for the project.
+4. Ensure that [jspm](http://jspm.io/) is installed globally. If you need to install it, use the following command:
+
+ ```shell
+ npm install -g jspm
+ ```
+ > **Note:** jspm must be installed globally, but a local version will also be installed to ensure a compatible version is used for the project.
+
+ > **Note:** jspm queries GitHub to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing `jspm registry config github` and following the prompts. If you choose to authorize jspm by an access token instead of giving your password (see GitHub `Settings > Personal Access Tokens`), `public_repo` access for the token is required.
+5. Install the client-side dependencies with jspm:
+
+ ```shell
+ jspm install -y
+ ```
+ >**Note:** Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing `npm install -g unzip` and then re-running `jspm install`.
+6. To run the app, execute the following command:
+
+ ```shell
+ gulp watch
+ ```
+7. Browse to [http://localhost:9000](http://localhost:9000) to see the app. You can make changes in the code found under `src` and the browser should auto-refresh itself as you save files.
+
+> The Skeleton App uses [BrowserSync](http://www.browsersync.io/) for automated page refreshes on code/markup changes concurrently across multiple browsers. If you prefer to disable the mirroring feature set the [ghostMode option](http://www.browsersync.io/docs/options/#option-ghostMode) to false
+
+## Running The App under Electron
+
+#### Note:
+The first five steps below are identical to the first five steps for running this app the "standard' way, using the jspm / systemjs tooling. The difference is in the command to run the app, where the standard `gulp watch` command is replaced by the sequence of two commands:
+
+```shell
+gulp build
+electron index.js
+```
+
+To run the app under [Electron](http://electron.atom.io), follow these steps.
+
+1. Install [Electron](http://electron.atom.io)
+
+ ```shell
+ npm install electron --save-dev
+```
+
+2. From the project folder, execute the following command:
+
+ ```shell
+ npm install
+ ```
+
+3. Ensure that [Gulp](http://gulpjs.com/) is installed globally. If you need to install it, use the following command:
+
+ ```shell
+ npm install -g gulp
+ ```
+ > **Note:** Gulp must be installed globally, but a local version will also be installed to ensure a compatible version is used for the project.
+
+4. Ensure that [jspm](http://jspm.io/) is installed globally. If you need to install it, use the following command:
+
+ ```shell
+ npm install -g jspm
+ ```
+ > **Note:** jspm must be installed globally, but a local version will also be installed to ensure a compatible version is used for the project.
+
+ > **Note:** jspm queries GitHub to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing `jspm registry config github` and following the prompts. If you choose to authorize jspm by an access token instead of giving your password (see GitHub `Settings > Personal Access Tokens`), `public_repo` access for the token is required.
+
+5. Install the client-side dependencies with jspm:
+
+ ```shell
+ jspm install -y
+ ```
+ >**Note:** Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing `npm install -g unzip` and then re-running `jspm install`.
+
+6. To build the app execute the following command (this will give you a dist directory)
+
+ ```shell
+ gulp build
+ ```
+
+7. To start the app, execute the following command:
+
+ ```shell
+ electron index.js
+ ```
+>**Note:** If typing the command `electron index.js` is too much for you change this line in package.json from `"main": "dist/main.js",` to `"main": "index.js",`
+> Then, you can invoke electron by just typing
+ ```shell
+ electron .
+```
+
+## Packaging The App Using Electron-Packager
+
+>**Note:** The electron-packager package relies on `"main"` in package.json to know which JS file to use to start the application. To make this work with electron-packager change this line in package.json from `"main": "dist/main.js",` to `"main": "index.js",`
+
+1. Follow steps 1-6 in the previous section (Running The App under Electron).
+
+2. Install electron-packager
+
+ ```shell
+ npm install electron-packager -g
+ ```
+
+3. Run the command:
+
+ ```shell
+ electron-packager <sourcedir> <appname> --platform=<platform> --arch=<arch> --version <electron version #> [optional flags...]
+ ```
+Include the `--asar` option to create an [asar archive](http://electron.atom.io/docs/tutorial/application-packaging/) from your app.
+
+By default, electron-packager will place the packaged app in a folder under the source folder with the naming convention of `<appname>-<platform>-<arch>`.
+
+See the [electron-packager](https://github.com/electron-userland/electron-packager) readme for more details on options.
+
+
+## Bundling
+Bundling is performed by [Aurelia Bundler](http://github.com/aurelia/bundler). A gulp task is already configured for that. Use the following command to bundle the app:
+
+ ```shell
+ gulp bundle
+ ```
+
+You can also unbundle using the command bellow:
+
+ ```shell
+ gulp unbundle
+ ```
+
+To start the bundled app, execute the following command:
+
+ ```shell
+ gulp serve-bundle
+ ```
+#### Configuration
+The configuration is done by ```bundles.js``` file.
+##### Optional
+Under ```options``` of ```dist/aurelia``` add ```rev: true``` to add bundle file revision/version.
+
+## Running The Unit Tests
+
+To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:
+
+1. Ensure that the [Karma](http://karma-runner.github.io/) CLI is installed. If you need to install it, use the following command:
+
+ ```shell
+ npm install -g karma-cli
+ ```
+2. Install Aurelia libs for test visibility:
+
+ ```shell
+ jspm install aurelia-framework
+ jspm install aurelia-http-client
+ jspm install aurelia-router
+ ```
+3. You can now run the tests with this command:
+
+ ```shell
+ karma start
+ ```
+
+## Running The E2E Tests
+Integration tests are performed with [Protractor](http://angular.github.io/protractor/#/).
+
+1. Place your E2E-Tests into the folder ```test/e2e/src```
+2. Install the necessary webdriver
+
+ ```shell
+ gulp webdriver-update
+ ```
+
+3. Configure the path to the webdriver by opening the file ```protractor.conf.js``` and adjusting the ```seleniumServerJar``` property. Typically its only needed to adjust the version number.
+
+4. Make sure your app runs and is accessible
+
+ ```shell
+ gulp watch
+ ```
+
+5. In another console run the E2E-Tests
+
+ ```shell
+ gulp e2e
+ ```
+
+## Exporting bundled production version
+A gulp task is already configured for that. Use the following command to export the app:
+
+ ```shell
+ gulp export
+ ```
+The app will be exported into ```export``` directory preserving the directory structure.
+
+To start the exported app, execute the following command:
+
+ ```shell
+ gulp serve-export
+ ```
+
+#### Configuration
+The configuration is done by ```bundles.js``` file.
+In addition, ```export.js``` file is available for including individual files.
diff --git a/js-tools/templates/aurelia-jspm/config.js b/js-tools/templates/aurelia-jspm/config.js
index 641232ac9..3e6231d7d 100644
--- a/js-tools/templates/aurelia-jspm/config.js
+++ b/js-tools/templates/aurelia-jspm/config.js
@@ -1,200 +1,326 @@
System.config({
- baseURL: "/",
defaultJSExtensions: true,
- transpiler: "babel",
- babelOptions: {
- "stage": 0,
- "optional": [
- "runtime",
- "optimisation.modules.system"
- ]
- },
+ transpiler: false,
paths: {
+ "*": "dist/*",
"github:*": "jspm_packages/github/*",
- "npm:*": "jspm_packages/npm/*",
- "*": "src/*"
+ "npm:*": "jspm_packages/npm/*"
},
-
map: {
- "aurelia-bootstrapper": "npm:aurelia-bootstrapper@2.0.1",
- "aurelia-framework": "npm:aurelia-framework@1.1.0",
- "aurelia-pal-browser": "npm:aurelia-pal-browser@1.1.0",
- "babel": "npm:babel-core@5.8.38",
- "babel-runtime": "npm:babel-runtime@5.8.38",
- "core-js": "npm:core-js@1.2.7",
+ "aurelia-animator-css": "npm:aurelia-animator-css@1.0.1",
+ "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0",
+ "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.1",
+ "aurelia-framework": "npm:aurelia-framework@1.0.6",
+ "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0",
+ "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0",
+ "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0",
+ "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
+ "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0",
+ "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1",
+ "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0",
+ "bluebird": "npm:bluebird@3.4.1",
+ "bootstrap": "github:twbs/bootstrap@3.3.7",
+ "fetch": "github:github/fetch@1.0.0",
+ "font-awesome": "npm:font-awesome@4.6.3",
+ "jquery": "npm:jquery@2.2.4",
+ "text": "github:systemjs/plugin-text@0.0.8",
"github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.4.1"
},
"github:jspm/nodelibs-buffer@0.1.0": {
"buffer": "npm:buffer@3.6.0"
},
- "github:jspm/nodelibs-path@0.1.0": {
- "path-browserify": "npm:path-browserify@0.0.0"
- },
"github:jspm/nodelibs-process@0.1.2": {
"process": "npm:process@0.11.9"
},
"github:jspm/nodelibs-util@0.1.0": {
"util": "npm:util@0.10.3"
},
"github:jspm/nodelibs-vm@0.1.0": {
"vm-browserify": "npm:vm-browserify@0.0.4"
},
+ "github:twbs/bootstrap@3.3.7": {
+ "jquery": "npm:jquery@2.2.4"
+ },
"npm:assert@1.4.1": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"util": "npm:util@0.10.3"
},
- "npm:aurelia-binding@1.2.0": {
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
- "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0"
+ "npm:aurelia-animator-css@1.0.1": {
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
},
- "npm:aurelia-bootstrapper@2.0.1": {
- "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1",
- "aurelia-framework": "npm:aurelia-framework@1.1.0",
+ "npm:aurelia-binding@1.0.9": {
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
+ },
+ "npm:aurelia-bootstrapper@1.0.0": {
+ "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
+ "aurelia-framework": "npm:aurelia-framework@1.0.6",
"aurelia-history": "npm:aurelia-history@1.0.0",
"aurelia-history-browser": "npm:aurelia-history-browser@1.0.0",
- "aurelia-loader-default": "npm:aurelia-loader-default@1.0.1",
+ "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0",
"aurelia-logging-console": "npm:aurelia-logging-console@1.0.0",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
- "aurelia-pal-browser": "npm:aurelia-pal-browser@1.1.0",
- "aurelia-polyfills": "npm:aurelia-polyfills@1.2.0",
- "aurelia-router": "npm:aurelia-router@1.2.1",
- "aurelia-templating": "npm:aurelia-templating@1.3.0",
- "aurelia-templating-binding": "npm:aurelia-templating-binding@1.3.0",
- "aurelia-templating-resources": "npm:aurelia-templating-resources@1.3.1",
- "aurelia-templating-router": "npm:aurelia-templating-router@1.1.0"
- },
- "npm:aurelia-dependency-injection@1.3.0": {
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
- },
- "npm:aurelia-event-aggregator@1.0.1": {
- "aurelia-logging": "npm:aurelia-logging@1.3.0"
- },
- "npm:aurelia-framework@1.1.0": {
- "aurelia-binding": "npm:aurelia-binding@1.2.0",
- "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
+ "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1",
+ "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0",
+ "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1",
+ "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0"
+ },
+ "npm:aurelia-dependency-injection@1.1.0": {
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-event-aggregator@1.0.0": {
+ "aurelia-logging": "npm:aurelia-logging@1.0.0"
+ },
+ "npm:aurelia-framework@1.0.6": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
- "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0",
- "aurelia-templating": "npm:aurelia-templating@1.3.0"
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
},
"npm:aurelia-history-browser@1.0.0": {
"aurelia-history": "npm:aurelia-history@1.0.0",
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
- "npm:aurelia-loader-default@1.0.1": {
+ "npm:aurelia-loader-default@1.0.0": {
"aurelia-loader": "npm:aurelia-loader@1.0.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
"npm:aurelia-loader@1.0.0": {
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
"aurelia-path": "npm:aurelia-path@1.1.1"
},
"npm:aurelia-logging-console@1.0.0": {
- "aurelia-logging": "npm:aurelia-logging@1.3.0"
+ "aurelia-logging": "npm:aurelia-logging@1.0.0"
},
- "npm:aurelia-metadata@1.0.3": {
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "npm:aurelia-metadata@1.0.1": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
- "npm:aurelia-pal-browser@1.1.0": {
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "npm:aurelia-pal-browser@1.0.0": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
- "npm:aurelia-polyfills@1.2.0": {
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "npm:aurelia-polyfills@1.1.1": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
"npm:aurelia-route-recognizer@1.1.0": {
"aurelia-path": "npm:aurelia-path@1.1.1"
},
- "npm:aurelia-router@1.2.1": {
- "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0",
- "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1",
+ "npm:aurelia-router@1.0.6": {
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
"aurelia-history": "npm:aurelia-history@1.0.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
"aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0"
},
- "npm:aurelia-task-queue@1.2.0": {
- "aurelia-pal": "npm:aurelia-pal@1.3.0"
+ "npm:aurelia-task-queue@1.1.0": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
},
- "npm:aurelia-templating-binding@1.3.0": {
- "aurelia-binding": "npm:aurelia-binding@1.2.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-templating": "npm:aurelia-templating@1.3.0"
+ "npm:aurelia-templating-binding@1.0.0": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
},
- "npm:aurelia-templating-resources@1.3.1": {
- "aurelia-binding": "npm:aurelia-binding@1.2.0",
- "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0",
+ "npm:aurelia-templating-resources@1.1.1": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
- "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0",
- "aurelia-templating": "npm:aurelia-templating@1.3.0"
- },
- "npm:aurelia-templating-router@1.1.0": {
- "aurelia-binding": "npm:aurelia-binding@1.2.0",
- "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-templating-router@1.0.0": {
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
- "aurelia-router": "npm:aurelia-router@1.2.1",
- "aurelia-templating": "npm:aurelia-templating@1.3.0"
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
},
- "npm:aurelia-templating@1.3.0": {
- "aurelia-binding": "npm:aurelia-binding@1.2.0",
- "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0",
+ "npm:aurelia-templating@1.1.1": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
- "aurelia-logging": "npm:aurelia-logging@1.3.0",
- "aurelia-metadata": "npm:aurelia-metadata@1.0.3",
- "aurelia-pal": "npm:aurelia-pal@1.3.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.1.1",
- "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0"
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
},
- "npm:babel-runtime@5.8.38": {
+ "npm:bluebird@3.4.1": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:buffer@3.6.0": {
"base64-js": "npm:base64-js@0.0.8",
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"ieee754": "npm:ieee754@1.1.8",
"isarray": "npm:isarray@1.0.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
- "npm:core-js@1.2.7": {
- "fs": "github:jspm/nodelibs-fs@0.1.2",
- "path": "github:jspm/nodelibs-path@0.1.0",
- "process": "github:jspm/nodelibs-process@0.1.2",
- "systemjs-json": "github:systemjs/plugin-json@0.1.2"
+ "npm:font-awesome@4.6.3": {
+ "css": "github:systemjs/plugin-css@0.1.31"
},
"npm:inherits@2.0.1": {
"util": "github:jspm/nodelibs-util@0.1.0"
},
- "npm:path-browserify@0.0.0": {
- "process": "github:jspm/nodelibs-process@0.1.2"
- },
"npm:process@0.11.9": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"vm": "github:jspm/nodelibs-vm@0.1.0"
},
"npm:util@0.10.3": {
"inherits": "npm:inherits@2.0.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:vm-browserify@0.0.4": {
"indexof": "npm:indexof@0.0.1"
}
+ },
+ bundles: {
+ "app-build.js": [
+ "app.html!github:systemjs/plugin-text@0.0.8.js",
+ "app.js",
+ "app.spec.js",
+ "blur-image.js",
+ "child-router.html!github:systemjs/plugin-text@0.0.8.js",
+ "child-router.js",
+ "main.js",
+ "nav-bar.html!github:systemjs/plugin-text@0.0.8.js",
+ "users.html!github:systemjs/plugin-text@0.0.8.js",
+ "users.js",
+ "welcome.html!github:systemjs/plugin-text@0.0.8.js",
+ "welcome.js"
+ ],
+ "aurelia.js": [
+ "github:github/fetch@1.0.0.js",
+ "github:github/fetch@1.0.0/fetch.js",
+ "github:twbs/bootstrap@3.3.7.js",
+ "github:twbs/bootstrap@3.3.7/css/bootstrap.css!github:systemjs/plugin-text@0.0.8.js",
+ "github:twbs/bootstrap@3.3.7/js/bootstrap.js",
+ "npm:aurelia-animator-css@1.0.1.js",
+ "npm:aurelia-animator-css@1.0.1/aurelia-animator-css.js",
+ "npm:aurelia-binding@1.0.9.js",
+ "npm:aurelia-binding@1.0.9/aurelia-binding.js",
+ "npm:aurelia-bootstrapper@1.0.0.js",
+ "npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper.js",
+ "npm:aurelia-dependency-injection@1.1.0.js",
+ "npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection.js",
+ "npm:aurelia-event-aggregator@1.0.0.js",
+ "npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator.js",
+ "npm:aurelia-fetch-client@1.0.1.js",
+ "npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js",
+ "npm:aurelia-framework@1.0.6.js",
+ "npm:aurelia-framework@1.0.6/aurelia-framework.js",
+ "npm:aurelia-history-browser@1.0.0.js",
+ "npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js",
+ "npm:aurelia-history@1.0.0.js",
+ "npm:aurelia-history@1.0.0/aurelia-history.js",
+ "npm:aurelia-loader-default@1.0.0.js",
+ "npm:aurelia-loader-default@1.0.0/aurelia-loader-default.js",
+ "npm:aurelia-loader@1.0.0.js",
+ "npm:aurelia-loader@1.0.0/aurelia-loader.js",
+ "npm:aurelia-logging-console@1.0.0.js",
+ "npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js",
+ "npm:aurelia-logging@1.0.0.js",
+ "npm:aurelia-logging@1.0.0/aurelia-logging.js",
+ "npm:aurelia-metadata@1.0.1.js",
+ "npm:aurelia-metadata@1.0.1/aurelia-metadata.js",
+ "npm:aurelia-pal-browser@1.0.0.js",
+ "npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser.js",
+ "npm:aurelia-pal@1.0.0.js",
+ "npm:aurelia-pal@1.0.0/aurelia-pal.js",
+ "npm:aurelia-path@1.1.1.js",
+ "npm:aurelia-path@1.1.1/aurelia-path.js",
+ "npm:aurelia-polyfills@1.1.1.js",
+ "npm:aurelia-polyfills@1.1.1/aurelia-polyfills.js",
+ "npm:aurelia-route-recognizer@1.1.0.js",
+ "npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js",
+ "npm:aurelia-router@1.0.6.js",
+ "npm:aurelia-router@1.0.6/aurelia-router.js",
+ "npm:aurelia-task-queue@1.1.0.js",
+ "npm:aurelia-task-queue@1.1.0/aurelia-task-queue.js",
+ "npm:aurelia-templating-binding@1.0.0.js",
+ "npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding.js",
+ "npm:aurelia-templating-resources@1.1.1.js",
+ "npm:aurelia-templating-resources@1.1.1/abstract-repeater.js",
+ "npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js",
+ "npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js",
+ "npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js",
+ "npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js",
+ "npm:aurelia-templating-resources@1.1.1/binding-signaler.js",
+ "npm:aurelia-templating-resources@1.1.1/compose.js",
+ "npm:aurelia-templating-resources@1.1.1/css-resource.js",
+ "npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/dynamic-element.js",
+ "npm:aurelia-templating-resources@1.1.1/focus.js",
+ "npm:aurelia-templating-resources@1.1.1/hide.js",
+ "npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js",
+ "npm:aurelia-templating-resources@1.1.1/html-sanitizer.js",
+ "npm:aurelia-templating-resources@1.1.1/if.js",
+ "npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat-utilities.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat.js",
+ "npm:aurelia-templating-resources@1.1.1/replaceable.js",
+ "npm:aurelia-templating-resources@1.1.1/sanitize-html.js",
+ "npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/show.js",
+ "npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/with.js",
+ "npm:aurelia-templating-router@1.0.0.js",
+ "npm:aurelia-templating-router@1.0.0/aurelia-templating-router.js",
+ "npm:aurelia-templating-router@1.0.0/route-href.js",
+ "npm:aurelia-templating-router@1.0.0/route-loader.js",
+ "npm:aurelia-templating-router@1.0.0/router-view.js",
+ "npm:aurelia-templating@1.1.1.js",
+ "npm:aurelia-templating@1.1.1/aurelia-templating.js",
+ "npm:jquery@2.2.4.js",
+ "npm:jquery@2.2.4/dist/jquery.js"
+ ]
+ },
+ depCache: {
+ "app.spec.js": [
+ "src/app.js"
+ ],
+ "blur-image.js": [
+ "aurelia-framework"
+ ],
+ "main.js": [
+ "bootstrap"
+ ],
+ "users.js": [
+ "aurelia-framework",
+ "aurelia-fetch-client",
+ "fetch"
+ ]
}
-});
+});
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/app-build.js b/js-tools/templates/aurelia-jspm/dist/app-build.js
new file mode 100644
index 000000000..a1798a144
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app-build.js
@@ -0,0 +1 @@
+"bundle";!function(){var a=System.amdDefine;a("app.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="nav-bar.html"></require><require from="bootstrap/css/bootstrap.css"></require><nav-bar router.bind="router"></nav-bar><div class="page-host"><router-view></router-view></div></template>'})}(),System.register("app.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("App",d=function(){function a(){c(this,a)}return a.prototype.configureRouter=function(a,b){a.title="Aurelia",a.map([{route:["","welcome"],name:"welcome",moduleId:"welcome",nav:!0,title:"Welcome"},{route:"users",name:"users",moduleId:"users",nav:!0,title:"Github Users"},{route:"child-router",name:"child-router",moduleId:"child-router",nav:!0,title:"Child Router"}]),this.router=b},a}()),a("App",d)}}}),System.register("app.spec.js",["src/app.js"],function(a,b){"use strict";var c,d;return{setters:[function(a){c=a.App,d=a.App2}],execute:function(){describe("A test of app.js ",function(){it("should not work",function(){var a=new c;expect(a.message).toBe("Hello Aurelia")})})}}}),System.register("blur-image.js",["aurelia-framework"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b,c,d,f,g){if(!(isNaN(g)||g<1)){g|=0;var h,i=a.getContext("2d");try{h=i.getImageData(b,c,d,f)}catch(j){throw new Error("unable to access image data: "+j)}var m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K=h.data,L=g+g+1,M=d-1,N=f-1,O=g+1,P=O*(O+1)/2,Q=new e,R=Q;for(o=1;o<L;o++)if(R=R.next=new e,o==O)var S=R;R.next=Q;var T=null,U=null;s=r=0;var V=k[g],W=l[g];for(n=0;n<f;n++){for(B=C=D=E=t=u=v=w=0,x=O*(F=K[r]),y=O*(G=K[r+1]),z=O*(H=K[r+2]),A=O*(I=K[r+3]),t+=P*F,u+=P*G,v+=P*H,w+=P*I,R=Q,o=0;o<O;o++)R.r=F,R.g=G,R.b=H,R.a=I,R=R.next;for(o=1;o<O;o++)p=r+((M<o?M:o)<<2),t+=(R.r=F=K[p])*(J=O-o),u+=(R.g=G=K[p+1])*J,v+=(R.b=H=K[p+2])*J,w+=(R.a=I=K[p+3])*J,B+=F,C+=G,D+=H,E+=I,R=R.next;for(T=Q,U=S,m=0;m<d;m++)K[r+3]=I=w*V>>W,0!=I?(I=255/I,K[r]=(t*V>>W)*I,K[r+1]=(u*V>>W)*I,K[r+2]=(v*V>>W)*I):K[r]=K[r+1]=K[r+2]=0,t-=x,u-=y,v-=z,w-=A,x-=T.r,y-=T.g,z-=T.b,A-=T.a,p=s+((p=m+g+1)<M?p:M)<<2,B+=T.r=K[p],C+=T.g=K[p+1],D+=T.b=K[p+2],E+=T.a=K[p+3],t+=B,u+=C,v+=D,w+=E,T=T.next,x+=F=U.r,y+=G=U.g,z+=H=U.b,A+=I=U.a,B-=F,C-=G,D-=H,E-=I,U=U.next,r+=4;s+=d}for(m=0;m<d;m++){for(C=D=E=B=u=v=w=t=0,r=m<<2,x=O*(F=K[r]),y=O*(G=K[r+1]),z=O*(H=K[r+2]),A=O*(I=K[r+3]),t+=P*F,u+=P*G,v+=P*H,w+=P*I,R=Q,o=0;o<O;o++)R.r=F,R.g=G,R.b=H,R.a=I,R=R.next;for(q=d,o=1;o<=g;o++)r=q+m<<2,t+=(R.r=F=K[r])*(J=O-o),u+=(R.g=G=K[r+1])*J,v+=(R.b=H=K[r+2])*J,w+=(R.a=I=K[r+3])*J,B+=F,C+=G,D+=H,E+=I,R=R.next,o<N&&(q+=d);for(r=m,T=Q,U=S,n=0;n<f;n++)p=r<<2,K[p+3]=I=w*V>>W,I>0?(I=255/I,K[p]=(t*V>>W)*I,K[p+1]=(u*V>>W)*I,K[p+2]=(v*V>>W)*I):K[p]=K[p+1]=K[p+2]=0,t-=x,u-=y,v-=z,w-=A,x-=T.r,y-=T.g,z-=T.b,A-=T.a,p=m+((p=n+O)<N?p:N)*d<<2,t+=B+=T.r=K[p],u+=C+=T.g=K[p+1],v+=D+=T.b=K[p+2],w+=E+=T.a=K[p+3],T=T.next,x+=F=U.r,y+=G=U.g,z+=H=U.b,A+=I=U.a,B-=F,C-=G,D-=H,E-=I,U=U.next,r+=d}i.putImageData(h,b,c)}}function e(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}function f(a,b){var c=a.width,e=a.height,f=a.getContext("2d");f.drawImage(b,0,0,c,e),d(a,0,0,c,e,m)}var g,h,i,j,k,l,m;return{setters:[function(a){g=a.inject}],execute:function(){a("BlurImageCustomAttribute",(h=g(Element),j=h(i=function(){function a(b){c(this,a),this.element=b}return a.prototype.valueChanged=function(a){var b=this;a.complete?f(this.element,a):a.onload=function(){return f(b.element,a)}},a}())||i)),a("BlurImageCustomAttribute",j),k=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],l=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24],m=40}}}),function(){var a=System.amdDefine;a("child-router.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><section class="au-animate"><h2>${heading}</h2><div><div class="col-md-2"><ul class="well nav nav-pills nav-stacked"><li repeat.for="row of router.navigation" class="${row.isActive ? \'active\' : \'\'}"><a href.bind="row.href">${row.title}</a></li></ul></div><div class="col-md-10" style="padding: 0"><router-view></router-view></div></div></section></template>'})}(),System.register("child-router.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ChildRouter",d=function(){function a(){c(this,a),this.heading="Child Router"}return a.prototype.configureRouter=function(a,b){a.map([{route:["","welcome"],name:"welcome",moduleId:"welcome",nav:!0,title:"Welcome"},{route:"users",name:"users",moduleId:"users",nav:!0,title:"Github Users"},{route:"child-router",name:"child-router",moduleId:"child-router",nav:!0,title:"Child Router"}]),this.router=b},a}()),a("ChildRouter",d)}}}),System.register("main.js",["bootstrap"],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot()})}return a("configure",c),{setters:[function(a){}],execute:function(){}}}),function(){var a=System.amdDefine;a("nav-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template bindable="router"><nav class="navbar navbar-default navbar-fixed-top" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse"><span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="navbar-brand" href="#"><i class="fa fa-home"></i> <span>${router.title}</span></a></div><div class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse"><ul class="nav navbar-nav"><li repeat.for="row of router.navigation" class="${row.isActive ? \'active\' : \'\'}"><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href.bind="row.href">${row.title}</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="loader" if.bind="router.isNavigating"><i class="fa fa-spinner fa-spin fa-2x"></i></li></ul></div></nav></template>'})}(),function(){var a=System.amdDefine;a("users.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="blur-image"></require><section class="au-animate"><h2>${heading}</h2><div class="row au-stagger"><div class="col-sm-6 col-md-3 card-container au-animate" repeat.for="user of users"><div class="card"><canvas class="header-bg" width="250" height="70" blur-image.bind="image"></canvas><div class="avatar"><img src.bind="user.avatar_url" crossorigin ref="image"></div><div class="content"><p class="name">${user.login}</p><p><a target="_blank" class="btn btn-default" href.bind="user.html_url">Contact</a></p></div></div></div></div></section></template>'})}(),System.register("users.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){a("Users",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.heading="Github Users",this.users=[],b.configure(function(a){a.useStandardConfiguration().withBaseUrl("https://api.github.com/")}),this.http=b}return a.prototype.activate=function(){var a=this;return this.http.fetch("users").then(function(a){return a.json()}).then(function(b){return a.users=b})},a}())||g)),a("Users",h)}}}),function(){var a=System.amdDefine;a("welcome.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><section class="au-animate"><h2>${heading}</h2><form role="form" submit.delegate="submit()"><div class="form-group"><label for="fn">First Name</label><input type="text" value.bind="firstName" class="form-control" id="fn" placeholder="first name"></div><div class="form-group"><label for="ln">Last Name</label><input type="text" value.bind="lastName" class="form-control" id="ln" placeholder="last name"></div><div class="form-group"><label>Full Name</label><p class="help-block">${fullName | upper}</p></div><button type="submit" class="btn btn-default">Submit</button></form></section></template>'})}(),System.register("welcome.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f;return{setters:[],execute:function(){d=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("Welcome",e=function(){function a(){c(this,a),this.heading="Welcome to the Aurelia Navigation App!",this.firstName="John",this.lastName="Doe",this.previousValue=this.fullName}return a.prototype.submit=function(){this.previousValue=this.fullName,alert("Welcome, "+this.fullName+"!")},a.prototype.canDeactivate=function(){if(this.fullName!==this.previousValue)return confirm("Are you sure you want to leave?")},d(a,[{key:"fullName",get:function(){return this.firstName+" "+this.lastName}}]),a}()),a("Welcome",e),a("UpperValueConverter",f=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a&&a.toUpperCase()},a}()),a("UpperValueConverter",f)}}});
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/app.html b/js-tools/templates/aurelia-jspm/dist/app.html
new file mode 100644
index 000000000..7c56cad52
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app.html
@@ -0,0 +1 @@
+<template><require from="nav-bar.html"></require><require from="bootstrap/css/bootstrap.css"></require><nav-bar router.bind="router"></nav-bar><div class="page-host"><router-view></router-view></div></template>
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/app.js b/js-tools/templates/aurelia-jspm/dist/app.js
new file mode 100644
index 000000000..2c199ce3b
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app.js
@@ -0,0 +1,34 @@
+System.register([], function (_export, _context) {
+ "use strict";
+
+ var App;
+
+ function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+ }
+
+ return {
+ setters: [],
+ execute: function () {
+ _export('App', App = function () {
+ function App() {
+ _classCallCheck(this, App);
+ }
+
+ App.prototype.configureRouter = function configureRouter(config, router) {
+ config.title = 'Aurelia';
+ config.map([{ route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' }, { route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' }, { route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' }]);
+
+ this.router = router;
+ };
+
+ return App;
+ }());
+
+ _export('App', App);
+ }
+ };
+});
+//# sourceMappingURL=app.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/app.js.map b/js-tools/templates/aurelia-jspm/dist/app.js.map
new file mode 100644
index 000000000..2b6c53ac2
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["app.js"],"names":["App","configureRouter","config","router","title","map","route","name","moduleId","nav"],"mappings":";;;;;;;;;;;;;;qBAAaA,G;;;;;sBACXC,e,4BAAgBC,M,EAAQC,M,EAAQ;AAC9BD,iBAAOE,KAAP,GAAe,SAAf;AACAF,iBAAOG,GAAP,CAAW,CACT,EAAEC,OAAO,CAAC,EAAD,EAAK,SAAL,CAAT,EAA0BC,MAAM,SAAhC,EAAgDC,UAAU,SAA1D,EAA0EC,KAAK,IAA/E,EAAqFL,OAAO,SAA5F,EADS,EAET,EAAEE,OAAO,OAAT,EAA0BC,MAAM,OAAhC,EAAgDC,UAAU,OAA1D,EAA0EC,KAAK,IAA/E,EAAqFL,OAAO,cAA5F,EAFS,EAGT,EAAEE,OAAO,cAAT,EAA0BC,MAAM,cAAhC,EAAgDC,UAAU,cAA1D,EAA0EC,KAAK,IAA/E,EAAqFL,OAAO,cAA5F,EAHS,CAAX;;AAMA,eAAKD,MAAL,GAAcA,MAAd;AACD,S","file":"app.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/app.spec.js b/js-tools/templates/aurelia-jspm/dist/app.spec.js
new file mode 100644
index 000000000..7e5efd50c
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app.spec.js
@@ -0,0 +1,21 @@
+System.register(['src/app.js'], function (_export, _context) {
+ "use strict";
+
+ var App, App2;
+ return {
+ setters: [function (_srcAppJs) {
+ App = _srcAppJs.App;
+ App2 = _srcAppJs.App2;
+ }],
+ execute: function () {
+
+ describe('A test of app.js ', function () {
+ it('should not work', function () {
+ var app = new App();
+ expect(app.message).toBe('Hello Aurelia');
+ });
+ });
+ }
+ };
+});
+//# sourceMappingURL=app.spec.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/app.spec.js.map b/js-tools/templates/aurelia-jspm/dist/app.spec.js.map
new file mode 100644
index 000000000..4d33372af
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/app.spec.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["app.spec.js"],"names":["App","App2","describe","it","app","expect","message","toBe"],"mappings":";;;;;;AAAQA,e,aAAAA,G;AAAKC,gB,aAAAA,I;;;;AAEbC,qBAAS,mBAAT,EAA8B,YAAM;AAChCC,mBAAG,iBAAH,EAAuB,YAAM;AACzB,wBAAIC,MAAM,IAAIJ,GAAJ,EAAV;AACAK,2BAAOD,IAAIE,OAAX,EAAoBC,IAApB,CAAyB,eAAzB;AACH,iBAHD;AAIH,aALD","file":"app.spec.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/aurelia.js b/js-tools/templates/aurelia-jspm/dist/aurelia.js
new file mode 100644
index 000000000..73ebb5e2e
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/aurelia.js
@@ -0,0 +1,16 @@
+"bundle";System.registerDynamic("github:github/fetch@1.0.0/fetch.js",[],!1,function(a,b,c){var d=System.get("@@global-helpers").prepareGlobal(c.id,null,null);return function(a){!function(a){"use strict";function b(a){if("string"!=typeof a&&(a=String(a)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function c(a){return"string"!=typeof a&&(a=String(a)),a}function d(a){var b={next:function(){var b=a.shift();return{done:void 0===b,value:b}}};return p.iterable&&(b[Symbol.iterator]=function(){return b}),b}function e(a){this.map={},a instanceof e?a.forEach(function(a,b){this.append(b,a)},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b])},this)}function f(a){return a.bodyUsed?Promise.reject(new TypeError("Already read")):void(a.bodyUsed=!0)}function g(a){return new Promise(function(b,c){a.onload=function(){b(a.result)},a.onerror=function(){c(a.error)}})}function h(a){var b=new FileReader;return b.readAsArrayBuffer(a),g(b)}function i(a){var b=new FileReader;return b.readAsText(a),g(b)}function j(){return this.bodyUsed=!1,this._initBody=function(a){if(this._bodyInit=a,"string"==typeof a)this._bodyText=a;else if(p.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(p.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(a){if(!p.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(a))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob?(this.blob=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(h)},this.text=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var a=f(this);return a?a:Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(m)}),this.json=function(){return this.text().then(JSON.parse)},this}function k(a){var b=a.toUpperCase();return q.indexOf(b)>-1?b:a}function l(a,b){b=b||{};var c=b.body;if(l.prototype.isPrototypeOf(a)){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url,this.credentials=a.credentials,b.headers||(this.headers=new e(a.headers)),this.method=a.method,this.mode=a.mode,c||(c=a._bodyInit,a.bodyUsed=!0)}else this.url=a;if(this.credentials=b.credentials||this.credentials||"omit",!b.headers&&this.headers||(this.headers=new e(b.headers)),this.method=k(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&c)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(c)}function m(a){var b=new FormData;return a.trim().split("&").forEach(function(a){if(a){var c=a.split("="),d=c.shift().replace(/\+/g," "),e=c.join("=").replace(/\+/g," ");b.append(decodeURIComponent(d),decodeURIComponent(e))}}),b}function n(a){var b=new e,c=(a.getAllResponseHeaders()||"").trim().split("\n");return c.forEach(function(a){var c=a.trim().split(":"),d=c.shift().trim(),e=c.join(":").trim();b.append(d,e)}),b}function o(a,b){b||(b={}),this.type="default",this.status=b.status,this.ok=this.status>=200&&this.status<300,this.statusText=b.statusText,this.headers=b.headers instanceof e?b.headers:new e(b.headers),this.url=b.url||"",this._initBody(a)}if(!a.fetch){var p={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};e.prototype.append=function(a,d){a=b(a),d=c(d);var e=this.map[a];e||(e=[],this.map[a]=e),e.push(d)},e.prototype["delete"]=function(a){delete this.map[b(a)]},e.prototype.get=function(a){var c=this.map[b(a)];return c?c[0]:null},e.prototype.getAll=function(a){return this.map[b(a)]||[]},e.prototype.has=function(a){return this.map.hasOwnProperty(b(a))},e.prototype.set=function(a,d){this.map[b(a)]=[c(d)]},e.prototype.forEach=function(a,b){Object.getOwnPropertyNames(this.map).forEach(function(c){this.map[c].forEach(function(d){a.call(b,d,c,this)},this)},this)},e.prototype.keys=function(){var a=[];return this.forEach(function(b,c){a.push(c)}),d(a)},e.prototype.values=function(){var a=[];return this.forEach(function(b){a.push(b)}),d(a)},e.prototype.entries=function(){var a=[];return this.forEach(function(b,c){a.push([c,b])}),d(a)},p.iterable&&(e.prototype[Symbol.iterator]=e.prototype.entries);var q=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];l.prototype.clone=function(){return new l(this)},j.call(l.prototype),j.call(o.prototype),o.prototype.clone=function(){return new o(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new e(this.headers),url:this.url})},o.error=function(){var a=new o(null,{status:0,statusText:""});return a.type="error",a};var r=[301,302,303,307,308];o.redirect=function(a,b){if(r.indexOf(b)===-1)throw new RangeError("Invalid status code");return new o(null,{status:b,headers:{location:a}})},a.Headers=e,a.Request=l,a.Response=o,a.fetch=function(a,b){return new Promise(function(c,d){function e(){return"responseURL"in g?g.responseURL:/^X-Request-URL:/m.test(g.getAllResponseHeaders())?g.getResponseHeader("X-Request-URL"):void 0}var f;f=l.prototype.isPrototypeOf(a)&&!b?a:new l(a,b);var g=new XMLHttpRequest;g.onload=function(){var a={status:g.status,statusText:g.statusText,headers:n(g),url:e()},b="response"in g?g.response:g.responseText;c(new o(b,a))},g.onerror=function(){d(new TypeError("Network request failed"))},g.ontimeout=function(){d(new TypeError("Network request failed"))},g.open(f.method,f.url,!0),"include"===f.credentials&&(g.withCredentials=!0),"responseType"in g&&p.blob&&(g.responseType="blob"),f.headers.forEach(function(a,b){g.setRequestHeader(b,a)}),g.send("undefined"==typeof f._bodyInit?null:f._bodyInit)})},a.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)}(this),d()}),System.registerDynamic("github:github/fetch@1.0.0.js",["github:github/fetch@1.0.0/fetch.js"],!0,function(a,b,c){this||self;c.exports=a("github:github/fetch@1.0.0/fetch.js")}),function(){var a=System.amdDefine;!function(a,b){"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(b,c){function d(a){var b=!!a&&"length"in a&&a.length,c=ga.type(a);return"function"!==c&&!ga.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}function e(a,b,c){if(ga.isFunction(b))return ga.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return ga.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(qa.test(b))return ga.filter(b,a,c);b=ga.filter(b,a)}return ga.grep(a,function(a){return aa.call(b,a)>-1!==c})}function f(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function g(a){var b={};return ga.each(a.match(wa)||[],function(a,c){b[c]=!0}),b}function h(){Y.removeEventListener("DOMContentLoaded",h),b.removeEventListener("load",h),ga.ready()}function i(){this.expando=ga.expando+i.uid++}function j(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Da,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:Ca.test(c)?ga.parseJSON(c):c)}catch(e){}Ba.set(a,b,c)}else c=void 0;return c}function k(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return ga.css(a,b,"")},i=h(),j=c&&c[3]||(ga.cssNumber[b]?"":"px"),k=(ga.cssNumber[b]||"px"!==j&&+i)&&Fa.exec(ga.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,ga.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}function l(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&ga.nodeName(a,b)?ga.merge([a],c):c}function m(a,b){for(var c=0,d=a.length;c<d;c++)Aa.set(a[c],"globalEval",!b||Aa.get(b[c],"globalEval"))}function n(a,b,c,d,e){for(var f,g,h,i,j,k,n=b.createDocumentFragment(),o=[],p=0,q=a.length;p<q;p++)if(f=a[p],f||0===f)if("object"===ga.type(f))ga.merge(o,f.nodeType?[f]:f);else if(Ma.test(f)){for(g=g||n.appendChild(b.createElement("div")),h=(Ja.exec(f)||["",""])[1].toLowerCase(),i=La[h]||La._default,g.innerHTML=i[1]+ga.htmlPrefilter(f)+i[2],k=i[0];k--;)g=g.lastChild;ga.merge(o,g.childNodes),g=n.firstChild,g.textContent=""}else o.push(b.createTextNode(f));for(n.textContent="",p=0;f=o[p++];)if(d&&ga.inArray(f,d)>-1)e&&e.push(f);else if(j=ga.contains(f.ownerDocument,f),g=l(n.appendChild(f),"script"),j&&m(g),c)for(k=0;f=g[k++];)Ka.test(f.type||"")&&c.push(f);return n}function o(){return!0}function p(){return!1}function q(){try{return Y.activeElement}catch(a){}}function r(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)r(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=p;else if(!e)return a;return 1===f&&(g=e,e=function(a){return ga().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=ga.guid++)),a.each(function(){ga.event.add(this,b,e,d,c)})}function s(a,b){return ga.nodeName(a,"table")&&ga.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function t(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function u(a){var b=Ta.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function v(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(Aa.hasData(a)&&(f=Aa.access(a),g=Aa.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)ga.event.add(b,e,j[e][c])}Ba.hasData(a)&&(h=Ba.access(a),i=ga.extend({},h),Ba.set(b,i))}}function w(a,b){var c=b.nodeName.toLowerCase();"input"===c&&Ia.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function x(a,b,c,d){b=$.apply([],b);var e,f,g,h,i,j,k=0,m=a.length,o=m-1,p=b[0],q=ga.isFunction(p);if(q||m>1&&"string"==typeof p&&!ea.checkClone&&Sa.test(p))return a.each(function(e){var f=a.eq(e);q&&(b[0]=p.call(this,e,f.html())),x(f,b,c,d)});if(m&&(e=n(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(g=ga.map(l(e,"script"),t),h=g.length;k<m;k++)i=e,k!==o&&(i=ga.clone(i,!0,!0),h&&ga.merge(g,l(i,"script"))),c.call(a[k],i,k);if(h)for(j=g[g.length-1].ownerDocument,ga.map(g,u),k=0;k<h;k++)i=g[k],Ka.test(i.type||"")&&!Aa.access(i,"globalEval")&&ga.contains(j,i)&&(i.src?ga._evalUrl&&ga._evalUrl(i.src):ga.globalEval(i.textContent.replace(Ua,"")))}return a}function y(a,b,c){for(var d,e=b?ga.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||ga.cleanData(l(d)),d.parentNode&&(c&&ga.contains(d.ownerDocument,d)&&m(l(d,"script")),d.parentNode.removeChild(d));return a}function z(a,b){var c=ga(b.createElement(a)).appendTo(b.body),d=ga.css(c[0],"display");return c.detach(),d}function A(a){var b=Y,c=Wa[a];return c||(c=z(a,b),"none"!==c&&c||(Va=(Va||ga("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=Va[0].contentDocument,b.write(),b.close(),c=z(a,b),Va.detach()),Wa[a]=c),c}function B(a,b,c){var d,e,f,g,h=a.style;return c=c||Za(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||ga.contains(a.ownerDocument,a)||(g=ga.style(a,b)),c&&!ea.pixelMarginRight()&&Ya.test(g)&&Xa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+"":g}function C(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function D(a){if(a in eb)return a;for(var b=a[0].toUpperCase()+a.slice(1),c=db.length;c--;)if(a=db[c]+b,a in eb)return a}function E(a,b,c){var d=Fa.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function F(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=ga.css(a,c+Ga[f],!0,e)),d?("content"===c&&(g-=ga.css(a,"padding"+Ga[f],!0,e)),"margin"!==c&&(g-=ga.css(a,"border"+Ga[f]+"Width",!0,e))):(g+=ga.css(a,"padding"+Ga[f],!0,e),"padding"!==c&&(g+=ga.css(a,"border"+Ga[f]+"Width",!0,e)));return g}function G(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Za(a),g="border-box"===ga.css(a,"boxSizing",!1,f);if(e<=0||null==e){if(e=B(a,b,f),(e<0||null==e)&&(e=a.style[b]),Ya.test(e))return e;d=g&&(ea.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+F(a,b,c||(g?"border":"content"),d,f)+"px"}function H(a,b){for(var c,d,e,f=[],g=0,h=a.length;g<h;g++)d=a[g],d.style&&(f[g]=Aa.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&Ha(d)&&(f[g]=Aa.access(d,"olddisplay",A(d.nodeName)))):(e=Ha(d),"none"===c&&e||Aa.set(d,"olddisplay",e?c:ga.css(d,"display"))));for(g=0;g<h;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function I(a,b,c,d,e){return new I.prototype.init(a,b,c,d,e)}function J(){return b.setTimeout(function(){fb=void 0}),fb=ga.now()}function K(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=Ga[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function L(a,b,c){for(var d,e=(O.tweeners[b]||[]).concat(O.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function M(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},n=a.style,o=a.nodeType&&Ha(a),p=Aa.get(a,"fxshow");c.queue||(h=ga._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,ga.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[n.overflow,n.overflowX,n.overflowY],j=ga.css(a,"display"),k="none"===j?Aa.get(a,"olddisplay")||A(a.nodeName):j,"inline"===k&&"none"===ga.css(a,"float")&&(n.display="inline-block")),c.overflow&&(n.overflow="hidden",l.always(function(){n.overflow=c.overflow[0],n.overflowX=c.overflow[1],n.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],hb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(o?"hide":"show")){if("show"!==e||!p||void 0===p[d])continue;o=!0}m[d]=p&&p[d]||ga.style(a,d)}else j=void 0;if(ga.isEmptyObject(m))"inline"===("none"===j?A(a.nodeName):j)&&(n.display=j);else{p?"hidden"in p&&(o=p.hidden):p=Aa.access(a,"fxshow",{}),f&&(p.hidden=!o),o?ga(a).show():l.done(function(){ga(a).hide()}),l.done(function(){var b;Aa.remove(a,"fxshow");for(b in m)ga.style(a,b,m[b])});for(d in m)g=L(o?p[d]:0,d,l),d in p||(p[d]=g.start,o&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function N(a,b){var c,d,e,f,g;for(c in a)if(d=ga.camelCase(c),e=b[d],f=a[c],ga.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=ga.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function O(a,b,c){var d,e,f=0,g=O.prefilters.length,h=ga.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=fb||J(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:ga.extend({},b),opts:ga.extend(!0,{specialEasing:{},easing:ga.easing._default},c),originalProperties:b,originalOptions:c,startTime:fb||J(),duration:c.duration,tweens:[],createTween:function(b,c){var d=ga.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(N(k,j.opts.specialEasing);f<g;f++)if(d=O.prefilters[f].call(j,a,k,j.opts))return ga.isFunction(d.stop)&&(ga._queueHooks(j.elem,j.opts.queue).stop=ga.proxy(d.stop,d)),d;return ga.map(k,L,j),ga.isFunction(j.opts.start)&&j.opts.start.call(a,j),ga.fx.timer(ga.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function P(a){return a.getAttribute&&a.getAttribute("class")||""}function Q(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(wa)||[];if(ga.isFunction(c))for(;d=f[e++];)"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function R(a,b,c,d){function e(h){var i;return f[h]=!0,ga.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||g||f[j]?g?!(i=j):void 0:(b.dataTypes.unshift(j),e(j),!1)}),i}var f={},g=a===Bb;return e(b.dataTypes[0])||!f["*"]&&e("*")}function S(a,b){var c,d,e=ga.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&ga.extend(!0,a,d),a}function T(a,b,c){for(var d,e,f,g,h=a.contents,i=a.dataTypes;"*"===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 U(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];for(f=k.shift();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}}function V(a,b,c,d){var e;if(ga.isArray(b))ga.each(b,function(b,e){c||Fb.test(a)?d(a,e):V(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==ga.type(b))d(a,b);else for(e in b)V(a+"["+e+"]",b[e],c,d)}function W(a){return ga.isWindow(a)?a:9===a.nodeType&&a.defaultView}var X=[],Y=b.document,Z=X.slice,$=X.concat,_=X.push,aa=X.indexOf,ba={},ca=ba.toString,da=ba.hasOwnProperty,ea={},fa="2.2.4",ga=function(a,b){return new ga.fn.init(a,b)},ha=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ia=/^-ms-/,ja=/-([\da-z])/gi,ka=function(a,b){return b.toUpperCase()};ga.fn=ga.prototype={jquery:fa,constructor:ga,selector:"",length:0,toArray:function(){return Z.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:Z.call(this)},pushStack:function(a){var b=ga.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return ga.each(this,a)},map:function(a){return this.pushStack(ga.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(Z.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&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:_,sort:X.sort,splice:X.splice},ga.extend=ga.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||ga.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(ga.isPlainObject(d)||(e=ga.isArray(d)))?(e?(e=!1,f=c&&ga.isArray(c)?c:[]):f=c&&ga.isPlainObject(c)?c:{},g[b]=ga.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},ga.extend({expando:"jQuery"+(fa+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===ga.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!ga.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==ga.type(a)||a.nodeType||ga.isWindow(a))return!1;if(a.constructor&&!da.call(a,"constructor")&&!da.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||da.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?ba[ca.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=ga.trim(a),a&&(1===a.indexOf("use strict")?(b=Y.createElement("script"),b.text=a,Y.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(ia,"ms-").replace(ja,ka)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,e=0;if(d(a))for(c=a.length;e<c&&b.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(b.call(a[e],e,a[e])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(ha,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(d(Object(a))?ga.merge(c,"string"==typeof a?[a]:a):_.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:aa.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var e,f,g=0,h=[];if(d(a))for(e=a.length;g<e;g++)f=b(a[g],g,c),null!=f&&h.push(f);else for(g in a)f=b(a[g],g,c),null!=f&&h.push(f);return $.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),ga.isFunction(a))return d=Z.call(arguments,2),e=function(){return a.apply(b||this,d.concat(Z.call(arguments)))},e.guid=a.guid=a.guid||ga.guid++,e},now:Date.now,support:ea}),"function"==typeof Symbol&&(ga.fn[Symbol.iterator]=X[Symbol.iterator]),ga.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){ba["[object "+b+"]"]=b.toLowerCase()});var la=function(a){function b(a,b,c,d){var e,f,g,h,i,j,l,n,o=b&&b.ownerDocument,p=b?b.nodeType:9;if(c=c||[],"string"!=typeof a||!a||1!==p&&9!==p&&11!==p)return c;if(!d&&((b?b.ownerDocument||b:O)!==G&&F(b),b=b||G,I)){if(11!==p&&(j=ra.exec(a)))if(e=j[1]){if(9===p){if(!(g=b.getElementById(e)))return c;if(g.id===e)return c.push(g),c}else if(o&&(g=o.getElementById(e))&&M(b,g)&&g.id===e)return c.push(g),c}else{if(j[2])return $.apply(c,b.getElementsByTagName(a)),c;if((e=j[3])&&v.getElementsByClassName&&b.getElementsByClassName)return $.apply(c,b.getElementsByClassName(e)),c}if(v.qsa&&!T[a+" "]&&(!J||!J.test(a))){if(1!==p)o=b,n=a;else if("object"!==b.nodeName.toLowerCase()){for((h=b.getAttribute("id"))?h=h.replace(ta,"\\$&"):b.setAttribute("id",h=N),l=z(a),f=l.length,i=ma.test(h)?"#"+h:"[id='"+h+"']";f--;)l[f]=i+" "+m(l[f]);n=l.join(","),o=sa.test(a)&&k(b.parentNode)||b}if(n)try{return $.apply(c,o.querySelectorAll(n)),c}catch(q){}finally{h===N&&b.removeAttribute("id")}}}return B(a.replace(ha,"$1"),b,c,d)}function c(){function a(c,d){return b.push(c+" ")>w.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[N]=!0,a}function e(a){var b=G.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function f(a,b){for(var c=a.split("|"),d=c.length;d--;)w.attrHandle[c[d]]=b}function g(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||V)-(~a.sourceIndex||V);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function h(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function i(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function j(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function k(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function l(){}function m(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function n(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=Q++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[P,f];if(g){for(;b=b[d];)if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||e){if(j=b[N]||(b[N]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===P&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function o(a){return a.length>1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function p(a,c,d){for(var e=0,f=c.length;e<f;e++)b(a,c[e],d);return d}function q(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function r(a,b,c,e,f,g){return e&&!e[N]&&(e=r(e)),f&&!f[N]&&(f=r(f,g)),d(function(d,g,h,i){var j,k,l,m=[],n=[],o=g.length,r=d||p(b||"*",h.nodeType?[h]:h,[]),s=!a||!d&&b?r:q(r,m,a,h,i),t=c?f||(d?a:o||e)?[]:g:s;if(c&&c(s,t,h,i),e)for(j=q(t,n),e(j,[],h,i),k=j.length;k--;)(l=j[k])&&(t[n[k]]=!(s[n[k]]=l));if(d){if(f||a){if(f){for(j=[],k=t.length;k--;)(l=t[k])&&j.push(s[k]=l);f(null,t=[],j,i)}for(k=t.length;k--;)(l=t[k])&&(j=f?aa(d,l):m[k])>-1&&(d[j]=!(g[j]=l))}}else t=q(t===g?t.splice(o,t.length):t),f?f(null,g,t,i):$.apply(g,t)})}function s(a){for(var b,c,d,e=a.length,f=w.relative[a[0].type],g=f||w.relative[" "],h=f?1:0,i=n(function(a){return a===b},g,!0),j=n(function(a){return aa(b,a)>-1},g,!0),k=[function(a,c,d){var e=!f&&(d||c!==C)||((b=c).nodeType?i(a,c,d):j(a,c,d));return b=null,e}];h<e;h++)if(c=w.relative[a[h].type])k=[n(o(k),c)];else{if(c=w.filter[a[h].type].apply(null,a[h].matches),c[N]){for(d=++h;d<e&&!w.relative[a[d].type];d++);return r(h>1&&o(k),h>1&&m(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(ha,"$1"),c,h<d&&s(a.slice(h,d)),d<e&&s(a=a.slice(d)),d<e&&m(a))}k.push(c)}return o(k)}function t(a,c){var e=c.length>0,f=a.length>0,g=function(d,g,h,i,j){var k,l,m,n=0,o="0",p=d&&[],r=[],s=C,t=d||f&&w.find.TAG("*",j),u=P+=null==s?1:Math.random()||.1,v=t.length;for(j&&(C=g===G||g||j);o!==v&&null!=(k=t[o]);o++){if(f&&k){for(l=0,g||k.ownerDocument===G||(F(k),h=!I);m=a[l++];)if(m(k,g||G,h)){i.push(k);break}j&&(P=u)}e&&((k=!m&&k)&&n--,d&&p.push(k))}if(n+=o,e&&o!==n){for(l=0;m=c[l++];)m(p,r,g,h);if(d){if(n>0)for(;o--;)p[o]||r[o]||(r[o]=Y.call(i));r=q(r)}$.apply(i,r),j&&!d&&r.length>0&&n+c.length>1&&b.uniqueSort(i)}return j&&(P=u,C=s),p};return e?d(g):g}var u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N="sizzle"+1*new Date,O=a.document,P=0,Q=0,R=c(),S=c(),T=c(),U=function(a,b){return a===b&&(E=!0),0},V=1<<31,W={}.hasOwnProperty,X=[],Y=X.pop,Z=X.push,$=X.push,_=X.slice,aa=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},ba="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ca="[\\x20\\t\\r\\n\\f]",da="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ea="\\["+ca+"*("+da+")(?:"+ca+"*([*^$|!~]?=)"+ca+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+da+"))|)"+ca+"*\\]",fa=":("+da+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ea+")*)|.*)\\)|)",ga=new RegExp(ca+"+","g"),ha=new RegExp("^"+ca+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ca+"+$","g"),ia=new RegExp("^"+ca+"*,"+ca+"*"),ja=new RegExp("^"+ca+"*([>+~]|"+ca+")"+ca+"*"),ka=new RegExp("="+ca+"*([^\\]'\"]*?)"+ca+"*\\]","g"),la=new RegExp(fa),ma=new RegExp("^"+da+"$"),na={ID:new RegExp("^#("+da+")"),CLASS:new RegExp("^\\.("+da+")"),TAG:new RegExp("^("+da+"|[*])"),ATTR:new RegExp("^"+ea),PSEUDO:new RegExp("^"+fa),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ca+"*(even|odd|(([+-]|)(\\d*)n|)"+ca+"*(?:([+-]|)"+ca+"*(\\d+)|))"+ca+"*\\)|)","i"),bool:new RegExp("^(?:"+ba+")$","i"),needsContext:new RegExp("^"+ca+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ca+"*((?:-\\d)?\\d*)"+ca+"*\\)|)(?=[^-]|$)","i")},oa=/^(?:input|select|textarea|button)$/i,pa=/^h\d$/i,qa=/^[^{]+\{\s*\[native \w/,ra=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,sa=/[+~]/,ta=/'|\\/g,ua=new RegExp("\\\\([\\da-f]{1,6}"+ca+"?|("+ca+")|.)","ig"),va=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)},wa=function(){F()};try{$.apply(X=_.call(O.childNodes),O.childNodes),X[O.childNodes.length].nodeType}catch(xa){$={apply:X.length?function(a,b){Z.apply(a,_.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}v=b.support={},y=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},F=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:O;return d!==G&&9===d.nodeType&&d.documentElement?(G=d,H=G.documentElement,I=!y(G),(c=G.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",wa,!1):c.attachEvent&&c.attachEvent("onunload",wa)),v.attributes=e(function(a){return a.className="i",!a.getAttribute("className")}),v.getElementsByTagName=e(function(a){return a.appendChild(G.createComment("")),!a.getElementsByTagName("*").length}),v.getElementsByClassName=qa.test(G.getElementsByClassName),v.getById=e(function(a){return H.appendChild(a).id=N,!G.getElementsByName||!G.getElementsByName(N).length}),v.getById?(w.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&I){var c=b.getElementById(a);return c?[c]:[]}},w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){return a.getAttribute("id")===b}}):(delete w.find.ID,w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),w.find.TAG=v.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):v.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},w.find.CLASS=v.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&I)return b.getElementsByClassName(a)},K=[],J=[],(v.qsa=qa.test(G.querySelectorAll))&&(e(function(a){H.appendChild(a).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&J.push("[*^$]="+ca+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||J.push("\\["+ca+"*(?:value|"+ba+")"),a.querySelectorAll("[id~="+N+"-]").length||J.push("~="),a.querySelectorAll(":checked").length||J.push(":checked"),a.querySelectorAll("a#"+N+"+*").length||J.push(".#.+[+~]")}),e(function(a){var b=G.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&J.push("name"+ca+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||J.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),J.push(",.*:")})),(v.matchesSelector=qa.test(L=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&e(function(a){v.disconnectedMatch=L.call(a,"div"),L.call(a,"[s!='']:x"),K.push("!=",fa)}),J=J.length&&new RegExp(J.join("|")),K=K.length&&new RegExp(K.join("|")),b=qa.test(H.compareDocumentPosition),M=b||qa.test(H.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)for(;b=b.parentNode;)if(b===a)return!0;return!1},U=b?function(a,b){if(a===b)return E=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!v.sortDetached&&b.compareDocumentPosition(a)===c?a===G||a.ownerDocument===O&&M(O,a)?-1:b===G||b.ownerDocument===O&&M(O,b)?1:D?aa(D,a)-aa(D,b):0:4&c?-1:1)}:function(a,b){if(a===b)return E=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===G?-1:b===G?1:e?-1:f?1:D?aa(D,a)-aa(D,b):0;if(e===f)return g(a,b);for(c=a;c=c.parentNode;)h.unshift(c);for(c=b;c=c.parentNode;)i.unshift(c);for(;h[d]===i[d];)d++;return d?g(h[d],i[d]):h[d]===O?-1:i[d]===O?1:0},G):G},b.matches=function(a,c){return b(a,null,null,c)},b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==G&&F(a),c=c.replace(ka,"='$1']"),v.matchesSelector&&I&&!T[c+" "]&&(!K||!K.test(c))&&(!J||!J.test(c)))try{var d=L.call(a,c);if(d||v.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return b(c,G,null,[a]).length>0},b.contains=function(a,b){return(a.ownerDocument||a)!==G&&F(a),M(a,b)},b.attr=function(a,b){(a.ownerDocument||a)!==G&&F(a);var c=w.attrHandle[b.toLowerCase()],d=c&&W.call(w.attrHandle,b.toLowerCase())?c(a,b,!I):void 0;return void 0!==d?d:v.attributes||!I?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},b.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},b.uniqueSort=function(a){var b,c=[],d=0,e=0;if(E=!v.detectDuplicates,D=!v.sortStable&&a.slice(0),a.sort(U),E){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}return D=null,a},x=b.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=x(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=x(b);return c},w=b.selectors={cacheLength:50,createPseudo:d,match:na,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(ua,va),a[3]=(a[3]||a[4]||a[5]||"").replace(ua,va),"~="===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]||b.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]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return na.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&la.test(c)&&(b=z(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(ua,va).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=R[a+" "];return b||(b=new RegExp("(^|"+ca+")"+a+"("+ca+"|$)"))&&R(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,c,d){return function(e){var f=b.attr(e,a);return null==f?"!="===c:!c||(f+="","="===c?f===d:"!="===c?f!==d:"^="===c?d&&0===f.indexOf(d):"*="===c?d&&f.indexOf(d)>-1:"$="===c?d&&f.slice(-d.length)===d:"~="===c?(" "+f.replace(ga," ")+" ").indexOf(d)>-1:"|="===c&&(f===d||f.slice(0,d.length+1)===d+"-"))}},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){for(;p;){for(m=b;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){for(m=q,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n&&j[2],m=n&&q.childNodes[n];m=++n&&m&&m[p]||(t=n=0)||o.pop();)if(1===m.nodeType&&++t&&m===b){k[a]=[P,n,t];break}}else if(s&&(m=b,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n),t===!1)for(;(m=++n&&m&&m[p]||(t=n=0)||o.pop())&&((h?m.nodeName.toLowerCase()!==r:1!==m.nodeType)||!++t||(s&&(l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[P,t]),m!==b)););return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,c){var e,f=w.pseudos[a]||w.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[N]?f(c):f.length>1?(e=[a,a,"",c],w.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,b){for(var d,e=f(a,c),g=e.length;g--;)d=aa(a,e[g]),a[d]=!(b[d]=e[g])}):function(a){return f(a,0,e)}):f}},pseudos:{not:d(function(a){var b=[],c=[],e=A(a.replace(ha,"$1"));return e[N]?d(function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,d,f){return b[0]=a,e(b,null,f,c),b[0]=null,!c.pop()}}),has:d(function(a){return function(c){return b(a,c).length>0}}),contains:d(function(a){return a=a.replace(ua,va),function(b){return(b.textContent||b.innerText||x(b)).indexOf(a)>-1}}),lang:d(function(a){return ma.test(a||"")||b.error("unsupported lang: "+a),a=a.replace(ua,va).toLowerCase(),function(b){var c;do if(c=I?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===H},focus:function(a){return a===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!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!w.pseudos.empty(a)},header:function(a){return pa.test(a.nodeName)},input:function(a){return oa.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:j(function(){return[0]}),last:j(function(a,b){return[b-1]}),eq:j(function(a,b,c){return[c<0?c+b:c]}),even:j(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:j(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:j(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:j(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},w.pseudos.nth=w.pseudos.eq;for(u in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[u]=h(u);for(u in{submit:!0,reset:!0})w.pseudos[u]=i(u);return l.prototype=w.filters=w.pseudos,w.setFilters=new l,z=b.tokenize=function(a,c){var d,e,f,g,h,i,j,k=S[a+" "];if(k)return c?0:k.slice(0);for(h=a,i=[],j=w.preFilter;h;){d&&!(e=ia.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),d=!1,(e=ja.exec(h))&&(d=e.shift(),f.push({value:d,type:e[0].replace(ha," ")}),h=h.slice(d.length));for(g in w.filter)!(e=na[g].exec(h))||j[g]&&!(e=j[g](e))||(d=e.shift(),f.push({value:d,type:g,matches:e}),h=h.slice(d.length));if(!d)break}return c?h.length:h?b.error(a):S(a,i).slice(0)},A=b.compile=function(a,b){var c,d=[],e=[],f=T[a+" "];if(!f){for(b||(b=z(a)),c=b.length;c--;)f=s(b[c]),f[N]?d.push(f):e.push(f);f=T(a,t(e,d)),f.selector=a}return f},B=b.select=function(a,b,c,d){var e,f,g,h,i,j="function"==typeof a&&a,l=!d&&z(a=j.selector||a);if(c=c||[],1===l.length){if(f=l[0]=l[0].slice(0),f.length>2&&"ID"===(g=f[0]).type&&v.getById&&9===b.nodeType&&I&&w.relative[f[1].type]){if(b=(w.find.ID(g.matches[0].replace(ua,va),b)||[])[0],!b)return c;j&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=na.needsContext.test(a)?0:f.length;e--&&(g=f[e],!w.relative[h=g.type]);)if((i=w.find[h])&&(d=i(g.matches[0].replace(ua,va),sa.test(f[0].type)&&k(b.parentNode)||b))){if(f.splice(e,1),a=d.length&&m(f),!a)return $.apply(c,d),c;break}}return(j||A(a,l))(d,b,!I,c,!b||sa.test(a)&&k(b.parentNode)||b),c},v.sortStable=N.split("").sort(U).join("")===N,v.detectDuplicates=!!E,F(),v.sortDetached=e(function(a){return 1&a.compareDocumentPosition(G.createElement("div"))}),e(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),v.attributes&&e(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||f("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),e(function(a){return null==a.getAttribute("disabled")})||f(ba,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),b}(b);ga.find=la,ga.expr=la.selectors,ga.expr[":"]=ga.expr.pseudos,ga.uniqueSort=ga.unique=la.uniqueSort,ga.text=la.getText,ga.isXMLDoc=la.isXML,ga.contains=la.contains;var ma=function(a,b,c){for(var d=[],e=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(e&&ga(a).is(c))break;d.push(a)}return d},na=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},oa=ga.expr.match.needsContext,pa=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,qa=/^.[^:#\[\.,]*$/;ga.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?ga.find.matchesSelector(d,a)?[d]:[]:ga.find.matches(a,ga.grep(b,function(a){return 1===a.nodeType}))},ga.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(ga(a).filter(function(){for(b=0;b<c;b++)if(ga.contains(e[b],this))return!0}));for(b=0;b<c;b++)ga.find(a,e[b],d);return d=this.pushStack(c>1?ga.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},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&&oa.test(a)?ga(a):a||[],!1).length}});var ra,sa=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ta=ga.fn.init=function(a,b,c){var d,e;if(!a)return this;if(c=c||ra,"string"==typeof a){if(d="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:sa.exec(a),!d||!d[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(d[1]){if(b=b instanceof ga?b[0]:b,ga.merge(this,ga.parseHTML(d[1],b&&b.nodeType?b.ownerDocument||b:Y,!0)),pa.test(d[1])&&ga.isPlainObject(b))for(d in b)ga.isFunction(this[d])?this[d](b[d]):this.attr(d,b[d]);return this}return e=Y.getElementById(d[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=Y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):ga.isFunction(a)?void 0!==c.ready?c.ready(a):a(ga):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),ga.makeArray(a,this))};ta.prototype=ga.fn,ra=ga(Y);var ua=/^(?:parents|prev(?:Until|All))/,va={children:!0,contents:!0,next:!0,prev:!0};ga.fn.extend({has:function(a){var b=ga(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(ga.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=oa.test(a)||"string"!=typeof a?ga(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&ga.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?ga.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?aa.call(ga(a),this[0]):aa.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(ga.uniqueSort(ga.merge(this.get(),ga(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),ga.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return ma(a,"parentNode")},parentsUntil:function(a,b,c){return ma(a,"parentNode",c)},next:function(a){return f(a,"nextSibling")},prev:function(a){return f(a,"previousSibling")},nextAll:function(a){return ma(a,"nextSibling")},prevAll:function(a){return ma(a,"previousSibling")},nextUntil:function(a,b,c){return ma(a,"nextSibling",c)},prevUntil:function(a,b,c){return ma(a,"previousSibling",c)},siblings:function(a){return na((a.parentNode||{}).firstChild,a)},children:function(a){return na(a.firstChild)},contents:function(a){return a.contentDocument||ga.merge([],a.childNodes)}},function(a,b){ga.fn[a]=function(c,d){var e=ga.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=ga.filter(d,e)),this.length>1&&(va[a]||ga.uniqueSort(e),ua.test(a)&&e.reverse()),this.pushStack(e)}});var wa=/\S+/g;ga.Callbacks=function(a){a="string"==typeof a?g(a):ga.extend({},a);var b,c,d,e,f=[],h=[],i=-1,j=function(){for(e=a.once,d=b=!0;h.length;i=-1)for(c=h.shift();++i<f.length;)f[i].apply(c[0],c[1])===!1&&a.stopOnFalse&&(i=f.length,c=!1);a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},k={add:function(){return f&&(c&&!b&&(i=f.length-1,h.push(c)),function d(b){ga.each(b,function(b,c){ga.isFunction(c)?a.unique&&k.has(c)||f.push(c):c&&c.length&&"string"!==ga.type(c)&&d(c)})}(arguments),c&&!b&&j()),this},remove:function(){return ga.each(arguments,function(a,b){for(var c;(c=ga.inArray(b,f,c))>-1;)f.splice(c,1),c<=i&&i--}),this},has:function(a){return a?ga.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=h=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=h=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],h.push(c),b||j()),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},ga.extend({Deferred:function(a){var b=[["resolve","done",ga.Callbacks("once memory"),"resolved"],["reject","fail",ga.Callbacks("once memory"),"rejected"],["notify","progress",ga.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return ga.Deferred(function(c){ga.each(b,function(b,f){var g=ga.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&ga.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?ga.extend(a,d):d}},e={};return d.pipe=d.then,ga.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=Z.call(arguments),g=f.length,h=1!==g||a&&ga.isFunction(a.promise)?g:0,i=1===h?a:ga.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?Z.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=new Array(g),c=new Array(g),d=new Array(g);e<g;e++)f[e]&&ga.isFunction(f[e].promise)?f[e].promise().progress(j(e,c,b)).done(j(e,d,f)).fail(i.reject):--h;return h||i.resolveWith(d,f),i.promise()}});var xa;ga.fn.ready=function(a){return ga.ready.promise().done(a),this},ga.extend({isReady:!1,readyWait:1,holdReady:function(a){a?ga.readyWait++:ga.ready(!0)},ready:function(a){(a===!0?--ga.readyWait:ga.isReady)||(ga.isReady=!0,a!==!0&&--ga.readyWait>0||(xa.resolveWith(Y,[ga]),ga.fn.triggerHandler&&(ga(Y).triggerHandler("ready"),ga(Y).off("ready"))))}}),ga.ready.promise=function(a){return xa||(xa=ga.Deferred(),"complete"===Y.readyState||"loading"!==Y.readyState&&!Y.documentElement.doScroll?b.setTimeout(ga.ready):(Y.addEventListener("DOMContentLoaded",h),b.addEventListener("load",h))),xa.promise(a)},ga.ready.promise();var ya=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===ga.type(c)){e=!0;for(h in c)ya(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,ga.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(ga(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},za=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};i.uid=1,i.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!za(a))return{};var b=a[this.expando];return b||(b={},za(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,ga.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{ga.isArray(b)?d=b.concat(b.map(ga.camelCase)):(e=ga.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(wa)||[])),c=d.length;for(;c--;)delete f[d[c]]}(void 0===b||ga.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!ga.isEmptyObject(b)}};var Aa=new i,Ba=new i,Ca=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Da=/[A-Z]/g;ga.extend({hasData:function(a){return Ba.hasData(a)||Aa.hasData(a)},data:function(a,b,c){return Ba.access(a,b,c)},removeData:function(a,b){Ba.remove(a,b)},_data:function(a,b,c){return Aa.access(a,b,c)},_removeData:function(a,b){Aa.remove(a,b)}}),ga.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=Ba.get(f),1===f.nodeType&&!Aa.get(f,"hasDataAttrs"))){for(c=g.length;c--;)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=ga.camelCase(d.slice(5)),j(f,d,e[d])));Aa.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){Ba.set(this,a)}):ya(this,function(b){var c,d;if(f&&void 0===b){if(c=Ba.get(f,a)||Ba.get(f,a.replace(Da,"-$&").toLowerCase()),void 0!==c)return c;if(d=ga.camelCase(a),c=Ba.get(f,d),void 0!==c)return c;if(c=j(f,d,void 0),void 0!==c)return c}else d=ga.camelCase(a),this.each(function(){var c=Ba.get(this,d);Ba.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&Ba.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){Ba.remove(this,a)})}}),ga.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=Aa.get(a,b),c&&(!d||ga.isArray(c)?d=Aa.access(a,b,ga.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=ga.queue(a,b),d=c.length,e=c.shift(),f=ga._queueHooks(a,b),g=function(){ga.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 Aa.get(a,c)||Aa.access(a,c,{empty:ga.Callbacks("once memory").add(function(){Aa.remove(a,[b+"queue",c])})})}}),ga.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?ga.queue(this[0],a):void 0===b?this:this.each(function(){var c=ga.queue(this,a,b);ga._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&ga.dequeue(this,a)})},dequeue:function(a){return this.each(function(){ga.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=ga.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};for("string"!=typeof a&&(b=a,a=void 0),a=a||"fx";g--;)c=Aa.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Ea=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fa=new RegExp("^(?:([+-])=|)("+Ea+")([a-z%]*)$","i"),Ga=["Top","Right","Bottom","Left"],Ha=function(a,b){return a=b||a,"none"===ga.css(a,"display")||!ga.contains(a.ownerDocument,a)},Ia=/^(?:checkbox|radio)$/i,Ja=/<([\w:-]+)/,Ka=/^$|\/(?:java|ecma)script/i,La={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};La.optgroup=La.option,La.tbody=La.tfoot=La.colgroup=La.caption=La.thead,La.th=La.td;var Ma=/<|&#?\w+;/;!function(){var a=Y.createDocumentFragment(),b=a.appendChild(Y.createElement("div")),c=Y.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),ea.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",ea.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var Na=/^key/,Oa=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Pa=/^([^.]*)(?:\.(.+)|)/;ga.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=Aa.get(a);if(q)for(c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=ga.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof ga&&ga.event.triggered!==b.type?ga.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(wa)||[""],j=b.length;j--;)h=Pa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=ga.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=ga.event.special[n]||{},k=ga.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&ga.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),ga.event.global[n]=!0)},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=Aa.hasData(a)&&Aa.get(a);if(q&&(i=q.events)){for(b=(b||"").match(wa)||[""],j=b.length;j--;)if(h=Pa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){for(l=ga.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;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||ga.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)ga.event.remove(a,n+b[j],c,d,!0);ga.isEmptyObject(i)&&Aa.remove(a,"handle events")}},dispatch:function(a){a=ga.event.fix(a);var b,c,d,e,f,g=[],h=Z.call(arguments),i=(Aa.get(this,"events")||{})[a.type]||[],j=ga.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!j.preDispatch||j.preDispatch.call(this,a)!==!1){for(g=ga.event.handlers.call(this,a,i),b=0;(e=g[b++])&&!a.isPropagationStopped();)for(a.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(f.namespace)||(a.handleObj=f,a.data=f.data,d=((ga.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()));return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?ga(e,this).index(i)>-1:ga.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||Y,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[ga.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];for(g||(this.fixHooks[e]=g=Oa.test(e)?this.mouseHooks:Na.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new ga.Event(f),b=d.length;b--;)c=d[b],a[c]=f[c];return a.target||(a.target=Y),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==q()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===q()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ga.nodeName(this,"input"))return this.click(),!1},_default:function(a){return ga.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},ga.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},ga.Event=function(a,b){return this instanceof ga.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?o:p):this.type=a,b&&ga.extend(this,b),this.timeStamp=a&&a.timeStamp||ga.now(),void(this[ga.expando]=!0)):new ga.Event(a,b)},ga.Event.prototype={constructor:ga.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=o,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=o,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=o,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},ga.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){ga.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||ga.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),ga.fn.extend({on:function(a,b,c,d){return r(this,a,b,c,d)},one:function(a,b,c,d){return r(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,ga(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=p),this.each(function(){ga.event.remove(this,a,c,b)})}});var Qa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ra=/<script|<style|<link/i,Sa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ta=/^true\/(.*)/,Ua=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ga.extend({htmlPrefilter:function(a){return a.replace(Qa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=ga.contains(a.ownerDocument,a);if(!(ea.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||ga.isXMLDoc(a)))for(g=l(h),f=l(a),d=0,e=f.length;d<e;d++)w(f[d],g[d]);if(b)if(c)for(f=f||l(a),g=g||l(h),d=0,e=f.length;d<e;d++)v(f[d],g[d]);else v(a,h);return g=l(h,"script"),g.length>0&&m(g,!i&&l(a,"script")),h},cleanData:function(a){for(var b,c,d,e=ga.event.special,f=0;void 0!==(c=a[f]);f++)if(za(c)){if(b=c[Aa.expando]){if(b.events)for(d in b.events)e[d]?ga.event.remove(c,d):ga.removeEvent(c,d,b.handle);c[Aa.expando]=void 0}c[Ba.expando]&&(c[Ba.expando]=void 0)}}}),ga.fn.extend({domManip:x,detach:function(a){return y(this,a,!0)},remove:function(a){return y(this,a)},text:function(a){return ya(this,function(a){return void 0===a?ga.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 x(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.appendChild(a)}})},prepend:function(){return x(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return x(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return x(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&&(ga.cleanData(l(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return ga.clone(this,a,b)})},html:function(a){return ya(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&&!Ra.test(a)&&!La[(Ja.exec(a)||["",""])[1].toLowerCase()]){a=ga.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(ga.cleanData(l(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return x(this,arguments,function(b){var c=this.parentNode;ga.inArray(this,a)<0&&(ga.cleanData(l(this)),c&&c.replaceChild(b,this))},a)}}),ga.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){ga.fn[a]=function(a){for(var c,d=[],e=ga(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),ga(e[g])[b](c),_.apply(d,c.get());return this.pushStack(d)}});var Va,Wa={HTML:"block",BODY:"block"},Xa=/^margin/,Ya=new RegExp("^("+Ea+")(?!px)[a-z%]+$","i"),Za=function(a){var c=a.ownerDocument.defaultView;return c&&c.opener||(c=b),c.getComputedStyle(a)},$a=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},_a=Y.documentElement;!function(){function a(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",_a.appendChild(g);var a=b.getComputedStyle(h);c="1%"!==a.top,f="2px"===a.marginLeft,d="4px"===a.width,h.style.marginRight="50%",e="4px"===a.marginRight,_a.removeChild(g)}var c,d,e,f,g=Y.createElement("div"),h=Y.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",ea.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h),ga.extend(ea,{pixelPosition:function(){return a(),c},boxSizingReliable:function(){return null==d&&a(),d},pixelMarginRight:function(){return null==d&&a(),e},reliableMarginLeft:function(){return null==d&&a(),f},reliableMarginRight:function(){var a,c=h.appendChild(Y.createElement("div"));return c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",h.style.width="1px",
+_a.appendChild(g),a=!parseFloat(b.getComputedStyle(c).marginRight),_a.removeChild(g),h.removeChild(c),a}}))}();var ab=/^(none|table(?!-c[ea]).+)/,bb={position:"absolute",visibility:"hidden",display:"block"},cb={letterSpacing:"0",fontWeight:"400"},db=["Webkit","O","Moz","ms"],eb=Y.createElement("div").style;ga.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=B(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=ga.camelCase(b),i=a.style;return b=ga.cssProps[h]||(ga.cssProps[h]=D(h)||h),g=ga.cssHooks[b]||ga.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Fa.exec(c))&&e[1]&&(c=k(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(ga.cssNumber[h]?"":"px")),ea.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=ga.camelCase(b);return b=ga.cssProps[h]||(ga.cssProps[h]=D(h)||h),g=ga.cssHooks[b]||ga.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=B(a,b,d)),"normal"===e&&b in cb&&(e=cb[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),ga.each(["height","width"],function(a,b){ga.cssHooks[b]={get:function(a,c,d){if(c)return ab.test(ga.css(a,"display"))&&0===a.offsetWidth?$a(a,bb,function(){return G(a,b,d)}):G(a,b,d)},set:function(a,c,d){var e,f=d&&Za(a),g=d&&F(a,b,d,"border-box"===ga.css(a,"boxSizing",!1,f),f);return g&&(e=Fa.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=ga.css(a,b)),E(a,c,g)}}}),ga.cssHooks.marginLeft=C(ea.reliableMarginLeft,function(a,b){if(b)return(parseFloat(B(a,"marginLeft"))||a.getBoundingClientRect().left-$a(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),ga.cssHooks.marginRight=C(ea.reliableMarginRight,function(a,b){if(b)return $a(a,{display:"inline-block"},B,[a,"marginRight"])}),ga.each({margin:"",padding:"",border:"Width"},function(a,b){ga.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+Ga[d]+b]=f[d]||f[d-2]||f[0];return e}},Xa.test(a)||(ga.cssHooks[a+b].set=E)}),ga.fn.extend({css:function(a,b){return ya(this,function(a,b,c){var d,e,f={},g=0;if(ga.isArray(b)){for(d=Za(a),e=b.length;g<e;g++)f[b[g]]=ga.css(a,b[g],!1,d);return f}return void 0!==c?ga.style(a,b,c):ga.css(a,b)},a,b,arguments.length>1)},show:function(){return H(this,!0)},hide:function(){return H(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){Ha(this)?ga(this).show():ga(this).hide()})}}),ga.Tween=I,I.prototype={constructor:I,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||ga.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(ga.cssNumber[c]?"":"px")},cur:function(){var a=I.propHooks[this.prop];return a&&a.get?a.get(this):I.propHooks._default.get(this)},run:function(a){var b,c=I.propHooks[this.prop];return this.options.duration?this.pos=b=ga.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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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=ga.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){ga.fx.step[a.prop]?ga.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[ga.cssProps[a.prop]]&&!ga.cssHooks[a.prop]?a.elem[a.prop]=a.now:ga.style(a.elem,a.prop,a.now+a.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},ga.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},ga.fx=I.prototype.init,ga.fx.step={};var fb,gb,hb=/^(?:toggle|show|hide)$/,ib=/queueHooks$/;ga.Animation=ga.extend(O,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return k(c.elem,a,Fa.exec(b),c),c}]},tweener:function(a,b){ga.isFunction(a)?(b=a,a=["*"]):a=a.match(wa);for(var c,d=0,e=a.length;d<e;d++)c=a[d],O.tweeners[c]=O.tweeners[c]||[],O.tweeners[c].unshift(b)},prefilters:[M],prefilter:function(a,b){b?O.prefilters.unshift(a):O.prefilters.push(a)}}),ga.speed=function(a,b,c){var d=a&&"object"==typeof a?ga.extend({},a):{complete:c||!c&&b||ga.isFunction(a)&&a,duration:a,easing:c&&b||b&&!ga.isFunction(b)&&b};return d.duration=ga.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in ga.fx.speeds?ga.fx.speeds[d.duration]:ga.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){ga.isFunction(d.old)&&d.old.call(this),d.queue&&ga.dequeue(this,d.queue)},d},ga.fn.extend({fadeTo:function(a,b,c,d){return this.filter(Ha).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=ga.isEmptyObject(a),f=ga.speed(b,c,d),g=function(){var b=O(this,ga.extend({},a),f);(e||Aa.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=ga.timers,g=Aa.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&ib.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||ga.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=Aa.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=ga.timers,g=d?d.length:0;for(c.finish=!0,ga.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),ga.each(["toggle","show","hide"],function(a,b){var c=ga.fn[b];ga.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(K(b,!0),a,d,e)}}),ga.each({slideDown:K("show"),slideUp:K("hide"),slideToggle:K("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){ga.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),ga.timers=[],ga.fx.tick=function(){var a,b=0,c=ga.timers;for(fb=ga.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||ga.fx.stop(),fb=void 0},ga.fx.timer=function(a){ga.timers.push(a),a()?ga.fx.start():ga.timers.pop()},ga.fx.interval=13,ga.fx.start=function(){gb||(gb=b.setInterval(ga.fx.tick,ga.fx.interval))},ga.fx.stop=function(){b.clearInterval(gb),gb=null},ga.fx.speeds={slow:600,fast:200,_default:400},ga.fn.delay=function(a,c){return a=ga.fx?ga.fx.speeds[a]||a:a,c=c||"fx",this.queue(c,function(c,d){var e=b.setTimeout(c,a);d.stop=function(){b.clearTimeout(e)}})},function(){var a=Y.createElement("input"),b=Y.createElement("select"),c=b.appendChild(Y.createElement("option"));a.type="checkbox",ea.checkOn=""!==a.value,ea.optSelected=c.selected,b.disabled=!0,ea.optDisabled=!c.disabled,a=Y.createElement("input"),a.value="t",a.type="radio",ea.radioValue="t"===a.value}();var jb,kb=ga.expr.attrHandle;ga.fn.extend({attr:function(a,b){return ya(this,ga.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){ga.removeAttr(this,a)})}}),ga.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?ga.prop(a,b,c):(1===f&&ga.isXMLDoc(a)||(b=b.toLowerCase(),e=ga.attrHooks[b]||(ga.expr.match.bool.test(b)?jb:void 0)),void 0!==c?null===c?void ga.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=ga.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!ea.radioValue&&"radio"===b&&ga.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(wa);if(f&&1===a.nodeType)for(;c=f[e++];)d=ga.propFix[c]||c,ga.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),jb={set:function(a,b,c){return b===!1?ga.removeAttr(a,c):a.setAttribute(c,c),c}},ga.each(ga.expr.match.bool.source.match(/\w+/g),function(a,b){var c=kb[b]||ga.find.attr;kb[b]=function(a,b,d){var e,f;return d||(f=kb[b],kb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,kb[b]=f),e}});var lb=/^(?:input|select|textarea|button)$/i,mb=/^(?:a|area)$/i;ga.fn.extend({prop:function(a,b){return ya(this,ga.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[ga.propFix[a]||a]})}}),ga.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&ga.isXMLDoc(a)||(b=ga.propFix[b]||b,e=ga.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=ga.find.attr(a,"tabindex");return b?parseInt(b,10):lb.test(a.nodeName)||mb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ea.optSelected||(ga.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)}}),ga.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ga.propFix[this.toLowerCase()]=this});var nb=/[\t\r\n\f]/g;ga.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(ga.isFunction(a))return this.each(function(b){ga(this).addClass(a.call(this,b,P(this)))});if("string"==typeof a&&a)for(b=a.match(wa)||[];c=this[i++];)if(e=P(c),d=1===c.nodeType&&(" "+e+" ").replace(nb," ")){for(g=0;f=b[g++];)d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=ga.trim(d),e!==h&&c.setAttribute("class",h)}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(ga.isFunction(a))return this.each(function(b){ga(this).removeClass(a.call(this,b,P(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a)for(b=a.match(wa)||[];c=this[i++];)if(e=P(c),d=1===c.nodeType&&(" "+e+" ").replace(nb," ")){for(g=0;f=b[g++];)for(;d.indexOf(" "+f+" ")>-1;)d=d.replace(" "+f+" "," ");h=ga.trim(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):ga.isFunction(a)?this.each(function(c){ga(this).toggleClass(a.call(this,c,P(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c)for(d=0,e=ga(this),f=a.match(wa)||[];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else void 0!==a&&"boolean"!==c||(b=P(this),b&&Aa.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":Aa.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;for(b=" "+a+" ";c=this[d++];)if(1===c.nodeType&&(" "+P(c)+" ").replace(nb," ").indexOf(b)>-1)return!0;return!1}});var ob=/\r/g,pb=/[\x20\t\r\n\f]+/g;ga.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=ga.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,ga(this).val()):a,null==e?e="":"number"==typeof e?e+="":ga.isArray(e)&&(e=ga.map(e,function(a){return null==a?"":a+""})),b=ga.valHooks[this.type]||ga.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=ga.valHooks[e.type]||ga.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ob,""):null==c?"":c)}}}),ga.extend({valHooks:{option:{get:function(a){var b=ga.find.attr(a,"value");return null!=b?b:ga.trim(ga.text(a)).replace(pb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(ea.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!ga.nodeName(c.parentNode,"optgroup"))){if(b=ga(c).val(),f)return b;g.push(b)}return g},set:function(a,b){for(var c,d,e=a.options,f=ga.makeArray(b),g=e.length;g--;)d=e[g],(d.selected=ga.inArray(ga.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),ga.each(["radio","checkbox"],function(){ga.valHooks[this]={set:function(a,b){if(ga.isArray(b))return a.checked=ga.inArray(ga(a).val(),b)>-1}},ea.checkOn||(ga.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var qb=/^(?:focusinfocus|focusoutblur)$/;ga.extend(ga.event,{trigger:function(a,c,d,e){var f,g,h,i,j,k,l,m=[d||Y],n=da.call(a,"type")?a.type:a,o=da.call(a,"namespace")?a.namespace.split("."):[];if(g=h=d=d||Y,3!==d.nodeType&&8!==d.nodeType&&!qb.test(n+ga.event.triggered)&&(n.indexOf(".")>-1&&(o=n.split("."),n=o.shift(),o.sort()),j=n.indexOf(":")<0&&"on"+n,a=a[ga.expando]?a:new ga.Event(n,"object"==typeof a&&a),a.isTrigger=e?2:3,a.namespace=o.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),c=null==c?[a]:ga.makeArray(c,[a]),l=ga.event.special[n]||{},e||!l.trigger||l.trigger.apply(d,c)!==!1)){if(!e&&!l.noBubble&&!ga.isWindow(d)){for(i=l.delegateType||n,qb.test(i+n)||(g=g.parentNode);g;g=g.parentNode)m.push(g),h=g;h===(d.ownerDocument||Y)&&m.push(h.defaultView||h.parentWindow||b)}for(f=0;(g=m[f++])&&!a.isPropagationStopped();)a.type=f>1?i:l.bindType||n,k=(Aa.get(g,"events")||{})[a.type]&&Aa.get(g,"handle"),k&&k.apply(g,c),k=j&&g[j],k&&k.apply&&za(g)&&(a.result=k.apply(g,c),a.result===!1&&a.preventDefault());return a.type=n,e||a.isDefaultPrevented()||l._default&&l._default.apply(m.pop(),c)!==!1||!za(d)||j&&ga.isFunction(d[n])&&!ga.isWindow(d)&&(h=d[j],h&&(d[j]=null),ga.event.triggered=n,d[n](),ga.event.triggered=void 0,h&&(d[j]=h)),a.result}},simulate:function(a,b,c){var d=ga.extend(new ga.Event,c,{type:a,isSimulated:!0});ga.event.trigger(d,null,b)}}),ga.fn.extend({trigger:function(a,b){return this.each(function(){ga.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return ga.event.trigger(a,b,c,!0)}}),ga.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){ga.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),ga.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),ea.focusin="onfocusin"in b,ea.focusin||ga.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){ga.event.simulate(b,a.target,ga.event.fix(a))};ga.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=Aa.access(d,b);e||d.addEventListener(a,c,!0),Aa.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=Aa.access(d,b)-1;e?Aa.access(d,b,e):(d.removeEventListener(a,c,!0),Aa.remove(d,b))}}});var rb=b.location,sb=ga.now(),tb=/\?/;ga.parseJSON=function(a){return JSON.parse(a+"")},ga.parseXML=function(a){var c;if(!a||"string"!=typeof a)return null;try{c=(new b.DOMParser).parseFromString(a,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||ga.error("Invalid XML: "+a),c};var ub=/#.*$/,vb=/([?&])_=[^&]*/,wb=/^(.*?):[ \t]*([^\r\n]*)$/gm,xb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yb=/^(?:GET|HEAD)$/,zb=/^\/\//,Ab={},Bb={},Cb="*/".concat("*"),Db=Y.createElement("a");Db.href=rb.href,ga.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:rb.href,type:"GET",isLocal:xb.test(rb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cb,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":ga.parseJSON,"text xml":ga.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?S(S(a,ga.ajaxSettings),b):S(ga.ajaxSettings,a)},ajaxPrefilter:Q(Ab),ajaxTransport:Q(Bb),ajax:function(a,c){function d(a,c,d,h){var j,l,s,t,v,x=c;2!==u&&(u=2,i&&b.clearTimeout(i),e=void 0,g=h||"",w.readyState=a>0?4:0,j=a>=200&&a<300||304===a,d&&(t=T(m,w,d)),t=U(m,t,w,j),j?(m.ifModified&&(v=w.getResponseHeader("Last-Modified"),v&&(ga.lastModified[f]=v),v=w.getResponseHeader("etag"),v&&(ga.etag[f]=v)),204===a||"HEAD"===m.type?x="nocontent":304===a?x="notmodified":(x=t.state,l=t.data,s=t.error,j=!s)):(s=x,!a&&x||(x="error",a<0&&(a=0))),w.status=a,w.statusText=(c||x)+"",j?p.resolveWith(n,[l,x,w]):p.rejectWith(n,[w,x,s]),w.statusCode(r),r=void 0,k&&o.trigger(j?"ajaxSuccess":"ajaxError",[w,m,j?l:s]),q.fireWith(n,[w,x]),k&&(o.trigger("ajaxComplete",[w,m]),--ga.active||ga.event.trigger("ajaxStop")))}"object"==typeof a&&(c=a,a=void 0),c=c||{};var e,f,g,h,i,j,k,l,m=ga.ajaxSetup({},c),n=m.context||m,o=m.context&&(n.nodeType||n.jquery)?ga(n):ga.event,p=ga.Deferred(),q=ga.Callbacks("once memory"),r=m.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!h)for(h={};b=wb.exec(g);)h[b[1].toLowerCase()]=b[2];b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return e&&e.abort(b),d(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,m.url=((a||m.url||rb.href)+"").replace(ub,"").replace(zb,rb.protocol+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=ga.trim(m.dataType||"*").toLowerCase().match(wa)||[""],null==m.crossDomain){j=Y.createElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=Db.protocol+"//"+Db.host!=j.protocol+"//"+j.host}catch(x){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=ga.param(m.data,m.traditional)),R(Ab,m,c,w),2===u)return w;k=ga.event&&m.global,k&&0===ga.active++&&ga.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!yb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(tb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=vb.test(f)?f.replace(vb,"$1_="+sb++):f+(tb.test(f)?"&":"?")+"_="+sb++)),m.ifModified&&(ga.lastModified[f]&&w.setRequestHeader("If-Modified-Since",ga.lastModified[f]),ga.etag[f]&&w.setRequestHeader("If-None-Match",ga.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Cb+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)w.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(n,w,m)===!1||2===u))return w.abort();v="abort";for(l in{success:1,error:1,complete:1})w[l](m[l]);if(e=R(Bb,m,c,w)){if(w.readyState=1,k&&o.trigger("ajaxSend",[w,m]),2===u)return w;m.async&&m.timeout>0&&(i=b.setTimeout(function(){w.abort("timeout")},m.timeout));try{u=1,e.send(s,d)}catch(x){if(!(u<2))throw x;d(-1,x)}}else d(-1,"No Transport");return w},getJSON:function(a,b,c){return ga.get(a,b,c,"json")},getScript:function(a,b){return ga.get(a,void 0,b,"script")}}),ga.each(["get","post"],function(a,b){ga[b]=function(a,c,d,e){return ga.isFunction(c)&&(e=e||d,d=c,c=void 0),ga.ajax(ga.extend({url:a,type:b,dataType:e,data:c,success:d},ga.isPlainObject(a)&&a))}}),ga._evalUrl=function(a){return ga.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ga.fn.extend({wrapAll:function(a){var b;return ga.isFunction(a)?this.each(function(b){ga(this).wrapAll(a.call(this,b))}):(this[0]&&(b=ga(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return ga.isFunction(a)?this.each(function(b){ga(this).wrapInner(a.call(this,b))}):this.each(function(){var b=ga(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=ga.isFunction(a);return this.each(function(c){ga(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){ga.nodeName(this,"body")||ga(this).replaceWith(this.childNodes)}).end()}}),ga.expr.filters.hidden=function(a){return!ga.expr.filters.visible(a)},ga.expr.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var Eb=/%20/g,Fb=/\[\]$/,Gb=/\r?\n/g,Hb=/^(?:submit|button|image|reset|file)$/i,Ib=/^(?:input|select|textarea|keygen)/i;ga.param=function(a,b){var c,d=[],e=function(a,b){b=ga.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=ga.ajaxSettings&&ga.ajaxSettings.traditional),ga.isArray(a)||a.jquery&&!ga.isPlainObject(a))ga.each(a,function(){e(this.name,this.value)});else for(c in a)V(c,a[c],b,e);return d.join("&").replace(Eb,"+")},ga.fn.extend({serialize:function(){return ga.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=ga.prop(this,"elements");return a?ga.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!ga(this).is(":disabled")&&Ib.test(this.nodeName)&&!Hb.test(a)&&(this.checked||!Ia.test(a))}).map(function(a,b){var c=ga(this).val();return null==c?null:ga.isArray(c)?ga.map(c,function(a){return{name:b.name,value:a.replace(Gb,"\r\n")}}):{name:b.name,value:c.replace(Gb,"\r\n")}}).get()}}),ga.ajaxSettings.xhr=function(){try{return new b.XMLHttpRequest}catch(a){}};var Jb={0:200,1223:204},Kb=ga.ajaxSettings.xhr();ea.cors=!!Kb&&"withCredentials"in Kb,ea.ajax=Kb=!!Kb,ga.ajaxTransport(function(a){var c,d;if(ea.cors||Kb&&!a.crossDomain)return{send:function(e,f){var g,h=a.xhr();if(h.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(g in a.xhrFields)h[g]=a.xhrFields[g];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType),a.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(Jb[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&&b.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(a.hasContent&&a.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),ga.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 ga.globalEval(a),a}}}),ga.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),ga.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=ga("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),Y.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Lb=[],Mb=/(=)\?(?=&|$)|\?\?/;ga.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Lb.pop()||ga.expando+"_"+sb++;return this[a]=!0,a}}),ga.ajaxPrefilter("json jsonp",function(a,c,d){var e,f,g,h=a.jsonp!==!1&&(Mb.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mb.test(a.data)&&"data");if(h||"jsonp"===a.dataTypes[0])return e=a.jsonpCallback=ga.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h?a[h]=a[h].replace(Mb,"$1"+e):a.jsonp!==!1&&(a.url+=(tb.test(a.url)?"&":"?")+a.jsonp+"="+e),a.converters["script json"]=function(){return g||ga.error(e+" was not called"),g[0]},a.dataTypes[0]="json",f=b[e],b[e]=function(){g=arguments},d.always(function(){void 0===f?ga(b).removeProp(e):b[e]=f,a[e]&&(a.jsonpCallback=c.jsonpCallback,Lb.push(e)),g&&ga.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),ga.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||Y;var d=pa.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n([a],b,e),e&&e.length&&ga(e).remove(),ga.merge([],d.childNodes))};var Nb=ga.fn.load;ga.fn.load=function(a,b,c){if("string"!=typeof a&&Nb)return Nb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=ga.trim(a.slice(h)),a=a.slice(0,h)),ga.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&ga.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?ga("<div>").append(ga.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},ga.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){ga.fn[b]=function(a){return this.on(b,a)}}),ga.expr.filters.animated=function(a){return ga.grep(ga.timers,function(b){return a===b.elem}).length},ga.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=ga.css(a,"position"),l=ga(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=ga.css(a,"top"),i=ga.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),ga.isFunction(b)&&(b=b.call(a,c,ga.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},ga.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){ga.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,ga.contains(b,d)?(e=d.getBoundingClientRect(),c=W(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===ga.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),ga.nodeName(a[0],"html")||(d=a.offset()),d.top+=ga.css(a[0],"borderTopWidth",!0),d.left+=ga.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-ga.css(c,"marginTop",!0),left:b.left-d.left-ga.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===ga.css(a,"position");)a=a.offsetParent;return a||_a})}}),ga.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;ga.fn[a]=function(d){return ya(this,function(a,d,e){var f=W(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),ga.each(["top","left"],function(a,b){ga.cssHooks[b]=C(ea.pixelPosition,function(a,c){if(c)return c=B(a,b),Ya.test(c)?ga(a).position()[b]+"px":c})}),ga.each({Height:"height",Width:"width"},function(a,b){ga.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){ga.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return ya(this,function(b,c,d){var e;return ga.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?ga.css(b,c,g):ga.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),ga.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){return this.length}}),ga.fn.andSelf=ga.fn.addBack,"function"==typeof a&&a.amd&&a("npm:jquery@2.2.4/dist/jquery.js",[],function(){return ga})&&a("jquery",["npm:jquery@2.2.4/dist/jquery.js"],function(a){return a});var Ob=b.jQuery,Pb=b.$;return ga.noConflict=function(a){return b.$===ga&&(b.$=Pb),a&&b.jQuery===ga&&(b.jQuery=Ob),ga},c||(b.jQuery=b.$=ga),ga})}(),function(){var a=System.amdDefine;a("npm:jquery@2.2.4.js",["npm:jquery@2.2.4/dist/jquery.js"],function(a){return a})}(),System.registerDynamic("github:twbs/bootstrap@3.3.7/js/bootstrap.js",["jquery"],!1,function(a,b,c){var d=System.get("@@global-helpers").prepareGlobal(c.id,"$",null);return function(a){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){
+var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){document===a.target||this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);if(this.$element.trigger(g),!g.isDefaultPrevented())return f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=window.SVGElement&&c instanceof window.SVGElement,g=d?{top:0,left:0}:f?null:b.offset(),h={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},i=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,h,i,g)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),
+this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery)}(this),d()}),System.registerDynamic("github:twbs/bootstrap@3.3.7.js",["github:twbs/bootstrap@3.3.7/js/bootstrap.js"],!0,function(a,b,c){this||self;c.exports=a("github:twbs/bootstrap@3.3.7/js/bootstrap.js")}),function(){var a=System.amdDefine;a("github:twbs/bootstrap@3.3.7/css/bootstrap.css!github:systemjs/plugin-text@0.0.8.js",[],function(){return'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type="button"],\ninput[type="reset"],\ninput[type="submit"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type="checkbox"],\ninput[type="radio"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type="number"]::-webkit-inner-spin-button,\ninput[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type="search"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: " (" attr(href) ")";\n }\n abbr[title]:after {\n content: " (" attr(title) ")";\n }\n a[href^="#"]:after,\n a[href^="javascript:"]:after {\n content: "";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: \'Glyphicons Halflings\';\n\n src: url(\'../fonts/glyphicons-halflings-regular.eot\');\n src: url(\'../fonts/glyphicons-halflings-regular.eot?#iefix\') format(\'embedded-opentype\'), url(\'../fonts/glyphicons-halflings-regular.woff2\') format(\'woff2\'), url(\'../fonts/glyphicons-halflings-regular.woff\') format(\'woff\'), url(\'../fonts/glyphicons-halflings-regular.ttf\') format(\'truetype\'), url(\'../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular\') format(\'svg\');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: \'Glyphicons Halflings\';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: "\\002a";\n}\n.glyphicon-plus:before {\n content: "\\002b";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: "\\20ac";\n}\n.glyphicon-minus:before {\n content: "\\2212";\n}\n.glyphicon-cloud:before {\n content: "\\2601";\n}\n.glyphicon-envelope:before {\n content: "\\2709";\n}\n.glyphicon-pencil:before {\n content: "\\270f";\n}\n.glyphicon-glass:before {\n content: "\\e001";\n}\n.glyphicon-music:before {\n content: "\\e002";\n}\n.glyphicon-search:before {\n content: "\\e003";\n}\n.glyphicon-heart:before {\n content: "\\e005";\n}\n.glyphicon-star:before {\n content: "\\e006";\n}\n.glyphicon-star-empty:before {\n content: "\\e007";\n}\n.glyphicon-user:before {\n content: "\\e008";\n}\n.glyphicon-film:before {\n content: "\\e009";\n}\n.glyphicon-th-large:before {\n content: "\\e010";\n}\n.glyphicon-th:before {\n content: "\\e011";\n}\n.glyphicon-th-list:before {\n content: "\\e012";\n}\n.glyphicon-ok:before {\n content: "\\e013";\n}\n.glyphicon-remove:before {\n content: "\\e014";\n}\n.glyphicon-zoom-in:before {\n content: "\\e015";\n}\n.glyphicon-zoom-out:before {\n content: "\\e016";\n}\n.glyphicon-off:before {\n content: "\\e017";\n}\n.glyphicon-signal:before {\n content: "\\e018";\n}\n.glyphicon-cog:before {\n content: "\\e019";\n}\n.glyphicon-trash:before {\n content: "\\e020";\n}\n.glyphicon-home:before {\n content: "\\e021";\n}\n.glyphicon-file:before {\n content: "\\e022";\n}\n.glyphicon-time:before {\n content: "\\e023";\n}\n.glyphicon-road:before {\n content: "\\e024";\n}\n.glyphicon-download-alt:before {\n content: "\\e025";\n}\n.glyphicon-download:before {\n content: "\\e026";\n}\n.glyphicon-upload:before {\n content: "\\e027";\n}\n.glyphicon-inbox:before {\n content: "\\e028";\n}\n.glyphicon-play-circle:before {\n content: "\\e029";\n}\n.glyphicon-repeat:before {\n content: "\\e030";\n}\n.glyphicon-refresh:before {\n content: "\\e031";\n}\n.glyphicon-list-alt:before {\n content: "\\e032";\n}\n.glyphicon-lock:before {\n content: "\\e033";\n}\n.glyphicon-flag:before {\n content: "\\e034";\n}\n.glyphicon-headphones:before {\n content: "\\e035";\n}\n.glyphicon-volume-off:before {\n content: "\\e036";\n}\n.glyphicon-volume-down:before {\n content: "\\e037";\n}\n.glyphicon-volume-up:before {\n content: "\\e038";\n}\n.glyphicon-qrcode:before {\n content: "\\e039";\n}\n.glyphicon-barcode:before {\n content: "\\e040";\n}\n.glyphicon-tag:before {\n content: "\\e041";\n}\n.glyphicon-tags:before {\n content: "\\e042";\n}\n.glyphicon-book:before {\n content: "\\e043";\n}\n.glyphicon-bookmark:before {\n content: "\\e044";\n}\n.glyphicon-print:before {\n content: "\\e045";\n}\n.glyphicon-camera:before {\n content: "\\e046";\n}\n.glyphicon-font:before {\n content: "\\e047";\n}\n.glyphicon-bold:before {\n content: "\\e048";\n}\n.glyphicon-italic:before {\n content: "\\e049";\n}\n.glyphicon-text-height:before {\n content: "\\e050";\n}\n.glyphicon-text-width:before {\n content: "\\e051";\n}\n.glyphicon-align-left:before {\n content: "\\e052";\n}\n.glyphicon-align-center:before {\n content: "\\e053";\n}\n.glyphicon-align-right:before {\n content: "\\e054";\n}\n.glyphicon-align-justify:before {\n content: "\\e055";\n}\n.glyphicon-list:before {\n content: "\\e056";\n}\n.glyphicon-indent-left:before {\n content: "\\e057";\n}\n.glyphicon-indent-right:before {\n content: "\\e058";\n}\n.glyphicon-facetime-video:before {\n content: "\\e059";\n}\n.glyphicon-picture:before {\n content: "\\e060";\n}\n.glyphicon-map-marker:before {\n content: "\\e062";\n}\n.glyphicon-adjust:before {\n content: "\\e063";\n}\n.glyphicon-tint:before {\n content: "\\e064";\n}\n.glyphicon-edit:before {\n content: "\\e065";\n}\n.glyphicon-share:before {\n content: "\\e066";\n}\n.glyphicon-check:before {\n content: "\\e067";\n}\n.glyphicon-move:before {\n content: "\\e068";\n}\n.glyphicon-step-backward:before {\n content: "\\e069";\n}\n.glyphicon-fast-backward:before {\n content: "\\e070";\n}\n.glyphicon-backward:before {\n content: "\\e071";\n}\n.glyphicon-play:before {\n content: "\\e072";\n}\n.glyphicon-pause:before {\n content: "\\e073";\n}\n.glyphicon-stop:before {\n content: "\\e074";\n}\n.glyphicon-forward:before {\n content: "\\e075";\n}\n.glyphicon-fast-forward:before {\n content: "\\e076";\n}\n.glyphicon-step-forward:before {\n content: "\\e077";\n}\n.glyphicon-eject:before {\n content: "\\e078";\n}\n.glyphicon-chevron-left:before {\n content: "\\e079";\n}\n.glyphicon-chevron-right:before {\n content: "\\e080";\n}\n.glyphicon-plus-sign:before {\n content: "\\e081";\n}\n.glyphicon-minus-sign:before {\n content: "\\e082";\n}\n.glyphicon-remove-sign:before {\n content: "\\e083";\n}\n.glyphicon-ok-sign:before {\n content: "\\e084";\n}\n.glyphicon-question-sign:before {\n content: "\\e085";\n}\n.glyphicon-info-sign:before {\n content: "\\e086";\n}\n.glyphicon-screenshot:before {\n content: "\\e087";\n}\n.glyphicon-remove-circle:before {\n content: "\\e088";\n}\n.glyphicon-ok-circle:before {\n content: "\\e089";\n}\n.glyphicon-ban-circle:before {\n content: "\\e090";\n}\n.glyphicon-arrow-left:before {\n content: "\\e091";\n}\n.glyphicon-arrow-right:before {\n content: "\\e092";\n}\n.glyphicon-arrow-up:before {\n content: "\\e093";\n}\n.glyphicon-arrow-down:before {\n content: "\\e094";\n}\n.glyphicon-share-alt:before {\n content: "\\e095";\n}\n.glyphicon-resize-full:before {\n content: "\\e096";\n}\n.glyphicon-resize-small:before {\n content: "\\e097";\n}\n.glyphicon-exclamation-sign:before {\n content: "\\e101";\n}\n.glyphicon-gift:before {\n content: "\\e102";\n}\n.glyphicon-leaf:before {\n content: "\\e103";\n}\n.glyphicon-fire:before {\n content: "\\e104";\n}\n.glyphicon-eye-open:before {\n content: "\\e105";\n}\n.glyphicon-eye-close:before {\n content: "\\e106";\n}\n.glyphicon-warning-sign:before {\n content: "\\e107";\n}\n.glyphicon-plane:before {\n content: "\\e108";\n}\n.glyphicon-calendar:before {\n content: "\\e109";\n}\n.glyphicon-random:before {\n content: "\\e110";\n}\n.glyphicon-comment:before {\n content: "\\e111";\n}\n.glyphicon-magnet:before {\n content: "\\e112";\n}\n.glyphicon-chevron-up:before {\n content: "\\e113";\n}\n.glyphicon-chevron-down:before {\n content: "\\e114";\n}\n.glyphicon-retweet:before {\n content: "\\e115";\n}\n.glyphicon-shopping-cart:before {\n content: "\\e116";\n}\n.glyphicon-folder-close:before {\n content: "\\e117";\n}\n.glyphicon-folder-open:before {\n content: "\\e118";\n}\n.glyphicon-resize-vertical:before {\n content: "\\e119";\n}\n.glyphicon-resize-horizontal:before {\n content: "\\e120";\n}\n.glyphicon-hdd:before {\n content: "\\e121";\n}\n.glyphicon-bullhorn:before {\n content: "\\e122";\n}\n.glyphicon-bell:before {\n content: "\\e123";\n}\n.glyphicon-certificate:before {\n content: "\\e124";\n}\n.glyphicon-thumbs-up:before {\n content: "\\e125";\n}\n.glyphicon-thumbs-down:before {\n content: "\\e126";\n}\n.glyphicon-hand-right:before {\n content: "\\e127";\n}\n.glyphicon-hand-left:before {\n content: "\\e128";\n}\n.glyphicon-hand-up:before {\n content: "\\e129";\n}\n.glyphicon-hand-down:before {\n content: "\\e130";\n}\n.glyphicon-circle-arrow-right:before {\n content: "\\e131";\n}\n.glyphicon-circle-arrow-left:before {\n content: "\\e132";\n}\n.glyphicon-circle-arrow-up:before {\n content: "\\e133";\n}\n.glyphicon-circle-arrow-down:before {\n content: "\\e134";\n}\n.glyphicon-globe:before {\n content: "\\e135";\n}\n.glyphicon-wrench:before {\n content: "\\e136";\n}\n.glyphicon-tasks:before {\n content: "\\e137";\n}\n.glyphicon-filter:before {\n content: "\\e138";\n}\n.glyphicon-briefcase:before {\n content: "\\e139";\n}\n.glyphicon-fullscreen:before {\n content: "\\e140";\n}\n.glyphicon-dashboard:before {\n content: "\\e141";\n}\n.glyphicon-paperclip:before {\n content: "\\e142";\n}\n.glyphicon-heart-empty:before {\n content: "\\e143";\n}\n.glyphicon-link:before {\n content: "\\e144";\n}\n.glyphicon-phone:before {\n content: "\\e145";\n}\n.glyphicon-pushpin:before {\n content: "\\e146";\n}\n.glyphicon-usd:before {\n content: "\\e148";\n}\n.glyphicon-gbp:before {\n content: "\\e149";\n}\n.glyphicon-sort:before {\n content: "\\e150";\n}\n.glyphicon-sort-by-alphabet:before {\n content: "\\e151";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: "\\e152";\n}\n.glyphicon-sort-by-order:before {\n content: "\\e153";\n}\n.glyphicon-sort-by-order-alt:before {\n content: "\\e154";\n}\n.glyphicon-sort-by-attributes:before {\n content: "\\e155";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: "\\e156";\n}\n.glyphicon-unchecked:before {\n content: "\\e157";\n}\n.glyphicon-expand:before {\n content: "\\e158";\n}\n.glyphicon-collapse-down:before {\n content: "\\e159";\n}\n.glyphicon-collapse-up:before {\n content: "\\e160";\n}\n.glyphicon-log-in:before {\n content: "\\e161";\n}\n.glyphicon-flash:before {\n content: "\\e162";\n}\n.glyphicon-log-out:before {\n content: "\\e163";\n}\n.glyphicon-new-window:before {\n content: "\\e164";\n}\n.glyphicon-record:before {\n content: "\\e165";\n}\n.glyphicon-save:before {\n content: "\\e166";\n}\n.glyphicon-open:before {\n content: "\\e167";\n}\n.glyphicon-saved:before {\n content: "\\e168";\n}\n.glyphicon-import:before {\n content: "\\e169";\n}\n.glyphicon-export:before {\n content: "\\e170";\n}\n.glyphicon-send:before {\n content: "\\e171";\n}\n.glyphicon-floppy-disk:before {\n content: "\\e172";\n}\n.glyphicon-floppy-saved:before {\n content: "\\e173";\n}\n.glyphicon-floppy-remove:before {\n content: "\\e174";\n}\n.glyphicon-floppy-save:before {\n content: "\\e175";\n}\n.glyphicon-floppy-open:before {\n content: "\\e176";\n}\n.glyphicon-credit-card:before {\n content: "\\e177";\n}\n.glyphicon-transfer:before {\n content: "\\e178";\n}\n.glyphicon-cutlery:before {\n content: "\\e179";\n}\n.glyphicon-header:before {\n content: "\\e180";\n}\n.glyphicon-compressed:before {\n content: "\\e181";\n}\n.glyphicon-earphone:before {\n content: "\\e182";\n}\n.glyphicon-phone-alt:before {\n content: "\\e183";\n}\n.glyphicon-tower:before {\n content: "\\e184";\n}\n.glyphicon-stats:before {\n content: "\\e185";\n}\n.glyphicon-sd-video:before {\n content: "\\e186";\n}\n.glyphicon-hd-video:before {\n content: "\\e187";\n}\n.glyphicon-subtitles:before {\n content: "\\e188";\n}\n.glyphicon-sound-stereo:before {\n content: "\\e189";\n}\n.glyphicon-sound-dolby:before {\n content: "\\e190";\n}\n.glyphicon-sound-5-1:before {\n content: "\\e191";\n}\n.glyphicon-sound-6-1:before {\n content: "\\e192";\n}\n.glyphicon-sound-7-1:before {\n content: "\\e193";\n}\n.glyphicon-copyright-mark:before {\n content: "\\e194";\n}\n.glyphicon-registration-mark:before {\n content: "\\e195";\n}\n.glyphicon-cloud-download:before {\n content: "\\e197";\n}\n.glyphicon-cloud-upload:before {\n content: "\\e198";\n}\n.glyphicon-tree-conifer:before {\n content: "\\e199";\n}\n.glyphicon-tree-deciduous:before {\n content: "\\e200";\n}\n.glyphicon-cd:before {\n content: "\\e201";\n}\n.glyphicon-save-file:before {\n content: "\\e202";\n}\n.glyphicon-open-file:before {\n content: "\\e203";\n}\n.glyphicon-level-up:before {\n content: "\\e204";\n}\n.glyphicon-copy:before {\n content: "\\e205";\n}\n.glyphicon-paste:before {\n content: "\\e206";\n}\n.glyphicon-alert:before {\n content: "\\e209";\n}\n.glyphicon-equalizer:before {\n content: "\\e210";\n}\n.glyphicon-king:before {\n content: "\\e211";\n}\n.glyphicon-queen:before {\n content: "\\e212";\n}\n.glyphicon-pawn:before {\n content: "\\e213";\n}\n.glyphicon-bishop:before {\n content: "\\e214";\n}\n.glyphicon-knight:before {\n content: "\\e215";\n}\n.glyphicon-baby-formula:before {\n content: "\\e216";\n}\n.glyphicon-tent:before {\n content: "\\26fa";\n}\n.glyphicon-blackboard:before {\n content: "\\e218";\n}\n.glyphicon-bed:before {\n content: "\\e219";\n}\n.glyphicon-apple:before {\n content: "\\f8ff";\n}\n.glyphicon-erase:before {\n content: "\\e221";\n}\n.glyphicon-hourglass:before {\n content: "\\231b";\n}\n.glyphicon-lamp:before {\n content: "\\e223";\n}\n.glyphicon-duplicate:before {\n content: "\\e224";\n}\n.glyphicon-piggy-bank:before {\n content: "\\e225";\n}\n.glyphicon-scissors:before {\n content: "\\e226";\n}\n.glyphicon-bitcoin:before {\n content: "\\e227";\n}\n.glyphicon-btc:before {\n content: "\\e227";\n}\n.glyphicon-xbt:before {\n content: "\\e227";\n}\n.glyphicon-yen:before {\n content: "\\00a5";\n}\n.glyphicon-jpy:before {\n content: "\\00a5";\n}\n.glyphicon-ruble:before {\n content: "\\20bd";\n}\n.glyphicon-rub:before {\n content: "\\20bd";\n}\n.glyphicon-scale:before {\n content: "\\e230";\n}\n.glyphicon-ice-lolly:before {\n content: "\\e231";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: "\\e232";\n}\n.glyphicon-education:before {\n content: "\\e233";\n}\n.glyphicon-option-horizontal:before {\n content: "\\e234";\n}\n.glyphicon-option-vertical:before {\n content: "\\e235";\n}\n.glyphicon-menu-hamburger:before {\n content: "\\e236";\n}\n.glyphicon-modal-window:before {\n content: "\\e237";\n}\n.glyphicon-oil:before {\n content: "\\e238";\n}\n.glyphicon-grain:before {\n content: "\\e239";\n}\n.glyphicon-sunglasses:before {\n content: "\\e240";\n}\n.glyphicon-text-size:before {\n content: "\\e241";\n}\n.glyphicon-text-color:before {\n content: "\\e242";\n}\n.glyphicon-text-background:before {\n content: "\\e243";\n}\n.glyphicon-object-align-top:before {\n content: "\\e244";\n}\n.glyphicon-object-align-bottom:before {\n content: "\\e245";\n}\n.glyphicon-object-align-horizontal:before {\n content: "\\e246";\n}\n.glyphicon-object-align-left:before {\n content: "\\e247";\n}\n.glyphicon-object-align-vertical:before {\n content: "\\e248";\n}\n.glyphicon-object-align-right:before {\n content: "\\e249";\n}\n.glyphicon-triangle-right:before {\n content: "\\e250";\n}\n.glyphicon-triangle-left:before {\n content: "\\e251";\n}\n.glyphicon-triangle-bottom:before {\n content: "\\e252";\n}\n.glyphicon-triangle-top:before {\n content: "\\e253";\n}\n.glyphicon-console:before {\n content: "\\e254";\n}\n.glyphicon-superscript:before {\n content: "\\e255";\n}\n.glyphicon-subscript:before {\n content: "\\e256";\n}\n.glyphicon-menu-left:before {\n content: "\\e257";\n}\n.glyphicon-menu-right:before {\n content: "\\e258";\n}\n.glyphicon-menu-down:before {\n content: "\\e259";\n}\n.glyphicon-menu-up:before {\n content: "\\e260";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role="button"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: \'\\2014 \\00A0\';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: \'\';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: \'\\00A0 \\2014\';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, "Courier New", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*="col-"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*="col-"],\ntable th[class*="col-"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type="search"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type="radio"],\ninput[type="checkbox"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type="file"] {\n display: block;\n}\ninput[type="range"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type="file"]:focus,\ninput[type="radio"]:focus,\ninput[type="checkbox"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type="search"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type="date"].form-control,\n input[type="time"].form-control,\n input[type="datetime-local"].form-control,\n input[type="month"].form-control {\n line-height: 34px;\n }\n input[type="date"].input-sm,\n input[type="time"].input-sm,\n input[type="datetime-local"].input-sm,\n input[type="month"].input-sm,\n .input-group-sm input[type="date"],\n .input-group-sm input[type="time"],\n .input-group-sm input[type="datetime-local"],\n .input-group-sm input[type="month"] {\n line-height: 30px;\n }\n input[type="date"].input-lg,\n input[type="time"].input-lg,\n input[type="datetime-local"].input-lg,\n input[type="month"].input-lg,\n .input-group-lg input[type="date"],\n .input-group-lg input[type="time"],\n .input-group-lg input[type="datetime-local"],\n .input-group-lg input[type="month"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type="radio"],\n.radio-inline input[type="radio"],\n.checkbox input[type="checkbox"],\n.checkbox-inline input[type="checkbox"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type="radio"][disabled],\ninput[type="checkbox"][disabled],\ninput[type="radio"].disabled,\ninput[type="checkbox"].disabled,\nfieldset[disabled] input[type="radio"],\nfieldset[disabled] input[type="checkbox"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type="radio"],\n .form-inline .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type="submit"].btn-block,\ninput[type="reset"].btn-block,\ninput[type="button"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: "";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle="buttons"] > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn input[type="checkbox"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*="col-"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type="radio"],\n.input-group-addon input[type="checkbox"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type="radio"],\n .navbar-form .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: "/\\00a0";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: "";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: " ";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: " ";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: " ";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: " ";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: \'\\2039\';\n}\n.carousel-control .icon-next:before {\n content: \'\\203a\';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: " ";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n';
+})}(),function(){var a=System.amdDefine;a("npm:aurelia-animator-css@1.0.1/aurelia-animator-css.js",["exports","aurelia-templating","aurelia-pal"],function(a,b,c){"use strict";function d(a,c){var d=a.container.get(e);a.container.get(b.TemplatingEngine).configureAnimator(d),"function"==typeof c&&c(d)}Object.defineProperty(a,"__esModule",{value:!0}),a.CssAnimator=void 0,a.configure=d;var e=a.CssAnimator=function(){function a(){this.useAnimationDoneClasses=!1,this.animationEnteredClass="au-entered",this.animationLeftClass="au-left",this.isAnimating=!1,this.verifyKeyframesExist=!0}return a.prototype._addMultipleEventListener=function(a,b,c){for(var d=b.split(" "),e=0,f=d.length;e<f;++e)a.addEventListener(d[e],c,!1)},a.prototype._removeMultipleEventListener=function(a,b,c){for(var d=b.split(" "),e=0,f=d.length;e<f;++e)a.removeEventListener(d[e],c,!1)},a.prototype._getElementAnimationDelay=function(a){var b=c.DOM.getComputedStyle(a),d=void 0,e=void 0;if(b.getPropertyValue("animation-delay"))d="animation-delay";else if(b.getPropertyValue("-webkit-animation-delay"))d="-webkit-animation-delay";else{if(!b.getPropertyValue("-moz-animation-delay"))return 0;d="-moz-animation-delay"}return e=b.getPropertyValue(d),e=Number(e.replace(/[^\d\.]/g,"")),1e3*e},a.prototype._getElementAnimationNames=function(a){var b=c.DOM.getComputedStyle(a),d=void 0;if(b.getPropertyValue("animation-name"))d="";else if(b.getPropertyValue("-webkit-animation-name"))d="-webkit-";else{if(!b.getPropertyValue("-moz-animation-name"))return[];d="-moz-"}var e=b.getPropertyValue(d+"animation-name");return e?e.split(" "):[]},a.prototype._performSingleAnimate=function(a,c){var d=this;return this._triggerDOMEvent(b.animationEvent.animateBegin,a),this.addClass(a,c,!0).then(function(e){return d._triggerDOMEvent(b.animationEvent.animateActive,a),e!==!1&&d.removeClass(a,c,!0).then(function(){d._triggerDOMEvent(b.animationEvent.animateDone,a)})})["catch"](function(){d._triggerDOMEvent(b.animationEvent.animateTimeout,a)})},a.prototype._triggerDOMEvent=function(a,b){var d=c.DOM.createCustomEvent(a,{bubbles:!0,cancelable:!0,detail:b});c.DOM.dispatchEvent(d)},a.prototype._animationChangeWithValidKeyframe=function(a,b){var c=a.filter(function(a){return b.indexOf(a)===-1});if(0===c.length)return!1;if(!this.verifyKeyframesExist)return!0;var d=window.CSSRule.KEYFRAMES_RULE||window.CSSRule.MOZ_KEYFRAMES_RULE||window.CSSRule.WEBKIT_KEYFRAMES_RULE,e=document.styleSheets;try{for(var f=0;f<e.length;++f){var g=null;try{g=e[f].cssRules}catch(h){}if(g)for(var i=0;i<g.length;++i){var j=g[i];if(j.type===d&&c.indexOf(j.name)!==-1)return!0}}}catch(h){}return!1},a.prototype.animate=function(a,b){var c=this;return Array.isArray(a)?Promise.all(a.map(function(a){return c._performSingleAnimate(a,b)})):this._performSingleAnimate(a,b)},a.prototype.runSequence=function(a){var c=this;return this._triggerDOMEvent(b.animationEvent.sequenceBegin,null),a.reduce(function(a,b){return a.then(function(){return c.animate(b.element,b.className)})},Promise.resolve(!0)).then(function(){c._triggerDOMEvent(b.animationEvent.sequenceDone,null)})},a.prototype.enter=function(a){var c=this;return new Promise(function(d,e){var f=a.classList;c._triggerDOMEvent(b.animationEvent.enterBegin,a),c.useAnimationDoneClasses&&(f.remove(c.animationEnteredClass),f.remove(c.animationLeftClass)),f.add("au-enter");var g=c._getElementAnimationNames(a),h=void 0,i=!1;c._addMultipleEventListener(a,"webkitAnimationStart animationstart",h=function(d){i=!0,c.isAnimating=!0,c._triggerDOMEvent(b.animationEvent.enterActive,a),d.stopPropagation(),d.target.removeEventListener(d.type,h)},!1);var j=void 0;c._addMultipleEventListener(a,"webkitAnimationEnd animationend",j=function(e){i&&(e.stopPropagation(),f.remove("au-enter-active"),f.remove("au-enter"),e.target.removeEventListener(e.type,j),c.useAnimationDoneClasses&&void 0!==c.animationEnteredClass&&null!==c.animationEnteredClass&&f.add(c.animationEnteredClass),c.isAnimating=!1,c._triggerDOMEvent(b.animationEvent.enterDone,a),d(!0))},!1);var k=a.parentElement,l=0,m=function(){var e=c._getElementAnimationNames(a);c._animationChangeWithValidKeyframe(e,g)||(f.remove("au-enter-active"),f.remove("au-enter"),c._removeMultipleEventListener(a,"webkitAnimationEnd animationend",j),c._removeMultipleEventListener(a,"webkitAnimationStart animationstart",h),c._triggerDOMEvent(b.animationEvent.enterTimeout,a),d(!1))};if(null!==k&&void 0!==k&&(k.classList.contains("au-stagger")||k.classList.contains("au-stagger-enter"))){var n=Array.prototype.indexOf.call(k.children,a);l=c._getElementAnimationDelay(k)*n,c._triggerDOMEvent(b.animationEvent.staggerNext,a),setTimeout(function(){f.add("au-enter-active"),m()},l)}else f.add("au-enter-active"),m()})},a.prototype.leave=function(a){var c=this;return new Promise(function(d,e){var f=a.classList;c._triggerDOMEvent(b.animationEvent.leaveBegin,a),c.useAnimationDoneClasses&&(f.remove(c.animationEnteredClass),f.remove(c.animationLeftClass)),f.add("au-leave");var g=c._getElementAnimationNames(a),h=void 0,i=!1;c._addMultipleEventListener(a,"webkitAnimationStart animationstart",h=function(d){i=!0,c.isAnimating=!0,c._triggerDOMEvent(b.animationEvent.leaveActive,a),d.stopPropagation(),d.target.removeEventListener(d.type,h)},!1);var j=void 0;c._addMultipleEventListener(a,"webkitAnimationEnd animationend",j=function(e){i&&(e.stopPropagation(),f.remove("au-leave-active"),f.remove("au-leave"),e.target.removeEventListener(e.type,j),c.useAnimationDoneClasses&&void 0!==c.animationLeftClass&&null!==c.animationLeftClass&&f.add(c.animationLeftClass),c.isAnimating=!1,c._triggerDOMEvent(b.animationEvent.leaveDone,a),d(!0))},!1);var k=a.parentElement,l=0,m=function(){var e=c._getElementAnimationNames(a);c._animationChangeWithValidKeyframe(e,g)||(f.remove("au-leave-active"),f.remove("au-leave"),c._removeMultipleEventListener(a,"webkitAnimationEnd animationend",j),c._removeMultipleEventListener(a,"webkitAnimationStart animationstart",h),c._triggerDOMEvent(b.animationEvent.leaveTimeout,a),d(!1))};if(null!==k&&void 0!==k&&(k.classList.contains("au-stagger")||k.classList.contains("au-stagger-leave"))){var n=Array.prototype.indexOf.call(k.children,a);l=c._getElementAnimationDelay(k)*n,c._triggerDOMEvent(b.animationEvent.staggerNext,a),setTimeout(function(){f.add("au-leave-active"),m()},l)}else f.add("au-leave-active"),m()})},a.prototype.removeClass=function(a,c){var d=this,e=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return new Promise(function(f,g){var h=a.classList;if(!h.contains(c)&&!h.contains(c+"-add"))return void f(!1);e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassBegin,a),h.remove(c);var i=d._getElementAnimationNames(a),j=void 0,k=!1;d._addMultipleEventListener(a,"webkitAnimationStart animationstart",j=function(c){k=!0,d.isAnimating=!0,e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassActive,a),c.stopPropagation(),c.target.removeEventListener(c.type,j)},!1);var l=void 0;d._addMultipleEventListener(a,"webkitAnimationEnd animationend",l=function(g){k&&(g.stopPropagation(),h.remove(c+"-remove"),g.target.removeEventListener(g.type,l),d.isAnimating=!1,e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassDone,a),f(!0))},!1),h.add(c+"-remove");var m=d._getElementAnimationNames(a);d._animationChangeWithValidKeyframe(m,i)||(h.remove(c+"-remove"),h.remove(c),d._removeMultipleEventListener(a,"webkitAnimationEnd animationend",l),d._removeMultipleEventListener(a,"webkitAnimationStart animationstart",j),e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassTimeout,a),f(!1))})},a.prototype.addClass=function(a,c){var d=this,e=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return new Promise(function(f,g){var h=a.classList;e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassBegin,a);var i=void 0,j=!1;d._addMultipleEventListener(a,"webkitAnimationStart animationstart",i=function(c){j=!0,d.isAnimating=!0,e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassActive,a),c.stopPropagation(),c.target.removeEventListener(c.type,i)},!1);var k=void 0;d._addMultipleEventListener(a,"webkitAnimationEnd animationend",k=function(g){j&&(g.stopPropagation(),h.add(c),h.remove(c+"-add"),g.target.removeEventListener(g.type,k),d.isAnimating=!1,e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassDone,a),f(!0))},!1);var l=d._getElementAnimationNames(a);h.add(c+"-add");var m=d._getElementAnimationNames(a);d._animationChangeWithValidKeyframe(m,l)||(h.remove(c+"-add"),h.add(c),d._removeMultipleEventListener(a,"webkitAnimationEnd animationend",k),d._removeMultipleEventListener(a,"webkitAnimationStart animationstart",i),e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassTimeout,a),f(!1))})},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-animator-css@1.0.1.js",["npm:aurelia-animator-css@1.0.1/aurelia-animator-css"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){function a(){}a.name||Object.defineProperty(Function.prototype,"name",{get:function(){var a=this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];return Object.defineProperty(this,"name",{value:a}),a}})}function d(){if("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))){var a=document.createElement("_");if(a.classList.add("c1","c2"),!a.classList.contains("c2")){var b=function(a){var b=DOMTokenList.prototype[a];DOMTokenList.prototype[a]=function(a){for(var c=0,d=arguments.length;c<d;++c)a=arguments[c],b.call(this,a)}};b("add"),b("remove")}a.classList.toggle("c3",!1),a.classList.contains("c3")&&!function(){var a=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(b,c){return 1 in arguments&&!this.contains(b)==!c?c:a.call(this,b)}}(),a=null}else!function(){var a="prototype",b=String.prototype.trim,c=Array.prototype.indexOf,d=[],e=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},f=function(a,b){if(""===b)throw new e("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(b))throw new e("INVALID_CHARACTER_ERR","String contains an invalid character");return c.call(a,b)},g=function(a){for(var c=b.call(a.getAttribute("class")||""),e=c?c.split(/\s+/):d,f=0,g=e.length;f<g;++f)this.push(e[f]);this._updateClassName=function(){a.setAttribute("class",this.toString())}},h=g[a]=[];e[a]=Error[a],h.item=function(a){return this[a]||null},h.contains=function(a){return a+="",f(this,a)!==-1},h.add=function(){var a=arguments,b=0,c=a.length,d=void 0,e=!1;do d=a[b]+"",f(this,d)===-1&&(this.push(d),e=!0);while(++b<c);e&&this._updateClassName()},h.remove=function(){var a=arguments,b=0,c=a.length,d=void 0,e=!1,g=void 0;do for(d=a[b]+"",g=f(this,d);g!==-1;)this.splice(g,1),e=!0,g=f(this,d);while(++b<c);e&&this._updateClassName()},h.toggle=function(a,b){a+="";var c=this.contains(a),d=c?b!==!0&&"remove":b!==!1&&"add";return d&&this[d](a),b===!0||b===!1?b:!c},h.toString=function(){return this.join(" ")},Object.defineProperty(Element.prototype,"classList",{get:function(){return new g(this)},enumerable:!0,configurable:!0})}()}function e(){"performance"in window==!1&&(window.performance={}),"now"in window.performance==!1&&!function(){var a=Date.now();performance.timing&&performance.timing.navigationStart&&(a=performance.timing.navigationStart),window.performance.now=function(){return Date.now()-a}}(),k.performance=window.performance}function f(){if(!window.CustomEvent||"function"!=typeof window.CustomEvent){var a=function(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c};a.prototype=window.Event.prototype,window.CustomEvent=a}}function g(){if(Element&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}}function h(){function a(a){return"template"===a.tagName&&"http://www.w3.org/2000/svg"===a.namespaceURI}function b(a){var b=a.ownerDocument.createElement("template"),d=a.attributes,e=d.length,f=void 0;for(a.parentNode.insertBefore(b,a);e-- >0;)f=d[e],b.setAttribute(f.name,f.value),a.removeAttribute(f.name);return a.parentNode.removeChild(a),c(b)}function c(a){for(var b=a.content=document.createDocumentFragment(),c=void 0;c=a.firstChild;)b.appendChild(c);return a}function d(d){for(var e=c(d).content,f=e.querySelectorAll("template"),g=0,h=f.length;g<h;++g){var i=f[g];a(i)?b(i):c(i)}return d}l.htmlTemplateElement?l.ensureHTMLTemplateElement=function(a){return a}:l.ensureHTMLTemplateElement=d}function i(){o||(o=!0,f(),c(),h(),g(),d(),e(),(0,b.initializePAL)(function(a,b,c){Object.assign(a,k),Object.assign(b,l),Object.assign(c,n),function(a){a.console=a.console||{};for(var b=a.console,c=void 0,d=void 0,e={},f=function(){},g="memory".split(","),h="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");c=g.pop();)b[c]||(b[c]=e);for(;d=h.pop();)b[d]||(b[d]=f)}(a.global),a.global.console&&"object"===j(console.log)&&["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call),Object.defineProperty(c,"title",{get:function(){return document.title},set:function(a){document.title=a}}),Object.defineProperty(c,"activeElement",{get:function(){return document.activeElement}}),Object.defineProperty(a,"XMLHttpRequest",{get:function(){return a.global.XMLHttpRequest}})}))}Object.defineProperty(a,"__esModule",{value:!0}),a._DOM=a._FEATURE=a._PLATFORM=void 0,a._ensureFunctionName=c,a._ensureClassList=d,a._ensurePerformance=e,a._ensureCustomEvent=f,a._ensureElementMatches=g,a._ensureHTMLTemplateElement=h,a.initialize=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=a._PLATFORM={location:window.location,history:window.history,addEventListener:function(a,b,c){this.global.addEventListener(a,b,c)},removeEventListener:function(a,b,c){this.global.removeEventListener(a,b,c)},performance:window.performance,requestAnimationFrame:function(a){return this.global.requestAnimationFrame(a)}},l=a._FEATURE={};l.shadowDOM=function(){return!!HTMLElement.prototype.attachShadow}(),l.scopedCSS=function(){return"scoped"in document.createElement("style")}(),l.htmlTemplateElement=function(){return"content"in document.createElement("template")}(),l.mutationObserver=function(){return!(!window.MutationObserver&&!window.WebKitMutationObserver)}();var m=window.ShadowDOMPolyfill||null,n=a._DOM={Element:Element,SVGElement:SVGElement,boundary:"aurelia-dom-boundary",addEventListener:function(a,b,c){document.addEventListener(a,b,c)},removeEventListener:function(a,b,c){document.removeEventListener(a,b,c)},adoptNode:function(a){return document.adoptNode(a,!0)},createElement:function(a){return document.createElement(a)},createTextNode:function(a){return document.createTextNode(a)},createComment:function(a){return document.createComment(a)},createDocumentFragment:function(){return document.createDocumentFragment()},createMutationObserver:function(a){return new(window.MutationObserver||window.WebKitMutationObserver)(a)},createCustomEvent:function(a,b){return new window.CustomEvent(a,b)},dispatchEvent:function(a){document.dispatchEvent(a)},getComputedStyle:function(a){return window.getComputedStyle(a)},getElementById:function(a){return document.getElementById(a)},querySelectorAll:function(a){return document.querySelectorAll(a)},nextElementSibling:function(a){if(a.nextElementSibling)return a.nextElementSibling;do a=a.nextSibling;while(a&&1!==a.nodeType);return a},createTemplateFromMarkup:function(a){var b=document.createElement("div");b.innerHTML=a;var c=b.firstElementChild;if(!c||"TEMPLATE"!==c.nodeName)throw new Error("Template markup must be wrapped in a <template> element e.g. <template> <!-- markup here --> </template>");return l.ensureHTMLTemplateElement(c)},appendNode:function(a,b){(b||document.body).appendChild(a)},replaceNode:function(a,b,c){b.parentNode?b.parentNode.replaceChild(a,b):null!==m?m.unwrap(c).replaceChild(m.unwrap(a),m.unwrap(b)):c.replaceChild(a,b)},removeNode:function(a,b){a.parentNode?a.parentNode.removeChild(a):b&&(null!==m?m.unwrap(b).removeChild(m.unwrap(a)):b.removeChild(a))},injectStyles:function(a,b,c){var d=document.createElement("style");return d.innerHTML=a,d.type="text/css",b=b||document.head,c&&b.childNodes.length>0?b.insertBefore(d,b.childNodes[0]):b.appendChild(d),d}},o=!1})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.0.0.js",["npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.1.1/aurelia-polyfills.js",["aurelia-pal"],function(a){"use strict";var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a};!function(b,c){if(!(c in b)){var d,e=a.PLATFORM.global,f=0,g=""+Math.random(),h="__symbol:",i=h.length,j="__symbol@@"+g,k="defineProperty",l="defineProperties",m="getOwnPropertyNames",n="getOwnPropertyDescriptor",o="propertyIsEnumerable",p=b[m],q=b[n],r=b.create,s=b.keys,t=b[k],u=b[l],v=q(b,m),w=b.prototype,x=w.hasOwnProperty,y=w[o],z=w.toString,A=(Array.prototype.indexOf||function(a){for(var b=this.length;b--&&this[b]!==a;);return b},function(a,b,c){x.call(a,j)||t(a,j,{enumerable:!1,configurable:!1,writable:!1,value:{}}),a[j]["@@"+b]=c}),B=function(a,b){var c=r(a);return p(b).forEach(function(a){G.call(b,a)&&M(c,a,b[a])}),c},C=function(a){var b=r(a);return b.enumerable=!1,b},D=function(){},E=function(a){return a!=j&&!x.call(J,a)},F=function(a){return a!=j&&x.call(J,a)},G=function(a){var b=""+a;return F(b)?x.call(this,b)&&this[j]["@@"+b]:y.call(this,a)},H=function(a){var c={enumerable:!1,configurable:!0,get:D,set:function(b){d(this,a,{enumerable:!1,configurable:!0,writable:!0,value:b}),A(this,a,!0)}};return t(w,a,c),J[a]=t(b(a),"constructor",K)},I=function(a){if(this&&this!==e)throw new TypeError("Symbol is not a constructor");return H(h.concat(a||"",g,++f))},J=r(null),K={value:I},L=function(a){return J[a]},M=function(a,b,c){var e=""+b;return F(e)?(d(a,e,c.enumerable?C(c):c),A(a,e,!!c.enumerable)):t(a,b,c),a},N=function(a){var c=z.call(a);return a="[object String]"===c?a.split(""):b(a),p(a).filter(F).map(L)};v.value=M,t(b,k,v),v.value=N,t(b,c,v),v.value=function(a){return p(a).filter(E)},t(b,m,v),v.value=function(a,b){var c=N(b);return c.length?s(b).concat(c).forEach(function(c){G.call(b,c)&&M(a,c,b[c])}):u(a,b),a},t(b,l,v),v.value=G,t(w,o,v),v.value=I,t(e,"Symbol",v),v.value=function(a){var b=h.concat(h,a,g);return b in w?J[b]:H(b)},t(I,"for",v),v.value=function(a){return x.call(J,a)?a.slice(2*i,-g.length):void 0},t(I,"keyFor",v),v.value=function(a,b){var c=q(a,b);return c&&F(b)&&(c.enumerable=G.call(a,b)),c},t(b,n,v),v.value=function(a,b){return 1===arguments.length?r(a):B(a,b)},t(b,"create",v),v.value=function(){var a=z.call(this);return"[object String]"===a&&F(this)?"[object Symbol]":a},t(w,"toString",v);try{d=r(t({},h,{get:function(){return t(this,h,{value:!1})[h]}}))[h]||t}catch(O){d=function(a,b,c){var d=q(w,b);delete w[b],t(a,b,c),t(w,b,d)}}}}(Object,"getOwnPropertySymbols"),function(a,b){var c,d=a.defineProperty,e=a.prototype,f=e.toString,g="toStringTag";["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",g].forEach(function(b){if(!(b in Symbol))switch(d(Symbol,b,{value:Symbol(b)}),b){case g:c=a.getOwnPropertyDescriptor(e,"toString"),c.value=function(){var a=f.call(this),b="undefined"==typeof this||null===this?void 0:this[Symbol.toStringTag];return"undefined"==typeof b?a:"[object "+b+"]"},d(e,"toString",c)}})}(Object,Symbol),function(a,b,c){function d(){return this}b[a]||(b[a]=function(){var b=0,c=this,e={next:function(){var a=c.length<=b;return a?{done:a}:{done:a,value:c[b++]}}};return e[a]=d,e}),c[a]||(c[a]=function(){var b=String.fromCodePoint,c=this,e=0,f=c.length,g={next:function(){var a=f<=e,d=a?"":b(c.codePointAt(e));return e+=d.length,a?{done:a}:{done:a,value:d}}};return g[a]=d,g})}(Symbol.iterator,Array.prototype,String.prototype),Number.isNaN=Number.isNaN||function(a){return a!==a},Number.isFinite=Number.isFinite||function(a){return"number"==typeof a&&isFinite(a)},String.prototype.endsWith&&!function(){try{return!"ab".endsWith("a",1)}catch(a){return!0}}()||(String.prototype.endsWith=function(a,b){var c=this.toString();("number"!=typeof b||!isFinite(b)||Math.floor(b)!==b||b>c.length)&&(b=c.length),b-=a.length;var d=c.indexOf(a,b);return d!==-1&&d===b}),String.prototype.startsWith&&!function(){try{return!"ab".startsWith("b",1)}catch(a){return!0}}()||(String.prototype.startsWith=function(a,b){return b=b||0,this.substr(b,a.length)===a}),Array.from||(Array.from=function(){var a=function(a){return isNaN(a=+a)?0:(a>0?Math.floor:Math.ceil)(a)},b=function(b){return b>0?Math.min(a(b),9007199254740991):0},c=function(a,b,c,d){try{return b(c,d)}catch(e){throw"function"==typeof a["return"]&&a["return"](),e}};return function(a){var d,e,f,g,h=Object(a),i="function"==typeof this?this:Array,j=arguments.length,k=j>1?arguments[1]:void 0,l=void 0!==k,m=0,n=h[Symbol.iterator];if(l&&(k=k.bind(j>2?arguments[2]:void 0)),void 0==n||Array.isArray(a))for(d=b(h.length),e=new i(d);d>m;m++)e[m]=l?k(h[m],m):h[m];else for(g=n.call(h),e=new i;!(f=g.next()).done;m++)e[m]=l?c(g,k,f.value,m):f.value;return e.length=m,e}}()),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{configurable:!0,writable:!0,enumerable:!1,value:function f(a){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof a)throw new TypeError("predicate must be a function");for(var f,b=Object(this),c=b.length>>>0,d=arguments[1],e=0;e<c;e++)if(f=b[e],a.call(d,f,e,b))return f}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{configurable:!0,writable:!0,enumerable:!1,value:function g(a){if(null===this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof a)throw new TypeError("predicate must be a function");for(var g,b=Object(this),c=b.length>>>0,d=arguments[1],e=0;e<c;e++)if(g=b[e],a.call(d,g,e,b))return e;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{configurable:!0,writable:!0,enumerable:!1,value:function(a){var b=Object(this),c=parseInt(b.length)||0;if(0===c)return!1;var d,e=parseInt(arguments[1])||0;e>=0?d=e:(d=c+e,d<0&&(d=0));for(var f;d<c;){if(f=b[d],a===f||a!==a&&f!==f)return!0;d++}return!1}}),function(){var a=!1;try{var b=Object.keys("a");a=1!==b.length||"0"!==b[0]}catch(c){a=!0}a&&(Object.keys=function(){var a=Object.prototype.hasOwnProperty,b=!{toString:null}.propertyIsEnumerable("toString"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=c.length;return function(e){if(void 0===e||null===e)throw TypeError("Cannot convert undefined or null to object");e=Object(e);var f,g,h=[];for(f in e)a.call(e,f)&&h.push(f);if(b)for(g=0;g<d;g++)a.call(e,c[g])&&h.push(c[g]);return h}}())}(),function(a){"assign"in a||a.defineProperty(a,"assign",{configurable:!0,writable:!0,value:function(){var b=a.getOwnPropertySymbols,c=a.propertyIsEnumerable,d=b?function(a){return b(a).filter(c,a)}:function(){return Array.prototype};return function(c){function e(a){c[a]=h[a]}!b||c instanceof a||console.warn("problematic Symbols",c);for(var f=1,g=arguments.length;f<g;++f){var h=arguments[f];null!==h&&void 0!==h&&a.keys(h).concat(d(h)).forEach(e)}return c}}()})}(Object),function(a){function b(a,b){function d(a){return this&&this.constructor===d?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=b,void(a&&c.call(this,a))):new d(a)}return b||t(a,"size",{get:q}),a.constructor=d,d.prototype=a,d}function c(a){this.add?a.forEach(this.add,this):a.forEach(function(a){this.set(a[0],a[1])},this)}function d(a){return this.has(a)&&(this._keys.splice(s,1),this._values.splice(s,1),this._itp.forEach(function(a){s<a[0]&&a[0]--})),-1<s}function e(a){return this.has(a)?this._values[s]:void 0}function f(a,b){if(this.objectOnly&&b!==Object(b))throw new TypeError("Invalid value used as weak collection key");if(b!=b||0===b)for(s=a.length;s--&&!u(a[s],b););else s=a.indexOf(b);return-1<s}function g(a){return f.call(this,this._values,a)}function h(a){return f.call(this,this._keys,a)}function i(a,b){return this.has(a)?this._values[s]=b:this._values[this._keys.push(a)-1]=b,this}function j(a){return this.has(a)||this._values.push(a),this}function k(){(this._keys||0).length=this._values.length=0}function l(){return p(this._itp,this._keys)}function m(){return p(this._itp,this._values)}function n(){return p(this._itp,this._keys,this._values)}function o(){return p(this._itp,this._values,this._values)}function p(a,b,c){var d,e=[0],f=!1;return a.push(e),d={},d[Symbol.iterator]=function(){return this},d.next=function(){var d,g=e[0];return!f&&g<b.length?(d=c?[b[g],c[g]]:b[g],e[0]++):(f=!0,a.splice(a.indexOf(e),1)),{done:f,value:d}},d}function q(){return this._values.length}function r(a,b){for(var c=this.entries();;){var d=c.next();if(d.done)break;a.call(b,d.value[1],d.value[0],this)}}var s,t=Object.defineProperty,u=function(a,b){return a===b||a!==a&&b!==b};if("undefined"==typeof WeakMap&&(a.WeakMap=b({"delete":d,clear:k,get:e,has:h,set:i},!0)),"undefined"==typeof Map||"function"!=typeof(new Map).values||!(new Map).values().next){var v;a.Map=b((v={"delete":d,has:h,get:e,set:i,keys:l,values:m,entries:n,forEach:r,clear:k},v[Symbol.iterator]=n,v))}if("undefined"==typeof Set||"function"!=typeof(new Set).values||!(new Set).values().next){var w;a.Set=b((w={has:g,add:j,"delete":d,clear:k,keys:m,values:m,entries:o,forEach:r},w[Symbol.iterator]=m,w))}"undefined"==typeof WeakSet&&(a.WeakSet=b({"delete":d,add:j,clear:k,has:g},!0))}(a.PLATFORM.global);var c=Object.freeze({}),d="__metadata__",e=Function.prototype.bind;"undefined"==typeof a.PLATFORM.global.Reflect&&(a.PLATFORM.global.Reflect={}),"function"!=typeof Reflect.getOwnMetadata&&(Reflect.getOwnMetadata=function(a,b,e){if(b.hasOwnProperty(d))return(b[d][e]||c)[a]}),"function"!=typeof Reflect.defineMetadata&&(Reflect.defineMetadata=function(a,b,c,e){var f=c.hasOwnProperty(d)?c[d]:c[d]={},g=f[e]||(f[e]={});g[a]=b}),"function"!=typeof Reflect.metadata&&(Reflect.metadata=function(a,b){return function(c,d){Reflect.defineMetadata(a,b,c,d)}}),"function"!=typeof Reflect.defineProperty&&(Reflect.defineProperty=function(a,c,d){if("object"===("undefined"==typeof a?"undefined":b(a))?null===a:"function"!=typeof a)throw new TypeError("Reflect.defineProperty called on non-object");try{return Object.defineProperty(a,c,d),!0}catch(e){return!1}}),"function"!=typeof Reflect.construct&&(Reflect.construct=function(a,b){if(b)switch(b.length){case 0:return new a;case 1:return new a(b[0]);case 2:return new a(b[0],b[1]);case 3:return new a(b[0],b[1],b[2]);case 4:return new a(b[0],b[1],b[2],b[3])}var c=[null];return c.push.apply(c,b),new(e.apply(a,c))}),"function"!=typeof Reflect.ownKeys&&(Reflect.ownKeys=function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a))})})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.1.1.js",["npm:aurelia-polyfills@1.1.1/aurelia-polyfills"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper.js",["exports","aurelia-pal","aurelia-pal-browser","aurelia-polyfills"],function(a,b,c){"use strict";function d(a){return new Promise(function(b,c){m?b(a(m)):l.push(function(){try{b(a(m))}catch(d){c(d)}})})}function e(a){return new Promise(function(b,c){function d(){a.document.removeEventListener("DOMContentLoaded",d),a.removeEventListener("load",d),b(a.document)}"complete"===a.document.readyState?b(a.document):(a.document.addEventListener("DOMContentLoaded",d),a.addEventListener("load",d))})}function f(){return b.PLATFORM.Loader?Promise.resolve(new b.PLATFORM.Loader):window.System&&"function"==typeof window.System["import"]?System.normalize("aurelia-bootstrapper").then(function(a){return System.normalize("aurelia-loader-default",a)}).then(function(a){return System["import"](a).then(function(a){return new a.DefaultLoader})}):"function"==typeof window.require?new Promise(function(a,b){return require(["aurelia-loader-default"],function(b){return a(new b.DefaultLoader)},b)}):Promise.reject("No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app.")}function g(a){return a.normalize("aurelia-bootstrapper").then(function(b){return a.normalize("aurelia-framework",b).then(function(c){return a.map("aurelia-framework",c),Promise.all([a.normalize("aurelia-dependency-injection",c).then(function(b){return a.map("aurelia-dependency-injection",b)}),a.normalize("aurelia-router",b).then(function(b){return a.map("aurelia-router",b)}),a.normalize("aurelia-logging-console",b).then(function(b){return a.map("aurelia-logging-console",b)})]).then(function(){return a.loadModule(c).then(function(a){return n=a.Aurelia})})})})}function h(a,b){var c=b.getAttribute("aurelia-app")||b.getAttribute("data-aurelia-app");return i(a,b,c)}function i(a,b,c){var d=new n(a);return d.host=b,d.configModuleId=c||null,c?a.loadModule(c).then(function(a){return a.configure(d)}):(d.use.standardConfiguration().developmentLogging(),d.start().then(function(){return d.setRoot()}))}function j(){return e(window).then(function(a){(0,c.initialize)();var b=a.querySelectorAll("[aurelia-app],[data-aurelia-app]");return f().then(function(a){return g(a).then(function(){for(var c=0,d=b.length;c<d;++c)h(a,b[c])["catch"](console.error.bind(console));m=a;for(var e=0,f=l.length;e<f;++e)l[e]();l=null})})})}function k(a){return d(function(b){var c=new n(b);return a(c)})}Object.defineProperty(a,"__esModule",{value:!0}),a.bootstrap=k;var l=[],m=null,n=null;j()})}(),function(){var a=System.amdDefine;a("npm:aurelia-bootstrapper@1.0.0.js",["npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js",["exports"],function(a){"use strict";function b(a){return new Blob([JSON.stringify(a)],{type:"application/json"})}function c(a){if(!a.ok)throw a;return a}function d(){this.isRequesting=!!++this.activeRequestCount}function e(){this.isRequesting=!!--this.activeRequestCount}function f(a){var b=e.bind(this);return a.then(b,b),a}function g(a){var b={};for(var c in a||{})a.hasOwnProperty(c)&&(b[c]="function"==typeof a[c]?a[c]():a[c]);return b}function h(a,b){var c=this.defaults||{},d=void 0,e=void 0,f=void 0,h=g(c.headers);if(Request.prototype.isPrototypeOf(a))d=a,f=new Headers(d.headers).get("Content-Type");else{b||(b={}),e=b.body;var k=e?{body:e}:null,l=Object.assign({},c,{headers:{}},b,k);f=new Headers(l.headers).get("Content-Type"),d=new Request(i(this.baseUrl,a),l)}return!f&&new Headers(h).has("content-type")&&d.headers.set("Content-Type",new Headers(h).get("content-type")),j(d.headers,h),e&&Blob.prototype.isPrototypeOf(e)&&e.type&&d.headers.set("Content-Type",e.type),d}function i(a,b){return r.test(b)?b:(a||"")+b}function j(a,b){for(var c in b||{})b.hasOwnProperty(c)&&!a.has(c)&&a.set(c,b[c])}function k(a,b){return m(a,b,"request","requestError")}function l(a,b,c){return m(a,b,"response","responseError",c)}function m(a,b,c,d){for(var e=arguments.length,f=Array(e>4?e-4:0),g=4;g<e;g++)f[g-4]=arguments[g];return(b||[]).reduce(function(a,b){var e=b[c],g=b[d];return a.then(e&&function(a){
+return e.call.apply(e,[b,a].concat(f))}||n,g&&function(a){return g.call.apply(g,[b,a].concat(f))}||o)},Promise.resolve(a))}function n(a){return a}function o(a){throw a}Object.defineProperty(a,"__esModule",{value:!0}),a.json=b;var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},q=a.HttpClientConfiguration=function(){function a(){this.baseUrl="",this.defaults={},this.interceptors=[]}return a.prototype.withBaseUrl=function(a){return this.baseUrl=a,this},a.prototype.withDefaults=function(a){return this.defaults=a,this},a.prototype.withInterceptor=function(a){return this.interceptors.push(a),this},a.prototype.useStandardConfiguration=function(){var a={credentials:"same-origin"};return Object.assign(this.defaults,a,this.defaults),this.rejectErrorResponses()},a.prototype.rejectErrorResponses=function(){return this.withInterceptor({response:c})},a}(),r=(a.HttpClient=function(){function a(){if(this.activeRequestCount=0,this.isRequesting=!1,this.isConfigured=!1,this.baseUrl="",this.defaults=null,this.interceptors=[],"undefined"==typeof fetch)throw new Error("HttpClient requires a Fetch API implementation, but the current environment doesn't support it. You may need to load a polyfill such as https://github.com/github/fetch.")}return a.prototype.configure=function(a){var b,c=void 0;if("object"===("undefined"==typeof a?"undefined":p(a)))c={defaults:a};else{if("function"!=typeof a)throw new Error("invalid config");c=new q;var d=a(c);q.prototype.isPrototypeOf(d)&&(c=d)}var e=c.defaults;if(e&&Headers.prototype.isPrototypeOf(e.headers))throw new Error("Default headers must be a plain object.");return this.baseUrl=c.baseUrl,this.defaults=e,(b=this.interceptors).push.apply(b,c.interceptors||[]),this.isConfigured=!0,this},a.prototype.fetch=function(a){function b(b,c){return a.apply(this,arguments)}return b.toString=function(){return a.toString()},b}(function(a,b){var c=this;d.call(this);var e=Promise.resolve().then(function(){return h.call(c,a,b,c.defaults)}),g=k(e,this.interceptors).then(function(a){var b=null;if(Response.prototype.isPrototypeOf(a))b=a;else{if(!Request.prototype.isPrototypeOf(a))throw new Error("An invalid result was returned by the interceptor chain. Expected a Request or Response instance, but got ["+a+"]");e=Promise.resolve(a),b=fetch(a)}return e.then(function(a){return l(b,c.interceptors,a)})});return f.call(this,g)}),a}(),/^([a-z][a-z0-9+\-.]*:)?\/\//i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-fetch-client@1.0.1.js",["npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-framework@1.0.6/aurelia-framework.js",["exports","aurelia-dependency-injection","aurelia-binding","aurelia-metadata","aurelia-templating","aurelia-loader","aurelia-task-queue","aurelia-path","aurelia-pal","aurelia-logging"],function(a,b,c,d,e,f,g,h,i,j){"use strict";function k(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function l(){i.DOM.addEventListener("submit",function(a){var b=a.target,c=b.action;"form"!==b.tagName.toLowerCase()||c||a.preventDefault()})}function m(a,b){var c=void 0,d=function e(){return c=b.shift(),c?Promise.resolve(c(a)).then(e):Promise.resolve()};return d()}function n(a,b,c){function d(d){return b.loadModule(d).then(function(b){return"configure"in b?Promise.resolve(b.configure(a,c.config||{})).then(function(){a.resourcesRelativeTo=null,s.debug("Configured plugin "+c.moduleId+".")}):(a.resourcesRelativeTo=null,void s.debug("Loaded plugin "+c.moduleId+"."))})}s.debug("Loading plugin "+c.moduleId+"."),a.resourcesRelativeTo=c.resourcesRelativeTo;var e=c.moduleId;return c.resourcesRelativeTo.length>1?b.normalize(c.moduleId,c.resourcesRelativeTo[1]).then(function(a){return d(a)}):d(e)}function o(a,b,c){function d(b){var c=b.moduleId,d=p(c);return f(c)&&(c=g(c)),a.loader.normalize(c,b.relativeTo).then(function(a){return{name:b.moduleId,importId:f(b.moduleId)?h(a,d):a}})}function f(a){var b=p(a);return!!b&&(""!==b&&(".js"!==b&&".ts"!==b))}function g(a){return a.replace(t,"")}function h(a,b){return g(a)+"."+b}var i=a.container.get(e.ViewEngine);return Promise.all(Object.keys(b).map(function(a){return d(b[a])})).then(function(a){var b=[],d=[];return a.forEach(function(a){b.push(void 0),d.push(a.importId)}),i.importViewResources(d,b,c)})}function p(a){var b=a.match(t);if(b&&b.length>0)return b[0].split(".")[1]}function q(a){if(a.processed)throw new Error("This config instance has already been applied. To load more plugins or global resources, create a new FrameworkConfiguration instance.")}Object.defineProperty(a,"__esModule",{value:!0}),a.LogManager=a.FrameworkConfiguration=a.Aurelia=void 0,Object.keys(b).forEach(function(c){"default"!==c&&"__esModule"!==c&&Object.defineProperty(a,c,{enumerable:!0,get:function(){return b[c]}})}),Object.keys(c).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return c[b]}})}),Object.keys(d).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return d[b]}})}),Object.keys(e).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return e[b]}})}),Object.keys(f).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return f[b]}})}),Object.keys(g).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return g[b]}})}),Object.keys(h).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return h[b]}})}),Object.keys(i).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return i[b]}})});var r=k(j),s=(a.Aurelia=function(){function a(c,d,g){this.loader=c||new i.PLATFORM.Loader,this.container=d||(new b.Container).makeGlobal(),this.resources=g||new e.ViewResources,this.use=new u(this),this.logger=r.getLogger("aurelia"),this.hostConfigured=!1,this.host=null,this.use.instance(a,this),this.use.instance(f.Loader,this.loader),this.use.instance(e.ViewResources,this.resources)}return a.prototype.start=function(){var a=this;return this.started?Promise.resolve(this):(this.started=!0,this.logger.info("Aurelia Starting"),this.use.apply().then(function(){if(l(),!a.container.hasResolver(e.BindingLanguage)){var b="You must configure Aurelia with a BindingLanguage implementation.";throw a.logger.error(b),new Error(b)}a.logger.info("Aurelia Started");var c=i.DOM.createCustomEvent("aurelia-started",{bubbles:!0,cancelable:!0});return i.DOM.dispatchEvent(c),a}))},a.prototype.enhance=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1];return this._configureHost(c||i.DOM.querySelectorAll("body")[0]),new Promise(function(c){var d=a.container.get(e.TemplatingEngine);a.root=d.enhance({container:a.container,element:a.host,resources:a.resources,bindingContext:b}),a.root.attached(),a._onAureliaComposed(),c(a)})},a.prototype.setRoot=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?null:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1],d={};this.root&&this.root.viewModel&&this.root.viewModel.router&&(this.root.viewModel.router.deactivate(),this.root.viewModel.router.reset()),this._configureHost(c);var f=this.container.get(e.TemplatingEngine),g=this.container.get(e.CompositionTransaction);return delete g.initialComposition,b||(b=this.configModuleId?(0,h.relativeToFile)("./app",this.configModuleId):"app"),d.viewModel=b,d.container=d.childContainer=this.container,d.viewSlot=this.hostSlot,d.host=this.host,f.compose(d).then(function(b){return a.root=b,d.viewSlot.attached(),a._onAureliaComposed(),a})},a.prototype._configureHost=function(a){if(!this.hostConfigured){if(a=a||this.host,a&&"string"!=typeof a?this.host=a:this.host=i.DOM.getElementById(a||"applicationHost"),!this.host)throw new Error("No applicationHost was specified.");this.hostConfigured=!0,this.host.aurelia=this,this.hostSlot=new e.ViewSlot(this.host,(!0)),this.hostSlot.transformChildNodesIntoView(),this.container.registerInstance(i.DOM.boundary,this.host)}},a.prototype._onAureliaComposed=function(){var a=i.DOM.createCustomEvent("aurelia-composed",{bubbles:!0,cancelable:!0});setTimeout(function(){return i.DOM.dispatchEvent(a)},1)},a}(),r.getLogger("aurelia")),t=/\.[^\/.]+$/,u=function(){function a(a){var b=this;this.aurelia=a,this.container=a.container,this.info=[],this.processed=!1,this.preTasks=[],this.postTasks=[],this.resourcesToLoad={},this.preTask(function(){return a.loader.normalize("aurelia-bootstrapper").then(function(a){return b.bootstrapperName=a})}),this.postTask(function(){return o(a,b.resourcesToLoad,a.resources)})}return a.prototype.instance=function(a,b){return this.container.registerInstance(a,b),this},a.prototype.singleton=function(a,b){return this.container.registerSingleton(a,b),this},a.prototype["transient"]=function(a,b){return this.container.registerTransient(a,b),this},a.prototype.preTask=function(a){return q(this),this.preTasks.push(a),this},a.prototype.postTask=function(a){return q(this),this.postTasks.push(a),this},a.prototype.feature=function(a,b){return p(a)?this.plugin({moduleId:a,resourcesRelativeTo:[a,""],config:b||{}}):this.plugin({moduleId:a+"/index",resourcesRelativeTo:[a,""],config:b||{}})},a.prototype.globalResources=function(a){q(this);for(var b=Array.isArray(a)?a:arguments,c=void 0,d=this.resourcesRelativeTo||["",""],e=0,f=b.length;e<f;++e){if(c=b[e],"string"!=typeof c)throw new Error("Invalid resource path ["+c+"]. Resources must be specified as relative module IDs.");var g=d[0],i=d[1],j=c;(c.startsWith("./")||c.startsWith("../"))&&""!==g&&(j=(0,h.join)(g,c)),this.resourcesToLoad[j]={moduleId:j,relativeTo:i}}return this},a.prototype.globalName=function(a,b){return q(this),this.resourcesToLoad[a]={moduleId:b,relativeTo:""},this},a.prototype.plugin=function(a,b){return q(this),"string"==typeof a?this.plugin({moduleId:a,resourcesRelativeTo:[a,""],config:b||{}}):(this.info.push(a),this)},a.prototype._addNormalizedPlugin=function(a,b){var c=this,d={moduleId:a,resourcesRelativeTo:[a,""],config:b||{}};return this.plugin(d),this.preTask(function(){var b=[a,c.bootstrapperName];return d.moduleId=a,d.resourcesRelativeTo=b,Promise.resolve()}),this},a.prototype.defaultBindingLanguage=function(){return this._addNormalizedPlugin("aurelia-templating-binding")},a.prototype.router=function(){return this._addNormalizedPlugin("aurelia-templating-router")},a.prototype.history=function(){return this._addNormalizedPlugin("aurelia-history-browser")},a.prototype.defaultResources=function(){return this._addNormalizedPlugin("aurelia-templating-resources")},a.prototype.eventAggregator=function(){return this._addNormalizedPlugin("aurelia-event-aggregator")},a.prototype.basicConfiguration=function(){return this.defaultBindingLanguage().defaultResources().eventAggregator()},a.prototype.standardConfiguration=function(){return this.basicConfiguration().history().router()},a.prototype.developmentLogging=function(){var a=this;return this.preTask(function(){return a.aurelia.loader.normalize("aurelia-logging-console",a.bootstrapperName).then(function(b){return a.aurelia.loader.loadModule(b).then(function(a){r.addAppender(new a.ConsoleAppender),r.setLevel(r.logLevel.debug)})})}),this},a.prototype.apply=function(){var a=this;return this.processed?Promise.resolve():m(this,this.preTasks).then(function(){var b=a.aurelia.loader,c=a.info,d=void 0,e=function f(){return(d=c.shift())?n(a,b,d).then(f):(a.processed=!0,Promise.resolve())};return e().then(function(){return m(a,a.postTasks)})})},a}();a.FrameworkConfiguration=u;a.LogManager=r})}(),function(){var a=System.amdDefine;a("npm:aurelia-framework@1.0.6.js",["npm:aurelia-framework@1.0.6/aurelia-framework"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js",["exports","aurelia-pal","aurelia-history"],function(a,b,c){"use strict";function d(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function e(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function f(a){a.singleton(c.History,m),a["transient"](k,l)}function g(a,b,c){if(c){var d=a.href.replace(/(javascript:|#).*$/,"");a.replace(d+"#"+b)}else a.hash="#"+b}function h(a,b,c){return a+"//"+b+(c?":"+c:"")}Object.defineProperty(a,"__esModule",{value:!0}),a.BrowserHistory=a.DefaultLinkHandler=a.LinkHandler=void 0,a.configure=f;var i,j,k=a.LinkHandler=function(){function a(){}return a.prototype.activate=function(a){},a.prototype.deactivate=function(){},a}(),l=a.DefaultLinkHandler=function(a){function c(){var b=d(this,a.call(this));return b.handler=function(a){var d=c.getEventInfo(a),e=d.shouldHandleEvent,f=d.href;e&&(a.preventDefault(),b.history.navigate(f))},b}return e(c,a),c.prototype.activate=function(a){a._hasPushState&&(this.history=a,b.DOM.addEventListener("click",this.handler,!0))},c.prototype.deactivate=function(){b.DOM.removeEventListener("click",this.handler)},c.getEventInfo=function(a){var b={shouldHandleEvent:!1,href:null,anchor:null},d=c.findClosestAnchor(a.target);if(!d||!c.targetIsThisWindow(d))return b;if(a.altKey||a.ctrlKey||a.metaKey||a.shiftKey)return b;var e=d.getAttribute("href");b.anchor=d,b.href=e;var f=1===a.which,g=e&&!("#"===e.charAt(0)||/^[a-z]+:/i.test(e));return b.shouldHandleEvent=f&&g,b},c.findClosestAnchor=function(a){for(;a;){if("A"===a.tagName)return a;a=a.parentNode}},c.targetIsThisWindow=function(a){var c=a.getAttribute("target"),d=b.PLATFORM.global;return!c||c===d.name||"_self"===c||"top"===c&&d===d.top},c}(k),m=a.BrowserHistory=(j=i=function(a){function c(c){var e=d(this,a.call(this));return e._isActive=!1,e._checkUrlCallback=e._checkUrl.bind(e),e.location=b.PLATFORM.location,e.history=b.PLATFORM.history,e.linkHandler=c,e}return e(c,a),c.prototype.activate=function(a){if(this._isActive)throw new Error("History has already been activated.");var c=!!a.pushState;this._isActive=!0,this.options=Object.assign({},{root:"/"},this.options,a),this.root=("/"+this.options.root+"/").replace(o,"/"),this._wantsHashChange=this.options.hashChange!==!1,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var d=void 0;if(this._hasPushState?d="popstate":this._wantsHashChange&&(d="hashchange"),b.PLATFORM.addEventListener(d,this._checkUrlCallback),this._wantsHashChange&&c){var e=this.location,f=e.pathname.replace(/[^\/]$/,"$&/")===this.root;if(!this._hasPushState&&!f)return this.fragment=this._getFragment(null,!0),this.location.replace(this.root+this.location.search+"#"+this.fragment),!0;this._hasPushState&&f&&e.hash&&(this.fragment=this._getHash().replace(n,""),this.history.replaceState({},b.DOM.title,this.root+this.fragment+e.search))}if(this.fragment||(this.fragment=this._getFragment()),this.linkHandler.activate(this),!this.options.silent)return this._loadUrl()},c.prototype.deactivate=function(){b.PLATFORM.removeEventListener("popstate",this._checkUrlCallback),b.PLATFORM.removeEventListener("hashchange",this._checkUrlCallback),this._isActive=!1,this.linkHandler.deactivate()},c.prototype.getAbsoluteRoot=function(){var a=h(this.location.protocol,this.location.hostname,this.location.port);return""+a+this.root},c.prototype.navigate=function(a){var c=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],d=c.trigger,e=void 0===d||d,f=c.replace,h=void 0!==f&&f;if(a&&q.test(a))return this.location.href=a,!0;if(!this._isActive)return!1;if(a=this._getFragment(a||""),this.fragment===a&&!h)return!1;this.fragment=a;var i=this.root+a;if(""===a&&"/"!==i&&(i=i.slice(0,-1)),this._hasPushState)i=i.replace("//","/"),this.history[h?"replaceState":"pushState"]({},b.DOM.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);g(this.location,a,h)}return e?this._loadUrl(a):void 0},c.prototype.navigateBack=function(){this.history.back()},c.prototype.setTitle=function(a){b.DOM.title=a},c.prototype._getHash=function(){return this.location.hash.substr(1)},c.prototype._getFragment=function(a,b){var c=void 0;return a||(this._hasPushState||!this._wantsHashChange||b?(a=this.location.pathname+this.location.search,c=this.root.replace(p,""),a.indexOf(c)||(a=a.substr(c.length))):a=this._getHash()),"/"+a.replace(n,"")},c.prototype._checkUrl=function(){var a=this._getFragment();a!==this.fragment&&this._loadUrl()},c.prototype._loadUrl=function(a){var b=this.fragment=this._getFragment(a);return!!this.options.routeHandler&&this.options.routeHandler(b)},c}(c.History),i.inject=[k],j),n=/^#?\/*|\s+$/g,o=/^\/+|\/+$/g,p=/\/$/,q=/^([a-z][a-z0-9+\-.]*:)?\/\//i})}(),function(){var a=System.amdDefine;a("npm:aurelia-history-browser@1.0.0.js",["npm:aurelia-history-browser@1.0.0/aurelia-history-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader-default@1.0.0/aurelia-loader-default.js",["exports","aurelia-loader","aurelia-pal","aurelia-metadata"],function(b,c,d,e){"use strict";function f(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function h(a,b){var c=a,d=void 0,f=void 0;c.__useDefault&&(c=c["default"]),e.Origin.set(c,new e.Origin(b,"default"));for(d in c)f=c[d],"function"==typeof f&&e.Origin.set(f,new e.Origin(b,d));return a}Object.defineProperty(b,"__esModule",{value:!0}),b.DefaultLoader=b.TextTemplateLoader=void 0;var i=b.TextTemplateLoader=function(){function a(){}return a.prototype.loadTemplate=function(a,b){return a.loadText(b.address).then(function(a){b.template=d.DOM.createTemplateFromMarkup(a)})},a}(),j=b.DefaultLoader=function(a){function b(){var b=f(this,a.call(this));b.textPluginName="text",b.moduleRegistry=Object.create(null),b.useTemplateLoader(new i);var c=b;return b.addPlugin("template-registry-entry",{fetch:function(a){var b=c.getOrCreateTemplateRegistryEntry(a);return b.templateIsLoaded?b:c.templateLoader.loadTemplate(c,b).then(function(a){return b})}}),b}return g(b,a),b.prototype.useTemplateLoader=function(a){this.templateLoader=a},b.prototype.loadAllModules=function(a){for(var b=[],c=0,d=a.length;c<d;++c)b.push(this.loadModule(a[c]));return Promise.all(b)},b.prototype.loadTemplate=function(a){return this._import(this.applyPluginToUrl(a,"template-registry-entry"))},b.prototype.loadText=function(a){return this._import(this.applyPluginToUrl(a,this.textPluginName)).then(function(a){return"string"==typeof a?a:a["default"]})},b}(c.Loader);d.PLATFORM.Loader=j,d.PLATFORM.global.System&&d.PLATFORM.global.System["import"]?(d.PLATFORM.eachModule=function(a){var b=System._loader.modules;for(var c in b)try{if(a(c,b[c].module))return}catch(d){}},System.set("text",System.newModule({translate:function(a){return'module.exports = "'+a.source.replace(/(["\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")+'";'}})),j.prototype._import=function(a){return System["import"](a)},j.prototype.loadModule=function(a){var b=this;return System.normalize(a).then(function(a){var c=b.moduleRegistry[a];return void 0!==c?Promise.resolve(c):System["import"](a).then(function(c){return b.moduleRegistry[a]=c,h(c,a)})})},j.prototype.map=function(a,b){System.map[a]=b},j.prototype.normalizeSync=function(a,b){return System.normalizeSync(a,b)},j.prototype.normalize=function(a,b){return System.normalize(a,b)},j.prototype.applyPluginToUrl=function(a,b){return a+"!"+b},j.prototype.addPlugin=function(a,b){System.set(a,System.newModule({fetch:function(a,c){var d=b.fetch(a.address);return Promise.resolve(d).then(function(b){return a.metadata.result=b,""})},instantiate:function(a){return a.metadata.result}}))}):(d.PLATFORM.global.requirejs&&requirejs.s&&requirejs.s.contexts&&requirejs.s.contexts._&&requirejs.s.contexts._.defined?d.PLATFORM.eachModule=function(a){var b=requirejs.s.contexts._.defined;for(var c in b)try{if(a(c,b[c]))return}catch(d){}}:d.PLATFORM.eachModule=function(a){},j.prototype._import=function(a){return new Promise(function(b,c){require([a],b,c)})},j.prototype.loadModule=function(a){var b=this,c=this.moduleRegistry[a];return void 0!==c?Promise.resolve(c):new Promise(function(c,d){require([a],function(d){b.moduleRegistry[a]=d,c(h(d,a))},d)})},j.prototype.map=function(a,b){},j.prototype.normalize=function(a,b){return Promise.resolve(a)},j.prototype.normalizeSync=function(a,b){return a},j.prototype.applyPluginToUrl=function(a,b){return b+"!"+a},j.prototype.addPlugin=function(b,c){var d=a;d(b,[],{load:function(a,b,d){var e=c.fetch(a);Promise.resolve(e).then(d)}})})})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader-default@1.0.0.js",["npm:aurelia-loader-default@1.0.0/aurelia-loader-default"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js",["exports","aurelia-logging"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.ConsoleAppender=void 0;a.ConsoleAppender=function(){function a(){}return a.prototype.debug=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).debug.apply(b,["DEBUG ["+a.id+"]"].concat(d))},a.prototype.info=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).info.apply(b,["INFO ["+a.id+"]"].concat(d))},a.prototype.warn=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).warn.apply(b,["WARN ["+a.id+"]"].concat(d))},a.prototype.error=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).error.apply(b,["ERROR ["+a.id+"]"].concat(d))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging-console@1.0.0.js",["npm:aurelia-logging-console@1.0.0/aurelia-logging-console"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding.js",["exports","aurelia-logging","aurelia-binding","aurelia-templating"],function(a,b,c,d){"use strict";function e(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function h(a,b){if("style"===b)r.getLogger("templating-binding").info('Internet Explorer does not support interpolation in "style" attributes. Use the style attribute\'s alias, "css" instead.');else if(a.parentElement&&"TEXTAREA"===a.parentElement.nodeName&&"textContent"===b)throw new Error('Interpolation binding cannot be used in the content of a textarea element. Use <textarea value.bind="expression"></textarea> instead.')}function i(a){a.container.registerSingleton(d.BindingLanguage,y),a.container.registerAlias(d.BindingLanguage,y)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingBindingLanguage=a.SyntaxInterpreter=a.ChildInterpolationBinding=a.InterpolationBinding=a.InterpolationBindingExpression=a.AttributeMap=void 0,a.configure=i;var j,k,l,m,n,o,p,q,r=e(b),s=a.AttributeMap=(k=j=function(){function a(a){this.elements=Object.create(null),this.allElements=Object.create(null),this.svg=a,this.registerUniversal("accesskey","accessKey"),this.registerUniversal("contenteditable","contentEditable"),this.registerUniversal("tabindex","tabIndex"),this.registerUniversal("textcontent","textContent"),this.registerUniversal("innerhtml","innerHTML"),this.registerUniversal("scrolltop","scrollTop"),this.registerUniversal("scrollleft","scrollLeft"),this.registerUniversal("readonly","readOnly"),this.register("label","for","htmlFor"),this.register("input","maxlength","maxLength"),this.register("input","minlength","minLength"),this.register("input","formaction","formAction"),this.register("input","formenctype","formEncType"),this.register("input","formmethod","formMethod"),this.register("input","formnovalidate","formNoValidate"),this.register("input","formtarget","formTarget"),this.register("textarea","maxlength","maxLength"),this.register("td","rowspan","rowSpan"),this.register("td","colspan","colSpan"),this.register("th","rowspan","rowSpan"),this.register("th","colspan","colSpan")}return a.prototype.register=function(a,b,c){a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a]=this.elements[a]||Object.create(null);d[b]=c},a.prototype.registerUniversal=function(a,b){a=a.toLowerCase(),this.allElements[a]=b},a.prototype.map=function(a,b){if(this.svg.isStandardSvgAttribute(a,b))return b;a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a];return void 0!==d&&b in d?d[b]:b in this.allElements?this.allElements[b]:/(^data-)|(^aria-)|:/.test(b)?b:(0,c.camelCase)(b)},a}(),j.inject=[c.SVGAnalyzer],k),t=a.InterpolationBindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.parts=c,this.mode=d,this.lookupFunctions=e,this.attribute=this.attrToRemove=f,this.discrete=!1}return a.prototype.createBinding=function(a){return 3===this.parts.length?new v(a,this.observerLocator,this.parts[1],this.mode,this.lookupFunctions,this.targetProperty,this.parts[0],this.parts[2]):new u(this.observerLocator,this.parts,a,this.targetProperty,this.mode,this.lookupFunctions)},a}(),u=a.InterpolationBinding=function(){function a(a,b,c,d,e,f){h(c,d),this.observerLocator=a,this.parts=b,this.target=c,this.targetProperty=d,this.targetAccessor=a.getAccessor(c,d),this.mode=e,this.lookupFunctions=f}return a.prototype.interpolate=function(){if(this.isBound){for(var a="",b=this.parts,c=0,d=b.length;c<d;c++)a+=c%2===0?b[c]:this["childBinding"+c].value;this.targetAccessor.setValue(a,this.target,this.targetProperty)}},a.prototype.updateOneTimeBindings=function(){for(var a=1,b=this.parts.length;a<b;a+=2){var d=this["childBinding"+a];d.mode===c.bindingMode.oneTime&&d.call()}},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.source=a;for(var b=this.parts,c=1,d=b.length;c<d;c+=2){var e=new v(this,this.observerLocator,b[c],this.mode,this.lookupFunctions);e.bind(a),this["childBinding"+c]=e}this.isBound=!0,this.interpolate()},a.prototype.unbind=function(){if(this.isBound){this.isBound=!1,this.source=null;for(var a=this.parts,b=1,c=a.length;b<c;b+=2){var d="childBinding"+b;this[d].unbind()}}},a}(),v=a.ChildInterpolationBinding=(l=(0,c.connectable)(),l(m=function(){function a(a,b,c,d,e,f,g,i){a instanceof u?this.parent=a:(h(a,f),this.target=a,this.targetProperty=f,this.targetAccessor=b.getAccessor(a,f)),this.observerLocator=b,this.sourceExpression=c,this.mode=d,this.lookupFunctions=e,this.left=g,this.right=i}return a.prototype.updateTarget=function(a){a=null===a||void 0===a?"":a.toString(),a!==this.value&&(this.value=a,this.parent?this.parent.interpolate():this.targetAccessor.setValue(this.left+a+this.right,this.target,this.targetProperty))},a.prototype.call=function(){this.isBound&&(this.rawValue=this.sourceExpression.evaluate(this.source,this.lookupFunctions),this.updateTarget(this.rawValue),this.mode!==c.bindingMode.oneTime&&(this._version++,this.sourceExpression.connect(this,this.source),this.rawValue instanceof Array&&this.observeArray(this.rawValue),this.unobserve(!1)))},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a;var b=this.sourceExpression;b.bind&&b.bind(this,a,this.lookupFunctions),this.rawValue=b.evaluate(a,this.lookupFunctions),this.updateTarget(this.rawValue),this.mode===c.bindingMode.oneWay&&(0,c.enqueueBindingConnect)(this)},a.prototype.unbind=function(){if(this.isBound){this.isBound=!1;var a=this.sourceExpression;a.unbind&&a.unbind(this,this.source),this.source=null,this.value=null,this.rawValue=null,this.unobserve(!0)}},a.prototype.connect=function(a){this.isBound&&(a&&(this.rawValue=this.sourceExpression.evaluate(this.source,this.lookupFunctions),this.updateTarget(this.rawValue)),this.sourceExpression.connect(this,this.source),this.rawValue instanceof Array&&this.observeArray(this.rawValue))},a}())||m),w=a.SyntaxInterpreter=(o=n=function(){function a(a,b,c,d){this.parser=a,this.observerLocator=b,this.eventManager=c,this.attributeMap=d}return a.prototype.interpret=function(a,b,c,d,e){return c.command in this?this[c.command](a,b,c,d,e):this.handleUnknownCommand(a,b,c,d,e)},a.prototype.handleUnknownCommand=function(a,b,c,d,e){return r.getLogger("templating-binding").warn("Unknown binding command.",c),d},a.prototype.determineDefaultBindingMode=function(a,b,d){var e=a.tagName.toLowerCase();return"input"===e&&("value"===b||"files"===b)&&"checkbox"!==a.type&&"radio"!==a.type||"input"===e&&"checked"===b&&("checkbox"===a.type||"radio"===a.type)||("textarea"===e||"select"===e)&&"value"===b||("textcontent"===b||"innerhtml"===b)&&"true"===a.contentEditable||"scrolltop"===b||"scrollleft"===b?c.bindingMode.twoWay:d&&b in d.attributes&&d.attributes[b]&&d.attributes[b].defaultBindingMode>=c.bindingMode.oneTime?d.attributes[b].defaultBindingMode:c.bindingMode.oneWay},a.prototype.bind=function(a,b,e,f,g){var h=f||d.BehaviorInstruction.attribute(e.attrName);return h.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),e.defaultBindingMode||this.determineDefaultBindingMode(b,e.attrName,g),a.lookupFunctions),h},a.prototype.trigger=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),(!1),(!0),a.lookupFunctions)},a.prototype.delegate=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),(!0),(!0),a.lookupFunctions)},a.prototype.call=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.CallExpression(this.observerLocator,e.attrName,this.parser.parse(e.attrValue),a.lookupFunctions),g},a.prototype.options=function(a,b,c,e,f){var g=e||d.BehaviorInstruction.attribute(c.attrName),h=c.attrValue,i=this.language,j=null,k="",l=void 0,m=void 0,n=void 0,o=!1,p=!1;for(m=0,n=h.length;m<n;++m){if(l=h[m],";"!==l||o)if(":"===l&&null===j)j=k.trim(),k="";else{if("\\"===l){k+=l,p=!0;continue}k+=l,null!==j&&p===!1&&"'"===l&&(o=!o)}else c=i.inspectAttribute(a,"?",j,k.trim()),i.createAttributeInstruction(a,b,c,g,f),g.attributes[c.attrName]||(g.attributes[c.attrName]=c.attrValue),k="",j=null;p=!1}return null!==j&&(c=i.inspectAttribute(a,"?",j,k.trim()),i.createAttributeInstruction(a,b,c,g,f),g.attributes[c.attrName]||(g.attributes[c.attrName]=c.attrValue)),
+g},a.prototype["for"]=function(a,b,e,f){var g=void 0,h=void 0,i=void 0,j=void 0,k=void 0;if(j=e.attrValue,k=j.match(/^ *[[].+[\]]/),g=k?j.split("of "):j.split(" of "),2!==g.length)throw new Error('Incorrect syntax for "for". The form is: "$local of $items" or "[$key, $value] of $items".');return i=f||d.BehaviorInstruction.attribute(e.attrName),k?(h=g[0].replace(/[[\]]/g,"").replace(/,/g," ").replace(/\s+/g," ").trim().split(" "),i.attributes.key=h[0],i.attributes.value=h[1]):i.attributes.local=g[0],i.attributes.items=new c.BindingExpression(this.observerLocator,"items",this.parser.parse(g[1]),c.bindingMode.oneWay,a.lookupFunctions),i},a.prototype["two-way"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.twoWay,a.lookupFunctions),g},a.prototype["one-way"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.oneWay,a.lookupFunctions),g},a.prototype["one-time"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.oneTime,a.lookupFunctions),g},a}(),n.inject=[c.Parser,c.ObserverLocator,c.EventManager,s],o),x={},y=a.TemplatingBindingLanguage=(q=p=function(a){function b(b,c,d,e){var g=f(this,a.call(this));return g.parser=b,g.observerLocator=c,g.syntaxInterpreter=d,g.emptyStringExpression=g.parser.parse("''"),d.language=g,g.attributeMap=e,g}return g(b,a),b.prototype.inspectAttribute=function(a,b,d,e){var f=d.split(".");if(x.defaultBindingMode=null,2===f.length)x.attrName=f[0].trim(),x.attrValue=e,x.command=f[1].trim(),"ref"===x.command?(x.expression=new c.NameExpression(this.parser.parse(e),x.attrName,a.lookupFunctions),x.command=null,x.attrName="ref"):x.expression=null;else if("ref"===d)x.attrName=d,x.attrValue=e,x.command=null,x.expression=new c.NameExpression(this.parser.parse(e),"element",a.lookupFunctions);else{x.attrName=d,x.attrValue=e,x.command=null;var g=this.parseInterpolation(a,e);null===g?x.expression=null:x.expression=new t(this.observerLocator,this.attributeMap.map(b,d),g,c.bindingMode.oneWay,a.lookupFunctions,d)}return x},b.prototype.createAttributeInstruction=function(a,b,c,e,f){var g=void 0;if(c.expression){if("ref"===c.attrName)return c.expression;g=e||d.BehaviorInstruction.attribute(c.attrName),g.attributes[c.attrName]=c.expression}else c.command&&(g=this.syntaxInterpreter.interpret(a,b,c,e,f));return g},b.prototype.inspectTextContent=function(a,b){var d=this.parseInterpolation(a,b);return null===d?null:new t(this.observerLocator,"textContent",d,c.bindingMode.oneWay,a.lookupFunctions,"textContent")},b.prototype.parseInterpolation=function(a,b){for(var c=b.indexOf("${",0),d=b.length,e=void 0,f=0,g=0,h=null,i=void 0,j=void 0,k=0;c>=0&&c<d-2;){g=1,i=c,c+=2;do e=b[c],c++,"'"!==e&&'"'!==e?"\\"!==e?null===h&&("{"===e?g++:"}"===e&&g--):c++:null===h?h=e:h===e&&(h=null);while(g>0&&c<d);if(0!==g)break;j=j||[],"\\"===b[i-1]&&"\\"!==b[i-2]?(j[k]=b.substring(f,i-1)+b.substring(i,c),k++,j[k]=this.emptyStringExpression,k++):(j[k]=b.substring(f,i),k++,j[k]=this.parser.parse(b.substring(i+2,c-1)),k++),f=c,c=b.indexOf("${",c)}return 0===k?null:(j[k]=b.substr(f),j)},b}(d.BindingLanguage),p.inject=[c.Parser,c.ObserverLocator,w,s],q)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-binding@1.0.0.js",["npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/compose.js",["exports","aurelia-dependency-injection","aurelia-task-queue","aurelia-templating","aurelia-pal"],function(a,b,c,d,e){"use strict";function f(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function h(a,b){return Object.assign(b,{bindingContext:a.bindingContext,overrideContext:a.overrideContext,owningView:a.owningView,container:a.container,viewSlot:a.viewSlot,viewResources:a.viewResources,currentController:a.currentController,host:a.element})}function i(a,b){a.currentInstruction=null,a.compositionEngine.compose(b).then(function(b){a.currentController=b,a.currentViewModel=b?b.viewModel:null})}Object.defineProperty(a,"__esModule",{value:!0}),a.Compose=void 0;var j,k,l,m,n,o,p;a.Compose=(j=(0,d.customElement)("compose"),k=(0,b.inject)(e.DOM.Element,b.Container,d.CompositionEngine,d.ViewSlot,d.ViewResources,c.TaskQueue),j(l=(0,d.noView)(l=k((m=function(){function a(a,b,c,d,e,g){f(this,"model",n,this),f(this,"view",o,this),f(this,"viewModel",p,this),this.element=a,this.container=b,this.compositionEngine=c,this.viewSlot=d,this.viewResources=e,this.taskQueue=g,this.currentController=null,this.currentViewModel=null}return a.prototype.created=function(a){this.owningView=a},a.prototype.bind=function(a,b){this.bindingContext=a,this.overrideContext=b,i(this,h(this,{view:this.view,viewModel:this.viewModel,model:this.model}))},a.prototype.unbind=function(a,b){this.bindingContext=null,this.overrideContext=null;var c=!0,d=!0;this.viewSlot.removeAll(c,d)},a.prototype.modelChanged=function(a,b){var c=this;return this.currentInstruction?void(this.currentInstruction.model=a):void this.taskQueue.queueMicroTask(function(){if(c.currentInstruction)return void(c.currentInstruction.model=a);var b=c.currentViewModel;b&&"function"==typeof b.activate&&b.activate(a)})},a.prototype.viewChanged=function(a,b){var c=this,d=h(this,{view:a,viewModel:this.currentViewModel||this.viewModel,model:this.model});return this.currentInstruction?void(this.currentInstruction=d):(this.currentInstruction=d,void this.taskQueue.queueMicroTask(function(){return i(c,c.currentInstruction)}))},a.prototype.viewModelChanged=function(a,b){var c=this,d=h(this,{viewModel:a,view:this.view,model:this.model});return this.currentInstruction?void(this.currentInstruction=d):(this.currentInstruction=d,void this.taskQueue.queueMicroTask(function(){return i(c,c.currentInstruction)}))},a}(),n=g(m.prototype,"model",[d.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"view",[d.bindable],{enumerable:!0,initializer:null}),p=g(m.prototype,"viewModel",[d.bindable],{enumerable:!0,initializer:null}),l=m))||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/if.js",["exports","aurelia-templating","aurelia-dependency-injection"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.If=void 0;var d,e,f;a.If=(d=(0,b.customAttribute)("if"),e=(0,c.inject)(b.BoundViewFactory,b.ViewSlot),d(f=(0,b.templateController)(f=e(f=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.showing=!1,this.view=null,this.bindingContext=null,this.overrideContext=null}return a.prototype.bind=function(a,b){this.bindingContext=a,this.overrideContext=b,this.valueChanged(this.value)},a.prototype.valueChanged=function(a){var b=this;if(this.__queuedChanges)return void this.__queuedChanges.push(a);var c=this._runValueChanged(a);c instanceof Promise&&!function(){var a=b.__queuedChanges=[],d=function e(){if(!a.length)return void(b.__queuedChanges=void 0);var c=b._runValueChanged(a.shift())||Promise.resolve();c.then(e)};c.then(d)}()},a.prototype._runValueChanged=function(a){var b=this;if(!a){var c=void 0;return null!==this.view&&this.showing&&(c=this.viewSlot.remove(this.view),c instanceof Promise?c.then(function(){return b.view.unbind()}):this.view.unbind()),this.showing=!1,c}if(null===this.view&&(this.view=this.viewFactory.create()),this.view.isBound||this.view.bind(this.bindingContext,this.overrideContext),!this.showing)return this.showing=!0,this.viewSlot.add(this.view)},a.prototype.unbind=function(){null!==this.view&&(this.view.unbind(),this.viewFactory.isCaching&&(this.showing&&(this.showing=!1,this.viewSlot.remove(this.view,!0,!0)),this.view.returnToCache(),this.view=null))},a}())||f)||f)||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/with.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-binding"],function(a,b,c,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.With=void 0;var e,f,g;a.With=(e=(0,c.customAttribute)("with"),f=(0,b.inject)(c.BoundViewFactory,c.ViewSlot),e(g=(0,c.templateController)(g=f(g=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.parentOverrideContext=null,this.view=null}return a.prototype.bind=function(a,b){this.parentOverrideContext=b,this.valueChanged(this.value)},a.prototype.valueChanged=function(a){var b=(0,d.createOverrideContext)(a,this.parentOverrideContext);this.view?this.view.bind(a,b):(this.view=this.viewFactory.create(),this.view.bind(a,b),this.viewSlot.add(this.view))},a.prototype.unbind=function(){this.parentOverrideContext=null,this.view&&this.view.unbind()},a}())||g)||g)||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat.js",["exports","aurelia-dependency-injection","aurelia-binding","aurelia-templating","./repeat-strategy-locator","./repeat-utilities","./analyze-view-factory","./abstract-repeater"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function j(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function k(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function l(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Repeat=void 0;var m,n,o,p,q,r,s,t;a.Repeat=(m=(0,d.customAttribute)("repeat"),n=(0,b.inject)(d.BoundViewFactory,d.TargetInstruction,d.ViewSlot,d.ViewResources,c.ObserverLocator,e.RepeatStrategyLocator),m(o=(0,d.templateController)(o=n((p=function(a){function b(b,c,d,e,h,k){var l=j(this,a.call(this,{local:"item",viewsRequireLifecycle:(0,g.viewsRequireLifecycle)(b)}));return i(l,"items",q,l),i(l,"local",r,l),i(l,"key",s,l),i(l,"value",t,l),l.viewFactory=b,l.instruction=c,l.viewSlot=d,l.lookupFunctions=e.lookupFunctions,l.observerLocator=h,l.key="key",l.value="value",l.strategyLocator=k,l.ignoreMutation=!1,l.sourceExpression=(0,f.getItemsSourceExpression)(l.instruction,"repeat.for"),l.isOneTime=(0,f.isOneTime)(l.sourceExpression),l.viewsRequireLifecycle=(0,g.viewsRequireLifecycle)(b),l}return k(b,a),b.prototype.call=function(a,b){this[a](this.items,b)},b.prototype.bind=function(a,b){this.scope={bindingContext:a,overrideContext:b},this.matcherBinding=this._captureAndRemoveMatcherBinding(),this.itemsChanged()},b.prototype.unbind=function(){this.scope=null,this.items=null,this.matcherBinding=null,this.viewSlot.removeAll(!0),this._unsubscribeCollection()},b.prototype._unsubscribeCollection=function(){this.collectionObserver&&(this.collectionObserver.unsubscribe(this.callContext,this),this.collectionObserver=null,this.callContext=null)},b.prototype.itemsChanged=function(){if(this._unsubscribeCollection(),this.scope){var a=this.items;if(this.strategy=this.strategyLocator.getStrategy(a),!this.strategy)throw new Error("Value for '"+this.sourceExpression+"' is non-repeatable");this.isOneTime||this._observeInnerCollection()||this._observeCollection(),this.strategy.instanceChanged(this,a)}},b.prototype._getInnerCollection=function(){var a=(0,f.unwrapExpression)(this.sourceExpression);return a?a.evaluate(this.scope,null):null},b.prototype.handleCollectionMutated=function(a,b){this.collectionObserver&&this.strategy.instanceMutated(this,a,b)},b.prototype.handleInnerCollectionMutated=function(a,b){var c=this;if(this.collectionObserver&&!this.ignoreMutation){this.ignoreMutation=!0;var d=this.sourceExpression.evaluate(this.scope,this.lookupFunctions);this.observerLocator.taskQueue.queueMicroTask(function(){return c.ignoreMutation=!1}),d===this.items?this.itemsChanged():this.items=d}},b.prototype._observeInnerCollection=function(){var a=this._getInnerCollection(),b=this.strategyLocator.getStrategy(a);return!!b&&(this.collectionObserver=b.getCollectionObserver(this.observerLocator,a),!!this.collectionObserver&&(this.callContext="handleInnerCollectionMutated",this.collectionObserver.subscribe(this.callContext,this),!0))},b.prototype._observeCollection=function(){var a=this.items;this.collectionObserver=this.strategy.getCollectionObserver(this.observerLocator,a),this.collectionObserver&&(this.callContext="handleCollectionMutated",this.collectionObserver.subscribe(this.callContext,this))},b.prototype._captureAndRemoveMatcherBinding=function(){if(this.viewFactory.viewFactory)for(var a=this.viewFactory.viewFactory.instructions,b=Object.keys(a),c=0;c<b.length;c++){var d=a[b[c]].expressions;if(d)for(var e=0;c<d.length;c++)if("matcher"===d[e].targetProperty){var f=d[e];return d.splice(e,1),f}}},b.prototype.viewCount=function(){return this.viewSlot.children.length},b.prototype.views=function(){return this.viewSlot.children},b.prototype.view=function(a){return this.viewSlot.children[a]},b.prototype.matcher=function(){return this.matcherBinding?this.matcherBinding.sourceExpression.evaluate(this.scope,this.matcherBinding.lookupFunctions):null},b.prototype.addView=function(a,b){var c=this.viewFactory.create();c.bind(a,b),this.viewSlot.add(c)},b.prototype.insertView=function(a,b,c){var d=this.viewFactory.create();d.bind(b,c),this.viewSlot.insert(a,d)},b.prototype.moveView=function(a,b){this.viewSlot.move(a,b)},b.prototype.removeAllViews=function(a,b){return this.viewSlot.removeAll(a,b)},b.prototype.removeViews=function(a,b,c){return this.viewSlot.removeMany(a,b,c)},b.prototype.removeView=function(a,b,c){return this.viewSlot.removeAt(a,b,c)},b.prototype.updateBindings=function(a){for(var b=a.bindings.length;b--;)(0,f.updateOneTimeBinding)(a.bindings[b]);for(b=a.controllers.length;b--;)for(var c=a.controllers[b].boundProperties.length;c--;){var d=a.controllers[b].boundProperties[c].binding;(0,f.updateOneTimeBinding)(d)}},b}(h.AbstractRepeater),q=l(p.prototype,"items",[d.bindable],{enumerable:!0,initializer:null}),r=l(p.prototype,"local",[d.bindable],{enumerable:!0,initializer:null}),s=l(p.prototype,"key",[d.bindable],{enumerable:!0,initializer:null}),t=l(p.prototype,"value",[d.bindable],{enumerable:!0,initializer:null}),o=p))||o)||o)||o)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/show.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-pal","./aurelia-hide-style"],function(a,b,c,d,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Show=void 0;var f,g,h;a.Show=(f=(0,c.customAttribute)("show"),g=(0,b.inject)(d.DOM.Element,c.Animator,b.Optional.of(d.DOM.boundary,!0)),f(h=g(h=function(){function a(a,b,c){this.element=a,this.animator=b,this.domBoundary=c}return a.prototype.created=function(){(0,e.injectAureliaHideStyleAtBoundary)(this.domBoundary)},a.prototype.valueChanged=function(a){a?this.animator.removeClass(this.element,e.aureliaHideClassName):this.animator.addClass(this.element,e.aureliaHideClassName)},a.prototype.bind=function(a){this.valueChanged(this.value)},a}())||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/hide.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-pal","./aurelia-hide-style"],function(a,b,c,d,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Hide=void 0;var f,g,h;a.Hide=(f=(0,c.customAttribute)("hide"),g=(0,b.inject)(d.DOM.Element,c.Animator,b.Optional.of(d.DOM.boundary,!0)),f(h=g(h=function(){function a(a,b,c){this.element=a,this.animator=b,this.domBoundary=c}return a.prototype.created=function(){(0,e.injectAureliaHideStyleAtBoundary)(this.domBoundary)},a.prototype.valueChanged=function(a){a?this.animator.addClass(this.element,e.aureliaHideClassName):this.animator.removeClass(this.element,e.aureliaHideClassName)},a.prototype.bind=function(a){this.valueChanged(this.value)},a}())||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/sanitize-html.js",["exports","aurelia-binding","aurelia-dependency-injection","./html-sanitizer"],function(a,b,c,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SanitizeHTMLValueConverter=void 0;var e,f,g;a.SanitizeHTMLValueConverter=(e=(0,b.valueConverter)("sanitizeHTML"),f=(0,c.inject)(d.HTMLSanitizer),e(g=f(g=function(){function a(a){this.sanitizer=a}return a.prototype.toView=function(a){return null===a||void 0===a?null:this.sanitizer.sanitize(a)},a}())||g)||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/replaceable.js",["exports","aurelia-dependency-injection","aurelia-templating"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Replaceable=void 0;var d,e,f;a.Replaceable=(d=(0,c.customAttribute)("replaceable"),e=(0,b.inject)(c.BoundViewFactory,c.ViewSlot),d(f=(0,c.templateController)(f=e(f=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.view=null}return a.prototype.bind=function(a,b){null===this.view&&(this.view=this.viewFactory.create(),this.viewSlot.add(this.view)),this.view.bind(a,b)},a.prototype.unbind=function(){this.view.unbind()},a}())||f)||f)||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/focus.js",["exports","aurelia-templating","aurelia-binding","aurelia-dependency-injection","aurelia-task-queue","aurelia-pal"],function(a,b,c,d,e,f){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Focus=void 0;var g,h,i;a.Focus=(g=(0,b.customAttribute)("focus",c.bindingMode.twoWay),h=(0,d.inject)(f.DOM.Element,e.TaskQueue),g(i=h(i=function(){function a(a,b){var c=this;this.element=a,this.taskQueue=b,this.isAttached=!1,this.needsApply=!1,this.focusListener=function(a){c.value=!0},this.blurListener=function(a){f.DOM.activeElement!==c.element&&(c.value=!1)}}return a.prototype.valueChanged=function(a){this.isAttached?this._apply():this.needsApply=!0},a.prototype._apply=function(){var a=this;this.value?this.taskQueue.queueMicroTask(function(){a.value&&a.element.focus()}):this.element.blur()},a.prototype.attached=function(){this.isAttached=!0,this.needsApply&&(this.needsApply=!1,this._apply()),this.element.addEventListener("focus",this.focusListener),this.element.addEventListener("blur",this.blurListener)},a.prototype.detached=function(){this.isAttached=!1,this.element.removeEventListener("focus",this.focusListener),this.element.removeEventListener("blur",this.blurListener)},a}())||i)||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/css-resource.js",["exports","aurelia-templating","aurelia-loader","aurelia-dependency-injection","aurelia-path","aurelia-pal"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a,b){if("string"!=typeof b)throw new Error("Failed loading required CSS file: "+a);return b.replace(k,function(b,c){var d=c.charAt(0);return"'"!==d&&'"'!==d||(c=c.substr(1,c.length-2)),"url('"+(0,e.relativeToFile)(c,a)+"')"})}function j(a){var c,d,e=(c=(0,b.resource)(new l(a)),c(d=function(a){function b(){return g(this,a.apply(this,arguments))}return h(b,a),b}(m))||d);return e}Object.defineProperty(a,"__esModule",{value:!0}),a._createCSSResource=j;var k=/url\((?!['"]data)([^)]+)\)/gi,l=function(){function a(a){this.address=a,this._scoped=null,this._global=!1,this._alreadyGloballyInjected=!1}return a.prototype.initialize=function(a,b){this._scoped=new b(this)},a.prototype.register=function(a,b){"scoped"===b?a.registerViewEngineHooks(this._scoped):this._global=!0},a.prototype.load=function(a){var b=this;return a.get(c.Loader).loadText(this.address)["catch"](function(a){return null}).then(function(a){a=i(b.address,a),b._scoped.css=a,b._global&&(b._alreadyGloballyInjected=!0,f.DOM.injectStyles(a))})},a}(),m=function(){function a(a){this.owner=a,this.css=null}return a.prototype.beforeCompile=function(a,b,c){if(c.targetShadowDOM)f.DOM.injectStyles(this.css,a,!0);else if(f.FEATURE.scopedCSS){var d=f.DOM.injectStyles(this.css,a,!0);d.setAttribute("scoped","scoped")}else this.owner._alreadyGloballyInjected||(f.DOM.injectStyles(this.css),this.owner._alreadyGloballyInjected=!0)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/html-sanitizer.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;a.HTMLSanitizer=function(){function a(){}return a.prototype.sanitize=function(a){return a.replace(b,"")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.AttrBindingBehavior=void 0;a.AttrBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,c){a.targetObserver=new b.DataAttributeObserver(a.target,a.targetProperty)},a.prototype.unbind=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js",["exports","aurelia-binding","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=void 0;var d,e,f,g,h,i,j={bind:function(a,b,c){a.originalMode=a.mode,a.mode=this.mode},unbind:function(a,b){a.mode=a.originalMode,a.originalMode=null}};a.OneTimeBindingBehavior=(d=(0,c.mixin)(j),d(e=function(){this.mode=b.bindingMode.oneTime})||e),a.OneWayBindingBehavior=(f=(0,c.mixin)(j),f(g=function(){this.mode=b.bindingMode.oneWay})||g),a.TwoWayBindingBehavior=(h=(0,c.mixin)(j),h(i=function(){this.mode=b.bindingMode.twoWay})||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.throttleState,d=+new Date-c.last;return d>=c.delay?(clearTimeout(c.timeoutId),c.timeoutId=null,c.last=+new Date,void this.throttledMethod(a)):(c.newValue=a,void(null===c.timeoutId&&(c.timeoutId=setTimeout(function(){c.timeoutId=null,c.last=+new Date,b.throttledMethod(c.newValue)},c.delay-d))))}Object.defineProperty(a,"__esModule",{value:!0}),a.ThrottleBindingBehavior=void 0;a.ThrottleBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length<=2||void 0===arguments[2]?200:arguments[2],f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.throttledMethod=a[f],a.throttledMethod.originalName=f,a[f]=c,a.throttleState={delay:e,last:0,timeoutId:null}},a.prototype.unbind=function(a,b){var c=a.throttledMethod.originalName;a[c]=a.throttledMethod,a.throttledMethod=null,clearTimeout(a.throttleState.timeoutId),a.throttleState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.debounceState;return c.immediate?(c.immediate=!1,void this.debouncedMethod(a)):(clearTimeout(c.timeoutId),void(c.timeoutId=setTimeout(function(){return b.debouncedMethod(a)},c.delay)))}Object.defineProperty(a,"__esModule",{value:!0}),a.DebounceBindingBehavior=void 0;a.DebounceBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length<=2||void 0===arguments[2]?200:arguments[2],f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.debouncedMethod=a[f],a.debouncedMethod.originalName=f,a[f]=c,a.debounceState={delay:e,timeoutId:null,immediate:"updateTarget"===f}},a.prototype.unbind=function(a,b){var c=a.debouncedMethod.originalName;a[c]=a.debouncedMethod,a.debouncedMethod=null,clearTimeout(a.debounceState.timeoutId),a.debounceState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js",["exports","./binding-signaler"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SignalBindingBehavior=void 0;a.SignalBindingBehavior=function(){function a(a){this.signals=a.signals}return a.inject=function(){return[b.BindingSignaler]},a.prototype.bind=function(a,b){if(!a.updateTarget)throw new Error("Only property bindings and string interpolation bindings can be signaled. Trigger, delegate and call bindings cannot be signaled.");if(3===arguments.length){var c=arguments[2],d=this.signals[c]||(this.signals[c]=[]);d.push(a),a.signalName=c}else{if(!(arguments.length>3))throw new Error("Signal name is required.");for(var e=Array.prototype.slice.call(arguments,2),f=e.length;f--;){var g=e[f],h=this.signals[g]||(this.signals[g]=[]);h.push(a)}a.signalName=e}},a.prototype.unbind=function(a,b){var c=a.signalName;if(a.signalName=null,Array.isArray(c))for(var d=c,e=d.length;e--;){var f=d[e],g=this.signals[f];g.splice(g.indexOf(a),1)}else{var h=this.signals[c];h.splice(h.indexOf(a),1)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/binding-signaler.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.BindingSignaler=void 0;a.BindingSignaler=function(){function a(){this.signals={}}return a.prototype.signal=function(a){var c=this.signals[a];if(c)for(var d=c.length;d--;)c[d].call(b.sourceContext)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.UpdateTriggerBindingBehavior=void 0;var c,d,e="The updateTrigger binding behavior requires at least one event name argument: eg <input value.bind=\"firstName & updateTrigger:'blur'\">",f="The updateTrigger binding behavior can only be applied to two-way bindings on input/select elements.";a.UpdateTriggerBindingBehavior=(d=c=function(){function a(a){this.eventManager=a}return a.prototype.bind=function(a,c){for(var d=arguments.length,g=Array(d>2?d-2:0),h=2;h<d;h++)g[h-2]=arguments[h];if(0===g.length)throw new Error(e);if(a.mode!==b.bindingMode.twoWay)throw new Error(f);var i=a.observerLocator.getObserver(a.target,a.targetProperty);if(!i.handler)throw new Error(f);a.targetObserver=i,i.originalHandler=a.targetObserver.handler;var j=this.eventManager.createElementHandler(g);i.handler=j},a.prototype.unbind=function(a,b){a.targetObserver.handler=a.targetObserver.originalHandler,a.targetObserver.originalHandler=null},a}(),c.inject=[b.EventManager],d)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/abstract-repeater.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.AbstractRepeater=function(){function a(a){Object.assign(this,{local:"items",viewsRequireLifecycle:!0},a)}return a.prototype.viewCount=function(){throw new Error("subclass must implement `viewCount`")},a.prototype.views=function(){throw new Error("subclass must implement `views`")},a.prototype.view=function(a){throw new Error("subclass must implement `view`")},a.prototype.matcher=function(){throw new Error("subclass must implement `matcher`")},a.prototype.addView=function(a,b){throw new Error("subclass must implement `addView`")},a.prototype.insertView=function(a,b,c){throw new Error("subclass must implement `insertView`")},a.prototype.moveView=function(a,b){throw new Error("subclass must implement `moveView`")},a.prototype.removeAllViews=function(a,b){throw new Error("subclass must implement `removeAllViews`")},a.prototype.removeViews=function(a,b,c){throw new Error("subclass must implement `removeView`")},a.prototype.removeView=function(a,b,c){throw new Error("subclass must implement `removeView`")},a.prototype.updateBindings=function(a){throw new Error("subclass must implement `updateBindings`")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js",["exports","./null-repeat-strategy","./array-repeat-strategy","./map-repeat-strategy","./set-repeat-strategy","./number-repeat-strategy"],function(a,b,c,d,e,f){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.RepeatStrategyLocator=void 0;a.RepeatStrategyLocator=function(){function a(){this.matchers=[],this.strategies=[],this.addStrategy(function(a){return null===a||void 0===a},new b.NullRepeatStrategy),this.addStrategy(function(a){return a instanceof Array},new c.ArrayRepeatStrategy),this.addStrategy(function(a){return a instanceof Map},new d.MapRepeatStrategy),this.addStrategy(function(a){return a instanceof Set},new e.SetRepeatStrategy),this.addStrategy(function(a){return"number"==typeof a},new f.NumberRepeatStrategy)}return a.prototype.addStrategy=function(a,b){this.matchers.push(a),this.strategies.push(b)},a.prototype.getStrategy=function(a){for(var b=this.matchers,c=0,d=b.length;c<d;++c)if(b[c](a))return this.strategies[c];return null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/dynamic-element.js",["exports","aurelia-templating"],function(a,b){"use strict";function c(a,c,d){for(var e,f,g,h=(e=(0,b.customElement)(a),f=(0,b.useView)(c),e(g=f(g=function(){function a(){}return a.prototype.bind=function(a){this.$parent=a},a}())||g)||g),i=0,j=d.length;i<j;++i)(0,b.bindable)(d[i])(h);return h}Object.defineProperty(a,"__esModule",{value:!0}),a._createDynamicElement=c})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js",["exports","aurelia-templating","./dynamic-element"],function(a,b,c){"use strict";function d(a){return/([^\/^\?]+)\.html/i.exec(a)[1].toLowerCase()}function e(a){var e=a.container.get(b.ViewEngine),f=a.aurelia.loader;e.addResourcePlugin(".html",{fetch:function(a){return f.loadTemplate(a).then(function(b){var e,f=b.template.getAttribute("bindable"),g=d(a);return f?(f=f.split(",").map(function(a){return a.trim()}),b.template.removeAttribute("bindable")):f=[],e={},e[g]=(0,
+c._createDynamicElement)(g,a,f),e})}})}Object.defineProperty(a,"__esModule",{value:!0}),a.getElementName=d,a.configure=e})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.NullRepeatStrategy=function(){function a(){}return a.prototype.instanceChanged=function(a,b){a.removeAllViews(!0)},a.prototype.getCollectionObserver=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js",["exports","./repeat-utilities","aurelia-binding"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.ArrayRepeatStrategy=void 0;a.ArrayRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getArrayObserver(b)},a.prototype.instanceChanged=function(a,c){var d=this,e=c.length;if(!c||0===e)return void a.removeAllViews(!0,!a.viewsRequireLifecycle);var f=a.views(),g=f.length;return 0===g?void this._standardProcessInstanceChanged(a,c):void(a.viewsRequireLifecycle?!function(){for(var h=f.slice(0),i=a.local,j=a.matcher(),k=[],l=[],m=0;m<g;m++){var n=h[m],o=n.bindingContext[i];(0,b.indexOf)(c,o,j)===-1?l.push(n):k.push(o)}var p=void 0,q=void 0;k.length>0?(q=a.removeViews(l,!0,!a.viewsRequireLifecycle),p=function(){for(var g=0;g<e;g++){var h=c[g],i=(0,b.indexOf)(k,h,j,g),l=void 0;if(i===-1){var m=(0,b.createFullOverrideContext)(a,c[g],g,e);a.insertView(g,m.bindingContext,m),k.splice(g,0,void 0)}else i===g?(l=f[i],k[i]=void 0):(l=f[i],a.moveView(i,g),k.splice(i,1),k.splice(g,0,void 0));l&&(0,b.updateOverrideContext)(l.overrideContext,g,e)}d._inPlaceProcessItems(a,c)}):(q=a.removeAllViews(!0,!a.viewsRequireLifecycle),p=function(){return d._standardProcessInstanceChanged(a,c)}),q instanceof Promise?q.then(p):p()}():this._inPlaceProcessItems(a,c))},a.prototype._standardProcessInstanceChanged=function(a,c){for(var d=0,e=c.length;d<e;d++){var f=(0,b.createFullOverrideContext)(a,c[d],d,e);a.addView(f.bindingContext,f)}},a.prototype._inPlaceProcessItems=function(a,c){for(var d=c.length,e=a.viewCount();e>d;)e--,a.removeView(e,!0,!a.viewsRequireLifecycle);for(var f=a.local,g=0;g<e;g++){var h=a.view(g),i=g===d-1,j=0!==g&&!i;h.bindingContext[f]===c[g]&&h.overrideContext.$middle===j&&h.overrideContext.$last===i||(h.bindingContext[f]=c[g],h.overrideContext.$middle=j,h.overrideContext.$last=i,a.updateBindings(h))}for(var k=e;k<d;k++){var l=(0,b.createFullOverrideContext)(a,c[k],k,d);a.addView(l.bindingContext,l)}},a.prototype.instanceMutated=function(a,b,d){var e=this;if(a.__queuedSplices){for(var f=0,g=d.length;f<g;++f){var h=d[f],i=h.index,j=h.removed,k=h.addedCount;(0,c.mergeSplice)(a.__queuedSplices,i,j,k)}return void(a.__array=b.slice(0))}var l=this._runSplices(a,b.slice(0),d);l instanceof Promise&&!function(){var b=a.__queuedSplices=[],c=function d(){if(!b.length)return a.__queuedSplices=void 0,void(a.__array=void 0);var c=e._runSplices(a,a.__array,b)||Promise.resolve();b=a.__queuedSplices=[],c.then(d)};l.then(c)}()},a.prototype._runSplices=function(a,c,d){for(var e=this,f=0,g=[],h=0,i=d.length;h<i;++h){for(var j=d[h],k=j.removed,l=0,m=k.length;l<m;++l){var n=a.removeView(j.index+f+g.length,!0);n instanceof Promise&&g.push(n)}f-=j.addedCount}if(g.length>0)return Promise.all(g).then(function(){var f=e._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),f)});var o=this._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),o)},a.prototype._handleAddedSplices=function(a,c,d){for(var e=void 0,f=void 0,g=c.length,h=0,i=d.length;h<i;++h){var j=d[h],k=e=j.index,l=j.index+j.addedCount;for(("undefined"==typeof f||null===f||f>j.index)&&(f=e);k<l;++k){var m=(0,b.createFullOverrideContext)(a,c[k],k,g);a.insertView(k,m.bindingContext,m)}}return f},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.MapRepeatStrategy=void 0;a.MapRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getMapObserver(b)},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=0,e=void 0;c.forEach(function(f,g){e=(0,b.createFullOverrideContext)(a,f,d,c.size,g),a.addView(e.bindingContext,e),++d})},a.prototype.instanceMutated=function(a,c,d){var e=void 0,f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=[],l=void 0;for(f=0,g=d.length;f<g;++f)switch(j=d[f],e=j.key,j.type){case"update":i=this._getViewIndexByKey(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l),h=(0,b.createFullOverrideContext)(a,c.get(e),i,c.size,e),a.insertView(i,h.bindingContext,h);break;case"add":h=(0,b.createFullOverrideContext)(a,c.get(e),c.size-1,c.size,e),a.insertView(c.size-1,h.bindingContext,h);break;case"delete":if(void 0===j.oldValue)return;i=this._getViewIndexByKey(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l);break;case"clear":a.removeAllViews(!0,!a.viewsRequireLifecycle);break;default:continue}k.length>0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByKey=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c<d;++c)if(e=a.view(c),e.bindingContext[a.key]===b)return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SetRepeatStrategy=void 0;a.SetRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getSetObserver(b)},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=0,e=void 0;c.forEach(function(f){e=(0,b.createFullOverrideContext)(a,f,d,c.size),a.addView(e.bindingContext,e),++d})},a.prototype.instanceMutated=function(a,c,d){var e=void 0,f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=[],l=void 0;for(f=0,g=d.length;f<g;++f)switch(j=d[f],e=j.value,j.type){case"add":h=(0,b.createFullOverrideContext)(a,e,c.size-1,c.size),a.insertView(c.size-1,h.bindingContext,h);break;case"delete":i=this._getViewIndexByValue(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l);break;case"clear":a.removeAllViews(!0,!a.viewsRequireLifecycle);break;default:continue}k.length>0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByValue=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c<d;++c)if(e=a.view(c),e.bindingContext[a.local]===b)return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.NumberRepeatStrategy=void 0;a.NumberRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(){return null},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=a.viewCount(),e=void 0,f=void 0,g=void 0,h=void 0;if(c=Math.floor(c),h=d-c,h>0)for(h>d&&(h=d),e=0,f=h;e<f;++e)a.removeView(d-(e+1),!0,!a.viewsRequireLifecycle);else{for(e=d,f=c;e<f;++e)g=(0,b.createFullOverrideContext)(a,e,e,f),a.addView(g.bindingContext,g);(0,b.updateOverrideContexts)(a.views(),0)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat-utilities.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a,b){var c=a.length;for(b>0&&(b-=1);b<c;++b)e(a[b].overrideContext,b,c)}function d(a,c,d,f,g){var h={},i=(0,b.createOverrideContext)(h,a.scope.overrideContext);return"undefined"!=typeof g?(h[a.key]=g,h[a.value]=c):h[a.local]=c,e(i,d,f),i}function e(a,b,c){var d=0===b,e=b===c-1,f=b%2===0;a.$index=b,a.$first=d,a.$last=e,a.$middle=!(d||e),a.$odd=!f,a.$even=f}function f(a,b){return a.behaviorInstructions.filter(function(a){return a.originalAttrName===b})[0].attributes.items.sourceExpression}function g(a){for(var c=!1;a instanceof b.BindingBehavior;)a=a.expression;for(;a instanceof b.ValueConverter;)a=a.expression,c=!0;return c?a:null}function h(a){for(;a instanceof b.BindingBehavior;){if("oneTime"===a.name)return!0;a=a.expression}return!1}function i(a){a.call&&a.mode===k?a.call(b.sourceContext):a.updateOneTimeBindings&&a.updateOneTimeBindings()}function j(a,b,c,d){if(!c)return a.indexOf(b);for(var e=a.length,f=d||0;f<e;f++)if(c(a[f],b))return f;return-1}Object.defineProperty(a,"__esModule",{value:!0}),a.updateOverrideContexts=c,a.createFullOverrideContext=d,a.updateOverrideContext=e,a.getItemsSourceExpression=f,a.unwrapExpression=g,a.isOneTime=h,a.updateOneTimeBinding=i,a.indexOf=j;var k=b.bindingMode.oneTime})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js",["exports"],function(a){"use strict";function b(a){var b=a.type,c=null!==b.elementName?b.elementName:b.attributeName;return e.indexOf(c)===-1&&(b.handlesAttached||b.handlesBind||b.handlesCreated||b.handlesDetached||b.handlesUnbind)||b.viewFactory&&d(b.viewFactory)||a.viewFactory&&d(a.viewFactory)}function c(a){var c=a.behaviorInstructions;if(c)for(var e=c.length;e--;)if(b(c[e]))return!0;return a.viewFactory&&d(a.viewFactory)}function d(a){if("_viewsRequireLifecycle"in a)return a._viewsRequireLifecycle;if(a._viewsRequireLifecycle=!1,a.viewFactory)return a._viewsRequireLifecycle=d(a.viewFactory),a._viewsRequireLifecycle;if(a.template.querySelector(".au-animate"))return a._viewsRequireLifecycle=!0,!0;for(var b in a.instructions)if(c(a.instructions[b]))return a._viewsRequireLifecycle=!0,!0;return a._viewsRequireLifecycle=!1,!1}Object.defineProperty(a,"__esModule",{value:!0}),a.viewsRequireLifecycle=d;var e=a.lifecycleOptionalBehaviors=["focus","if","repeat","show","with"]})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){b.DOM.injectStyles(f)}function d(a){b.FEATURE.shadowDOM&&a&&!a.hasAureliaHideStyle&&(a.hasAureliaHideStyle=!0,b.DOM.injectStyles(f,a))}Object.defineProperty(a,"__esModule",{value:!0}),a.aureliaHideClassName=void 0,a.injectAureliaHideStyleAtHead=c,a.injectAureliaHideStyleAtBoundary=d;var e=a.aureliaHideClassName="aurelia-hide",f="."+e+" { display:none !important; }"})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js",["exports","./compose","./if","./with","./repeat","./show","./hide","./sanitize-html","./replaceable","./focus","aurelia-templating","./css-resource","./html-sanitizer","./attr-binding-behavior","./binding-mode-behaviors","./throttle-binding-behavior","./debounce-binding-behavior","./signal-binding-behavior","./binding-signaler","./update-trigger-binding-behavior","./abstract-repeater","./repeat-strategy-locator","./html-resource-plugin","./null-repeat-strategy","./array-repeat-strategy","./map-repeat-strategy","./set-repeat-strategy","./number-repeat-strategy","./repeat-utilities","./analyze-view-factory","./aurelia-hide-style"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E){"use strict";function F(a){(0,E.injectAureliaHideStyleAtHead)(),a.globalResources("./compose","./if","./with","./repeat","./show","./hide","./replaceable","./sanitize-html","./focus","./binding-mode-behaviors","./throttle-binding-behavior","./debounce-binding-behavior","./signal-binding-behavior","./update-trigger-binding-behavior","./attr-binding-behavior"),(0,w.configure)(a);var b=a.container.get(k.ViewEngine);b.addResourcePlugin(".css",{fetch:function(a){var b;return b={},b[a]=(0,l._createCSSResource)(a),b}})}Object.defineProperty(a,"__esModule",{value:!0}),a.viewsRequireLifecycle=a.unwrapExpression=a.updateOneTimeBinding=a.isOneTime=a.getItemsSourceExpression=a.updateOverrideContext=a.createFullOverrideContext=a.NumberRepeatStrategy=a.SetRepeatStrategy=a.MapRepeatStrategy=a.ArrayRepeatStrategy=a.NullRepeatStrategy=a.RepeatStrategyLocator=a.AbstractRepeater=a.UpdateTriggerBindingBehavior=a.BindingSignaler=a.SignalBindingBehavior=a.DebounceBindingBehavior=a.ThrottleBindingBehavior=a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=a.AttrBindingBehavior=a.configure=a.Focus=a.Replaceable=a.SanitizeHTMLValueConverter=a.HTMLSanitizer=a.Hide=a.Show=a.Repeat=a.With=a.If=a.Compose=void 0,a.Compose=b.Compose,a.If=c.If,a.With=d.With,a.Repeat=e.Repeat,a.Show=f.Show,a.Hide=g.Hide,a.HTMLSanitizer=m.HTMLSanitizer,a.SanitizeHTMLValueConverter=h.SanitizeHTMLValueConverter,a.Replaceable=i.Replaceable,a.Focus=j.Focus,a.configure=F,a.AttrBindingBehavior=n.AttrBindingBehavior,a.OneTimeBindingBehavior=o.OneTimeBindingBehavior,a.OneWayBindingBehavior=o.OneWayBindingBehavior,a.TwoWayBindingBehavior=o.TwoWayBindingBehavior,a.ThrottleBindingBehavior=p.ThrottleBindingBehavior,a.DebounceBindingBehavior=q.DebounceBindingBehavior,a.SignalBindingBehavior=r.SignalBindingBehavior,a.BindingSignaler=s.BindingSignaler,a.UpdateTriggerBindingBehavior=t.UpdateTriggerBindingBehavior,a.AbstractRepeater=u.AbstractRepeater,a.RepeatStrategyLocator=v.RepeatStrategyLocator,a.NullRepeatStrategy=x.NullRepeatStrategy,a.ArrayRepeatStrategy=y.ArrayRepeatStrategy,a.MapRepeatStrategy=z.MapRepeatStrategy,a.SetRepeatStrategy=A.SetRepeatStrategy,a.NumberRepeatStrategy=B.NumberRepeatStrategy,a.createFullOverrideContext=C.createFullOverrideContext,a.updateOverrideContext=C.updateOverrideContext,a.getItemsSourceExpression=C.getItemsSourceExpression,a.isOneTime=C.isOneTime,a.updateOneTimeBinding=C.updateOneTimeBinding,a.unwrapExpression=C.unwrapExpression,a.viewsRequireLifecycle=D.viewsRequireLifecycle})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1.js",["npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/route-loader.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-router","aurelia-path","aurelia-metadata"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingRouteLoader=void 0;var i,j;a.TemplatingRouteLoader=(i=(0,b.inject)(c.CompositionEngine),i(j=function(a){function b(b){var c=g(this,a.call(this));return c.compositionEngine=b,c}return h(b,a),b.prototype.loadRoute=function(a,b){var c=a.container.createChild(),g={viewModel:(0,e.relativeToFile)(b.moduleId,f.Origin.get(a.container.viewModel.constructor).moduleId),childContainer:c,view:b.view||b.viewStrategy,router:a};return c.getChildRouter=function(){var b=void 0;return c.registerHandler(d.Router,function(d){return b||(b=a.createChild(c))}),c.get(d.Router)},this.compositionEngine.ensureViewModel(g)},b}(d.RouteLoader))||j)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/router-view.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-router","aurelia-metadata","aurelia-pal"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.RouterView=void 0;var i,j,k,l,m,n,o,p,q=function(){function a(){}return a.prototype.before=function(a,b,c){var d=Promise.resolve(c());return void 0!==b?d.then(function(){return a.remove(b,!0)}):d},a.prototype["with"]=function(a,b,c){var d=Promise.resolve(c());return void 0!==b?Promise.all([a.remove(b,!0),d]):d},a.prototype.after=function(a,b,c){return Promise.resolve(a.removeAll(!0)).then(c)},a}(),r=new q;a.RouterView=(i=(0,c.customElement)("router-view"),j=(0,b.inject)(f.DOM.Element,b.Container,c.ViewSlot,d.Router,c.ViewLocator,c.CompositionTransaction,c.CompositionEngine),i(k=(0,c.noView)(k=j((l=function(){function a(a,b,c,d,e,f,h){g(this,"swapOrder",m,this),g(this,"layoutView",n,this),g(this,"layoutViewModel",o,this),g(this,"layoutModel",p,this),this.element=a,this.container=b,this.viewSlot=c,this.router=d,this.viewLocator=e,this.compositionTransaction=f,this.compositionEngine=h,this.router.registerViewPort(this,this.element.getAttribute("name")),"initialComposition"in f||(f.initialComposition=!0,this.compositionTransactionNotifier=f.enlist())}return a.prototype.created=function(a){this.owningView=a},a.prototype.bind=function(a,b){this.container.viewModel=a,this.overrideContext=b},a.prototype.process=function(a,b){var d=this,f=a.component,g=f.childContainer,h=f.viewModel,i=f.viewModelResource,j=i.metadata,k=f.router.currentInstruction.config,l=k.viewPorts?k.viewPorts[a.name]:{},m={viewModel:l.layoutViewModel||k.layoutViewModel||this.layoutViewModel,view:l.layoutView||k.layoutView||this.layoutView,model:l.layoutModel||k.layoutModel||this.layoutModel,router:a.component.router,childContainer:g,viewSlot:this.viewSlot},n=this.viewLocator.getViewStrategy(f.view||h);return n&&f.view&&n.makeRelativeTo(e.Origin.get(f.router.container.viewModel.constructor).moduleId),j.load(g,i.value,null,n,!0).then(function(e){d.compositionTransactionNotifier||(d.compositionTransactionOwnershipToken=d.compositionTransaction.tryCapture()),(m.viewModel||m.view)&&(a.layoutInstruction=m),a.controller=j.create(g,c.BehaviorInstruction.dynamic(d.element,h,e)),b||d.swap(a)})},a.prototype.swap=function(a){var b=this,d=function(){var d=b.view,e=void 0,f=b.viewSlot,g=a.layoutInstruction;(e=b.swapOrder in r?r[b.swapOrder]:r.after)(f,d,function(){var d=void 0;return g?(g.viewModel||(g.viewModel={}),d=b.compositionEngine.createController(g).then(function(b){return c.ShadowDOM.distributeView(a.controller.view,b.slots||b.view.slots),b.view||b})):d=Promise.resolve(a.controller.view),d.then(function(a){return b.view=a,f.add(a)}).then(function(){b._notify()})})};return a.controller.automate(this.overrideContext,this.owningView),this.compositionTransactionOwnershipToken?this.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function(){return b.compositionTransactionOwnershipToken=null,d()}):d()},a.prototype._notify=function(){this.compositionTransactionNotifier&&(this.compositionTransactionNotifier.done(),this.compositionTransactionNotifier=null)},a}(),m=h(l.prototype,"swapOrder",[c.bindable],{enumerable:!0,initializer:null}),n=h(l.prototype,"layoutView",[c.bindable],{enumerable:!0,initializer:null}),o=h(l.prototype,"layoutViewModel",[c.bindable],{enumerable:!0,initializer:null}),p=h(l.prototype,"layoutModel",[c.bindable],{enumerable:!0,initializer:null}),k=l))||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0/aurelia-loader.js",["exports","aurelia-path","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Loader=a.TemplateRegistryEntry=a.TemplateDependency=void 0;var d=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),e=a.TemplateDependency=function(a,b){this.src=a,this.name=b},f=a.TemplateRegistryEntry=function(){function a(a){this.templateIsLoaded=!1,this.factoryIsReady=!1,this.resources=null,this.dependencies=null,this.address=a,this.onReady=null,this._template=null,this._factory=null}return a.prototype.addDependency=function(a,d){var f="string"==typeof a?(0,b.relativeToFile)(a,this.address):c.Origin.get(a).moduleId;this.dependencies.push(new e(f,d))},d(a,[{key:"template",get:function(){return this._template},set:function(a){var c=this.address,d=void 0,f=void 0,g=void 0,h=void 0;this._template=a,this.templateIsLoaded=!0,d=a.content.querySelectorAll("require"),h=this.dependencies=new Array(d.length);for(var i=0,j=d.length;i<j;++i){if(f=d[i],g=f.getAttribute("from"),!g)throw new Error("<require> element in "+c+' has no "from" attribute.');h[i]=new e((0,b.relativeToFile)(g,c),f.getAttribute("as")),f.parentNode&&f.parentNode.removeChild(f)}}},{key:"factory",get:function(){return this._factory},set:function(a){this._factory=a,this.factoryIsReady=!0}}]),a}();a.Loader=function(){function a(){this.templateRegistry={}}return a.prototype.map=function(a,b){throw new Error("Loaders must implement map(id, source).")},a.prototype.normalizeSync=function(a,b){throw new Error("Loaders must implement normalizeSync(moduleId, relativeTo).")},a.prototype.normalize=function(a,b){throw new Error("Loaders must implement normalize(moduleId: string, relativeTo: string): Promise<string>.")},a.prototype.loadModule=function(a){throw new Error("Loaders must implement loadModule(id).")},a.prototype.loadAllModules=function(a){throw new Error("Loader must implement loadAllModules(ids).")},a.prototype.loadTemplate=function(a){throw new Error("Loader must implement loadTemplate(url).")},a.prototype.loadText=function(a){throw new Error("Loader must implement loadText(url).")},a.prototype.applyPluginToUrl=function(a,b){throw new Error("Loader must implement applyPluginToUrl(url, pluginName).")},a.prototype.addPlugin=function(a,b){throw new Error("Loader must implement addPlugin(pluginName, implementation).")},a.prototype.getOrCreateTemplateRegistryEntry=function(a){return this.templateRegistry[a]||(this.templateRegistry[a]=new f(a))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0.js",["npm:aurelia-loader@1.0.0/aurelia-loader"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.0.9/aurelia-binding.js",["exports","aurelia-logging","aurelia-pal","aurelia-task-queue","aurelia-metadata"],function(a,b,c,d,e){"use strict";function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a){if(a in La)return La[a];var b=a.charAt(0).toLowerCase()+a.slice(1).replace(/[_.-](\w|$)/g,function(a,b){return b.toUpperCase()});return La[a]=b,b}function j(a,b){return{bindingContext:a,parentOverrideContext:b||null}}function k(a,b,c){var d=b.overrideContext;if(c){for(;c&&d;)c--,d=d.parentOverrideContext;if(c||!d)return;return a in d?d:d.bindingContext}for(;d&&!(a in d)&&!(d.bindingContext&&a in d.bindingContext);)d=d.parentOverrideContext;return d?a in d?d:d.bindingContext:b.bindingContext||b.overrideContext}function l(a,b){return b?{bindingContext:a,overrideContext:j(a,j(b))}:{bindingContext:a,overrideContext:j(a)}}function m(a){for(var b=void 0===this._observerSlots?0:this._observerSlots,c=b;c--&&this[Na[c]]!==a;);if(c===-1){for(c=0;this[Na[c]];)c++;this[Na[c]]=a,a.subscribe(Ma,this),c===b&&(this._observerSlots=c+1)}void 0===this._version&&(this._version=0),this[Oa[c]]=this._version}function n(a,b){var c=this.observerLocator.getObserver(a,b);m.call(this,c)}function o(a){var b=this.observerLocator.getArrayObserver(a);m.call(this,b)}function p(a){for(var b=this._observerSlots;b--;)if(a||this[Oa[b]]!==this._version){var c=this[Na[b]];this[Na[b]]=null,c&&c.unsubscribe(Ma,this)}}function q(){return function(a){a.prototype.observeProperty=n,a.prototype.observeArray=o,a.prototype.unobserve=p,a.prototype.addObserver=m}}function r(a){for(var b=0,d=Qa.keys(),e=void 0;(e=d.next())&&!e.done;){var f=e.value;if(Qa["delete"](f),f.connect(!0),b++,b%100===0&&c.PLATFORM.performance.now()-a>Sa)break}Qa.size?c.PLATFORM.requestAnimationFrame(r):(Ta=!1,Ua=0)}function s(a){Ua<Ra?(Ua++,a.connect(!1)):Qa.set(a),Ta||(Ta=!0,c.PLATFORM.requestAnimationFrame(r))}function t(a,b){return!this.hasSubscriber(a,b)&&(this._context0?this._context1?this._context2?this._contextsRest?(this._contextsRest.push(a),this._callablesRest.push(b),!0):(this._contextsRest=[a],this._callablesRest=[b],!0):(this._context2=a,this._callable2=b,!0):(this._context1=a,this._callable1=b,!0):(this._context0=a,this._callable0=b,!0))}function u(a,b){if(this._context0===a&&this._callable0===b)return this._context0=null,this._callable0=null,!0;if(this._context1===a&&this._callable1===b)return this._context1=null,this._callable1=null,!0;if(this._context2===a&&this._callable2===b)return this._context2=null,this._callable2=null,!0;var c=this._contextsRest,d=void 0;return!(!c||!c.length||(d=c.indexOf(a))===-1||this._callablesRest[d]!==b)&&(c.splice(d,1),this._callablesRest.splice(d,1),!0)}function v(a,b){var c=this._context0,d=this._callable0,e=this._context1,f=this._callable1,g=this._context2,h=this._callable2,i=this._contextsRest?this._contextsRest.length:0,j=void 0,k=void 0,l=void 0,m=void 0;if(i){for(l=Xa.length;l--&&Xa[l];);for(l<0?(l=Xa.length,j=[],k=[],Xa.push(!0),Va.push(j),Wa.push(k)):(Xa[l]=!0,j=Va[l],k=Wa[l]),m=i;m--;)j[m]=this._contextsRest[m],k[m]=this._callablesRest[m]}if(c&&(d?d.call(c,a,b):c(a,b)),e&&(f?f.call(e,a,b):e(a,b)),g&&(h?h.call(g,a,b):g(a,b)),i){for(m=0;m<i;m++){var n=k[m],o=j[m];n?n.call(o,a,b):o(a,b),j[m]=null,k[m]=null}Xa[l]=!1}}function w(){return!!(this._context0||this._context1||this._context2||this._contextsRest&&this._contextsRest.length)}function x(a,b){var c=this._context0===a&&this._callable0===b||this._context1===a&&this._callable1===b||this._context2===a&&this._callable2===b;if(c)return!0;var d=void 0,e=this._contextsRest;if(!e||0===(d=e.length))return!1;for(var f=this._callablesRest;d--;)if(e[d]===a&&f[d]===b)return!0;return!1}function y(){return function(a){a.prototype.addSubscriber=t,a.prototype.removeSubscriber=u,a.prototype.callSubscribers=v,a.prototype.hasSubscribers=w,a.prototype.hasSubscriber=x}}function z(a){return+a===a>>>0}function A(a){return+a}function B(a,b,c){return{index:a,removed:b,addedCount:c}}function C(){}function D(a,b,c,d,e,f){return bb.calcSplices(a,b,c,d,e,f)}function E(a,b,c,d){return b<c||d<a?-1:b===c||d===a?0:a<c?b<d?b-c:d-c:d<b?d-a:b-a}function F(a,b,c,d){for(var e=B(b,c,d),f=!1,g=0,h=0;h<a.length;h++){var i=a[h];if(i.index+=g,!f){var j=E(e.index,e.index+e.removed.length,i.index,i.index+i.addedCount);if(j>=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var l=i.removed;if(e.index<i.index){var m=e.removed.slice(0,i.index-e.index);Array.prototype.push.apply(m,l),l=m}if(e.index+e.removed.length>i.index+i.addedCount){var n=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(l,n)}e.removed=l,i.index<e.index&&(e.index=i.index)}else f=!0}else if(e.index<i.index){f=!0,a.splice(h,0,e),h++;var o=e.addedCount-e.removed.length;i.index+=o,g+=o}}}f||a.push(e)}function G(a,b){for(var c=[],d=0;d<b.length;d++){var e=b[d];switch(e.type){case"splice":F(c,e.index,e.removed.slice(),e.addedCount);break;case"add":case"update":case"delete":if(!z(e.name))continue;var f=A(e.name);if(f<0)continue;F(c,f,[e.oldValue],"delete"===e.type?0:1);break;default:console.error("Unexpected record type: "+JSON.stringify(e))}}return c}function H(a,b){var c=[];return G(a,b).forEach(function(b){return 1===b.addedCount&&1===b.removed.length?void(b.removed[0]!==a[b.index]&&c.push(b)):void(c=c.concat(D(a,b.index,b.index+b.addedCount,b.removed,0,b.removed.length)))}),c}function I(a,b,c,d){return{type:a,object:b,key:c,oldValue:d}}function J(a){for(var b=new Array(a.size),c=a.keys(),d=0,e=void 0;(e=c.next())&&!e.done;)b[d]=I("added",a,e.value),d++;return b}function K(a,b){return lb["for"](a,b)}function L(a,b,c){for(var d=b.length,e=[],f=0;f<d;f++)e[f]=b[f].evaluate(a,c);return e}function M(a,b){return null!==a&&null!==b?"string"==typeof a&&"string"!=typeof b?a+b.toString():"string"!=typeof a&&"string"==typeof b?a.toString()+b:a+b:null!==a?a:null!==b?b:0}function N(a,b,c){var d=null===a||void 0===a?null:a[b];if("function"==typeof d)return d;if(!c&&(null===d||void 0===d))return null;throw new Error(b+" is not a function")}function O(a,b){if(Array.isArray(a))return a[parseInt(b,10)];if(a)return a[b];if(null!==a&&void 0!==a)return a[b]}function P(a,b,c){if(Array.isArray(a)){var d=parseInt(b,10);a.length<=d&&(a.length=d+1),a[d]=c}else a[b]=c;return c}function Q(a){var b=new Gb;return a.accept(b)}function R(a){return a>=Nb&&a<=Sb||a===Hc}function S(a){return vc<=a&&a<=Dc||nc<=a&&a<=pc||a===uc||a===Vb}function T(a){return vc<=a&&a<=Dc||nc<=a&&a<=pc||lc<=a&&a<=mc||a===uc||a===Vb}function U(a){return lc<=a&&a<=mc}function V(a){return a===wc||a===oc}function W(a){return a===cc||a===ac}function X(a){switch(a){case yc:return Ob;case xc:return Qb;case zc:return Rb;case Ac:return Nb;case Cc:return Pb;default:return a}}function Y(a,b){if(!a)throw b||"Assertion failed"}function Z(a,b){return Mc["for"](a,b)}function $(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function _(a){a.standardStopPropagation=a.stopPropagation,a.stopPropagation=function(){this.propagationStopped=!0,this.standardStopPropagation()}}function aa(a){var b=!1;a.propagationStopped=!1;for(var c=$(a);c&&!a.propagationStopped;){if(c.delegatedCallbacks){var d=c.delegatedCallbacks[a.type];d&&(b||(_(a),b=!0),d(a))}c=c.parentNode}}function ba(a){return!!(a&&a.get&&a.get.dependencies)}function ca(a,b,c){var d=Object.getOwnPropertyDescriptor(a.prototype,b);d.get.dependencies=c}function da(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a,c,d){return d.get.dependencies=b,d}}function ea(a,b,c,d){var e=c.get.dependencies;if(!(e instanceof fd)){for(var f=e.length;f--;)e[f]=d.parser.parse(e[f]);e=c.get.dependencies=new fd(b,e)}var g={bindingContext:a,overrideContext:j(a)};return new Ya(g,e,d)}function fa(a){var b=c.DOM.createElement("div");return b.innerHTML=a,b.firstChild}function ga(a){return void 0===a||"string"==typeof a?function(b){e.metadata.define(e.metadata.resource,new pd(a),b)}:void e.metadata.define(e.metadata.resource,new pd,a)}function ha(a){return void 0===a||"string"==typeof a?function(b){
+e.metadata.define(e.metadata.resource,new qd(a),b)}:void e.metadata.define(e.metadata.resource,new qd,a)}function ia(a){var b=a.au;if(void 0===b)throw new Error('No Aurelia APIs are defined for the element: "'+a.tagName+'".');return b}function ja(a,b){return vd["for"](a,b)}function ka(a,b,c){function d(a,b,c,d){var e=void 0===b;e&&(a=a.prototype,b="string"==typeof d?d:d.name);var f="_"+b,g={configurable:!0,enumerable:!1,writable:!0},h=d&&d.changeHandler||b+"Changed";return c?"function"==typeof c.initializer&&(g.value=c.initializer()):c={},"enumerable"in c||(c.enumerable=!0),delete c.value,delete c.writable,delete c.initializer,Reflect.defineProperty(a,f,g),c.get=function(){return this[f]},c.set=function(a){var c=this[f];this[f]=a,Reflect.defineProperty(this,f,{enumerable:!1}),this[h]&&this[h](a,c,b)},c.get.dependencies=[f],e?void Reflect.defineProperty(a,b,c):c}return void 0===b?function(b,c,e){return d(b,c,e,a)}:d(a,b,c)}Object.defineProperty(a,"__esModule",{value:!0}),a.getSetObserver=a.BindingEngine=a.NameExpression=a.Listener=a.ListenerExpression=a.BindingBehaviorResource=a.ValueConverterResource=a.Call=a.CallExpression=a.Binding=a.BindingExpression=a.ObjectObservationAdapter=a.ObserverLocator=a.SVGAnalyzer=a.presentationAttributes=a.presentationElements=a.elements=a.ComputedExpression=a.ClassObserver=a.SelectValueObserver=a.CheckedObserver=a.ValueAttributeObserver=a.StyleObserver=a.DataAttributeObserver=a.dataAttributeAccessor=a.XLinkAttributeObserver=a.SetterObserver=a.PrimitiveObserver=a.propertyAccessor=a.DirtyCheckProperty=a.DirtyChecker=a.EventManager=a.getMapObserver=a.ParserImplementation=a.Parser=a.Scanner=a.Lexer=a.Token=a.bindingMode=a.ExpressionCloner=a.Unparser=a.LiteralObject=a.LiteralArray=a.LiteralString=a.LiteralPrimitive=a.PrefixNot=a.Binary=a.CallFunction=a.CallMember=a.CallScope=a.AccessKeyed=a.AccessMember=a.AccessScope=a.AccessThis=a.Conditional=a.Assign=a.ValueConverter=a.BindingBehavior=a.Chain=a.Expression=a.getArrayObserver=a.CollectionLengthObserver=a.ModifyCollectionObserver=a.ExpressionObserver=a.sourceContext=void 0,a.camelCase=i,a.createOverrideContext=j,a.getContextFor=k,a.createScopeForTest=l,a.connectable=q,a.enqueueBindingConnect=s,a.subscriberCollection=y,a.calcSplices=D,a.mergeSplice=F,a.projectArraySplices=H,a.getChangeRecords=J,a.cloneExpression=Q,a.hasDeclaredDependencies=ba,a.declarePropertyDependencies=ca,a.computedFrom=da,a.createComputedObserver=ea,a.valueConverter=ga,a.bindingBehavior=ha,a.observable=ka;for(var la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia=f(b),Ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},Ka=(function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}()),La=Object.create(null),Ma=a.sourceContext="Binding:source",Na=[],Oa=[],Pa=0;Pa<100;Pa++)Na.push("_observer"+Pa),Oa.push("_observerVersion"+Pa);var Qa=new Map,Ra=100,Sa=15,Ta=!1,Ua=0,Va=[],Wa=[],Xa=[],Ya=a.ExpressionObserver=(la=q(),ma=y(),la(na=ma(na=function(){function a(a,b,c,d){this.scope=a,this.expression=b,this.observerLocator=c,this.lookupFunctions=d}return a.prototype.getValue=function(){return this.expression.evaluate(this.scope,this.lookupFunctions)},a.prototype.setValue=function(a){this.expression.assign(this.scope,a)},a.prototype.subscribe=function(a,b){var c=this;if(this.hasSubscribers()||(this.oldValue=this.expression.evaluate(this.scope,this.lookupFunctions),this.expression.connect(this,this.scope)),this.addSubscriber(a,b),1===arguments.length&&a instanceof Function)return{dispose:function(){c.unsubscribe(a,b)}}},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.unobserve(!0),this.oldValue=void 0)},a.prototype.call=function(){var a=this.expression.evaluate(this.scope,this.lookupFunctions),b=this.oldValue;a!==b&&(this.oldValue=a,this.callSubscribers(a,b)),this._version++,this.expression.connect(this,this.scope),this.unobserve(!1)},a}())||na)||na),Za=0,$a=1,_a=2,ab=3;C.prototype={calcEditDistances:function(a,b,c,d,e,f){for(var g=f-e+1,h=c-b+1,i=new Array(g),j=void 0,k=void 0,l=0;l<g;++l)i[l]=new Array(h),i[l][0]=l;for(var m=0;m<h;++m)i[0][m]=m;for(var n=1;n<g;++n)for(var o=1;o<h;++o)this.equals(a[b+o-1],d[e+n-1])?i[n][o]=i[n-1][o-1]:(j=i[n-1][o]+1,k=i[n][o-1]+1,i[n][o]=j<k?j:k);return i},spliceOperationsFromEditDistances:function(a){for(var b=a.length-1,c=a[0].length-1,d=a[b][c],e=[];b>0||c>0;)if(0!==b)if(0!==c){var f=a[b-1][c-1],g=a[b-1][c],h=a[b][c-1],i=void 0;i=g<h?g<f?g:f:h<f?h:f,i===f?(f===d?e.push(Za):(e.push($a),d=f),b--,c--):i===g?(e.push(ab),b--,d=g):(e.push(_a),c--,d=h)}else e.push(ab),b--;else e.push(_a),c--;return e.reverse(),e},calcSplices:function(a,b,c,d,e,f){var g=0,h=0,i=Math.min(c-b,f-e);if(0===b&&0===e&&(g=this.sharedPrefix(a,d,i)),c===a.length&&f===d.length&&(h=this.sharedSuffix(a,d,i-g)),b+=g,e+=g,c-=h,f-=h,c-b===0&&f-e===0)return[];if(b===c){for(var j=B(b,[],0);e<f;)j.removed.push(d[e++]);return[j]}if(e===f)return[B(b,[],c-b)];for(var k=this.spliceOperationsFromEditDistances(this.calcEditDistances(a,b,c,d,e,f)),l=void 0,m=[],n=b,o=e,p=0;p<k.length;++p)switch(k[p]){case Za:l&&(m.push(l),l=void 0),n++,o++;break;case $a:l||(l=B(n,[],0)),l.addedCount++,n++,l.removed.push(d[o]),o++;break;case _a:l||(l=B(n,[],0)),l.addedCount++,n++;break;case ab:l||(l=B(n,[],0)),l.removed.push(d[o]),o++}return l&&m.push(l),m},sharedPrefix:function(a,b,c){for(var d=0;d<c;++d)if(!this.equals(a[d],b[d]))return d;return c},sharedSuffix:function(a,b,c){for(var d=a.length,e=b.length,f=0;f<c&&this.equals(a[--d],b[--e]);)f++;return f},calculateSplices:function(a,b){return this.calcSplices(a,0,a.length,b,0,b.length)},equals:function(a,b){return a===b}};var bb=new C,cb=a.ModifyCollectionObserver=(oa=y(),oa(pa=function(){function a(a,b){this.taskQueue=a,this.queued=!1,this.changeRecords=null,this.oldCollection=null,this.collection=b,this.lengthPropertyName=b instanceof Map||b instanceof Set?"size":"length"}return a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.addChangeRecord=function(a){if(this.hasSubscribers()||this.lengthObserver){if("splice"===a.type){var b=a.index,c=a.object.length;b>c?b=c-a.addedCount:b<0&&(b=c+a.removed.length+b-a.addedCount),b<0&&(b=0),a.index=b}null===this.changeRecords?this.changeRecords=[a]:this.changeRecords.push(a),this.queued||(this.queued=!0,this.taskQueue.queueMicroTask(this))}},a.prototype.flushChangeRecords=function(){(this.changeRecords&&this.changeRecords.length||this.oldCollection)&&this.call()},a.prototype.reset=function(a){this.oldCollection=a,this.hasSubscribers()&&!this.queued&&(this.queued=!0,this.taskQueue.queueMicroTask(this))},a.prototype.getLengthObserver=function(){return this.lengthObserver||(this.lengthObserver=new db(this.collection))},a.prototype.call=function(){var a=this.changeRecords,b=this.oldCollection,c=void 0;this.queued=!1,this.changeRecords=[],this.oldCollection=null,this.hasSubscribers()&&(c=b?this.collection instanceof Map||this.collection instanceof Set?J(b):D(this.collection,0,this.collection.length,b,0,b.length):this.collection instanceof Map||this.collection instanceof Set?a:H(this.collection,a),this.callSubscribers(c)),this.lengthObserver&&this.lengthObserver.call(this.collection[this.lengthPropertyName])},a}())||pa),db=a.CollectionLengthObserver=(qa=y(),qa(ra=function(){function a(a){this.collection=a,this.lengthPropertyName=a instanceof Map||a instanceof Set?"size":"length",this.currentValue=a[this.lengthPropertyName]}return a.prototype.getValue=function(){return this.collection[this.lengthPropertyName]},a.prototype.setValue=function(a){this.collection[this.lengthPropertyName]=a},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.call=function(a){var b=this.currentValue;this.callSubscribers(a,b),this.currentValue=a},a}())||ra),eb=Array.prototype.pop,fb=Array.prototype.push,gb=Array.prototype.reverse,hb=Array.prototype.shift,ib=Array.prototype.sort,jb=Array.prototype.splice,kb=Array.prototype.unshift;Array.prototype.pop=function(){var a=this.length>0,b=eb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:this.length,oldValue:b}),b},Array.prototype.push=function(){var a=fb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:this.length-arguments.length,removed:[],addedCount:arguments.length}),a},Array.prototype.reverse=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=gb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.shift=function(){var a=this.length>0,b=hb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:0,oldValue:b}),b},Array.prototype.sort=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=ib.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.splice=function(){var a=jb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:arguments[0],removed:a,addedCount:arguments.length>2?arguments.length-2:0}),a},Array.prototype.unshift=function(){var a=kb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:0,removed:[],addedCount:arguments.length}),a},a.getArrayObserver=K;var lb=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__array_observer__"in c||Reflect.defineProperty(c,"__array_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__array_observer__},b.create=function(a,c){return new b(a,c)},b}(cb),mb=a.Expression=function(){function a(){this.isChain=!1,this.isAssignable=!1}return a.prototype.evaluate=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be evaluated.')},a.prototype.assign=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be assigned to.')},a.prototype.toString=function(){return Fb.unparse(this)},a}(),nb=a.Chain=function(a){function b(b){var c=g(this,a.call(this));return c.expressions=b,c.isChain=!0,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=void 0,d=this.expressions,e=void 0,f=0,g=d.length;f<g;++f)e=d[f].evaluate(a,b),null!==e&&(c=e);return c},b.prototype.accept=function(a){return a.visitChain(this)},b}(mb),ob=a.BindingBehavior=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.expression=b,e.name=c,e.args=d,e}return h(b,a),b.prototype.evaluate=function(a,b){return this.expression.evaluate(a,b)},b.prototype.assign=function(a,b,c){return this.expression.assign(a,b,c)},b.prototype.accept=function(a){return a.visitBindingBehavior(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b.prototype.bind=function(a,b,c){this.expression.expression&&this.expression.bind&&this.expression.bind(a,b,c);var d=c.bindingBehaviors(this.name);if(!d)throw new Error('No BindingBehavior named "'+this.name+'" was found!');var e="behavior-"+this.name;if(a[e])throw new Error('A binding behavior named "'+this.name+'" has already been applied to "'+this.expression+'"');a[e]=d,d.bind.apply(d,[a,b].concat(L(b,this.args,a.lookupFunctions)))},b.prototype.unbind=function(a,b){var c="behavior-"+this.name;a[c].unbind(a,b),a[c]=null,this.expression.expression&&this.expression.unbind&&this.expression.unbind(a,b)},b}(mb),pb=a.ValueConverter=function(a){function b(b,c,d,e){var f=g(this,a.call(this));return f.expression=b,f.name=c,f.args=d,f.allArgs=e,f}return h(b,a),b.prototype.evaluate=function(a,b){var c=b.valueConverters(this.name);if(!c)throw new Error('No ValueConverter named "'+this.name+'" was found!');return"toView"in c?c.toView.apply(c,L(a,this.allArgs,b)):this.allArgs[0].evaluate(a,b)},b.prototype.assign=function(a,b,c){var d=c.valueConverters(this.name);if(!d)throw new Error('No ValueConverter named "'+this.name+'" was found!');return"fromView"in d&&(b=d.fromView.apply(d,[b].concat(L(a,this.args,c)))),this.allArgs[0].assign(a,b,c)},b.prototype.accept=function(a){return a.visitValueConverter(this)},b.prototype.connect=function(a,b){for(var c=this.allArgs,d=c.length;d--;)c[d].connect(a,b)},b}(mb),qb=a.Assign=function(a){function b(b,c){var d=g(this,a.call(this));return d.target=b,d.value=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return this.target.assign(a,this.value.evaluate(a,b))},b.prototype.accept=function(a){a.visitAssign(this)},b.prototype.connect=function(a,b){},b}(mb),rb=a.Conditional=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.condition=b,e.yes=c,e.no=d,e}return h(b,a),b.prototype.evaluate=function(a,b){return this.condition.evaluate(a)?this.yes.evaluate(a):this.no.evaluate(a)},b.prototype.accept=function(a){return a.visitConditional(this)},b.prototype.connect=function(a,b){this.condition.connect(a,b),this.condition.evaluate(b)?this.yes.connect(a,b):this.no.connect(a,b)},b}(mb),sb=a.AccessThis=function(a){function b(b){var c=g(this,a.call(this));return c.ancestor=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=a.overrideContext,d=this.ancestor;d--&&c;)c=c.parentOverrideContext;return d<1&&c?c.bindingContext:void 0},b.prototype.accept=function(a){return a.visitAccessThis(this)},b.prototype.connect=function(a,b){},b}(mb),tb=a.AccessScope=function(a){function b(b,c){var d=g(this,a.call(this));return d.name=b,d.ancestor=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=k(this.name,a,this.ancestor);return c[this.name]},b.prototype.assign=function(a,b){var c=k(this.name,a,this.ancestor);return c?c[this.name]=b:void 0},b.prototype.accept=function(a){return a.visitAccessScope(this)},b.prototype.connect=function(a,b){var c=k(this.name,b,this.ancestor);a.observeProperty(c,this.name)},b}(mb),ub=a.AccessMember=function(a){function b(b,c){var d=g(this,a.call(this));return d.object=b,d.name=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.object.evaluate(a,b);return null===c||void 0===c?c:c[this.name]},b.prototype.assign=function(a,b){var c=this.object.evaluate(a);return null!==c&&void 0!==c||(c={},this.object.assign(a,c)),c[this.name]=b,b},b.prototype.accept=function(a){return a.visitAccessMember(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);c&&a.observeProperty(c,this.name)},b}(mb),vb=a.AccessKeyed=function(a){function b(b,c){var d=g(this,a.call(this));return d.object=b,d.key=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.object.evaluate(a,b),d=this.key.evaluate(a,b);return O(c,d)},b.prototype.assign=function(a,b){var c=this.object.evaluate(a),d=this.key.evaluate(a);return P(c,d,b)},b.prototype.accept=function(a){return a.visitAccessKeyed(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);if(c instanceof Object){this.key.connect(a,b);var d=this.key.evaluate(b);null===d||void 0===d||Array.isArray(c)&&"number"==typeof d||a.observeProperty(c,d)}},b}(mb),wb=a.CallScope=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.name=b,e.args=c,e.ancestor=d,e}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=L(a,this.args,b),e=k(this.name,a,this.ancestor),f=N(e,this.name,c);if(f)return f.apply(e,d)},b.prototype.accept=function(a){return a.visitCallScope(this)},b.prototype.connect=function(a,b){for(var c=this.args,d=c.length;d--;)c[d].connect(a,b)},b}(mb),xb=a.CallMember=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.object=b,e.name=c,e.args=d,e}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=this.object.evaluate(a,b),e=L(a,this.args,b),f=N(d,this.name,c);if(f)return f.apply(d,e)},b.prototype.accept=function(a){return a.visitCallMember(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);if(N(c,this.name,!1))for(var d=this.args,e=d.length;e--;)d[e].connect(a,b)},b}(mb),yb=a.CallFunction=function(a){function b(b,c){var d=g(this,a.call(this));return d.func=b,d.args=c,d}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=this.func.evaluate(a,b);if("function"==typeof d)return d.apply(null,L(a,this.args,b));if(c||null!==d&&void 0!==d)throw new Error(this.func+" is not a function")},b.prototype.accept=function(a){return a.visitCallFunction(this)},b.prototype.connect=function(a,b){this.func.connect(a,b);var c=this.func.evaluate(b);if("function"==typeof c)for(var d=this.args,e=d.length;e--;)d[e].connect(a,b)},b}(mb),zb=a.Binary=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.operation=b,e.left=c,e.right=d,e}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.left.evaluate(a);switch(this.operation){case"&&":return c&&this.right.evaluate(a);case"||":return c||this.right.evaluate(a)}var d=this.right.evaluate(a);switch(this.operation){case"==":return c==d;case"===":return c===d;case"!=":return c!=d;case"!==":return c!==d}if(null===c||null===d||void 0===c||void 0===d){switch(this.operation){case"+":return null!==c&&void 0!==c?c:null!==d&&void 0!==d?d:0;case"-":return null!==c&&void 0!==c?c:null!==d&&void 0!==d?0-d:0}return null}switch(this.operation){case"+":return M(c,d);case"-":return c-d;case"*":return c*d;case"/":return c/d;case"%":return c%d;case"<":return c<d;case">":return c>d;case"<=":return c<=d;case">=":return c>=d;case"^":return c^d}throw new Error("Internal error ["+this.operation+"] not handled")},b.prototype.accept=function(a){return a.visitBinary(this)},b.prototype.connect=function(a,b){this.left.connect(a,b);var c=this.left.evaluate(b);"&&"===this.operation&&!c||"||"===this.operation&&c||this.right.connect(a,b)},b}(mb),Ab=a.PrefixNot=function(a){function b(b,c){var d=g(this,a.call(this));return d.operation=b,d.expression=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return!this.expression.evaluate(a)},b.prototype.accept=function(a){return a.visitPrefix(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b}(mb),Bb=a.LiteralPrimitive=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralPrimitive(this)},b.prototype.connect=function(a,b){},b}(mb),Cb=a.LiteralString=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralString(this)},b.prototype.connect=function(a,b){},b}(mb),Db=a.LiteralArray=function(a){function b(b){var c=g(this,a.call(this));return c.elements=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=this.elements,d=[],e=0,f=c.length;e<f;++e)d[e]=c[e].evaluate(a,b);return d},b.prototype.accept=function(a){return a.visitLiteralArray(this)},b.prototype.connect=function(a,b){for(var c=this.elements.length,d=0;d<c;d++)this.elements[d].connect(a,b)},b}(mb),Eb=a.LiteralObject=function(a){function b(b,c){var d=g(this,a.call(this));return d.keys=b,d.values=c,d}return h(b,a),b.prototype.evaluate=function(a,b){for(var c={},d=this.keys,e=this.values,f=0,g=d.length;f<g;++f)c[d[f]]=e[f].evaluate(a,b);return c},b.prototype.accept=function(a){return a.visitLiteralObject(this)},b.prototype.connect=function(a,b){for(var c=this.keys.length,d=0;d<c;d++)this.values[d].connect(a,b)},b}(mb),Fb=a.Unparser=function(){function a(a){this.buffer=a}return a.unparse=function(b){var c=[],d=new a(c);return b.accept(d),c.join("")},a.prototype.write=function(a){this.buffer.push(a)},a.prototype.writeArgs=function(a){this.write("(");for(var b=0,c=a.length;b<c;++b)0!==b&&this.write(","),a[b].accept(this);this.write(")")},a.prototype.visitChain=function(a){for(var b=a.expressions,c=0,d=expression.length;c<d;++c)0!==c&&this.write(";"),b[c].accept(this)},a.prototype.visitBindingBehavior=function(a){var b=a.args;a.expression.accept(this),this.write("&"+a.name);for(var c=0,d=b.length;c<d;++c)this.write(":"),b[c].accept(this)},a.prototype.visitValueConverter=function(a){var b=a.args;a.expression.accept(this),this.write("|"+a.name);for(var c=0,d=b.length;c<d;++c)this.write(":"),b[c].accept(this)},a.prototype.visitAssign=function(a){a.target.accept(this),this.write("="),a.value.accept(this)},a.prototype.visitConditional=function(a){a.condition.accept(this),this.write("?"),a.yes.accept(this),this.write(":"),a.no.accept(this)},a.prototype.visitAccessThis=function(a){if(0===a.ancestor)return void this.write("$this");this.write("$parent");for(var b=a.ancestor-1;b--;)this.write(".$parent")},a.prototype.visitAccessScope=function(a){for(var b=a.ancestor;b--;)this.write("$parent.");this.write(a.name)},a.prototype.visitAccessMember=function(a){a.object.accept(this),this.write("."+a.name)},a.prototype.visitAccessKeyed=function(a){a.object.accept(this),this.write("["),a.key.accept(this),this.write("]")},a.prototype.visitCallScope=function(a){for(var b=a.ancestor;b--;)this.write("$parent.");this.write(a.name),this.writeArgs(a.args)},a.prototype.visitCallFunction=function(a){a.func.accept(this),this.writeArgs(a.args)},a.prototype.visitCallMember=function(a){a.object.accept(this),this.write("."+a.name),this.writeArgs(a.args)},a.prototype.visitPrefix=function(a){this.write("("+a.operation),a.expression.accept(this),this.write(")")},a.prototype.visitBinary=function(a){a.left.accept(this),this.write(a.operation),a.right.accept(this)},a.prototype.visitLiteralPrimitive=function(a){this.write(""+a.value)},a.prototype.visitLiteralArray=function(a){var b=a.elements;this.write("[");for(var c=0,d=b.length;c<d;++c)0!==c&&this.write(","),b[c].accept(this);this.write("]")},a.prototype.visitLiteralObject=function(a){var b=a.keys,c=a.values;this.write("{");for(var d=0,e=b.length;d<e;++d)0!==d&&this.write(","),this.write("'"+b[d]+"':"),c[d].accept(this);this.write("}")},a.prototype.visitLiteralString=function(a){var b=a.value.replace(/'/g,"'");this.write("'"+b+"'")},a}(),Gb=a.ExpressionCloner=function(){function a(){}return a.prototype.cloneExpressionArray=function(a){for(var b=[],c=a.length;c--;)b[c]=a[c].accept(this);return b},a.prototype.visitChain=function(a){return new nb(this.cloneExpressionArray(a.expressions))},a.prototype.visitBindingBehavior=function(a){return new ob(a.expression.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitValueConverter=function(a){return new pb(a.expression.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitAssign=function(a){return new qb(a.target.accept(this),a.value.accept(this))},a.prototype.visitConditional=function(a){return new rb(a.condition.accept(this),a.yes.accept(this),a.no.accept(this))},a.prototype.visitAccessThis=function(a){return new sb(a.ancestor)},a.prototype.visitAccessScope=function(a){return new tb(a.name,a.ancestor)},a.prototype.visitAccessMember=function(a){return new ub(a.object.accept(this),a.name)},a.prototype.visitAccessKeyed=function(a){return new vb(a.object.accept(this),a.key.accept(this))},a.prototype.visitCallScope=function(a){return new wb(a.name,this.cloneExpressionArray(a.args),a.ancestor)},a.prototype.visitCallFunction=function(a){return new yb(a.func.accept(this),this.cloneExpressionArray(a.args))},a.prototype.visitCallMember=function(a){return new xb(a.object.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitPrefix=function(a){return new Ab(a.operation,a.expression.accept(this))},a.prototype.visitBinary=function(a){return new zb(a.operation,a.left.accept(this),a.right.accept(this))},a.prototype.visitLiteralPrimitive=function(a){return new Bb(a)},a.prototype.visitLiteralArray=function(a){return new Db(this.cloneExpressionArray(a.elements))},a.prototype.visitLiteralObject=function(a){return new Eb(a.keys,this.cloneExpressionArray(a.values))},a.prototype.visitLiteralString=function(a){return new Cb(a.value)},a}(),Hb=a.bindingMode={oneTime:0,oneWay:1,twoWay:2},Ib=a.Token=function(){function a(a,b){this.index=a,this.text=b}return a.prototype.withOp=function(a){return this.opKey=a,this},a.prototype.withGetterSetter=function(a){return this.key=a,this},a.prototype.withValue=function(a){return this.value=a,this},a.prototype.toString=function(){return"Token("+this.text+")"},a}(),Jb=a.Lexer=function(){function a(){}return a.prototype.lex=function(a){for(var b=new Kb(a),c=[],d=b.scanToken();d;)c.push(d),d=b.scanToken();return c},a}(),Kb=a.Scanner=function(){function a(a){this.input=a,this.length=a.length,this.peek=0,this.index=-1,this.advance()}return a.prototype.scanToken=function(){for(;this.peek<=Sb;){if(++this.index>=this.length)return this.peek=Mb,null;this.peek=this.input.charCodeAt(this.index)}if(S(this.peek))return this.scanIdentifier();if(U(this.peek))return this.scanNumber(this.index);var a=this.index;switch(this.peek){case dc:return this.advance(),U(this.peek)?this.scanNumber(a):new Ib(a,".");case Zb:case $b:case Ec:case Gc:case qc:case sc:case bc:case fc:case gc:return this.scanCharacter(a,String.fromCharCode(this.peek));case Yb:case Ub:return this.scanString();case ac:case cc:case _b:case ec:case Wb:case tc:case kc:return this.scanOperator(a,String.fromCharCode(this.peek));case hc:case jc:case Tb:case ic:return this.scanComplexOperator(a,ic,String.fromCharCode(this.peek),"=");case Xb:return this.scanComplexOperator(a,Xb,"&","&");case Fc:return this.scanComplexOperator(a,Fc,"|","|");case Hc:for(;R(this.peek);)this.advance();return this.scanToken()}var b=String.fromCharCode(this.peek);return this.error("Unexpected character ["+b+"]"),null},a.prototype.scanCharacter=function(a,b){return Y(this.peek===b.charCodeAt(0)),this.advance(),new Ib(a,b)},a.prototype.scanOperator=function(a,b){return Y(this.peek===b.charCodeAt(0)),Y(Lb.indexOf(b)!==-1),this.advance(),new Ib(a,b).withOp(b)},a.prototype.scanComplexOperator=function(a,b,c,d){Y(this.peek===c.charCodeAt(0)),this.advance();var e=c;return this.peek===b&&(this.advance(),e+=d),this.peek===b&&(this.advance(),e+=d),Y(Lb.indexOf(e)!==-1),new Ib(a,e).withOp(e)},a.prototype.scanIdentifier=function(){Y(S(this.peek));var a=this.index;for(this.advance();T(this.peek);)this.advance();var b=this.input.substring(a,this.index),c=new Ib(a,b);return Lb.indexOf(b)!==-1?c.withOp(b):c.withGetterSetter(b),c},a.prototype.scanNumber=function(a){Y(U(this.peek));var b=this.index===a;for(this.advance();;){if(!U(this.peek))if(this.peek===dc)b=!1;else{if(!V(this.peek))break;this.advance(),W(this.peek)&&this.advance(),U(this.peek)||this.error("Invalid exponent",-1),b=!1}this.advance()}var c=this.input.substring(a,this.index),d=b?parseInt(c,10):parseFloat(c);return new Ib(a,c).withValue(d)},a.prototype.scanString=function(){Y(this.peek===Yb||this.peek===Ub);var a=this.index,b=this.peek;this.advance();for(var c=void 0,d=this.index;this.peek!==b;)if(this.peek===rc){c||(c=[]),c.push(this.input.substring(d,this.index)),this.advance();var e=void 0;if(this.peek===Bc){var f=this.input.substring(this.index+1,this.index+5);/[A-Z0-9]{4}/.test(f)||this.error("Invalid unicode escape [\\u"+f+"]"),e=parseInt(f,16);for(var g=0;g<5;++g)this.advance()}else e=X(this.peek),this.advance();c.push(String.fromCharCode(e)),d=this.index}else this.peek===Mb?this.error("Unterminated quote"):this.advance();var h=this.input.substring(d,this.index);this.advance();var i=this.input.substring(a,this.index),j=h;return null!==c&&void 0!==c&&(c.push(h),j=c.join("")),new Ib(a,i).withValue(j)},a.prototype.advance=function(){++this.index>=this.length?this.peek=Mb:this.peek=this.input.charCodeAt(this.index)},a.prototype.error=function(a){var b=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=this.index+b;throw new Error("Lexer Error: "+a+" at column "+c+" in expression ["+this.input+"]")},a}(),Lb=["undefined","null","true","false","+","-","*","/","%","^","=","==","===","!=","!==","<",">","<=",">=","&&","||","&","|","!","?"],Mb=0,Nb=9,Ob=10,Pb=11,Qb=12,Rb=13,Sb=32,Tb=33,Ub=34,Vb=36,Wb=37,Xb=38,Yb=39,Zb=40,$b=41,_b=42,ac=43,bc=44,cc=45,dc=46,ec=47,fc=58,gc=59,hc=60,ic=61,jc=62,kc=63,lc=48,mc=57,nc=65,oc=69,pc=90,qc=91,rc=92,sc=93,tc=94,uc=95,vc=97,wc=101,xc=102,yc=110,zc=114,Ac=116,Bc=117,Cc=118,Dc=122,Ec=123,Fc=124,Gc=125,Hc=160,Ic=new Ib((-1),null),Jc=a.Parser=function(){function a(){this.cache={},this.lexer=new Jb}return a.prototype.parse=function(a){return a=a||"",this.cache[a]||(this.cache[a]=new Kc(this.lexer,a).parseChain())},a}(),Kc=a.ParserImplementation=function(){function a(a,b){this.index=0,this.input=b,this.tokens=a.lex(b)}return a.prototype.parseChain=function(){for(var a=!1,b=[];this.optional(";");)a=!0;for(;this.index<this.tokens.length;){")"!==this.peek.text&&"}"!==this.peek.text&&"]"!==this.peek.text||this.error("Unconsumed token "+this.peek.text);var c=this.parseBindingBehavior();for(b.push(c);this.optional(";");)a=!0;a&&this.error("Multiple expressions are not allowed.")}return 1===b.length?b[0]:new nb(b)},a.prototype.parseBindingBehavior=function(){for(var a=this.parseValueConverter();this.optional("&");){var b=this.peek.text,c=[];for(this.advance();this.optional(":");)c.push(this.parseExpression());a=new ob(a,b,c)}return a},a.prototype.parseValueConverter=function(){for(var a=this.parseExpression();this.optional("|");){var b=this.peek.text,c=[];for(this.advance();this.optional(":");)c.push(this.parseExpression());a=new pb(a,b,c,[a].concat(c))}return a},a.prototype.parseExpression=function(){for(var a=this.peek.index,b=this.parseConditional();"="===this.peek.text;){if(!b.isAssignable){var c=this.index<this.tokens.length?this.peek.index:this.input.length,d=this.input.substring(a,c);this.error("Expression "+d+" is not assignable")}this.expect("="),b=new qb(b,this.parseConditional())}return b},a.prototype.parseConditional=function(){var a=this.peek.index,b=this.parseLogicalOr();if(this.optional("?")){var c=this.parseExpression();if(!this.optional(":")){var d=this.index<this.tokens.length?this.peek.index:this.input.length,e=this.input.substring(a,d);this.error("Conditional expression "+e+" requires all 3 expressions")}var f=this.parseExpression();b=new rb(b,c,f)}return b},a.prototype.parseLogicalOr=function(){for(var a=this.parseLogicalAnd();this.optional("||");)a=new zb("||",a,this.parseLogicalAnd());return a},a.prototype.parseLogicalAnd=function(){for(var a=this.parseEquality();this.optional("&&");)a=new zb("&&",a,this.parseEquality());return a},a.prototype.parseEquality=function(){for(var a=this.parseRelational();;)if(this.optional("=="))a=new zb("==",a,this.parseRelational());else if(this.optional("!="))a=new zb("!=",a,this.parseRelational());else if(this.optional("==="))a=new zb("===",a,this.parseRelational());else{if(!this.optional("!=="))return a;a=new zb("!==",a,this.parseRelational())}},a.prototype.parseRelational=function(){for(var a=this.parseAdditive();;)if(this.optional("<"))a=new zb("<",a,this.parseAdditive());else if(this.optional(">"))a=new zb(">",a,this.parseAdditive());else if(this.optional("<="))a=new zb("<=",a,this.parseAdditive());else{if(!this.optional(">="))return a;a=new zb(">=",a,this.parseAdditive())}},a.prototype.parseAdditive=function(){for(var a=this.parseMultiplicative();;)if(this.optional("+"))a=new zb("+",a,this.parseMultiplicative());else{if(!this.optional("-"))return a;a=new zb("-",a,this.parseMultiplicative())}},a.prototype.parseMultiplicative=function(){
+for(var a=this.parsePrefix();;)if(this.optional("*"))a=new zb("*",a,this.parsePrefix());else if(this.optional("%"))a=new zb("%",a,this.parsePrefix());else{if(!this.optional("/"))return a;a=new zb("/",a,this.parsePrefix())}},a.prototype.parsePrefix=function(){return this.optional("+")?this.parsePrefix():this.optional("-")?new zb("-",new Bb(0),this.parsePrefix()):this.optional("!")?new Ab("!",this.parsePrefix()):this.parseAccessOrCallMember()},a.prototype.parseAccessOrCallMember=function(){for(var a=this.parsePrimary();;)if(this.optional(".")){var b=this.peek.text;if(this.advance(),this.optional("(")){var c=this.parseExpressionList(")");this.expect(")"),a=a instanceof sb?new wb(b,c,a.ancestor):new xb(a,b,c)}else a=a instanceof sb?new tb(b,a.ancestor):new ub(a,b)}else if(this.optional("[")){var d=this.parseExpression();this.expect("]"),a=new vb(a,d)}else{if(!this.optional("("))return a;var e=this.parseExpressionList(")");this.expect(")"),a=new yb(a,e)}},a.prototype.parsePrimary=function(){if(this.optional("(")){var a=this.parseExpression();return this.expect(")"),a}if(this.optional("null"))return new Bb(null);if(this.optional("undefined"))return new Bb((void 0));if(this.optional("true"))return new Bb((!0));if(this.optional("false"))return new Bb((!1));if(this.optional("[")){var b=this.parseExpressionList("]");return this.expect("]"),new Db(b)}if("{"===this.peek.text)return this.parseObject();if(null!==this.peek.key&&void 0!==this.peek.key)return this.parseAccessOrCallScope();if(null!==this.peek.value&&void 0!==this.peek.value){var c=this.peek.value;return this.advance(),c instanceof String||"string"==typeof c?new Cb(c):new Bb(c)}if(this.index>=this.tokens.length)throw new Error("Unexpected end of expression: "+this.input);this.error("Unexpected token "+this.peek.text)},a.prototype.parseAccessOrCallScope=function(){var a=this.peek.key;if(this.advance(),"$this"===a)return new sb(0);for(var b=0;"$parent"===a;)if(b++,this.optional("."))a=this.peek.key,this.advance();else{if(this.peek===Ic||"("===this.peek.text||"["===this.peek.text||"}"===this.peek.text||","===this.peek.text)return new sb(b);this.error("Unexpected token "+this.peek.text)}if(this.optional("(")){var c=this.parseExpressionList(")");return this.expect(")"),new wb(a,c,b)}return new tb(a,b)},a.prototype.parseObject=function(){var a=[],b=[];if(this.expect("{"),"}"!==this.peek.text)do{var c=this.peek,d=c.value;a.push("string"==typeof d?d:c.text),this.advance(),!c.key||","!==this.peek.text&&"}"!==this.peek.text?(this.expect(":"),b.push(this.parseExpression())):(--this.index,b.push(this.parseAccessOrCallScope()))}while(this.optional(","));return this.expect("}"),new Eb(a,b)},a.prototype.parseExpressionList=function(a){var b=[];if(this.peek.text!==a)do b.push(this.parseExpression());while(this.optional(","));return b},a.prototype.optional=function(a){return this.peek.text===a&&(this.advance(),!0)},a.prototype.expect=function(a){this.peek.text===a?this.advance():this.error("Missing expected "+a)},a.prototype.advance=function(){this.index++},a.prototype.error=function(a){var b=this.index<this.tokens.length?"at column "+(this.tokens[this.index].index+1)+" in":"at the end of the expression";throw new Error("Parser Error: "+a+" "+b+" ["+this.input+"]")},Ka(a,[{key:"peek",get:function(){return this.index<this.tokens.length?this.tokens[this.index]:Ic}}]),a}(),Lc=Map.prototype;a.getMapObserver=Z;var Mc=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__map_observer__"in c||Reflect.defineProperty(c,"__map_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__map_observer__},b.create=function(a,c){var d=new b(a,c),e=Lc;return e.add===c.add&&e["delete"]===c["delete"]&&e.clear===c.clear||(e={add:c.add,"delete":c["delete"],clear:c.clear}),c.set=function(){var a=c.has(arguments[0]),b=a?"update":"add",f=c.get(arguments[0]),g=e.set.apply(c,arguments);return a&&f===c.get(arguments[0])||d.addChangeRecord({type:b,object:c,key:arguments[0],oldValue:f}),g},c["delete"]=function(){var a=c.has(arguments[0]),b=c.get(arguments[0]),f=e["delete"].apply(c,arguments);return a&&d.addChangeRecord({type:"delete",object:c,key:arguments[0],oldValue:b}),f},c.clear=function(){var a=e.clear.apply(c,arguments);return d.addChangeRecord({type:"clear",object:c}),a},d},b}(cb),Nc=function(){function a(a){this.eventName=a,this.count=0}return a.prototype.increment=function(){this.count++,1===this.count&&c.DOM.addEventListener(this.eventName,aa,!1)},a.prototype.decrement=function(){this.count--,0===this.count&&c.DOM.removeEventListener(this.eventName,aa)},a}(),Oc=function(){function a(){this.delegatedHandlers={}}return a.prototype.subscribe=function(a,b,c,d){var e=this;if(d){var f=function(){var d=e.delegatedHandlers,f=d[b]||(d[b]=new Nc(b)),g=a.delegatedCallbacks||(a.delegatedCallbacks={});return f.increment(),g[b]=c,{v:function(){f.decrement(),g[b]=null}}}();if("object"===("undefined"==typeof f?"undefined":Ja(f)))return f.v}return a.addEventListener(b,c,!1),function(){a.removeEventListener(b,c)}},a}(),Pc=a.EventManager=function(){function a(){this.elementHandlerLookup={},this.eventStrategyLookup={},this.registerElementConfig({tagName:"input",properties:{value:["change","input"],checked:["change","input"],files:["change","input"]}}),this.registerElementConfig({tagName:"textarea",properties:{value:["change","input"]}}),this.registerElementConfig({tagName:"select",properties:{value:["change"]}}),this.registerElementConfig({tagName:"content editable",properties:{value:["change","input","blur","keyup","paste"]}}),this.registerElementConfig({tagName:"scrollable element",properties:{scrollTop:["scroll"],scrollLeft:["scroll"]}}),this.defaultEventStrategy=new Oc}return a.prototype.registerElementConfig=function(a){var b=a.tagName.toLowerCase(),c=a.properties,d=void 0;this.elementHandlerLookup[b]={};for(d in c)c.hasOwnProperty(d)&&this.registerElementPropertyConfig(b,d,c[d])},a.prototype.registerElementPropertyConfig=function(a,b,c){this.elementHandlerLookup[a][b]=this.createElementHandler(c)},a.prototype.createElementHandler=function(a){return{subscribe:function(b,c){return a.forEach(function(a){b.addEventListener(a,c,!1)}),function(){a.forEach(function(a){b.removeEventListener(a,c)})}}}},a.prototype.registerElementHandler=function(a,b){this.elementHandlerLookup[a.toLowerCase()]=b},a.prototype.registerEventStrategy=function(a,b){this.eventStrategyLookup[a]=b},a.prototype.getElementHandler=function(a,b){var c=void 0,d=this.elementHandlerLookup;if(a.tagName){if(c=a.tagName.toLowerCase(),d[c]&&d[c][b])return d[c][b];if("textContent"===b||"innerHTML"===b)return d["content editable"].value;if("scrollTop"===b||"scrollLeft"===b)return d["scrollable element"][b]}return null},a.prototype.addEventListener=function(a,b,c,d){return(this.eventStrategyLookup[b]||this.defaultEventStrategy).subscribe(a,b,c,d)},a}(),Qc=a.DirtyChecker=function(){function a(){this.tracked=[],this.checkDelay=120}return a.prototype.addProperty=function(a){var b=this.tracked;b.push(a),1===b.length&&this.scheduleDirtyCheck()},a.prototype.removeProperty=function(a){var b=this.tracked;b.splice(b.indexOf(a),1)},a.prototype.scheduleDirtyCheck=function(){var a=this;setTimeout(function(){return a.check()},this.checkDelay)},a.prototype.check=function(){for(var a=this.tracked,b=a.length;b--;){var c=a[b];c.isDirty()&&c.call()}a.length&&this.scheduleDirtyCheck()},a}(),Rc=a.DirtyCheckProperty=(sa=y(),sa(ta=function(){function a(a,b,c){this.dirtyChecker=a,this.obj=b,this.propertyName=c}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.call=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.isDirty=function(){return this.oldValue!==this.obj[this.propertyName]},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.dirtyChecker.addProperty(this)),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&this.dirtyChecker.removeProperty(this)},a}())||ta),Sc=Ia.getLogger("property-observation"),Tc=a.propertyAccessor={getValue:function(a,b){return a[b]},setValue:function(a,b,c){b[c]=a}},Uc=a.PrimitiveObserver=function(){function a(a,b){this.doNotCache=!0,this.primitive=a,this.propertyName=b}return a.prototype.getValue=function(){return this.primitive[this.propertyName]},a.prototype.setValue=function(){var a=Ja(this.primitive);throw new Error("The "+this.propertyName+" property of a "+a+" ("+this.primitive+") cannot be assigned.")},a.prototype.subscribe=function(){},a.prototype.unsubscribe=function(){},a}(),Vc=a.SetterObserver=(ua=y(),ua(va=function(){function a(a,b,c){this.taskQueue=a,this.obj=b,this.propertyName=c,this.queued=!1,this.observing=!1}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.getterValue=function(){return this.currentValue},a.prototype.setterValue=function(a){var b=this.currentValue;b!==a&&(this.queued||(this.oldValue=b,this.queued=!0,this.taskQueue.queueMicroTask(this)),this.currentValue=a)},a.prototype.call=function(){var a=this.oldValue,b=this.currentValue;this.queued=!1,this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.observing||this.convertProperty(),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.convertProperty=function(){this.observing=!0,this.currentValue=this.obj[this.propertyName],this.setValue=this.setterValue,this.getValue=this.getterValue,Reflect.defineProperty(this.obj,this.propertyName,{configurable:!0,enumerable:!(this.propertyName in this.obj)||this.obj.propertyIsEnumerable(this.propertyName),get:this.getValue.bind(this),set:this.setValue.bind(this)})||Sc.warn("Cannot observe property '"+this.propertyName+"' of object",this.obj)},a}())||va),Wc=a.XLinkAttributeObserver=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.attributeName=c}return a.prototype.getValue=function(){return this.element.getAttributeNS("http://www.w3.org/1999/xlink",this.attributeName)},a.prototype.setValue=function(a){return this.element.setAttributeNS("http://www.w3.org/1999/xlink",this.attributeName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),Xc=a.dataAttributeAccessor={getValue:function(a,b){return a.getAttribute(b)},setValue:function(a,b,c){return b.setAttribute(c,a)}},Yc=a.DataAttributeObserver=function(){function a(a,b){this.element=a,this.propertyName=b}return a.prototype.getValue=function(){return this.element.getAttribute(this.propertyName)},a.prototype.setValue=function(a){return this.element.setAttribute(this.propertyName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),Zc=a.StyleObserver=function(){function a(a,b){this.element=a,this.propertyName=b,this.styles=null,this.version=0}return a.prototype.getValue=function(){return this.element.style.cssText},a.prototype._setProperty=function(a,b){var c="";null!==b&&void 0!==b&&"function"==typeof b.indexOf&&b.indexOf("!important")!==-1&&(c="important",b=b.replace("!important","")),this.element.style.setProperty(a,b,c)},a.prototype.setValue=function(a){var b=this.styles||{},c=void 0,d=this.version;if(null!==a&&void 0!==a)if(a instanceof Object)for(c in a)a.hasOwnProperty(c)&&(b[c]=d,this._setProperty(c,a[c]));else if(a.length)for(var e=/\s*([\w\-]+)\s*:\s*((?:(?:[\w\-]+\(\s*(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[\w\-]+\(\s*(?:^"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^\)]*)\),?|[^\)]*)\),?|"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^;]*),?\s*)+);?/g,f=void 0;null!==(f=e.exec(a));)c=f[1],c&&(b[c]=d,this._setProperty(c,f[2]));if(this.styles=b,this.version+=1,0!==d){d-=1;for(c in b)b.hasOwnProperty(c)&&b[c]===d&&this.element.style.removeProperty(c)}},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),$c=a.ValueAttributeObserver=(wa=y(),wa(xa=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.handler=c,"files"===b&&(this.setValue=function(){})}return a.prototype.getValue=function(){return this.element[this.propertyName]},a.prototype.setValue=function(a){a=void 0===a||null===a?"":a,this.element[this.propertyName]!==a&&(this.element[this.propertyName]=a,this.notify())},a.prototype.notify=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.disposeHandler=this.handler.subscribe(this.element,this.notify.bind(this))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a}())||xa),_c="CheckedObserver:array",ad="CheckedObserver:value",bd=a.CheckedObserver=(ya=y(),ya(za=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){this.value!==a&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(_c,this),this.arrayObserver=null),"checkbox"===this.element.type&&Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(_c,this)),this.oldValue=this.value,this.value=a,this.synchronizeElement(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeElement(),this.valueObserver||(this.valueObserver=this.element.__observers__.model||this.element.__observers__.value,this.valueObserver&&this.valueObserver.subscribe(ad,this))},a.prototype.synchronizeElement=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d="radio"===b.type,e=b.matcher||function(a,b){return a===b};b.checked=d&&!!e(a,c)||!d&&a===!0||!d&&Array.isArray(a)&&a.findIndex(function(a){return!!e(a,c)})!==-1},a.prototype.synchronizeValue=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d=void 0,e=b.matcher||function(a,b){return a===b};if("checkbox"===b.type){if(Array.isArray(a))return d=a.findIndex(function(a){return!!e(a,c)}),void(b.checked&&d===-1?a.push(c):b.checked||d===-1||a.splice(d,1));a=b.checked}else{if(!b.checked)return;a=c}this.oldValue=this.value,this.value=a,this.notify()},a.prototype.notify=function(){var a=this.oldValue,b=this.value;this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.disposeHandler=this.handler.subscribe(this.element,this.synchronizeValue.bind(this,!1))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a.prototype.unbind=function(){this.arrayObserver&&(this.arrayObserver.unsubscribe(_c,this),this.arrayObserver=null),this.valueObserver&&this.valueObserver.unsubscribe(ad,this)},a}())||za),cd="SelectValueObserver:array",dd=a.SelectValueObserver=(Aa=y(),Aa(Ba=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){if(null!==a&&void 0!==a&&this.element.multiple&&!Array.isArray(a))throw new Error("Only null or Array instances can be bound to a multi-select.");this.value!==a&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(cd,this),this.arrayObserver=null),Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(cd,this)),this.oldValue=this.value,this.value=a,this.synchronizeOptions(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeOptions()},a.prototype.synchronizeOptions=function(){var a=this.value,b=void 0,c=void 0;null===a||void 0===a?b=!0:Array.isArray(a)&&(c=!0);for(var d=this.element.options,e=d.length,f=this.element.matcher||function(a,b){return a===b},g=function(){var g=d.item(e);if(b)return g.selected=!1,"continue";var h=g.hasOwnProperty("model")?g.model:g.value;return c?(g.selected=a.findIndex(function(a){return!!f(h,a)})!==-1,"continue"):void(g.selected=!!f(h,a))};e--;){g()}},a.prototype.synchronizeValue=function(){for(var a=this,b=this.element.options,c=0,d=[],e=0,f=b.length;e<f;e++){var g=b.item(e);g.selected&&(d.push(g.hasOwnProperty("model")?g.model:g.value),c++)}if(this.element.multiple){if(Array.isArray(this.value)){var h=function(){for(var b=a.element.matcher||function(a,b){return a===b},c=0,e=function(){var e=a.value[c];d.findIndex(function(a){return b(e,a)})===-1?a.value.splice(c,1):c++};c<a.value.length;)e();c=0;for(var f=function(){var e=d[c];a.value.findIndex(function(a){return b(e,a)})===-1&&a.value.push(e),c++};c<d.length;)f();return{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":Ja(h)))return h.v}}else d=0===c?null:d[0];d!==this.value&&(this.oldValue=this.value,this.value=d,this.notify())},a.prototype.notify=function(){var a=this.oldValue,b=this.value;this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.disposeHandler=this.handler.subscribe(this.element,this.synchronizeValue.bind(this,!1))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a.prototype.bind=function(){var a=this;this.domObserver=c.DOM.createMutationObserver(function(){a.synchronizeOptions(),a.synchronizeValue()}),this.domObserver.observe(this.element,{childList:!0,subtree:!0})},a.prototype.unbind=function(){this.domObserver.disconnect(),this.domObserver=null,this.arrayObserver&&(this.arrayObserver.unsubscribe(cd,this),this.arrayObserver=null)},a}())||Ba),ed=a.ClassObserver=function(){function a(a){this.element=a,this.doNotCache=!0,this.value="",this.version=0}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){var b=this.nameIndex||{},c=this.version,d=void 0,e=void 0;if(null!==a&&void 0!==a&&a.length){d=a.split(/\s+/);for(var f=0,g=d.length;f<g;f++)e=d[f],""!==e&&(b[e]=c,this.element.classList.add(e))}if(this.value=a,this.nameIndex=b,this.version+=1,0!==c){c-=1;for(e in b)b.hasOwnProperty(e)&&b[e]===c&&this.element.classList.remove(e)}},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "class" property is not supported.')},a}(),fd=a.ComputedExpression=function(a){function b(b,c){var d=g(this,a.call(this));return d.name=b,d.dependencies=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){return a.bindingContext[this.name]},b.prototype.assign=function(a,b){a.bindingContext[this.name]=b},b.prototype.accept=function(a){throw new Error("not implemented")},b.prototype.connect=function(a,b){for(var c=this.dependencies,d=c.length;d--;)c[d].connect(a,b)},b}(mb),gd=a.elements={a:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","target","transform","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],altGlyph:["class","dx","dy","externalResourcesRequired","format","glyphRef","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],altGlyphDef:["id","xml:base","xml:lang","xml:space"],altGlyphItem:["id","xml:base","xml:lang","xml:space"],animate:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateColor:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateMotion:["accumulate","additive","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keyPoints","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","origin","path","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","rotate","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateTransform:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","type","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],circle:["class","cx","cy","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","r","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],clipPath:["class","clipPathUnits","externalResourcesRequired","id","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],"color-profile":["id","local","name","rendering-intent","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],cursor:["externalResourcesRequired","id","requiredExtensions","requiredFeatures","systemLanguage","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],defs:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],desc:["class","id","style","xml:base","xml:lang","xml:space"],ellipse:["class","cx","cy","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rx","ry","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],feBlend:["class","height","id","in","in2","mode","result","style","width","x","xml:base","xml:lang","xml:space","y"],feColorMatrix:["class","height","id","in","result","style","type","values","width","x","xml:base","xml:lang","xml:space","y"],feComponentTransfer:["class","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],feComposite:["class","height","id","in","in2","k1","k2","k3","k4","operator","result","style","width","x","xml:base","xml:lang","xml:space","y"],feConvolveMatrix:["bias","class","divisor","edgeMode","height","id","in","kernelMatrix","kernelUnitLength","order","preserveAlpha","result","style","targetX","targetY","width","x","xml:base","xml:lang","xml:space","y"],feDiffuseLighting:["class","diffuseConstant","height","id","in","kernelUnitLength","result","style","surfaceScale","width","x","xml:base","xml:lang","xml:space","y"],feDisplacementMap:["class","height","id","in","in2","result","scale","style","width","x","xChannelSelector","xml:base","xml:lang","xml:space","y","yChannelSelector"],feDistantLight:["azimuth","elevation","id","xml:base","xml:lang","xml:space"],feFlood:["class","height","id","result","style","width","x","xml:base","xml:lang","xml:space","y"],feFuncA:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncB:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncG:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncR:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feGaussianBlur:["class","height","id","in","result","stdDeviation","style","width","x","xml:base","xml:lang","xml:space","y"],feImage:["class","externalResourcesRequired","height","id","preserveAspectRatio","result","style","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],feMerge:["class","height","id","result","style","width","x","xml:base","xml:lang","xml:space","y"],feMergeNode:["id","xml:base","xml:lang","xml:space"],feMorphology:["class","height","id","in","operator","radius","result","style","width","x","xml:base","xml:lang","xml:space","y"],feOffset:["class","dx","dy","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],fePointLight:["id","x","xml:base","xml:lang","xml:space","y","z"],feSpecularLighting:["class","height","id","in","kernelUnitLength","result","specularConstant","specularExponent","style","surfaceScale","width","x","xml:base","xml:lang","xml:space","y"],feSpotLight:["id","limitingConeAngle","pointsAtX","pointsAtY","pointsAtZ","specularExponent","x","xml:base","xml:lang","xml:space","y","z"],feTile:["class","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],feTurbulence:["baseFrequency","class","height","id","numOctaves","result","seed","stitchTiles","style","type","width","x","xml:base","xml:lang","xml:space","y"],filter:["class","externalResourcesRequired","filterRes","filterUnits","height","id","primitiveUnits","style","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],font:["class","externalResourcesRequired","horiz-adv-x","horiz-origin-x","horiz-origin-y","id","style","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],"font-face":["accent-height","alphabetic","ascent","bbox","cap-height","descent","font-family","font-size","font-stretch","font-style","font-variant","font-weight","hanging","id","ideographic","mathematical","overline-position","overline-thickness","panose-1","slope","stemh","stemv","strikethrough-position","strikethrough-thickness","underline-position","underline-thickness","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","widths","x-height","xml:base","xml:lang","xml:space"],"font-face-format":["id","string","xml:base","xml:lang","xml:space"],"font-face-name":["id","name","xml:base","xml:lang","xml:space"],"font-face-src":["id","xml:base","xml:lang","xml:space"],"font-face-uri":["id","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],foreignObject:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xml:base","xml:lang","xml:space","y"],g:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],glyph:["arabic-form","class","d","glyph-name","horiz-adv-x","id","lang","orientation","style","unicode","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],glyphRef:["class","dx","dy","format","glyphRef","id","style","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],hkern:["g1","g2","id","k","u1","u2","xml:base","xml:lang","xml:space"],image:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],line:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","x1","x2","xml:base","xml:lang","xml:space","y1","y2"],linearGradient:["class","externalResourcesRequired","gradientTransform","gradientUnits","id","spreadMethod","style","x1","x2","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y1","y2"],marker:["class","externalResourcesRequired","id","markerHeight","markerUnits","markerWidth","orient","preserveAspectRatio","refX","refY","style","viewBox","xml:base","xml:lang","xml:space"],mask:["class","externalResourcesRequired","height","id","maskContentUnits","maskUnits","requiredExtensions","requiredFeatures","style","systemLanguage","width","x","xml:base","xml:lang","xml:space","y"],metadata:["id","xml:base","xml:lang","xml:space"],"missing-glyph":["class","d","horiz-adv-x","id","style","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],mpath:["externalResourcesRequired","id","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],path:["class","d","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","pathLength","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],pattern:["class","externalResourcesRequired","height","id","patternContentUnits","patternTransform","patternUnits","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","viewBox","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],polygon:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","points","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],polyline:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","points","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],
+radialGradient:["class","cx","cy","externalResourcesRequired","fx","fy","gradientTransform","gradientUnits","id","r","spreadMethod","style","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],rect:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rx","ry","style","systemLanguage","transform","width","x","xml:base","xml:lang","xml:space","y"],script:["externalResourcesRequired","id","type","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],set:["attributeName","attributeType","begin","dur","end","externalResourcesRequired","fill","id","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],stop:["class","id","offset","style","xml:base","xml:lang","xml:space"],style:["id","media","title","type","xml:base","xml:lang","xml:space"],svg:["baseProfile","class","contentScriptType","contentStyleType","externalResourcesRequired","height","id","onabort","onactivate","onclick","onerror","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onresize","onscroll","onunload","onzoom","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","version","viewBox","width","x","xml:base","xml:lang","xml:space","y","zoomAndPan"],"switch":["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],symbol:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","preserveAspectRatio","style","viewBox","xml:base","xml:lang","xml:space"],text:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","transform","x","xml:base","xml:lang","xml:space","y"],textPath:["class","externalResourcesRequired","id","lengthAdjust","method","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","spacing","startOffset","style","systemLanguage","textLength","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],title:["class","id","style","xml:base","xml:lang","xml:space"],tref:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","x","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],tspan:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","x","xml:base","xml:lang","xml:space","y"],use:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],view:["externalResourcesRequired","id","preserveAspectRatio","viewBox","viewTarget","xml:base","xml:lang","xml:space","zoomAndPan"],vkern:["g1","g2","id","k","u1","u2","xml:base","xml:lang","xml:space"]},hd=a.presentationElements={a:!0,altGlyph:!0,animate:!0,animateColor:!0,circle:!0,clipPath:!0,defs:!0,ellipse:!0,feBlend:!0,feColorMatrix:!0,feComponentTransfer:!0,feComposite:!0,feConvolveMatrix:!0,feDiffuseLighting:!0,feDisplacementMap:!0,feFlood:!0,feGaussianBlur:!0,feImage:!0,feMerge:!0,feMorphology:!0,feOffset:!0,feSpecularLighting:!0,feTile:!0,feTurbulence:!0,filter:!0,font:!0,foreignObject:!0,g:!0,glyph:!0,glyphRef:!0,image:!0,line:!0,linearGradient:!0,marker:!0,mask:!0,"missing-glyph":!0,path:!0,pattern:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,svg:!0,"switch":!0,symbol:!0,text:!0,textPath:!0,tref:!0,tspan:!0,use:!0},id=a.presentationAttributes={"alignment-baseline":!0,"baseline-shift":!0,"clip-path":!0,"clip-rule":!0,clip:!0,"color-interpolation-filters":!0,"color-interpolation":!0,"color-profile":!0,"color-rendering":!0,color:!0,cursor:!0,direction:!0,display:!0,"dominant-baseline":!0,"enable-background":!0,"fill-opacity":!0,"fill-rule":!0,fill:!0,filter:!0,"flood-color":!0,"flood-opacity":!0,"font-family":!0,"font-size-adjust":!0,"font-size":!0,"font-stretch":!0,"font-style":!0,"font-variant":!0,"font-weight":!0,"glyph-orientation-horizontal":!0,"glyph-orientation-vertical":!0,"image-rendering":!0,kerning:!0,"letter-spacing":!0,"lighting-color":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,mask:!0,opacity:!0,overflow:!0,"pointer-events":!0,"shape-rendering":!0,"stop-color":!0,"stop-opacity":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-miterlimit":!0,"stroke-opacity":!0,"stroke-width":!0,stroke:!0,"text-anchor":!0,"text-decoration":!0,"text-rendering":!0,"unicode-bidi":!0,visibility:!0,"word-spacing":!0,"writing-mode":!0},jd=a.SVGAnalyzer=function(){function a(){"altglyph"===fa("<svg><altGlyph /></svg>").firstElementChild.nodeName&&gd.altGlyph&&(gd.altglyph=gd.altGlyph,delete gd.altGlyph,gd.altglyphdef=gd.altGlyphDef,delete gd.altGlyphDef,gd.altglyphitem=gd.altGlyphItem,delete gd.altGlyphItem,gd.glyphref=gd.glyphRef,delete gd.glyphRef)}return a.prototype.isStandardSvgAttribute=function(a,b){return hd[a]&&id[b]||gd[a]&&gd[a].indexOf(b)!==-1},a}(),kd=a.ObserverLocator=(Da=Ca=function(){function a(a,b,c,d,e){this.taskQueue=a,this.eventManager=b,this.dirtyChecker=c,this.svgAnalyzer=d,this.parser=e,this.adapters=[],this.logger=Ia.getLogger("observer-locator")}return a.prototype.getObserver=function(a,b){var c=a.__observers__,d=void 0;return c&&b in c?c[b]:(d=this.createPropertyObserver(a,b),d.doNotCache||(void 0===c&&(c=this.getOrCreateObserversLookup(a)),c[b]=d),d)},a.prototype.getOrCreateObserversLookup=function(a){return a.__observers__||this.createObserversLookup(a)},a.prototype.createObserversLookup=function(a){var b={};return Reflect.defineProperty(a,"__observers__",{enumerable:!1,configurable:!1,writable:!1,value:b})||this.logger.warn("Cannot add observers to object",a),b},a.prototype.addAdapter=function(a){this.adapters.push(a)},a.prototype.getAdapterObserver=function(a,b,c){for(var d=0,e=this.adapters.length;d<e;d++){var f=this.adapters[d],g=f.getObserver(a,b,c);if(g)return g}return null},a.prototype.createPropertyObserver=function(a,b){var d=void 0,e=void 0,f=void 0;if(!(a instanceof Object))return new Uc(a,b);if(a instanceof c.DOM.Element){if("class"===b)return new ed(a);if("style"===b||"css"===b)return new Zc(a,b);if(e=this.eventManager.getElementHandler(a,b),"value"===b&&"select"===a.tagName.toLowerCase())return new dd(a,e,this);if("checked"===b&&"input"===a.tagName.toLowerCase())return new bd(a,e,this);if(e)return new $c(a,b,e);if(f=/^xlink:(.+)$/.exec(b))return new Wc(a,b,f[1]);if("role"===b&&(a instanceof c.DOM.Element||a instanceof c.DOM.SVGElement)||/^\w+:|^data-|^aria-/.test(b)||a instanceof c.DOM.SVGElement&&this.svgAnalyzer.isStandardSvgAttribute(a.nodeName,b))return new Yc(a,b)}if(d=Object.getPropertyDescriptor(a,b),ba(d))return ea(a,b,d,this);if(d){var g=d.get||d.set;if(g){if(g.getObserver)return g.getObserver(a);var h=this.getAdapterObserver(a,b,d);return h?h:new Rc(this.dirtyChecker,a,b)}}return a instanceof Array?"length"===b?this.getArrayObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):a instanceof Map?"size"===b?this.getMapObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):a instanceof Set?"size"===b?this.getSetObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):new Vc(this.taskQueue,a,b)},a.prototype.getAccessor=function(a,b){if(a instanceof c.DOM.Element){if("class"===b||"style"===b||"css"===b||"value"===b&&("input"===a.tagName.toLowerCase()||"select"===a.tagName.toLowerCase())||"checked"===b&&"input"===a.tagName.toLowerCase()||"model"===b&&"input"===a.tagName.toLowerCase()||/^xlink:.+$/.exec(b))return this.getObserver(a,b);if(/^\w+:|^data-|^aria-/.test(b)||a instanceof c.DOM.SVGElement&&this.svgAnalyzer.isStandardSvgAttribute(a.nodeName,b))return Xc}return Tc},a.prototype.getArrayObserver=function(a){return K(this.taskQueue,a)},a.prototype.getMapObserver=function(a){return Z(this.taskQueue,a)},a.prototype.getSetObserver=function(a){return ja(this.taskQueue,a)},a}(),Ca.inject=[d.TaskQueue,Pc,Qc,jd,Jc],Da),ld=(a.ObjectObservationAdapter=function(){function a(){}return a.prototype.getObserver=function(a,b,c){throw new Error("BindingAdapters must implement getObserver(object, propertyName).")},a}(),a.BindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.sourceExpression=c,this.mode=d,this.lookupFunctions=e,this.attribute=f,this.discrete=!1}return a.prototype.createBinding=function(a){return new nd(this.observerLocator,this.sourceExpression,a,this.targetProperty,this.mode,this.lookupFunctions)},a}()),md="Binding:target",nd=a.Binding=(Ea=q(),Ea(Fa=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.sourceExpression=b,this.target=c,this.targetProperty=d,this.mode=e,this.lookupFunctions=f}return a.prototype.updateTarget=function(a){this.targetObserver.setValue(a,this.target,this.targetProperty)},a.prototype.updateSource=function(a){this.sourceExpression.assign(this.source,a,this.lookupFunctions)},a.prototype.call=function(a,b,c){if(this.isBound){if(a===Ma)return c=this.targetObserver.getValue(this.target,this.targetProperty),b=this.sourceExpression.evaluate(this.source,this.lookupFunctions),b!==c&&this.updateTarget(b),void(this.mode!==Hb.oneTime&&(this._version++,this.sourceExpression.connect(this,this.source),this.unobserve(!1)));if(a===md)return void(b!==this.sourceExpression.evaluate(this.source,this.lookupFunctions)&&this.updateSource(b));throw new Error("Unexpected call context "+a)}},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions);var b=this.mode;if(!this.targetObserver){var c=b===Hb.twoWay?"getObserver":"getAccessor";this.targetObserver=this.observerLocator[c](this.target,this.targetProperty)}"bind"in this.targetObserver&&this.targetObserver.bind();var d=this.sourceExpression.evaluate(a,this.lookupFunctions);this.updateTarget(d),b===Hb.oneWay?s(this):b===Hb.twoWay&&(this.sourceExpression.connect(this,a),this.targetObserver.subscribe(md,this))},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,"unbind"in this.targetObserver&&this.targetObserver.unbind(),this.targetObserver.unsubscribe&&this.targetObserver.unsubscribe(md,this),this.unobserve(!0))},a.prototype.connect=function(a){if(this.isBound){if(a){var b=this.sourceExpression.evaluate(this.source,this.lookupFunctions);this.updateTarget(b)}this.sourceExpression.connect(this,this.source)}},a}())||Fa),od=(a.CallExpression=function(){function a(a,b,c,d){this.observerLocator=a,this.targetProperty=b,this.sourceExpression=c,this.lookupFunctions=d}return a.prototype.createBinding=function(a){return new od(this.observerLocator,this.sourceExpression,a,this.targetProperty,this.lookupFunctions)},a}(),a.Call=function(){function a(a,b,c,d,e){this.sourceExpression=b,this.target=c,this.targetProperty=a.getObserver(c,d),this.lookupFunctions=e}return a.prototype.callSource=function(a){var b=this.source.overrideContext;Object.assign(b,a),b.$event=a;var c=!0,d=this.sourceExpression.evaluate(this.source,this.lookupFunctions,c);delete b.$event;for(var e in a)delete b[e];return d},a.prototype.bind=function(a){var b=this;if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this.targetProperty.setValue(function(a){return b.callSource(a)})},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,this.targetProperty.setValue(null))},a}()),pd=a.ValueConverterResource=function(){function a(a){this.name=a}return a.convention=function(b){if(b.endsWith("ValueConverter"))return new a(i(b.substring(0,b.length-14)))},a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerValueConverter(b||this.name,this.instance)},a.prototype.load=function(a,b){},a}(),qd=a.BindingBehaviorResource=function(){function a(a){this.name=a}return a.convention=function(b){if(b.endsWith("BindingBehavior"))return new a(i(b.substring(0,b.length-15)))},a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerBindingBehavior(b||this.name,this.instance)},a.prototype.load=function(a,b){},a}(),rd=(a.ListenerExpression=function(){function a(a,b,c,d,e,f){this.eventManager=a,this.targetEvent=b,this.sourceExpression=c,this.delegate=d,this.discrete=!0,this.preventDefault=e,this.lookupFunctions=f}return a.prototype.createBinding=function(a){return new rd(this.eventManager,this.targetEvent,this.delegate,this.sourceExpression,a,this.preventDefault,this.lookupFunctions)},a}(),a.Listener=function(){function a(a,b,c,d,e,f,g){this.eventManager=a,this.targetEvent=b,this.delegate=c,this.sourceExpression=d,this.target=e,this.preventDefault=f,this.lookupFunctions=g}return a.prototype.callSource=function(a){var b=this.source.overrideContext;b.$event=a;var c=!0,d=this.sourceExpression.evaluate(this.source,this.lookupFunctions,c);return delete b.$event,d!==!0&&this.preventDefault&&a.preventDefault(),d},a.prototype.bind=function(a){var b=this;if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this._disposeListener=this.eventManager.addEventListener(this.target,this.targetEvent,function(a){return b.callSource(a)},this.delegate)},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,this._disposeListener(),this._disposeListener=null)},a}()),sd=(a.NameExpression=function(){function a(a,b,c){this.sourceExpression=a,this.apiName=b,this.lookupFunctions=c,this.discrete=!0}return a.prototype.createBinding=function(b){return new sd(this.sourceExpression,a.locateAPI(b,this.apiName),this.lookupFunctions)},a.locateAPI=function(a,b){switch(b){case"element":return a;case"controller":return ia(a).controller;case"view-model":return ia(a).controller.viewModel;case"view":return ia(a).controller.view;default:var c=ia(a)[b];if(void 0===c)throw new Error('Attempted to reference "'+b+"\", but it was not found amongst the target's API.");return c.viewModel}},a}(),function(){function a(a,b,c){this.sourceExpression=a,this.target=b,this.lookupFunctions=c}return a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this.sourceExpression.assign(this.source,this.target,this.lookupFunctions)},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.evaluate(this.source,this.lookupFunctions)===this.target&&this.sourceExpression.assign(this.source,null,this.lookupFunctions),this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null)},a}()),td={bindingBehaviors:function(a){return null},valueConverters:function(a){return null}},ud=(a.BindingEngine=(Ha=Ga=function(){function a(a,b){this.observerLocator=a,this.parser=b}return a.prototype.createBindingExpression=function(a,b){var c=arguments.length<=2||void 0===arguments[2]?Hb.oneWay:arguments[2],d=arguments.length<=3||void 0===arguments[3]?td:arguments[3];return new ld(this.observerLocator,a,this.parser.parse(b),c,d)},a.prototype.propertyObserver=function(a,b){var c=this;return{subscribe:function(d){var e=c.observerLocator.getObserver(a,b);return e.subscribe(d),{dispose:function(){return e.unsubscribe(d)}}}}},a.prototype.collectionObserver=function(a){var b=this;return{subscribe:function(c){var d=void 0;if(a instanceof Array)d=b.observerLocator.getArrayObserver(a);else if(a instanceof Map)d=b.observerLocator.getMapObserver(a);else{if(!(a instanceof Set))throw new Error("collection must be an instance of Array, Map or Set.");d=b.observerLocator.getSetObserver(a)}return d.subscribe(c),{dispose:function(){return d.unsubscribe(c)}}}}},a.prototype.expressionObserver=function(a,b){var c={bindingContext:a,overrideContext:j(a)};return new Ya(c,this.parser.parse(b),this.observerLocator,td)},a.prototype.parseExpression=function(a){return this.parser.parse(a)},a.prototype.registerAdapter=function(a){this.observerLocator.addAdapter(a)},a}(),Ga.inject=[kd,Jc],Ha),Set.prototype);a.getSetObserver=ja;var vd=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__set_observer__"in c||Reflect.defineProperty(c,"__set_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__set_observer__},b.create=function(a,c){var d=new b(a,c),e=ud;return e.add===c.add&&e["delete"]===c["delete"]&&e.clear===c.clear||(e={add:c.add,"delete":c["delete"],clear:c.clear}),c.add=function(){var a="add",b=c.size,f=e.add.apply(c,arguments),g=c.size===b;return g||d.addChangeRecord({type:a,object:c,value:Array.from(c).pop()}),f},c["delete"]=function(){var a=c.has(arguments[0]),b=e["delete"].apply(c,arguments);return a&&d.addChangeRecord({type:"delete",object:c,value:arguments[0]}),b},c.clear=function(){var a=e.clear.apply(c,arguments);return d.addChangeRecord({type:"clear",object:c}),a},d},b}(cb)})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.0.9.js",["npm:aurelia-binding@1.0.9/aurelia-binding"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-task-queue@1.1.0/aurelia-task-queue.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(a){var c=1,d=b.DOM.createMutationObserver(a),e=b.DOM.createTextNode("");return d.observe(e,{characterData:!0}),function(){c=-c,e.data=c}}function d(a){return function(){function b(){clearTimeout(c),clearInterval(d),a()}var c=setTimeout(b,0),d=setInterval(b,50)}}function e(a,b){"onError"in b?b.onError(a):f?setImmediate(function(){throw a}):setTimeout(function(){throw a},0)}Object.defineProperty(a,"__esModule",{value:!0}),a.TaskQueue=void 0;var f="function"==typeof setImmediate;a.TaskQueue=function(){function a(){var a=this;this.flushing=!1,this.microTaskQueue=[],this.microTaskQueueCapacity=1024,this.taskQueue=[],b.FEATURE.mutationObserver?this.requestFlushMicroTaskQueue=c(function(){return a.flushMicroTaskQueue()}):this.requestFlushMicroTaskQueue=d(function(){return a.flushMicroTaskQueue()}),this.requestFlushTaskQueue=d(function(){return a.flushTaskQueue()})}return a.prototype.queueMicroTask=function(a){this.microTaskQueue.length<1&&this.requestFlushMicroTaskQueue(),this.microTaskQueue.push(a)},a.prototype.queueTask=function(a){this.taskQueue.length<1&&this.requestFlushTaskQueue(),this.taskQueue.push(a)},a.prototype.flushTaskQueue=function(){var a=this.taskQueue,b=0,c=void 0;this.taskQueue=[];try{for(this.flushing=!0;b<a.length;)c=a[b],c.call(),b++}catch(d){e(d,c)}finally{this.flushing=!1}},a.prototype.flushMicroTaskQueue=function(){var a=this.microTaskQueue,b=this.microTaskQueueCapacity,c=0,d=void 0;try{for(this.flushing=!0;c<a.length;)if(d=a[c],d.call(),c++,c>b){for(var f=0,g=a.length-c;f<g;f++)a[f]=a[f+c];a.length-=c,c=0}}catch(h){e(h,d)}finally{this.flushing=!1}a.length=0},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-task-queue@1.1.0.js",["npm:aurelia-task-queue@1.1.0/aurelia-task-queue"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating@1.1.1/aurelia-templating.js",["exports","aurelia-logging","aurelia-metadata","aurelia-pal","aurelia-path","aurelia-loader","aurelia-dependency-injection","aurelia-binding","aurelia-task-queue"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function k(a){return"-"+a.toLowerCase()}function l(a){return(a.charAt(0).toLowerCase()+a.slice(1)).replace(Ra,k)}function m(a){return!(a.auInterpolationTarget||/[^\t\n\r ]/.test(a.textContent))}function n(a){var b=function(a){c.metadata.define(c.metadata.resource,new Sa,a)};return a?b(a):b}function o(a){throw new Error("BindingLanguage must implement "+a+"().")}function p(a,b,c,d){if(b){var e=a[b];if(e){if(e!==c)throw new Error("Attempted to register "+d+" when one with the same name already exists. Name: "+b+".")}else a[b]=c}}function q(a){if(void 0!==a.animatableElement)return a.animatableElement;for(var b=a.firstChild;b&&1!==b.nodeType;)b=b.nextSibling;return b&&1===b.nodeType?a.animatableElement=b.classList.contains("au-animate")?b:null:a.animatableElement=null}function r(a){if(a===d.DOM.Element)return this.element;if(a===ob){if(this.boundViewFactory)return this.boundViewFactory;var b=this.instruction.viewFactory,c=this.partReplacements;return c&&(b=c[b.part]||b),this.boundViewFactory=new ob(this,b,c),this.boundViewFactory}return a===lb?(void 0===this.viewSlot&&(this.viewSlot=new lb(this.element,this.instruction.anchorIsContainer),this.element.isContentProjectionSource=this.instruction.lifting,this.children.push(this.viewSlot)),this.viewSlot):a===Ta?this.elementEvents||(this.elementEvents=new Ta(this.element)):a===Qa?this.compositionTransaction||(this.compositionTransaction=this.parent.get(a)):a===jb?this.viewResources:a===Xa?this.instruction:this.superGet(a)}function s(a,b,c,d,e,f){var g=a.createChild(),h=void 0,i=void 0;for(g.element=b,g.instruction=c,g.children=d,g.viewResources=f,g.partReplacements=e,h=c.providers,i=h.length;i--;)g._resolvers.set(h[i],nb);return g.superGet=g.get,g.get=r,g}function t(a,b){var c=d.DOM.createComment("anchor");if(b){var e=a.firstChild;e&&"AU-CONTENT"===e.tagName&&(c.contentElement=e),c.hasAttribute=function(b){return a.hasAttribute(b)},c.getAttribute=function(b){return a.getAttribute(b)},c.setAttribute=function(b,c){a.setAttribute(b,c)}}return d.DOM.replaceNode(c,a),c}function u(a,b,c,e,f,g,h,i,j){var k=c.behaviorInstructions,l=c.expressions,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;if(c.contentExpression)return f.push(c.contentExpression.createBinding(b.nextSibling)),b.nextSibling.auInterpolationTarget=!0,void b.parentNode.removeChild(b);if(c.shadowSlot){var r=d.DOM.createComment("slot"),u=void 0;return u=c.slotDestination?new gb(r,c.slotName,c.slotDestination,c.slotFallbackFactory):new hb(r,c.slotName,c.slotFallbackFactory),d.DOM.replaceNode(r,b),h[c.slotName]=u,void e.push(u)}if(k.length)for(c.anchorIsContainer||(b=t(b,c.elementInstruction)),a[c.injectorId]=m=s(a[c.parentInjectorId],b,c,g,i,j),n=0,o=k.length;n<o;++n)p=k[n],q=p.type.create(m,p,b,f),e.push(q);for(n=0,o=l.length;n<o;++n)f.push(l[n].createBinding(b))}function v(a,b){var c=a.split(";"),d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;for(b=b||{},e=0;e<c.length;e++)f=c[e],d=f.indexOf(":"),g=f.substring(0,d).trim(),h=f.substring(d+1).trim(),b[g]=h;return b}function w(a){var b="";for(var c in a)b+=c+":"+a[c]+";";return b}function x(a,b,c,d,e,f){var g=c.behaviorInstructions,h=c.expressions,i=c.providers,j=c.values,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0;for(k=i.length;k--;)a._resolvers.set(i[k],nb);for(var p in j)if(o=b.getAttribute(p)){if("class"===p)b.setAttribute("class",o+" "+j[p]);else if("style"===p){var q=v(j[p]);v(o,q),b.setAttribute("style",w(q))}}else b.setAttribute(p,j[p]);if(g.length)for(k=0,l=g.length;k<l;++k)m=g[k],n=m.type.create(a,m,b,e),n.contentView&&f.push(n.contentView),d.push(n);for(k=0,l=h.length;k<l;++k)e.push(h[k].createBinding(b))}function y(){return++qb}function z(a,b){var c=a.type,d=a.attrName,e=a.attributes,f=void 0,g=void 0,h=void 0,i=b.mapAttribute(d);i&&d in e&&i!==d&&(e[i]=e[d],delete e[d]);for(g in e)h=e[g],null!==h&&"object"===("undefined"==typeof h?"undefined":Ma(h))&&(f=c.attributes[g],void 0!==f?h.targetProperty=f.name:h.targetProperty=g)}function A(){return(++rb).toString()}function B(a){var b=a.getAttribute("class"),c=A();return a.setAttribute("class",b?b+=" au-target":"au-target"),a.setAttribute("au-target-id",c),c}function C(a,b,c,e,f){var g=d.DOM.createElement("au-shadow-slot");d.DOM.replaceNode(g,c);var h=B(g),i=Xa.shadowSlot(f);if(i.slotName=c.getAttribute("name")||ib.defaultSlotKey,i.slotDestination=c.getAttribute("slot"),c.innerHTML.trim()){for(var j=d.DOM.createDocumentFragment(),k=void 0;k=c.firstChild;)j.appendChild(k);i.slotFallbackFactory=a.compile(j,b)}return e[h]=i,g}function D(a,b){return b instanceof f.TemplateRegistryEntry?Promise.resolve(b):a.loadTemplate(b)}function E(a,b,c){var d=b.__observers__;return void 0===d&&(a.isInitialized||a.initialize(g.Container.instance||new g.Container,b.constructor),d=a.observerLocator.getOrCreateObserversLookup(b),a._ensurePropertiesDefined(b,d)),d[c]}function F(){return++Cb}function G(){return!0}function H(){}function I(a,b){return function(d,e,f){var g="string"==typeof e?d.constructor:d,h=c.metadata.getOrCreateOwn(c.metadata.resource,Db,g);"string"==typeof a&&(a={selector:a,name:e}),f&&(f.writable=!0),a.all=b,h.addChildBinding(new Eb(a))}}function J(a){return I(a,!0)}function K(a){return I(a,!1)}function L(a,b,c){var d=a.get(b);d||(d=[],a.set(b,d)),d.push(c)}function M(a,b){for(var c=b.binders,d=c.length,e=new Map,f=0,g=a.length;f<g;++f){for(var h=a[f],i=h.addedNodes,j=h.removedNodes,k=0,l=j.length;k<l;++k){var m=j[k];if(1===m.nodeType)for(var n=0;n<d;++n){var o=c[n];o.onRemove(m)&&L(e,o,h)}}for(var p=0,q=i.length;p<q;++p){var r=i[p];if(1===r.nodeType)for(var s=0;s<d;++s){var t=c[s];t.onAdd(r)&&L(e,t,h)}}}e.forEach(function(a,b){null!==b.changeHandler&&b.viewModel[b.changeHandler](a)})}function N(a){return a.skipActivation||"function"!=typeof a.viewModel.activate?Promise.resolve():a.viewModel.activate(a.model)||Promise.resolve()}function O(a,b){if(/[A-Z]/.test(a)){var c=l(a);return Ka.getLogger("templating").warn("'"+a+"' is not a valid "+b+" name and has been converted to '"+c+"'. Upper-case letters are not allowed because the DOM is not case-sensitive."),c}return a}function P(a){return function(b){c.metadata.define(c.metadata.resource,a,b)}}function Q(a){return function(b){if(a instanceof Db)c.metadata.define(c.metadata.resource,a,b);else{var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);Object.assign(d,a)}}}function R(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.elementName=O(a,"custom element")}}function S(a,b){return function(d){var e=c.metadata.getOrCreateOwn(c.metadata.resource,Db,d);e.attributeName=O(a,"custom attribute"),e.attributeDefaultBindingMode=b}}function T(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.liftsContent=!0};return a?b(a):b}function U(a,b,d){var e=function(b,d,e){var f=d?b.constructor:b,g=c.metadata.getOrCreateOwn(c.metadata.resource,Db,f),h=void 0;return d&&(a=a||{},a.name=d),h=new Bb(a),h.registerWith(f,g,e)};if(!a)return e;if(b){var f=a;return a=null,e(f,b,d)}return e}function V(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.hasDynamicOptions=!0};return a?b(a):b}function W(a){var b="function"!=typeof a&&a?a:Jb,d=function(a){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);d.targetShadowDOM=!0,d.shadowDOMOptions=b};return"function"==typeof a?d(a):d}function X(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.processAttributes=function(b,c,d,e,f){try{a(b,c,d,e,f)}catch(g){Ka.getLogger("templating").error(g)}}}}function Y(){return!1}function Z(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.processContent=a?function(b,c,d,e){try{return a(b,c,d,e)}catch(f){return Ka.getLogger("templating").error(f),!1}}:Y}}function $(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.containerless=!0};return a?b(a):b}function _(a){return function(b){c.metadata.define(cb.viewStrategyMetadataKey,a,b)}}function aa(a){return _(new Za(a))}function ba(a,b,c){return _(new bb(a,b,c))}function ca(a,b){var d=void 0,e=void 0;"function"==typeof a?d=a:(e=a,d=void 0);var f=function(a){c.metadata.define(cb.viewStrategyMetadataKey,new _a(e,b),a)};return d?f(d):f}function da(a){var b=function(a){c.metadata.define(c.metadata.resource,new Ib,a)};return a?b(a):b}function ea(){return function(a){c.metadata.define(yb.viewModelRequireMetadataKey,resources,a)}}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingEngine=a.ElementConfigResource=a.CompositionEngine=a.HtmlBehaviorResource=a.BindableProperty=a.BehaviorPropertyObserver=a.Controller=a.ViewEngine=a.ModuleAnalyzer=a.ResourceDescription=a.ResourceModule=a.ViewCompiler=a.ViewFactory=a.BoundViewFactory=a.ViewSlot=a.View=a.ViewResources=a.ShadowDOM=a.ShadowSlot=a.PassThroughSlot=a.SlotCustomAttribute=a.BindingLanguage=a.ViewLocator=a.InlineViewStrategy=a.TemplateRegistryViewStrategy=a.NoViewStrategy=a.ConventionalViewStrategy=a.RelativeViewStrategy=a.viewStrategy=a.TargetInstruction=a.BehaviorInstruction=a.ViewCompileInstruction=a.ResourceLoadContext=a.ElementEvents=a.ViewEngineHooksResource=a.CompositionTransaction=a.CompositionTransactionOwnershipToken=a.CompositionTransactionNotifier=a.Animator=a.animationEvent=void 0,a._hyphenate=l,a._isAllWhitespace=m,a.viewEngineHooks=n,a.children=J,a.child=K,a.resource=P,a.behavior=Q,a.customElement=R,a.customAttribute=S,a.templateController=T,a.bindable=U,a.dynamicOptions=V,a.useShadowDOM=W,a.processAttributes=X,a.processContent=Z,a.containerless=$,a.useViewStrategy=_,a.useView=aa,a.inlineView=ba,a.noView=ca,a.elementConfig=da,a.viewResources=ea;var fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Ka=j(b),La=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},Na=(a.animationEvent={enterBegin:"animation:enter:begin",enterActive:"animation:enter:active",enterDone:"animation:enter:done",enterTimeout:"animation:enter:timeout",leaveBegin:"animation:leave:begin",leaveActive:"animation:leave:active",leaveDone:"animation:leave:done",leaveTimeout:"animation:leave:timeout",staggerNext:"animation:stagger:next",removeClassBegin:"animation:remove-class:begin",
+removeClassActive:"animation:remove-class:active",removeClassDone:"animation:remove-class:done",removeClassTimeout:"animation:remove-class:timeout",addClassBegin:"animation:add-class:begin",addClassActive:"animation:add-class:active",addClassDone:"animation:add-class:done",addClassTimeout:"animation:add-class:timeout",animateBegin:"animation:animate:begin",animateActive:"animation:animate:active",animateDone:"animation:animate:done",animateTimeout:"animation:animate:timeout",sequenceBegin:"animation:sequence:begin",sequenceDone:"animation:sequence:done"},a.Animator=function(){function a(){}return a.prototype.enter=function(a){return Promise.resolve(!1)},a.prototype.leave=function(a){return Promise.resolve(!1)},a.prototype.removeClass=function(a,b){return a.classList.remove(b),Promise.resolve(!1)},a.prototype.addClass=function(a,b){return a.classList.add(b),Promise.resolve(!1)},a.prototype.animate=function(a,b){return Promise.resolve(!1)},a.prototype.runSequence=function(a){},a.prototype.registerEffect=function(a,b){},a.prototype.unregisterEffect=function(a){},a}()),Oa=a.CompositionTransactionNotifier=function(){function a(a){this.owner=a,this.owner._compositionCount++}return a.prototype.done=function(){this.owner._compositionCount--,this.owner._tryCompleteTransaction()},a}(),Pa=a.CompositionTransactionOwnershipToken=function(){function a(a){this.owner=a,this.owner._ownershipToken=this,this.thenable=this._createThenable()}return a.prototype.waitForCompositionComplete=function(){return this.owner._tryCompleteTransaction(),this.thenable},a.prototype.resolve=function(){this._resolveCallback()},a.prototype._createThenable=function(){var a=this;return new Promise(function(b,c){a._resolveCallback=b})},a}(),Qa=a.CompositionTransaction=function(){function a(){this._ownershipToken=null,this._compositionCount=0}return a.prototype.tryCapture=function(){return null===this._ownershipToken?new Pa(this):null},a.prototype.enlist=function(){return new Oa(this)},a.prototype._tryCompleteTransaction=function(){if(this._compositionCount<=0&&(this._compositionCount=0,null!==this._ownershipToken)){var a=this._ownershipToken;this._ownershipToken=null,a.resolve()}},a}(),Ra=/([A-Z])/g,Sa=a.ViewEngineHooksResource=function(){function a(){}return a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerViewEngineHooks(this.instance)},a.prototype.load=function(a,b){},a.convention=function(b){if(b.endsWith("ViewEngineHooks"))return new a},a}(),Ta=a.ElementEvents=function(){function a(a){this.element=a,this.subscriptions={}}return a.prototype._enqueueHandler=function(a){this.subscriptions[a.eventName]=this.subscriptions[a.eventName]||[],this.subscriptions[a.eventName].push(a)},a.prototype._dequeueHandler=function(a){var b=void 0,c=this.subscriptions[a.eventName];return c&&(b=c.indexOf(a),b>-1&&c.splice(b,1)),a},a.prototype.publish=function(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=arguments.length<=2||void 0===arguments[2]||arguments[2],e=arguments.length<=3||void 0===arguments[3]||arguments[3],f=d.DOM.createCustomEvent(a,{cancelable:e,bubbles:c,detail:b});this.element.dispatchEvent(f)},a.prototype.subscribe=function(a,b){var c=this,d=arguments.length<=2||void 0===arguments[2]||arguments[2];if(b&&"function"==typeof b)return b.eventName=a,b.handler=b,b.bubbles=d,b.dispose=function(){c.element.removeEventListener(a,b,d),c._dequeueHandler(b)},this.element.addEventListener(a,b,d),this._enqueueHandler(b),b},a.prototype.subscribeOnce=function(a,b){var c=this,d=arguments.length<=2||void 0===arguments[2]||arguments[2];if(b&&"function"==typeof b){var e=function(){var e=function f(a){b(a),f.dispose()};return{v:c.subscribe(a,e,d)}}();if("object"===("undefined"==typeof e?"undefined":Ma(e)))return e.v}},a.prototype.dispose=function(a){if(a&&"string"==typeof a){var b=this.subscriptions[a];if(b)for(;b.length;){var c=b.pop();c&&c.dispose()}}else this.disposeAll()},a.prototype.disposeAll=function(){for(var a in this.subscriptions)this.dispose(a)},a}(),Ua=a.ResourceLoadContext=function(){function a(){this.dependencies={}}return a.prototype.addDependency=function(a){this.dependencies[a]=!0},a.prototype.hasDependency=function(a){return a in this.dependencies},a}(),Va=a.ViewCompileInstruction=function(){var a=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];this.targetShadowDOM=a,this.compileSurrogate=b,this.associatedModuleId=null};Va.normal=new Va;var Wa=a.BehaviorInstruction=function(){function a(){this.initiatedByBehavior=!1,this.enhance=!1,this.partReplacements=null,this.viewFactory=null,this.originalAttrName=null,this.skipContentProcessing=!1,this.contentFactory=null,this.viewModel=null,this.anchorIsContainer=!1,this.host=null,this.attributes=null,this.type=null,this.attrName=null,this.inheritBindingContext=!1}return a.enhance=function(){var b=new a;return b.enhance=!0,b},a.unitTest=function(b,c){var d=new a;return d.type=b,d.attributes=c||{},d},a.element=function(b,c){var d=new a;return d.type=c,d.attributes={},d.anchorIsContainer=!(b.hasAttribute("containerless")||c.containerless),d.initiatedByBehavior=!0,d},a.attribute=function(b,c){var d=new a;return d.attrName=b,d.type=c||null,d.attributes={},d},a.dynamic=function(b,c,d){var e=new a;return e.host=b,e.viewModel=c,e.viewFactory=d,e.inheritBindingContext=!0,e},a}();Wa.normal=new Wa;var Xa=a.TargetInstruction=(ga=fa=function(){function a(){this.injectorId=null,this.parentInjectorId=null,this.shadowSlot=!1,this.slotName=null,this.slotFallbackFactory=null,this.contentExpression=null,this.expressions=null,this.behaviorInstructions=null,this.providers=null,this.viewFactory=null,this.anchorIsContainer=!1,this.elementInstruction=null,this.lifting=!1,this.values=null}return a.shadowSlot=function(b){var c=new a;return c.parentInjectorId=b,c.shadowSlot=!0,c},a.contentExpression=function(b){var c=new a;return c.contentExpression=b,c},a.lifting=function(b,c){var d=new a;return d.parentInjectorId=b,d.expressions=a.noExpressions,d.behaviorInstructions=[c],d.viewFactory=c.viewFactory,d.providers=[c.type.target],d.lifting=!0,d},a.normal=function(b,c,d,e,f,g){var h=new a;return h.injectorId=b,h.parentInjectorId=c,h.providers=d,h.behaviorInstructions=e,h.expressions=f,h.anchorIsContainer=!g||g.anchorIsContainer,h.elementInstruction=g,h},a.surrogate=function(b,c,d,e){var f=new a;return f.expressions=d,f.behaviorInstructions=c,f.providers=b,f.values=e,f},a}(),fa.noExpressions=Object.freeze([]),ga),Ya=a.viewStrategy=c.protocol.create("aurelia:view-strategy",{validate:function(a){return"function"==typeof a.loadViewFactory||"View strategies must implement: loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext): Promise<ViewFactory>"},compose:function(a){"function"!=typeof a.makeRelativeTo&&(a.makeRelativeTo=d.PLATFORM.noop)}}),Za=a.RelativeViewStrategy=(ha=Ya(),ha(ia=function(){function a(a){this.path=a,this.absolutePath=null}return a.prototype.loadViewFactory=function(a,b,c,d){return null===this.absolutePath&&this.moduleId&&(this.absolutePath=(0,e.relativeToFile)(this.path,this.moduleId)),b.associatedModuleId=this.moduleId,a.loadViewFactory(this.absolutePath||this.path,b,c,d)},a.prototype.makeRelativeTo=function(a){null===this.absolutePath&&(this.absolutePath=(0,e.relativeToFile)(this.path,a))},a}())||ia),$a=a.ConventionalViewStrategy=(ja=Ya(),ja(ka=function(){function a(a,b){this.moduleId=b.moduleId,this.viewUrl=a.convertOriginToViewUrl(b)}return a.prototype.loadViewFactory=function(a,b,c,d){return b.associatedModuleId=this.moduleId,a.loadViewFactory(this.viewUrl,b,c,d)},a}())||ka),_a=a.NoViewStrategy=(la=Ya(),la(ma=function(){function a(a,b){this.dependencies=a||null,this.dependencyBaseUrl=b||""}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry,g=this.dependencies;if(e&&e.factoryIsReady)return Promise.resolve(null);if(this.entry=e=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),e.dependencies=[],e.templateIsLoaded=!0,null!==g)for(var h=0,i=g.length;h<i;++h){var j=g[h];"string"==typeof j||"function"==typeof j?e.addDependency(j):e.addDependency(j.from,j.as)}return b.associatedModuleId=this.moduleId,a.loadViewFactory(e,b,c,d)},a}())||ma),ab=a.TemplateRegistryViewStrategy=(na=Ya(),na(oa=function(){function a(a,b){this.moduleId=a,this.entry=b}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry;return e.factoryIsReady?Promise.resolve(e.factory):(b.associatedModuleId=this.moduleId,a.loadViewFactory(e,b,c,d))},a}())||oa),bb=a.InlineViewStrategy=(pa=Ya(),pa(qa=function(){function a(a,b,c){this.markup=a,this.dependencies=b||null,this.dependencyBaseUrl=c||""}return a.prototype.loadViewFactory=function(a,b,c,e){var g=this.entry,h=this.dependencies;if(g&&g.factoryIsReady)return Promise.resolve(g.factory);if(this.entry=g=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),g.template=d.DOM.createTemplateFromMarkup(this.markup),null!==h)for(var i=0,j=h.length;i<j;++i){var k=h[i];"string"==typeof k||"function"==typeof k?g.addDependency(k):g.addDependency(k.from,k.as)}return b.associatedModuleId=this.moduleId,a.loadViewFactory(g,b,c,e)},a}())||qa),cb=a.ViewLocator=(sa=ra=function(){function a(){}return a.prototype.getViewStrategy=function(b){if(!b)return null;if("object"===("undefined"==typeof b?"undefined":Ma(b))&&"getViewStrategy"in b){var d=c.Origin.get(b.constructor);return b=b.getViewStrategy(),"string"==typeof b&&(b=new Za(b)),Ya.assert(b),d.moduleId&&b.makeRelativeTo(d.moduleId),b}if("string"==typeof b&&(b=new Za(b)),Ya.validate(b))return b;"function"!=typeof b&&(b=b.constructor);var e=c.Origin.get(b),f=c.metadata.get(a.viewStrategyMetadataKey,b);if(f)e.moduleId&&(f.moduleId=e.moduleId);else{if(!e.moduleId)throw new Error("Cannot determine default view strategy for object.",b);f=this.createFallbackViewStrategy(e)}return f},a.prototype.createFallbackViewStrategy=function(a){return new $a(this,a)},a.prototype.convertOriginToViewUrl=function(a){var b=a.moduleId,c=b.endsWith(".js")||b.endsWith(".ts")?b.substring(0,b.length-3):b;return c+".html"},a}(),ra.viewStrategyMetadataKey="aurelia:view-strategy",sa),db=a.BindingLanguage=function(){function a(){}return a.prototype.inspectAttribute=function(a,b,c,d){o("inspectAttribute")},a.prototype.createAttributeInstruction=function(a,b,c,d){o("createAttributeInstruction")},a.prototype.inspectTextContent=function(a,b){o("inspectTextContent")},a}(),eb=Object.freeze([]),fb=a.SlotCustomAttribute=(ta=(0,g.inject)(d.DOM.Element),ta(ua=function(){function a(a){this.element=a,this.element.auSlotAttribute=this}return a.prototype.valueChanged=function(a,b){},a}())||ua),gb=a.PassThroughSlot=function(){function a(a,b,c,d){this.anchor=a,this.anchor.viewSlot=this,this.name=b,this.destinationName=c,this.fallbackFactory=d,this.destinationSlot=null,this.projections=0,this.contentView=null;var e=new fb(this.anchor);e.value=this.destinationName}return a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView){this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext);var e=Object.create(null);e[this.destinationSlot.name]=this.destinationSlot,ib.distributeView(this.contentView,e,c,d,this.destinationSlot.name)}},a.prototype.passThroughTo=function(a){this.destinationSlot=a},a.prototype.addNode=function(b,c,d,e){return null!==this.contentView&&(this.contentView.removeNodes(),this.contentView.detached(),this.contentView.unbind(),this.contentView=null),c.viewSlot instanceof a?void c.viewSlot.passThroughTo(this):(this.projections++,void this.destinationSlot.addNode(b,c,d,e))},a.prototype.removeView=function(a,b){this.projections--,this.destinationSlot.removeView(a,b),this.needsFallbackRendering&&this.renderFallbackContent(null,eb,b)},a.prototype.removeAll=function(a){this.projections=0,this.destinationSlot.removeAll(a),this.needsFallbackRendering&&this.renderFallbackContent(null,eb,a)},a.prototype.projectFrom=function(a,b){this.destinationSlot.projectFrom(a,b)},a.prototype.created=function(a){this.ownerView=a},a.prototype.bind=function(a){this.contentView&&this.contentView.bind(a.bindingContext,a.overrideContext)},a.prototype.attached=function(){this.contentView&&this.contentView.attached()},a.prototype.detached=function(){this.contentView&&this.contentView.detached()},a.prototype.unbind=function(){this.contentView&&this.contentView.unbind()},La(a,[{key:"needsFallbackRendering",get:function(){return this.fallbackFactory&&0===this.projections}}]),a}(),hb=a.ShadowSlot=function(){function a(a,b,c){this.anchor=a,this.anchor.isContentProjectionSource=!0,this.anchor.viewSlot=this,this.name=b,this.fallbackFactory=c,this.contentView=null,this.projections=0,this.children=[],this.projectFromAnchors=null,this.destinationSlots=null}return a.prototype.addNode=function(a,b,c,d,e){if(null!==this.contentView&&(this.contentView.removeNodes(),this.contentView.detached(),this.contentView.unbind(),this.contentView=null),b.viewSlot instanceof gb)return void b.viewSlot.passThroughTo(this);if(null!==this.destinationSlots)ib.distributeNodes(a,[b],this.destinationSlots,this,d);else{b.auOwnerView=a,b.auProjectionSource=c,b.auAssignedSlot=this;var f=this._findAnchor(a,b,c,d),g=f.parentNode;g.insertBefore(b,f),this.children.push(b),this.projections++}},a.prototype.removeView=function(a,b){if(null!==this.destinationSlots)ib.undistributeView(a,this.destinationSlots,this);else if(this.contentView&&this.contentView.hasSlots)ib.undistributeView(a,this.contentView.slots,b);else{var c=this.children.find(function(a){return a.auSlotProjectFrom===b});if(c){for(var d=c.auProjectionChildren,e=0,f=d.length;e<f;++e){var g=d[e];g.auOwnerView===a&&(d.splice(e,1),a.fragment.appendChild(g),e--,f--,this.projections--)}this.needsFallbackRendering&&this.renderFallbackContent(a,eb,b)}}},a.prototype.removeAll=function(a){if(null!==this.destinationSlots)ib.undistributeAll(this.destinationSlots,this);else if(this.contentView&&this.contentView.hasSlots)ib.undistributeAll(this.contentView.slots,a);else{var b=this.children.find(function(b){return b.auSlotProjectFrom===a});if(b){for(var c=b.auProjectionChildren,d=0,e=c.length;d<e;++d){var f=c[d];f.auOwnerView.fragment.appendChild(f),this.projections--}b.auProjectionChildren=[],this.needsFallbackRendering&&this.renderFallbackContent(null,eb,a)}}},a.prototype._findAnchor=function(a,b,c,d){if(c){var e=this.children.find(function(a){return a.auSlotProjectFrom===c});if(e){if(void 0!==d)for(var f=e.auProjectionChildren,g=-1,h=void 0,i=0,j=f.length;i<j;++i){var k=f[i];if(k.auOwnerView!==h&&(g++,h=k.auOwnerView,g>=d&&h!==a))return f.splice(i,0,b),k}return e.auProjectionChildren.push(b),e}}return this.anchor},a.prototype.projectTo=function(a){this.destinationSlots=a},a.prototype.projectFrom=function(a,b){var c=d.DOM.createComment("anchor"),e=this.anchor.parentNode;c.auSlotProjectFrom=b,c.auOwnerView=a,c.auProjectionChildren=[],e.insertBefore(c,this.anchor),this.children.push(c),null===this.projectFromAnchors&&(this.projectFromAnchors=[]),this.projectFromAnchors.push(c)},a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView&&(this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext),this.contentView.insertNodesBefore(this.anchor)),this.contentView.hasSlots){var e=this.contentView.slots,f=this.projectFromAnchors;if(null!==f)for(var g in e)for(var h=e[g],i=0,j=f.length;i<j;++i){var k=f[i];h.projectFrom(k.auOwnerView,k.auSlotProjectFrom)}this.fallbackSlots=e,ib.distributeNodes(a,b,e,c,d)}},a.prototype.created=function(a){this.ownerView=a},a.prototype.bind=function(a){this.contentView&&this.contentView.bind(a.bindingContext,a.overrideContext)},a.prototype.attached=function(){this.contentView&&this.contentView.attached()},a.prototype.detached=function(){this.contentView&&this.contentView.detached()},a.prototype.unbind=function(){this.contentView&&this.contentView.unbind()},La(a,[{key:"needsFallbackRendering",get:function(){return this.fallbackFactory&&0===this.projections}}]),a}(),ib=a.ShadowDOM=(wa=va=function(){function a(){}return a.getSlotName=function(b){return void 0===b.auSlotAttribute?a.defaultSlotKey:b.auSlotAttribute.value},a.distributeView=function(b,c,d,e,f){var g=void 0;if(null===b)g=eb;else{var h=b.fragment.childNodes,i=h.length;g=new Array(i);for(var j=0;j<i;++j)g[j]=h[j]}a.distributeNodes(b,g,c,d,e,f)},a.undistributeView=function(a,b,c){for(var d in b)b[d].removeView(a,c)},a.undistributeAll=function(a,b){for(var c in a)a[c].removeAll(b)},a.distributeNodes=function(b,c,d,e,f,g){for(var h=0,i=c.length;h<i;++h){var j=c[h],k=j.nodeType;if(j.isContentProjectionSource){j.viewSlot.projectTo(d);for(var l in d)d[l].projectFrom(b,j.viewSlot);c.splice(h,1),i--,h--}else if(1===k||3===k||j.viewSlot instanceof gb)if(3===k&&m(j))c.splice(h,1),i--,h--;else{var n=d[g||a.getSlotName(j)];n&&(n.addNode(b,j,e,f),c.splice(h,1),i--,h--)}else c.splice(h,1),i--,h--}for(var o in d){var p=d[o];p.needsFallbackRendering&&p.renderFallbackContent(b,c,e,f)}},a}(),va.defaultSlotKey="__au-default-slot-key__",wa),jb=a.ViewResources=function(){function a(a,b){this.bindingLanguage=null,this.parent=a||null,this.hasParent=null!==this.parent,this.viewUrl=b||"",this.lookupFunctions={valueConverters:this.getValueConverter.bind(this),bindingBehaviors:this.getBindingBehavior.bind(this)},this.attributes=Object.create(null),this.elements=Object.create(null),this.valueConverters=Object.create(null),this.bindingBehaviors=Object.create(null),this.attributeMap=Object.create(null),this.values=Object.create(null),this.beforeCompile=this.afterCompile=this.beforeCreate=this.afterCreate=this.beforeBind=this.beforeUnbind=!1}return a.prototype._tryAddHook=function(a,b){if("function"==typeof a[b]){for(var c=a[b].bind(a),d=1,e=void 0;void 0!==this[e=b+d.toString()];)d++;this[b]=!0,this[e]=c}},a.prototype._invokeHook=function(a,b,c,d,e){if(this.hasParent&&this.parent._invokeHook(a,b,c,d,e),this[a]){this[a+"1"](b,c,d,e);var f=a+"2";if(this[f]&&(this[f](b,c,d,e),f=a+"3",this[f])){this[f](b,c,d,e);for(var g=4;void 0!==this[f=a+g.toString()];)this[f](b,c,d,e),g++}}},a.prototype.registerViewEngineHooks=function(a){this._tryAddHook(a,"beforeCompile"),this._tryAddHook(a,"afterCompile"),this._tryAddHook(a,"beforeCreate"),this._tryAddHook(a,"afterCreate"),this._tryAddHook(a,"beforeBind"),this._tryAddHook(a,"beforeUnbind")},a.prototype.getBindingLanguage=function(a){return this.bindingLanguage||(this.bindingLanguage=a)},a.prototype.patchInParent=function(a){var b=this.parent;this.parent=a||null,this.hasParent=null!==this.parent,null===a.parent&&(a.parent=b,a.hasParent=null!==b)},a.prototype.relativeToView=function(a){return(0,e.relativeToFile)(a,this.viewUrl)},a.prototype.registerElement=function(a,b){p(this.elements,a,b,"an Element")},a.prototype.getElement=function(a){return this.elements[a]||(this.hasParent?this.parent.getElement(a):null)},a.prototype.mapAttribute=function(a){return this.attributeMap[a]||(this.hasParent?this.parent.mapAttribute(a):null)},a.prototype.registerAttribute=function(a,b,c){this.attributeMap[a]=c,p(this.attributes,a,b,"an Attribute")},a.prototype.getAttribute=function(a){return this.attributes[a]||(this.hasParent?this.parent.getAttribute(a):null)},a.prototype.registerValueConverter=function(a,b){p(this.valueConverters,a,b,"a ValueConverter")},a.prototype.getValueConverter=function(a){return this.valueConverters[a]||(this.hasParent?this.parent.getValueConverter(a):null)},a.prototype.registerBindingBehavior=function(a,b){p(this.bindingBehaviors,a,b,"a BindingBehavior")},a.prototype.getBindingBehavior=function(a){return this.bindingBehaviors[a]||(this.hasParent?this.parent.getBindingBehavior(a):null)},a.prototype.registerValue=function(a,b){p(this.values,a,b,"a value")},a.prototype.getValue=function(a){return this.values[a]||(this.hasParent?this.parent.getValue(a):null)},a}(),kb=a.View=function(){function a(a,b,c,d,e,f,g){this.container=a,this.viewFactory=b,this.resources=b.resources,this.fragment=c,this.firstChild=c.firstChild,this.lastChild=c.lastChild,this.controllers=d,this.bindings=e,this.children=f,this.slots=g,this.hasSlots=!1,this.fromCache=!1,this.isBound=!1,this.isAttached=!1,this.bindingContext=null,this.overrideContext=null,this.controller=null,this.viewModelScope=null,this.animatableElement=void 0,this._isUserControlled=!1,this.contentView=null;for(var h in g){this.hasSlots=!0;break}}return a.prototype.returnToCache=function(){this.viewFactory.returnViewToCache(this)},a.prototype.created=function(){var a=void 0,b=void 0,c=this.controllers;for(a=0,b=c.length;a<b;++a)c[a].created(this)},a.prototype.bind=function(a,b,c){var d=void 0,e=void 0,f=void 0,g=void 0,i=void 0;if(!c||!this._isUserControlled){if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a,this.overrideContext=b||(0,h.createOverrideContext)(a),this.resources._invokeHook("beforeBind",this),e=this.bindings,g=0,i=e.length;g<i;++g)e[g].bind(this);for(null!==this.viewModelScope&&(a.bind(this.viewModelScope.bindingContext,this.viewModelScope.overrideContext),this.viewModelScope=null),d=this.controllers,g=0,i=d.length;g<i;++g)d[g].bind(this);for(f=this.children,g=0,i=f.length;g<i;++g)f[g].bind(a,b,!0);this.hasSlots&&ib.distributeView(this.contentView,this.slots)}},a.prototype.addBinding=function(a){this.bindings.push(a),this.isBound&&a.bind(this)},a.prototype.unbind=function(){var a=void 0,b=void 0,c=void 0,d=void 0,e=void 0;if(this.isBound){for(this.isBound=!1,this.resources._invokeHook("beforeUnbind",this),null!==this.controller&&this.controller.unbind(),b=this.bindings,d=0,e=b.length;d<e;++d)b[d].unbind();for(a=this.controllers,d=0,e=a.length;d<e;++d)a[d].unbind();for(c=this.children,d=0,e=c.length;d<e;++d)c[d].unbind();this.bindingContext=null,this.overrideContext=null}},a.prototype.insertNodesBefore=function(a){a.parentNode.insertBefore(this.fragment,a)},a.prototype.appendNodesTo=function(a){a.appendChild(this.fragment)},a.prototype.removeNodes=function(){for(var a=this.fragment,b=this.firstChild,c=this.lastChild,d=void 0;b&&(d=b.nextSibling,a.appendChild(b),b!==c);)b=d},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached){for(this.isAttached=!0,null!==this.controller&&this.controller.attached(),a=this.controllers,c=0,d=a.length;c<d;++c)a[c].attached();for(b=this.children,c=0,d=b.length;c<d;++c)b[c].attached()}},a.prototype.detached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(this.isAttached){for(this.isAttached=!1,null!==this.controller&&this.controller.detached(),a=this.controllers,c=0,d=a.length;c<d;++c)a[c].detached();for(b=this.children,c=0,d=b.length;c<d;++c)b[c].detached()}},a}(),lb=a.ViewSlot=function(){function a(a,b){var c=arguments.length<=2||void 0===arguments[2]?Na.instance:arguments[2];this.anchor=a,this.anchorIsContainer=b,this.bindingContext=null,this.overrideContext=null,this.animator=c,this.children=[],this.isBound=!1,this.isAttached=!1,this.contentSelectors=null,a.viewSlot=this,a.isContentProjectionSource=!1}return a.prototype.animateView=function(a){var b=arguments.length<=1||void 0===arguments[1]?"enter":arguments[1],c=q(a);if(null!==c)switch(b){case"enter":return this.animator.enter(c);case"leave":return this.animator.leave(c);default:throw new Error("Invalid animation direction: "+b)}},a.prototype.transformChildNodesIntoView=function(){var a=this.anchor;this.children.push({fragment:a,firstChild:a.firstChild,lastChild:a.lastChild,returnToCache:function(){},removeNodes:function(){for(var b=void 0;b=a.lastChild;)a.removeChild(b)},created:function(){},bind:function(){},unbind:function(){},attached:function(){},detached:function(){}})},a.prototype.bind=function(a,b){var c=void 0,d=void 0,e=void 0;if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a=a||this.bindingContext,this.overrideContext=b=b||this.overrideContext,e=this.children,c=0,d=e.length;c<d;++c)e[c].bind(a,b,!0)},a.prototype.unbind=function(){if(this.isBound){var a=void 0,b=void 0,c=this.children;for(this.isBound=!1,this.bindingContext=null,this.overrideContext=null,a=0,b=c.length;a<b;++a)c[a].unbind()}},a.prototype.add=function(a){if(this.anchorIsContainer?a.appendNodesTo(this.anchor):a.insertNodesBefore(this.anchor),this.children.push(a),this.isAttached)return a.attached(),this.animateView(a,"enter")},a.prototype.insert=function(a,b){var c=this.children,d=c.length;return 0===a&&0===d||a>=d?this.add(b):(b.insertNodesBefore(c[a].firstChild),c.splice(a,0,b),this.isAttached?(b.attached(),this.animateView(b,"enter")):void 0)},a.prototype.move=function(a,b){if(a!==b){var c=this.children,d=c[a];d.removeNodes(),d.insertNodesBefore(c[b].firstChild),c.splice(a,1),c.splice(b,0,d)}},a.prototype.remove=function(a,b,c){return this.removeAt(this.children.indexOf(a),b,c)},a.prototype.removeMany=function(a,b,c){var d=this,e=this.children,f=a.length,g=void 0,h=[];a.forEach(function(a){if(c)return void a.removeNodes();var b=d.animateView(a,"leave");b?h.push(b.then(function(){return a.removeNodes()})):a.removeNodes()});var i=function(){if(d.isAttached)for(g=0;g<f;++g)a[g].detached();if(b)for(g=0;g<f;++g)a[g].returnToCache();for(g=0;g<f;++g){var c=e.indexOf(a[g]);c>=0&&e.splice(c,1)}};return h.length>0?Promise.all(h).then(function(){return i()}):i()},a.prototype.removeAt=function(a,b,c){var d=this,e=this.children[a],f=function(){return a=d.children.indexOf(e),e.removeNodes(),d.children.splice(a,1),d.isAttached&&e.detached(),b&&e.returnToCache(),e};if(!c){var g=this.animateView(e,"leave");if(g)return g.then(function(){return f()})}return f()},a.prototype.removeAll=function(a,b){var c=this,d=this.children,e=d.length,f=void 0,g=[];d.forEach(function(a){if(b)return void a.removeNodes();var d=c.animateView(a,"leave");d?g.push(d.then(function(){return a.removeNodes()})):a.removeNodes()});var h=function(){if(c.isAttached)for(f=0;f<e;++f)d[f].detached();if(a)for(f=0;f<e;++f)d[f].returnToCache();c.children=[]};return g.length>0?Promise.all(g).then(function(){return h()}):h()},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached)for(this.isAttached=!0,c=this.children,a=0,b=c.length;a<b;++a)d=c[a],d.attached(),this.animateView(d,"enter")},a.prototype.detached=function(){var a=void 0,b=void 0,c=void 0;if(this.isAttached)for(this.isAttached=!1,c=this.children,a=0,b=c.length;a<b;++a)c[a].detached()},a.prototype.projectTo=function(a){var b=this;this.projectToSlots=a,this.add=this._projectionAdd,this.insert=this._projectionInsert,this.move=this._projectionMove,this.remove=this._projectionRemove,this.removeAt=this._projectionRemoveAt,this.removeMany=this._projectionRemoveMany,this.removeAll=this._projectionRemoveAll,this.children.forEach(function(c){return ib.distributeView(c,a,b)})},a.prototype._projectionAdd=function(a){ib.distributeView(a,this.projectToSlots,this),this.children.push(a),this.isAttached&&a.attached()},a.prototype._projectionInsert=function(a,b){0===a&&!this.children.length||a>=this.children.length?this.add(b):(ib.distributeView(b,this.projectToSlots,this,a),this.children.splice(a,0,b),this.isAttached&&b.attached())},a.prototype._projectionMove=function(a,b){if(a!==b){var c=this.children,d=c[a];ib.undistributeView(d,this.projectToSlots,this),ib.distributeView(d,this.projectToSlots,this,b),c.splice(a,1),c.splice(b,0,d)}},a.prototype._projectionRemove=function(a,b){ib.undistributeView(a,this.projectToSlots,this),this.children.splice(this.children.indexOf(a),1),this.isAttached&&a.detached()},a.prototype._projectionRemoveAt=function(a,b){var c=this.children[a];ib.undistributeView(c,this.projectToSlots,this),this.children.splice(a,1),this.isAttached&&c.detached()},a.prototype._projectionRemoveMany=function(a,b){var c=this;a.forEach(function(a){return c.remove(a,b)})},a.prototype._projectionRemoveAll=function(a){ib.undistributeAll(this.projectToSlots,this);var b=this.children;if(this.isAttached)for(var c=0,d=b.length;c<d;++c)b[c].detached();this.children=[]},a}(),mb=(0,g.resolver)(xa=function(){function a(){}return a.prototype.get=function(a,b){var c=b.__providerId__;return c in a?a[c]:a[c]=a.invoke(b)},a}())||xa,nb=new mb,ob=a.BoundViewFactory=function(){function a(a,b,c){this.parentContainer=a,this.viewFactory=b,this.factoryCreateInstruction={partReplacements:c}}return a.prototype.create=function(){var a=this.viewFactory.create(this.parentContainer.createChild(),this.factoryCreateInstruction);return a._isUserControlled=!0,a},a.prototype.setCacheSize=function(a,b){this.viewFactory.setCacheSize(a,b)},a.prototype.getCachedView=function(){return this.viewFactory.getCachedView()},a.prototype.returnViewToCache=function(a){this.viewFactory.returnViewToCache(a)},La(a,[{key:"isCaching",get:function(){return this.viewFactory.isCaching}}]),a}(),pb=a.ViewFactory=function(){function a(a,b,c){this.isCaching=!1,this.template=a,this.instructions=b,this.resources=c,this.cacheSize=-1,this.cache=null}return a.prototype.setCacheSize=function(a,b){a&&("*"===a?a=Number.MAX_VALUE:"string"==typeof a&&(a=parseInt(a,10))),this.cacheSize!==-1&&b||(this.cacheSize=a),this.cacheSize>0?this.cache=[]:this.cache=null,this.isCaching=this.cacheSize>0},a.prototype.getCachedView=function(){return null!==this.cache?this.cache.pop()||null:null},a.prototype.returnViewToCache=function(a){a.isAttached&&a.detached(),a.isBound&&a.unbind(),null!==this.cache&&this.cache.length<this.cacheSize&&(a.fromCache=!0,this.cache.push(a))},a.prototype.create=function(a,b,c){b=b||Wa.normal;var d=this.getCachedView();if(null!==d)return d;var e=b.enhance?this.template:this.template.cloneNode(!0),f=e.querySelectorAll(".au-target"),g=this.instructions,h=this.resources,i=[],j=[],k=[],l=Object.create(null),m={root:a},n=b.partReplacements,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0;for(this.resources._invokeHook("beforeCreate",this,a,e,b),c&&null!==this.surrogateInstruction&&x(a,c,this.surrogateInstruction,i,j,k),b.enhance&&e.hasAttribute("au-target-id")&&(r=e,s=g[r.getAttribute("au-target-id")],u(m,r,s,i,j,k,l,n,h)),o=0,p=f.length;o<p;++o)r=f[o],s=g[r.getAttribute("au-target-id")],u(m,r,s,i,j,k,l,n,h);return q=new kb(a,this,e,i,j,k,l),b.initiatedByBehavior||q.created(),this.resources._invokeHook("afterCreate",q),q},a}(),qb=0,rb=0,sb=a.ViewCompiler=(ya=(0,g.inject)(db,jb),ya(za=function(){function a(a,b){this.bindingLanguage=a,this.resources=b}return a.prototype.compile=function(a,b,c){b=b||this.resources,c=c||Va.normal,a="string"==typeof a?d.DOM.createTemplateFromMarkup(a):a;var e=void 0,f=void 0,g=void 0;a.content?(f=a.getAttribute("part"),g=a.getAttribute("view-cache"),e=d.DOM.adoptNode(a.content)):e=a,c.targetShadowDOM=c.targetShadowDOM&&d.FEATURE.shadowDOM,b._invokeHook("beforeCompile",e,b,c);var h={};this._compileNode(e,b,h,a,"root",!c.targetShadowDOM);var i=e.firstChild;if(i&&1===i.nodeType){var j=i.getAttribute("au-target-id");if(j){var k=h[j];(k.shadowSlot||k.lifting)&&e.insertBefore(d.DOM.createComment("view"),i)}}var l=new pb(e,h,b);return l.surrogateInstruction=c.compileSurrogate?this._compileSurrogate(a,b):null,l.part=f,g&&l.setCacheSize(g),b._invokeHook("afterCompile",l),l},a.prototype._compileNode=function(a,b,c,e,f,g){switch(a.nodeType){case 1:return this._compileElement(a,b,c,e,f,g);case 3:var h=b.getBindingLanguage(this.bindingLanguage).inspectTextContent(b,a.wholeText);if(h){var i=d.DOM.createElement("au-marker"),j=B(i);for((a.parentNode||e).insertBefore(i,a),a.textContent=" ",c[j]=Xa.contentExpression(h);a.nextSibling&&3===a.nextSibling.nodeType;)(a.parentNode||e).removeChild(a.nextSibling)}else for(;a.nextSibling&&3===a.nextSibling.nodeType;)a=a.nextSibling;return a.nextSibling;case 11:for(var k=a.firstChild;k;)k=this._compileNode(k,b,c,a,f,g)}return a.nextSibling;
+},a.prototype._compileSurrogate=function(a,b){var c=a.tagName.toLowerCase(),d=a.attributes,e=b.getBindingLanguage(this.bindingLanguage),f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=[],q=void 0,r=[],s={},t=!1,u=[];for(i=0,j=d.length;i<j;++i)if(k=d[i],l=k.name,m=k.value,n=e.inspectAttribute(b,c,l,m),o=b.getAttribute(n.attrName),o&&(f=b.mapAttribute(n.attrName),f&&(g=o.attributes[f],g&&(n.defaultBindingMode=g.defaultBindingMode,n.command||n.expression||(n.command=g.hasOptions?"options":null)))),h=e.createAttributeInstruction(b,a,n,void 0,o))if(h.alteredAttr&&(o=b.getAttribute(h.attrName)),h.discrete)p.push(h);else if(o){if(h.type=o,z(h,b),o.liftsContent)throw new Error("You cannot place a template controller on a surrogate element.");r.push(h)}else p.push(h.attributes[h.attrName]);else if(o){if(h=Wa.attribute(l,o),h.attributes[b.mapAttribute(l)]=m,o.liftsContent)throw new Error("You cannot place a template controller on a surrogate element.");r.push(h)}else"id"!==l&&"part"!==l&&"replace-part"!==l&&(t=!0,s[l]=m);if(p.length||r.length||t){for(i=0,j=r.length;i<j;++i)h=r[i],h.type.compile(this,b,a,h),u.push(h.type.target);for(i=0,j=p.length;i<j;++i)q=p[i],void 0!==q.attrToRemove&&a.removeAttribute(q.attrToRemove);return Xa.surrogate(u,r,p,s)}return null},a.prototype._compileElement=function(a,b,c,d,e,f){var g=a.tagName.toLowerCase(),h=a.attributes,i=[],j=void 0,k=[],l=[],m=b.getBindingLanguage(this.bindingLanguage),n=void 0,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0,v=void 0,w=void 0,x=void 0,A=void 0,D=void 0,E=void 0,F=void 0,G=void 0;if("slot"===g)return f&&(a=C(this,b,a,c,e)),a.nextSibling;for("template"===g?(o=this.compile(a,b),o.part=a.getAttribute("part")):(p=b.getElement(a.getAttribute("as-element")||g),p&&(q=Wa.element(a,p),p.processAttributes(this,b,a,h,q),k.push(q))),s=0,t=h.length;s<t;++s)if(u=h[s],v=u.name,w=u.value,A=m.inspectAttribute(b,g,v,w),f&&"slot"===A.attrName&&(A.attrName=v="au-slot"),p=b.getAttribute(A.attrName),r=null,p?(E=b.mapAttribute(A.attrName),E&&(D=p.attributes[E],D&&(A.defaultBindingMode=D.defaultBindingMode,A.command||A.expression||(A.command=D.hasOptions?"options":null)))):q&&(r=q.type.attributes[A.attrName],r&&(A.defaultBindingMode=r.defaultBindingMode)),x=r?m.createAttributeInstruction(b,a,A,q):m.createAttributeInstruction(b,a,A,void 0,p))if(x.alteredAttr&&(p=b.getAttribute(x.attrName)),x.discrete)i.push(x);else if(p){if(x.type=p,z(x,b),p.liftsContent){x.originalAttrName=v,n=x;break}k.push(x)}else r?q.attributes[A.attrName].targetProperty=r.name:i.push(x.attributes[x.attrName]);else if(p){if(x=Wa.attribute(v,p),x.attributes[b.mapAttribute(v)]=w,p.liftsContent){x.originalAttrName=v,n=x;break}k.push(x)}else r&&(q.attributes[v]=w);if(n)n.viewFactory=o,a=n.type.compile(this,b,a,n,d),F=B(a),c[F]=Xa.lifting(e,n);else{if(i.length||k.length){for(G=!!k.length&&y(),s=0,t=k.length;s<t;++s)x=k[s],x.type.compile(this,b,a,x,d),l.push(x.type.target);for(s=0,t=i.length;s<t;++s)j=i[s],void 0!==j.attrToRemove&&a.removeAttribute(j.attrToRemove);F=B(a),c[F]=Xa.normal(G,e,l,k,i,q)}if(q&&q.skipContentProcessing)return a.nextSibling;for(var H=a.firstChild;H;)H=this._compileNode(H,b,c,a,G||e,f)}return a.nextSibling},a}())||za),tb=a.ResourceModule=function(){function a(a){this.id=a,this.moduleInstance=null,this.mainResource=null,this.resources=null,this.viewStrategy=null,this.isInitialized=!1,this.onLoaded=null,this.loadContext=null}return a.prototype.initialize=function(a){var b=this.mainResource,c=this.resources,d=this.viewStrategy;if(!this.isInitialized){this.isInitialized=!0,void 0!==b&&(b.metadata.viewStrategy=d,b.initialize(a));for(var e=0,f=c.length;e<f;++e)b=c[e],b.metadata.viewStrategy=d,b.initialize(a)}},a.prototype.register=function(a,b){var c=this.mainResource,d=this.resources;void 0!==c&&(c.register(a,b),b=null);for(var e=0,f=d.length;e<f;++e)d[e].register(a,b),b=null},a.prototype.load=function(a,b){if(null!==this.onLoaded)return this.loadContext===b?Promise.resolve():this.onLoaded;var c=this.mainResource,d=this.resources,e=void 0;if(void 0!==c){e=new Array(d.length+1),e[0]=c.load(a,b);for(var f=0,g=d.length;f<g;++f)e[f+1]=d[f].load(a,b)}else{e=new Array(d.length);for(var h=0,i=d.length;h<i;++h)e[h]=d[h].load(a,b)}return this.loadContext=b,this.onLoaded=Promise.all(e),this.onLoaded},a}(),ub=a.ResourceDescription=function(){function a(a,b,d){d||(d=c.metadata.get(c.metadata.resource,b),d||(d=new Db,d.elementName=l(a),c.metadata.define(c.metadata.resource,d,b))),d instanceof Db?void 0===d.elementName?d.elementName=l(a):void 0===d.attributeName?d.attributeName=l(a):null===d.attributeName&&null===d.elementName&&Db.convention(a,d):d.name||(d.name=l(a)),this.metadata=d,this.value=b}return a.prototype.initialize=function(a){this.metadata.initialize(a,this.value)},a.prototype.register=function(a,b){this.metadata.register(a,b)},a.prototype.load=function(a,b){return this.metadata.load(a,this.value,b)},a}(),vb=a.ModuleAnalyzer=function(){function a(){this.cache=Object.create(null)}return a.prototype.getAnalysis=function(a){return this.cache[a]},a.prototype.analyze=function(a,b,d){var e=void 0,g=void 0,i=void 0,j=void 0,k=void 0,m=void 0,n=[],o=void 0,p=void 0,q=void 0;if(q=this.cache[a])return q;q=new tb(a),this.cache[a]=q,"function"==typeof b&&(b={"default":b}),d&&(e=new ub(d,b[d]));for(k in b)m=b[k],k!==d&&"function"==typeof m&&(j=c.metadata.get(c.metadata.resource,m),j?(null===j.attributeName&&null===j.elementName&&Db.convention(k,j),null===j.attributeName&&null===j.elementName&&(j.elementName=l(k)),!e&&j instanceof Db&&null!==j.elementName?e=new ub(k,m,j):n.push(new ub(k,m,j))):Ya.decorates(m)?p=m:m instanceof f.TemplateRegistryEntry?p=new ab(a,m):(o=Db.convention(k))?(null===o.elementName||e?n.push(new ub(k,m,o)):e=new ub(k,m,o),c.metadata.define(c.metadata.resource,o,m)):(o=h.ValueConverterResource.convention(k)||h.BindingBehaviorResource.convention(k)||Sa.convention(k))?(n.push(new ub(k,m,o)),c.metadata.define(c.metadata.resource,o,m)):g||(g=m,i=k));return!e&&g&&(e=new ub(i,g)),q.moduleInstance=b,q.mainResource=e,q.resources=n,q.viewStrategy=p,q},a}(),wb=Ka.getLogger("templating"),xb=function(){function a(a){var b=this;a.then(function(a){return b.viewFactory=a})}return a.prototype.create=function(a,b,c,d){return this.viewFactory.create(a,b,c,d)},a.prototype.setCacheSize=function(a,b){this.viewFactory.setCacheSize(a,b)},a.prototype.getCachedView=function(){return this.viewFactory.getCachedView()},a.prototype.returnViewToCache=function(a){this.viewFactory.returnViewToCache(a)},La(a,[{key:"isCaching",get:function(){return this.viewFactory.isCaching}}]),a}(),yb=a.ViewEngine=(Aa=(0,g.inject)(f.Loader,g.Container,sb,vb,jb),Aa((Da=Ca=function(){function a(a,b,c,d,e){this.loader=a,this.container=b,this.viewCompiler=c,this.moduleAnalyzer=d,this.appResources=e,this._pluginMap={};var f=new Db;f.attributeName="au-slot",f.initialize(b,fb),f.register(e)}return a.prototype.addResourcePlugin=function(a,b){var c=a.replace(".","")+"-resource-plugin";this._pluginMap[a]=c,this.loader.addPlugin(c,b)},a.prototype.loadViewFactory=function(a,b,c,d){var e=this;return c=c||new Ua,D(this.loader,a).then(function(f){return f.onReady?c.hasDependency(a)?null===f.template?f.onReady:Promise.resolve(new xb(f.onReady)):(c.addDependency(a),f.onReady):(c.addDependency(a),f.onReady=e.loadTemplateResources(f,b,c,d).then(function(a){if(f.resources=a,null===f.template)return f.factory=null;var c=e.viewCompiler.compile(f.template,a,b);return f.factory=c}),f.onReady)})},a.prototype.loadTemplateResources=function(b,d,f,g){var h=new jb(this.appResources,b.address),i=b.dependencies,j=void 0,k=void 0;if(d=d||Va.normal,0===i.length&&!d.associatedModuleId)return Promise.resolve(h);if(j=i.map(function(a){return a.src}),k=i.map(function(a){return a.name}),wb.debug("importing resources for "+b.address,j),g){var l=c.metadata.get(a.viewModelRequireMetadataKey,g);if(l){for(var m=j.length,n=0,o=l.length;n<o;++n){var p=l[n],q="function"==typeof p?c.Origin.get(p).moduleId:(0,e.relativeToFile)(p.src||p,b.address);j.indexOf(q)===-1&&(j.push(q),k.push(p.as))}wb.debug("importing ViewModel resources for "+d.associatedModuleId,j.slice(m))}}return this.importViewResources(j,k,h,d,f)},a.prototype.importViewModelResource=function(a,b){var d=this;return this.loader.loadModule(a).then(function(e){var f=c.Origin.get(e).moduleId,g=d.moduleAnalyzer.analyze(f,e,b);if(!g.mainResource)throw new Error('No view model found in module "'+a+'".');return g.initialize(d.container),g.mainResource})},a.prototype.importViewResources=function(a,b,d,e,f){var g=this;return f=f||new Ua,e=e||Va.normal,a=a.map(function(a){return g._applyLoaderPlugin(a)}),this.loader.loadAllModules(a).then(function(a){var h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=g.container,o=g.moduleAnalyzer,p=new Array(a.length);for(h=0,i=a.length;h<i;++h)l=a[h],k=c.Origin.get(l).moduleId,j=o.analyze(k,l),j.initialize(n),j.register(d,b[h]),p[h]=j;for(e.associatedModuleId&&(m=o.getAnalysis(e.associatedModuleId),m&&m.register(d)),h=0,i=p.length;h<i;++h)p[h]=p[h].load(n,f);return Promise.all(p).then(function(){return d})})},a.prototype._applyLoaderPlugin=function(a){var b=a.lastIndexOf(".");if(b!==-1){var c=a.substring(b),d=this._pluginMap[c];return void 0===d?a:this.loader.applyPluginToUrl(a,d)}return a},a}(),Ca.viewModelRequireMetadataKey="aurelia:view-model-require",Ba=Da))||Ba),zb=a.Controller=function(){function a(a,b,c,d){this.behavior=a,this.instruction=b,this.viewModel=c,this.isAttached=!1,this.view=null,this.isBound=!1,this.scope=null,this.container=d,this.elementEvents=d.elementEvents||null;var e=a.observerLocator.getOrCreateObserversLookup(c),f=a.handlesBind,g=b.attributes,h=this.boundProperties=[],i=a.properties,j=void 0,k=void 0;for(a._ensurePropertiesDefined(c,e),j=0,k=i.length;j<k;++j)i[j]._initialize(c,e,g,f,h)}return a.prototype.created=function(a){this.behavior.handlesCreated&&this.viewModel.created(a,this.view)},a.prototype.automate=function(a,b){this.view.bindingContext=this.viewModel,this.view.overrideContext=a||(0,h.createOverrideContext)(this.viewModel),this.view._isUserControlled=!0,this.behavior.handlesCreated&&this.viewModel.created(b||null,this.view),this.bind(this.view)},a.prototype.bind=function(a){var b=this.behavior.handlesBind,c=this.boundProperties,d=void 0,e=void 0,f=void 0,g=void 0,i=void 0;if(this.isBound){if(this.scope===a)return;this.unbind()}for(this.isBound=!0,this.scope=a,d=0,e=c.length;d<e;++d)f=c[d],g=f.observer,i=g.selfSubscriber,g.publishing=!1,b&&(g.selfSubscriber=null),f.binding.bind(a),g.call(),g.publishing=!0,g.selfSubscriber=i;var j=void 0;null!==this.view?(b&&(this.view.viewModelScope=a),this.viewModel===a.overrideContext.bindingContext?j=a.overrideContext:this.instruction.inheritBindingContext?j=(0,h.createOverrideContext)(this.viewModel,a.overrideContext):(j=(0,h.createOverrideContext)(this.viewModel),j.__parentOverrideContext=a.overrideContext),this.view.bind(this.viewModel,j)):b&&(j=a.overrideContext,void 0!==a.overrideContext.__parentOverrideContext&&this.viewModel.viewFactory&&this.viewModel.viewFactory.factoryCreateInstruction.partReplacements&&(j=Object.assign({},a.overrideContext),j.parentOverrideContext=a.overrideContext.__parentOverrideContext),this.viewModel.bind(a.bindingContext,j))},a.prototype.unbind=function(){if(this.isBound){var a=this.boundProperties,b=void 0,c=void 0;for(this.isBound=!1,this.scope=null,null!==this.view&&this.view.unbind(),this.behavior.handlesUnbind&&this.viewModel.unbind(),null!==this.elementEvents&&this.elementEvents.disposeAll(),b=0,c=a.length;b<c;++b)a[b].binding.unbind()}},a.prototype.attached=function(){this.isAttached||(this.isAttached=!0,this.behavior.handlesAttached&&this.viewModel.attached(),null!==this.view&&this.view.attached())},a.prototype.detached=function(){this.isAttached&&(this.isAttached=!1,null!==this.view&&this.view.detached(),this.behavior.handlesDetached&&this.viewModel.detached())},a}(),Ab=a.BehaviorPropertyObserver=(Ea=(0,h.subscriberCollection)(),Ea(Fa=function(){function a(a,b,c,d,e){this.taskQueue=a,this.obj=b,this.propertyName=c,this.notqueued=!0,this.publishing=!1,this.selfSubscriber=d,this.currentValue=this.oldValue=e}return a.prototype.getValue=function(){return this.currentValue},a.prototype.setValue=function(a){var b=this.currentValue;b!==a&&(this.oldValue=b,this.currentValue=a,this.publishing&&this.notqueued&&(this.taskQueue.flushing?this.call():(this.notqueued=!1,this.taskQueue.queueMicroTask(this))))},a.prototype.call=function(){var a=this.oldValue,b=this.currentValue;this.notqueued=!0,b!==a&&(this.selfSubscriber&&this.selfSubscriber(b,a),this.callSubscribers(b,a),this.oldValue=b)},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a}())||Fa),Bb=a.BindableProperty=function(){function a(a){"string"==typeof a?this.name=a:Object.assign(this,a),this.attribute=this.attribute||l(this.name),null!==this.defaultBindingMode&&void 0!==this.defaultBindingMode||(this.defaultBindingMode=h.bindingMode.oneWay),this.changeHandler=this.changeHandler||null,this.owner=null,this.descriptor=null}return a.prototype.registerWith=function(a,b,c){if(b.properties.push(this),b.attributes[this.attribute]=this,this.owner=b,c)return this.descriptor=c,this._configureDescriptor(b,c)},a.prototype._configureDescriptor=function(a,b){var c=this.name;return b.configurable=!0,b.enumerable=!0,"initializer"in b&&(this.defaultValue=b.initializer,delete b.initializer,delete b.writable),"value"in b&&(this.defaultValue=b.value,delete b.value,delete b.writable),b.get=function(){return E(a,this,c).getValue()},b.set=function(b){E(a,this,c).setValue(b)},b.get.getObserver=function(b){return E(a,b,c)},b},a.prototype.defineOn=function(a,b){var c=this.name,d=void 0;null===this.changeHandler&&(d=c+"Changed",d in a.prototype&&(this.changeHandler=d)),null===this.descriptor&&Object.defineProperty(a.prototype,c,this._configureDescriptor(b,{}))},a.prototype.createObserver=function(a){var b=null,c=this.defaultValue,d=this.changeHandler,e=this.name,f=void 0;if(!this.hasOptions){if(d in a)b="propertyChanged"in a?function(b,c){a[d](b,c),a.propertyChanged(e,b,c)}:function(b,c){return a[d](b,c)};else if("propertyChanged"in a)b=function(b,c){return a.propertyChanged(e,b,c)};else if(null!==d)throw new Error("Change handler "+d+" was specified but not declared on the class.");return void 0!==c&&(f="function"==typeof c?c.call(a):c),new Ab(this.owner.taskQueue,a,this.name,b,f)}},a.prototype._initialize=function(a,b,c,d,e){var f=void 0,g=void 0,h=void 0,i=this.defaultValue;if(this.isDynamic)for(var j in c)this._createDynamicProperty(a,b,d,j,c[j],e);else this.hasOptions||(g=b[this.name],null!==c&&(f=g.selfSubscriber,h=c[this.attribute],d&&(g.selfSubscriber=null),"string"==typeof h?(a[this.name]=h,g.call()):h?e.push({observer:g,binding:h.createBinding(a)}):void 0!==i&&g.call(),g.selfSubscriber=f),g.publishing=!0)},a.prototype._createDynamicProperty=function(a,b,c,d,e,f){var g=d+"Changed",h=null,i=void 0,j=void 0;g in a?h="propertyChanged"in a?function(b,c){a[g](b,c),a.propertyChanged(d,b,c)}:function(b,c){return a[g](b,c)}:"propertyChanged"in a&&(h=function(b,c){return a.propertyChanged(d,b,c)}),i=b[d]=new Ab(this.owner.taskQueue,a,d,h),Object.defineProperty(a,d,{configurable:!0,enumerable:!0,get:i.getValue.bind(i),set:i.setValue.bind(i)}),c&&(i.selfSubscriber=null),"string"==typeof e?(a[d]=e,i.call()):e&&(j={observer:i,binding:e.createBinding(a)},f.push(j)),i.publishing=!0,i.selfSubscriber=h},a}(),Cb=0,Db=a.HtmlBehaviorResource=function(){function a(){this.elementName=null,this.attributeName=null,this.attributeDefaultBindingMode=void 0,this.liftsContent=!1,this.targetShadowDOM=!1,this.shadowDOMOptions=null,this.processAttributes=H,this.processContent=G,this.usesShadowDOM=!1,this.childBindings=null,this.hasDynamicOptions=!1,this.containerless=!1,this.properties=[],this.attributes={},this.isInitialized=!1}return a.convention=function(b,c){var d=void 0;return b.endsWith("CustomAttribute")&&(d=c||new a,d.attributeName=l(b.substring(0,b.length-15))),b.endsWith("CustomElement")&&(d=c||new a,d.elementName=l(b.substring(0,b.length-13))),d},a.prototype.addChildBinding=function(a){null===this.childBindings&&(this.childBindings=[]),this.childBindings.push(a)},a.prototype.initialize=function(a,b){var c=b.prototype,e=this.properties,f=this.attributeName,g=this.attributeDefaultBindingMode,j=void 0,k=void 0,l=void 0;if(!this.isInitialized)if(this.isInitialized=!0,b.__providerId__=F(),this.observerLocator=a.get(h.ObserverLocator),this.taskQueue=a.get(i.TaskQueue),this.target=b,this.usesShadowDOM=this.targetShadowDOM&&d.FEATURE.shadowDOM,this.handlesCreated="created"in c,this.handlesBind="bind"in c,this.handlesUnbind="unbind"in c,this.handlesAttached="attached"in c,this.handlesDetached="detached"in c,this.htmlName=this.elementName||this.attributeName,null!==f)if(0===e.length&&new Bb({name:"value",changeHandler:"valueChanged"in c?"valueChanged":null,attribute:f,defaultBindingMode:g}).registerWith(b,this),l=e[0],1===e.length&&"value"===l.name)l.isDynamic=l.hasOptions=this.hasDynamicOptions,l.defineOn(b,this);else{for(j=0,k=e.length;j<k;++j)e[j].defineOn(b,this);l=new Bb({name:"value",changeHandler:"valueChanged"in c?"valueChanged":null,attribute:f,defaultBindingMode:g}),l.hasOptions=!0,l.registerWith(b,this)}else for(j=0,k=e.length;j<k;++j)e[j].defineOn(b,this)},a.prototype.register=function(a,b){null!==this.attributeName&&a.registerAttribute(b||this.attributeName,this,this.attributeName),null!==this.elementName&&a.registerElement(b||this.elementName,this)},a.prototype.load=function(a,b,d,e,f){var g=this,h=void 0;return null!==this.elementName?(e=a.get(cb).getViewStrategy(e||this.viewStrategy||b),h=new Va(this.targetShadowDOM,(!0)),e.moduleId||(e.moduleId=c.Origin.get(b).moduleId),e.loadViewFactory(a.get(yb),h,d,b).then(function(a){return f&&g.viewFactory||(g.viewFactory=a),a})):Promise.resolve(this)},a.prototype.compile=function(a,b,c,e,f){if(this.liftsContent){if(!e.viewFactory){var g=d.DOM.createElement("template"),h=d.DOM.createDocumentFragment(),i=c.getAttribute("view-cache"),j=c.getAttribute("part");c.removeAttribute(e.originalAttrName),d.DOM.replaceNode(g,c,f),h.appendChild(c),e.viewFactory=a.compile(h,b),j&&(e.viewFactory.part=j,c.removeAttribute("part")),i&&(e.viewFactory.setCacheSize(i),c.removeAttribute("view-cache")),c=g}}else if(null!==this.elementName){var k={};if(this.processContent(a,b,c,e)&&c.hasChildNodes()){for(var l=c.firstChild,n=this.usesShadowDOM?null:d.DOM.createElement("au-content"),o=void 0,p=void 0;l;)o=l.nextSibling,"TEMPLATE"===l.tagName&&(p=l.getAttribute("replace-part"))?(k[p]=a.compile(l,b),d.DOM.removeNode(l,f),e.partReplacements=k):null!==n&&(3===l.nodeType&&m(l)?d.DOM.removeNode(l,f):n.appendChild(l)),l=o;null!==n&&n.hasChildNodes()&&c.appendChild(n),e.skipContentProcessing=!1}else e.skipContentProcessing=!0}return c},a.prototype.create=function(a,b,c,e){var f=void 0,g=null;b=b||Wa.normal,c=c||null,e=e||null,null!==this.elementName&&c&&(this.usesShadowDOM?(f=c.attachShadow(this.shadowDOMOptions),a.registerInstance(d.DOM.boundary,f)):(f=c,this.targetShadowDOM&&a.registerInstance(d.DOM.boundary,f))),null!==c&&(c.au=g=c.au||{});var h=b.viewModel||a.get(this.target),i=new zb(this,b,h,a),j=this.childBindings,k=void 0;if(this.liftsContent)g.controller=i;else if(null!==this.elementName){if(k=b.viewFactory||this.viewFactory,a.viewModel=h,k&&(i.view=k.create(a,b,c)),null!==c){if(g.controller=i,i.view){if(!this.usesShadowDOM&&(1===c.childNodes.length||c.contentElement)){var l=c.childNodes[0]||c.contentElement;i.view.contentView={fragment:l},l.parentNode&&d.DOM.removeNode(l)}if(b.anchorIsContainer){if(null!==j)for(var m=0,n=j.length;m<n;++m)i.view.addBinding(j[m].create(c,h,i));i.view.appendNodesTo(f)}else i.view.insertNodesBefore(f)}else if(null!==j)for(var o=0,p=j.length;o<p;++o)e.push(j[o].create(c,h,i))}else if(i.view){if(i.view.controller=i,null!==j)for(var q=0,r=j.length;q<r;++q)i.view.addBinding(j[q].create(b.host,h,i))}else if(null!==j)for(var s=0,t=j.length;s<t;++s)e.push(j[s].create(b.host,h,i))}else if(null!==j)for(var u=0,v=j.length;u<v;++u)e.push(j[u].create(c,h,i));return null!==g&&(g[this.htmlName]=i),b.initiatedByBehavior&&k&&i.view.created(),i},a.prototype._ensurePropertiesDefined=function(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;if(!("__propertiesDefined__"in b))for(b.__propertiesDefined__=!0,c=this.properties,d=0,e=c.length;d<e;++d)f=c[d].createObserver(a),void 0!==f&&(b[f.propertyName]=f)},a}(),Eb=function(){function a(a){this.name=a.name,this.changeHandler=a.changeHandler||this.name+"Changed",this.selector=a.selector,this.all=a.all}return a.prototype.create=function(a,b,c){return new Gb(this.selector,a,this.name,b,c,this.changeHandler,this.all)},a}(),Fb=[],Gb=function(){function a(a,b,c,d,e,f,g){this.selector=a,this.viewHost=b,this.property=c,this.viewModel=d,this.controller=e,this.changeHandler=f in d?f:null,this.usesShadowDOM=e.behavior.usesShadowDOM,this.all=g,!this.usesShadowDOM&&e.view&&e.view.contentView?this.contentView=e.view.contentView:this.contentView=null}return a.prototype.matches=function(a){if(a.matches(this.selector)){if(null===this.contentView)return!0;var b=this.contentView,c=a.auAssignedSlot;if(c&&c.projectFromAnchors){for(var d=c.projectFromAnchors,e=0,f=d.length;e<f;++e)if(d[e].auOwnerView===b)return!0;return!1}return a.auOwnerView===b}return!1},a.prototype.bind=function(a){var b=this.viewHost,c=this.viewModel,e=b.__childObserver__;if(!e){e=b.__childObserver__=d.DOM.createMutationObserver(M);var f={childList:!0,subtree:!this.usesShadowDOM};e.observe(b,f),e.binders=[]}if(e.binders.push(this),this.usesShadowDOM){var g=b.firstElementChild;if(this.all){var h=c[this.property];for(h?h.length=0:h=c[this.property]=[];g;)this.matches(g)&&h.push(g.au&&g.au.controller?g.au.controller.viewModel:g),g=g.nextElementSibling;null!==this.changeHandler&&this.viewModel[this.changeHandler](Fb)}else for(;g;){if(this.matches(g)){var i=g.au&&g.au.controller?g.au.controller.viewModel:g;this.viewModel[this.property]=i,null!==this.changeHandler&&this.viewModel[this.changeHandler](i);break}g=g.nextElementSibling}}},a.prototype.onRemove=function(a){if(this.matches(a)){var b=a.au&&a.au.controller?a.au.controller.viewModel:a;if(this.all){var c=this.viewModel[this.property]||(this.viewModel[this.property]=[]),d=c.indexOf(b);return d!==-1&&c.splice(d,1),!0}return!1}return!1},a.prototype.onAdd=function(a){if(this.matches(a)){var b=a.au&&a.au.controller?a.au.controller.viewModel:a;if(this.all){for(var c=this.viewModel[this.property]||(this.viewModel[this.property]=[]),d=0,e=a.previousElementSibling;e;)this.matches(e)&&d++,e=e.previousElementSibling;return c.splice(d,0,b),!0}this.viewModel[this.property]=b,null!==this.changeHandler&&this.viewModel[this.changeHandler](b)}return!1},a.prototype.unbind=function(){this.viewHost.__childObserver__&&(this.viewHost.__childObserver__.disconnect(),this.viewHost.__childObserver__=null)},a}(),Hb=a.CompositionEngine=(Ga=(0,g.inject)(yb,cb),Ga(Ha=function(){function a(a,b){this.viewEngine=a,this.viewLocator=b}return a.prototype._createControllerAndSwap=function(a){function b(b){return Promise.resolve(a.viewSlot.removeAll(!0)).then(function(){return a.currentController&&a.currentController.unbind(),a.viewSlot.add(b.view),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),b})}return this.createController(a).then(function(c){return c.automate(a.overrideContext,a.owningView),a.compositionTransactionOwnershipToken?a.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function(){return b(c)}):b(c)})},a.prototype.createController=function(a){var b=this,c=void 0,d=void 0,e=void 0,f=void 0;return this.ensureViewModel(a).then(N).then(function(){c=a.childContainer,d=a.viewModel,e=a.viewModelResource,f=e.metadata;var g=b.viewLocator.getViewStrategy(a.view||d);return a.viewResources&&g.makeRelativeTo(a.viewResources.viewUrl),f.load(c,e.value,null,g,!0)}).then(function(b){return f.create(c,Wa.dynamic(a.host,d,b))})},a.prototype.ensureViewModel=function(a){var b=a.childContainer=a.childContainer||a.container.createChild();if("string"==typeof a.viewModel)return a.viewModel=a.viewResources?a.viewResources.relativeToView(a.viewModel):a.viewModel,this.viewEngine.importViewModelResource(a.viewModel).then(function(c){return b.autoRegister(c.value),a.host&&b.registerInstance(d.DOM.Element,a.host),a.viewModel=b.viewModel=b.get(c.value),a.viewModelResource=c,a});var e=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a.viewModel.constructor);return e.elementName=e.elementName||"dynamic-element",e.initialize(a.container||b,a.viewModel.constructor),a.viewModelResource={metadata:e,value:a.viewModel.constructor},b.viewModel=a.viewModel,Promise.resolve(a)},a.prototype.compose=function(a){a.childContainer=a.childContainer||a.container.createChild(),a.view=this.viewLocator.getViewStrategy(a.view);var b=a.childContainer.get(Qa),c=b.tryCapture();return c?a.compositionTransactionOwnershipToken=c:a.compositionTransactionNotifier=b.enlist(),a.viewModel?this._createControllerAndSwap(a):a.view?(a.viewResources&&a.view.makeRelativeTo(a.viewResources.viewUrl),a.view.loadViewFactory(this.viewEngine,new Va).then(function(b){var c=b.create(a.childContainer);c.bind(a.bindingContext,a.overrideContext);var d=function(){return Promise.resolve(a.viewSlot.removeAll(!0)).then(function(){return a.viewSlot.add(c),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),c})};return a.compositionTransactionOwnershipToken?a.compositionTransactionOwnershipToken.waitForCompositionComplete().then(d):d()})):a.viewSlot?(a.viewSlot.removeAll(),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),Promise.resolve(null)):Promise.resolve(null)},a}())||Ha),Ib=a.ElementConfigResource=function(){function a(){}return a.prototype.initialize=function(a,b){},a.prototype.register=function(a,b){},a.prototype.load=function(a,b){var c=new b,d=a.get(h.EventManager);d.registerElementConfig(c)},a}(),Jb={mode:"open"};a.TemplatingEngine=(Ia=(0,g.inject)(g.Container,vb,sb,Hb),Ia(Ja=function(){function a(a,b,c,d){this._container=a,this._moduleAnalyzer=b,this._viewCompiler=c,this._compositionEngine=d,a.registerInstance(Na,Na.instance=new Na)}return a.prototype.configureAnimator=function(a){this._container.unregister(Na),this._container.registerInstance(Na,Na.instance=a)},a.prototype.compose=function(a){return this._compositionEngine.compose(a)},a.prototype.enhance=function(a){a instanceof d.DOM.Element&&(a={element:a});var b={},c=a.resources||this._container.get(jb);this._viewCompiler._compileNode(a.element,c,b,a.element.parentNode,"root",!0);var e=new pb(a.element,b,c),f=a.container||this._container.createChild(),g=e.create(f,Wa.enhance());return g.bind(a.bindingContext||{},a.overrideContext),g},a}())||Ja)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating@1.1.1.js",["npm:aurelia-templating@1.1.1/aurelia-templating"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1/aurelia-path.js",["exports"],function(a){"use strict";function b(a){for(var b=0;b<a.length;++b){var c=a[b];if("."===c)a.splice(b,1),b-=1;else if(".."===c){if(0===b||1===b&&".."===a[2]||".."===a[b-1])continue;b>0&&(a.splice(b-1,2),b-=2)}}}function c(a,c){var d=c&&c.split("/"),e=a.trim().split("/");if("."===e[0].charAt(0)&&d){var f=d.slice(0,d.length-1);e.unshift.apply(e,f)}return b(e),e.join("/")}function d(a,b){if(!a)return b;if(!b)return a;var c=a.match(/^([^\/]*?:)\//),d=c&&c.length>0?c[1]:"";a=a.substr(d.length);var e=void 0;e=0===a.indexOf("///")&&"file:"===d?"///":0===a.indexOf("//")?"//":0===a.indexOf("/")?"/":"";for(var f="/"===b.slice(-1)?"/":"",g=a.split("/"),h=b.split("/"),i=[],j=0,k=g.length;j<k;++j)if(".."===g[j])i.pop();else{if("."===g[j]||""===g[j])continue;i.push(g[j])}for(var l=0,m=h.length;l<m;++l)if(".."===h[l])i.pop();else{if("."===h[l]||""===h[l])continue;i.push(h[l])}return d+e+i.join("/")+f}function e(a,b,c){var d=[];if(null===b||void 0===b)return d;if(Array.isArray(b))for(var f=0,g=b.length;f<g;f++)if(c)d.push(l(a)+"="+k(b[f]));else{var h=a+"["+("object"===j(b[f])&&null!==b[f]?f:"")+"]";d=d.concat(e(h,b[f]))}else if("object"!==("undefined"==typeof b?"undefined":j(b))||c)d.push(l(a)+"="+k(b));else for(var i in b)d=d.concat(e(a+"["+i+"]",b[i]));return d}function f(a,b){for(var c=[],d=Object.keys(a||{}).sort(),f=0,g=d.length;f<g;f++){var h=d[f];c=c.concat(e(h,a[h],b))}return 0===c.length?"":c.join("&")}function g(a,b){return Array.isArray(a)?(a.push(b),a):void 0!==a?[a,b]:b}function h(a,b,c){for(var d=a,e=b.length-1,f=0;f<=e;f++){var g=""===b[f]?d.length:b[f];if(f<e){var h=d[g]&&"object"!==j(d[g])?[d[g]]:d[g];d=d[g]=h||(isNaN(b[f+1])?{}:[])}else d=d[g]=c}}function i(a){var b={};if(!a||"string"!=typeof a)return b;var c=a;"?"===c.charAt(0)&&(c=c.substr(1));for(var d=c.replace(/\+/g," ").split("&"),e=0;e<d.length;e++){var f=d[e].split("="),i=decodeURIComponent(f[0]);if(i){var j=i.split("]["),k=j.length-1;if(/\[/.test(j[0])&&/\]$/.test(j[k])?(j[k]=j[k].replace(/\]$/,""),j=j.shift().split("[").concat(j),k=j.length-1):k=0,f.length>=2){var l=f[1]?decodeURIComponent(f[1]):"";k?h(b,j,l):b[i]=g(b[i],l)}else b[i]=!0}}return b}Object.defineProperty(a,"__esModule",{value:!0}),a.relativeToFile=c,a.join=d,a.buildQueryString=f,a.parseQueryString=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=encodeURIComponent,l=function(a){return k(a).replace("%24","$")}})}(),function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1.js",["npm:aurelia-path@1.1.1/aurelia-path"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js",["exports","aurelia-path"],function(a,b){"use strict";function c(a,b,c,d){var e=a;"/"===a.charAt(0)&&(e=a.substr(1));for(var f=[],g=e.split("/"),h=0,i=g.length;h<i;++h){var j=g[h],o=j.match(/^:([^?]+)(\?)?$/);if(o){var p=o,q=p[1],r=p[2];if(q.indexOf("=")!==-1)throw new Error("Parameter "+q+" in route "+a+" has a default value, which is not supported.");f.push(new l(q,(!!r))),b.push(q),c.dynamics++}else o=j.match(/^\*(.+)$/),o?(f.push(new m(o[1])),b.push(o[1]),c.stars++):""===j?f.push(new n):(f.push(new k(j,d)),c.statics++)}return f}function d(a){return a.sort(function(a,b){if(a.types.stars!==b.types.stars)return a.types.stars-b.types.stars;if(a.types.stars){if(a.types.statics!==b.types.statics)return b.types.statics-a.types.statics;if(a.types.dynamics!==b.types.dynamics)return b.types.dynamics-a.types.dynamics}return a.types.dynamics!==b.types.dynamics?a.types.dynamics-b.types.dynamics:a.types.statics!==b.types.statics?b.types.statics-a.types.statics:0})}function e(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d];c.push.apply(c,f.match(b))}for(var g=c.filter(function(a){return a.epsilon}),h=function(){var a=[];g.forEach(function(b){c.push.apply(c,b.epsilon),a.push.apply(a,b.epsilon)}),g=a.filter(function(a){return a.epsilon})};g.length>0;)h();return c}function f(a,b,c){for(var d=a.handlers,e=a.regex,f=b.match(e),g=1,h=new o(c),i=0,j=d.length;i<j;i++){for(var k=d[i],l=k.names,m={},n=0,p=l.length;n<p;n++)m[l[n]]=f[g++];h.push({handler:k.handler,params:m,isDynamic:!!l.length})}return h}function g(a,b){var c=a.put({validChars:"/"});return b.eachChar(function(a){c=c.put(a)}),b.optional&&(a.epsilon=a.epsilon||[],a.epsilon.push(c)),c}Object.defineProperty(a,"__esModule",{value:!0}),a.RouteRecognizer=a.EpsilonSegment=a.StarSegment=a.DynamicSegment=a.StaticSegment=a.State=void 0;var h=a.State=function(){function a(a){this.charSpec=a,this.nextStates=[]}return a.prototype.get=function(a){for(var b=this.nextStates,c=Array.isArray(b),d=0,b=c?b:b[Symbol.iterator]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{
+if(d=b.next(),d.done)break;e=d.value}var f=e,g=f.charSpec.validChars===a.validChars&&f.charSpec.invalidChars===a.invalidChars;if(g)return f}},a.prototype.put=function(b){var c=this.get(b);return c?c:(c=new a(b),this.nextStates.push(c),b.repeat&&c.nextStates.push(c),c)},a.prototype.match=function(a){for(var b=this.nextStates,c=[],d=0,e=b.length;d<e;d++){var f=b[d],g=f.charSpec;void 0!==g.validChars?g.validChars.indexOf(a)!==-1&&c.push(f):void 0!==g.invalidChars&&g.invalidChars.indexOf(a)===-1&&c.push(f)}return c},a}(),i=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],j=new RegExp("(\\"+i.join("|\\")+")","g"),k=a.StaticSegment=function(){function a(a,b){this.string=a,this.caseSensitive=b}return a.prototype.eachChar=function(a){for(var b=this.string,c=0,d=b.length;c<d;++c){var e=b[c];a({validChars:this.caseSensitive?e:e.toUpperCase()+e.toLowerCase()})}},a.prototype.regex=function(){return this.string.replace(j,"\\$1")},a.prototype.generate=function(){return this.string},a}(),l=a.DynamicSegment=function(){function a(a,b){this.name=a,this.optional=b}return a.prototype.eachChar=function(a){a({invalidChars:"/",repeat:!0})},a.prototype.regex=function(){return this.optional?"([^/]+)?":"([^/]+)"},a.prototype.generate=function(a,b){return b[this.name]=!0,a[this.name]},a}(),m=a.StarSegment=function(){function a(a){this.name=a}return a.prototype.eachChar=function(a){a({invalidChars:"",repeat:!0})},a.prototype.regex=function(){return"(.+)"},a.prototype.generate=function(a,b){return b[this.name]=!0,a[this.name]},a}(),n=a.EpsilonSegment=function(){function a(){}return a.prototype.eachChar=function(){},a.prototype.regex=function(){return""},a.prototype.generate=function(){return""},a}(),o=(a.RouteRecognizer=function(){function a(){this.rootState=new h,this.names={}}return a.prototype.add=function(a){var b=this;if(Array.isArray(a))return void a.forEach(function(a){return b.add(a)});for(var d=this.rootState,e="^",f={statics:0,dynamics:0,stars:0},h=[],i=a.handler.name,j=!0,k=!0,l=c(a.path,h,f,a.caseSensitive),m=0,o=l.length;m<o;m++){var p=l[m];p instanceof n||(j=!1,k=k&&p.optional,d=g(d,p),e+=p.optional?"/?":"/",e+=p.regex())}if(k)if(j)d=d.put({validChars:"/"}),e+="/";else{var q=this.rootState.put({validChars:"/"});d.epsilon=[q],d=q}var r=[{handler:a.handler,names:h}];if(i)for(var s=Array.isArray(i)?i:[i],t=0;t<s.length;t++)this.names[s[t]]={segments:l,handlers:r};return d.handlers=r,d.regex=new RegExp(e+"$",a.caseSensitive?"":"i"),d.types=f,d},a.prototype.handlersFor=function(a){var b=this.names[a];if(!b)throw new Error("There is no route named "+a);return[].concat(b.handlers)},a.prototype.hasRoute=function(a){return!!this.names[a]},a.prototype.generate=function(a,c){var d=this.names[a];if(!d)throw new Error("There is no route named "+a);var e=d.handlers[0].handler;if(e.generationUsesHref)return e.href;for(var f=Object.assign({},c),g=d.segments,h={},i="",j=0,k=g.length;j<k;j++){var l=g[j];if(!(l instanceof n)){var m=l.generate(f,h);if(null===m||void 0===m){if(!l.optional)throw new Error("A value is required for route parameter '"+l.name+"' in route '"+a+"'.")}else i+="/",i+=m}}"/"!==i.charAt(0)&&(i="/"+i);for(var o in h)delete f[o];var p=(0,b.buildQueryString)(f);return i+=p?"?"+p:""},a.prototype.recognize=function(a){var c=[this.rootState],g={},h=!1,i=a,j=i.indexOf("?");if(j!==-1){var k=i.substr(j+1,i.length);i=i.substr(0,j),g=(0,b.parseQueryString)(k)}i=decodeURI(i),"/"!==i.charAt(0)&&(i="/"+i);var l=i.length;l>1&&"/"===i.charAt(l-1)&&(i=i.substr(0,l-1),h=!0);for(var m=0,n=i.length;m<n&&(c=e(c,i.charAt(m)),c.length);m++);for(var o=[],p=0,q=c.length;p<q;p++)c[p].handlers&&o.push(c[p]);c=d(o);var r=o[0];if(r&&r.handlers)return h&&"(.+)$"===r.regex.source.slice(-5)&&(i+="/"),f(r,i,g)},a}(),function(a){this.splice=Array.prototype.splice,this.slice=Array.prototype.slice,this.push=Array.prototype.push,this.length=0,this.queryParams=a||{}})})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.0.js",["npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-metadata@1.0.1/aurelia-metadata.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=function(a,c,d){var e=b.length;if(c){for(d=d||{value:a[c],writable:!0,configurable:!0,enumerable:!0};e--;)d=b[e](a,c,d)||d;Object.defineProperty(a,c,d)}else for(;e--;)a=b[e](a)||a;return a};return d.on=d,d}function d(a,b,c){function d(c,d,e){var f=c.constructor.name+"#"+d,g=b?{}:a||{},h="DEPRECATION - "+f;if("function"!=typeof e.value)throw new SyntaxError("Only methods can be marked as deprecated.");return g.message&&(h+=" - "+g.message),l({},e,{value:function(){if(g.error)throw new Error(h);return console.warn(h),e.value.apply(this,arguments)}})}return b?d(a,b,c):d}function e(a){function b(b){var d=function(b){for(var d="function"==typeof b?b.prototype:b,e=c.length;e--;){var f=c[e];Object.defineProperty(d,f,{value:a[f],writable:!0})}};return b?d(b):d}var c=Object.keys(a);return b}function f(){return!0}function g(){}function h(a){return void 0===a?a={}:"function"==typeof a&&(a={validate:a}),a.validate||(a.validate=f),a.compose||(a.compose=g),a}function i(a){return function(b){var c=a(b);return c===!0}}function j(a,b){return function(c){var d=b(c);if(d!==!0)throw new Error(d||a+" was not correctly implemented.")}}function k(a,b){b=h(b);var c=function d(c){var e="function"==typeof c?c.prototype:c;b.compose(e),d.assert(e),Object.defineProperty(e,"protocol:"+a,{enumerable:!1,configurable:!1,writable:!1,value:!0})};return c.validate=i(b.validate),c.assert=j(a,b.validate),c}Object.defineProperty(a,"__esModule",{value:!0}),a.Origin=a.metadata=void 0,a.decorators=c,a.deprecated=d,a.mixin=e,a.protocol=k;var l=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},n=a.metadata={resource:"aurelia:resource",paramTypes:"design:paramtypes",propertyType:"design:type",properties:"design:properties",get:function(a,b,c){if(b){var d=n.getOwn(a,b,c);return void 0===d?n.get(a,Object.getPrototypeOf(b),c):d}},getOwn:function(a,b,c){if(b)return Reflect.getOwnMetadata(a,b,c)},define:function(a,b,c,d){Reflect.defineMetadata(a,b,c,d)},getOrCreateOwn:function(a,b,c,d){var e=n.getOwn(a,c,d);return void 0===e&&(e=new b,Reflect.defineMetadata(a,e,c,d)),e}},o=new Map,p=Object.freeze({moduleId:void 0,moduleMember:void 0});a.Origin=function(){function a(a,b){this.moduleId=a,this.moduleMember=b}return a.get=function(c){var d=o.get(c);return void 0===d&&b.PLATFORM.eachModule(function(b,e){if("object"===("undefined"==typeof e?"undefined":m(e)))for(var f in e){var g=e[f];if(g===c)return o.set(c,d=new a(b,f)),!0}return e===c&&(o.set(c,d=new a(b,"default")),!0)}),d||p},a.set=function(a,b){o.set(a,b)},a}();k.create=function(a,b){b=h(b);var c="protocol:"+a,d=function(c){var d=k(a,b);return c?d(c):d};return d.decorates=function(a){return a[c]===!0},d.validate=i(b.validate),d.assert=j(a,b.validate),d}})}(),function(){var a=System.amdDefine;a("npm:aurelia-metadata@1.0.1.js",["npm:aurelia-metadata@1.0.1/aurelia-metadata"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection.js",["exports","aurelia-metadata","aurelia-pal"],function(a,b,c){"use strict";function d(a,c){var d=a.inject;if("function"==typeof d)throw new Error("Decorator "+c+' cannot be used with "inject()". Please use an array instead.');return d||(d=b.metadata.getOwn(b.metadata.paramTypes,a).slice(),a.inject=d),d}function e(a){return function(b,c,e){var f=d(b,"lazy");f[e]=J.of(a)}}function f(a){return function(b,c,e){var f=d(b,"all");f[e]=K.of(a)}}function g(){var a=arguments.length<=0||void 0===arguments[0]||arguments[0],b=function(a){return function(b,c,e){var f=d(b,"optional");f[e]=L.of(f[e],a)}};return b("boolean"==typeof a?a:!0)}function h(a,b,c){var e=d(a,"parent");e[c]=M.of(e[c])}function i(a,b){return function(c,e,f){var g=d(c,"factory"),h=O.of(a);g[f]=b?h.as(b):h}}function j(a){for(var b=arguments.length,c=Array(b>1?b-1:0),e=1;e<b;e++)c[e-1]=arguments[e];var f=function(a){return function(b,e,f){var g=d(b,"newInstance");g[f]=P.of.apply(P,[g[f]].concat(c)),a&&g[f].as(a)}};return arguments.length>=1?f(a):f()}function k(a){return function(c){b.metadata.define(b.metadata.invoker,a,c)}}function i(a){var c=function(a){b.metadata.define(b.metadata.invoker,Q.instance,a)};return a?c(a):c}function l(a){return function(c){b.metadata.define(b.metadata.registration,a,c)}}function m(a){return l(new R(a))}function n(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return l(new S(a,b))}function o(a){if(null===a||void 0===a)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function p(a,b,c,d){for(var e=c.length,f=new Array(e);e--;)f[e]=a.get(c[e]);return void 0!==d&&(f=f.concat(d)),Reflect.construct(b,f)}function q(a){return a.hasOwnProperty("inject")?"function"==typeof a.inject?a.inject():a.inject:[]}function r(a){var c=function(a){var c=a.inject,d=b.metadata.getOwn(b.metadata.paramTypes,a)||T;if(c){for(var e=0;e<d.length;e++)if(c[e]&&c[e]!==d[e]){var f=c.indexOf(d[e]);f>-1?(c.splice(f,1),c.splice(f>-1&&f<e?e-1:e,0,d[e])):c[e]||(c[e]=d[e])}}else a.inject=d};return a?c(a):c}function s(){for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];return function(a,d,e){if("number"==typeof e&&1===c.length){var f=a.inject;if("function"==typeof f)throw new Error('Decorator inject cannot be used with "inject()". Please use an array instead.');return f||(f=b.metadata.getOwn(b.metadata.paramTypes,a).slice(),a.inject=f),void(f[e]=c[0])}if(e){var g=e.value;g.inject=c}else a.inject=c}}Object.defineProperty(a,"__esModule",{value:!0}),a.Container=a.InvocationHandler=a._emptyParameters=a.SingletonRegistration=a.TransientRegistration=a.FactoryInvoker=a.NewInstance=a.Factory=a.StrategyResolver=a.Parent=a.Optional=a.All=a.Lazy=a.resolver=void 0,a.getDecoratorDependencies=d,a.lazy=e,a.all=f,a.optional=g,a.parent=h,a.factory=i,a.newInstance=j,a.invoker=k,a.factory=i,a.registration=l,a["transient"]=m,a.singleton=n,a.autoinject=r,a.inject=s;var t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I=a.resolver=b.protocol.create("aurelia:resolver",function(a){return"function"==typeof a.get||"Resolvers must implement: get(container: Container, key: any): any"}),J=a.Lazy=(t=I(),t(u=function(){function a(a){this._key=a}return a.prototype.get=function(a){var b=this;return function(){return a.get(b._key)}},a.of=function(b){return new a(b)},a}())||u),K=a.All=(v=I(),v(w=function(){function a(a){this._key=a}return a.prototype.get=function(a){return a.getAll(this._key)},a.of=function(b){return new a(b)},a}())||w),L=a.Optional=(x=I(),x(y=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]||arguments[1];this._key=a,this._checkParent=b}return a.prototype.get=function(a){return a.hasResolver(this._key,this._checkParent)?a.get(this._key):null},a.of=function(b){var c=arguments.length<=1||void 0===arguments[1]||arguments[1];return new a(b,c)},a}())||y),M=a.Parent=(z=I(),z(A=function(){function a(a){this._key=a}return a.prototype.get=function(a){return a.parent?a.parent.get(this._key):null},a.of=function(b){return new a(b)},a}())||A),N=a.StrategyResolver=(B=I(),B(C=function(){function a(a,b){this.strategy=a,this.state=b}return a.prototype.get=function(a,b){switch(this.strategy){case 0:return this.state;case 1:var c=a.invoke(this.state);return this.state=c,this.strategy=0,c;case 2:return a.invoke(this.state);case 3:return this.state(a,b,this);case 4:return this.state[0].get(a,b);case 5:return a.get(this.state);default:throw new Error("Invalid strategy: "+this.strategy)}},a}())||C),O=a.Factory=(D=I(),D(E=function(){function a(a){this._key=a}return a.prototype.get=function(a){var b=this;return function(){for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return a.invoke(b._key,d)}},a.of=function(b){return new a(b)},a}())||E),P=a.NewInstance=(F=I(),F(G=function(){function a(a){this.key=a,this.asKey=a;for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.dynamicDependencies=c}return a.prototype.get=function(a){var b=this.dynamicDependencies.length>0?this.dynamicDependencies.map(function(b){return b["protocol:aurelia:resolver"]?b.get(a):a.get(b)}):void 0,c=a.invoke(this.key,b);return a.registerInstance(this.asKey,c),c},a.prototype.as=function(a){return this.asKey=a,this},a.of=function(b){for(var c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];return new(Function.prototype.bind.apply(a,[null].concat([b],d)))},a}())||G),Q=a.FactoryInvoker=function(){function a(){}return a.prototype.invoke=function(a,b,c){for(var d=c.length,e=new Array(d);d--;)e[d]=a.get(c[d]);return b.apply(void 0,e)},a.prototype.invokeWithDynamicDependencies=function(a,b,c,d){for(var e=c.length,f=new Array(e);e--;)f[e]=a.get(c[e]);return void 0!==d&&(f=f.concat(d)),b.apply(void 0,f)},a}();Q.instance=new Q;var R=a.TransientRegistration=function(){function a(a){this._key=a}return a.prototype.registerResolver=function(a,b,c){return a.registerTransient(this._key||b,c)},a}(),S=a.SingletonRegistration=function(){function a(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];"boolean"==typeof a?this._registerInChild=a:(this._key=a,this._registerInChild=b)}return a.prototype.registerResolver=function(a,b,c){return this._registerInChild?a.registerSingleton(this._key||b,c):a.root.registerSingleton(this._key||b,c)},a}(),T=a._emptyParameters=Object.freeze([]);b.metadata.registration="aurelia:registration",b.metadata.invoker="aurelia:invoker";var U=I.decorates,V=a.InvocationHandler=function(){function a(a,b,c){this.fn=a,this.invoker=b,this.dependencies=c}return a.prototype.invoke=function(a,b){return void 0!==b?this.invoker.invokeWithDynamicDependencies(a,this.fn,this.dependencies,b):this.invoker.invoke(a,this.fn,this.dependencies)},a}(),W=(H={},H[0]={invoke:function(a,b){return new b},invokeWithDynamicDependencies:p},H[1]={invoke:function(a,b,c){return new b(a.get(c[0]))},invokeWithDynamicDependencies:p},H[2]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]))},invokeWithDynamicDependencies:p},H[3]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]))},invokeWithDynamicDependencies:p},H[4]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]),a.get(c[3]))},invokeWithDynamicDependencies:p},H[5]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]),a.get(c[3]),a.get(c[4]))},invokeWithDynamicDependencies:p},H.fallback={invoke:p,invokeWithDynamicDependencies:p},H);a.Container=function(){function a(a){void 0===a&&(a={}),this._configuration=a,this._onHandlerCreated=a.onHandlerCreated,this._handlers=a.handlers||(a.handlers=new Map),this._resolvers=new Map,this.root=this,this.parent=null}return a.prototype.makeGlobal=function(){return a.instance=this,this},a.prototype.setHandlerCreatedCallback=function(a){this._onHandlerCreated=a,this._configuration.onHandlerCreated=a},a.prototype.registerInstance=function(a,b){return this.registerResolver(a,new N(0,void 0===b?a:b))},a.prototype.registerSingleton=function(a,b){return this.registerResolver(a,new N(1,void 0===b?a:b))},a.prototype.registerTransient=function(a,b){return this.registerResolver(a,new N(2,void 0===b?a:b))},a.prototype.registerHandler=function(a,b){return this.registerResolver(a,new N(3,b))},a.prototype.registerAlias=function(a,b){return this.registerResolver(b,new N(5,a))},a.prototype.registerResolver=function(a,b){o(a);var c=this._resolvers,d=c.get(a);return void 0===d?c.set(a,b):4===d.strategy?d.state.push(b):c.set(a,new N(4,[d,b])),b},a.prototype.autoRegister=function(a,c){if(c=void 0===c?a:c,"function"==typeof c){var d=b.metadata.get(b.metadata.registration,c);return void 0===d?this.registerResolver(a,new N(1,c)):d.registerResolver(this,a,c)}return this.registerResolver(a,new N(0,c))},a.prototype.autoRegisterAll=function(a){for(var b=a.length;b--;)this.autoRegister(a[b])},a.prototype.unregister=function(a){this._resolvers["delete"](a)},a.prototype.hasResolver=function(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return o(a),this._resolvers.has(a)||b&&null!==this.parent&&this.parent.hasResolver(a,b)},a.prototype.get=function(b){if(o(b),b===a)return this;if(U(b))return b.get(this,b);var c=this._resolvers.get(b);return void 0===c?null===this.parent?this.autoRegister(b).get(this,b):this.parent._get(b):c.get(this,b)},a.prototype._get=function(a){var b=this._resolvers.get(a);return void 0===b?null===this.parent?this.autoRegister(a).get(this,a):this.parent._get(a):b.get(this,a)},a.prototype.getAll=function(a){o(a);var b=this._resolvers.get(a);if(void 0===b)return null===this.parent?T:this.parent.getAll(a);if(4===b.strategy){for(var c=b.state,d=c.length,e=new Array(d);d--;)e[d]=c[d].get(this,a);return e}return[b.get(this,a)]},a.prototype.createChild=function(){var b=new a(this._configuration);return b.root=this.root,b.parent=this,b},a.prototype.invoke=function(a,b){try{var d=this._handlers.get(a);return void 0===d&&(d=this._createInvocationHandler(a),this._handlers.set(a,d)),d.invoke(this,b)}catch(e){throw new c.AggregateError("Error invoking "+a.name+". Check the inner error for details.",e,(!0))}},a.prototype._createInvocationHandler=function(a){var c=void 0;if(void 0===a.inject)c=b.metadata.getOwn(b.metadata.paramTypes,a)||T;else{c=[];for(var d=a;"function"==typeof d;){var e;(e=c).push.apply(e,q(d)),d=Object.getPrototypeOf(d)}}var f=b.metadata.getOwn(b.metadata.invoker,a)||W[c.length]||W.fallback,g=new V(a,f,c);return void 0!==this._onHandlerCreated?this._onHandlerCreated(g):g},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-dependency-injection@1.1.0.js",["npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-history@1.0.0/aurelia-history.js",["exports"],function(a){"use strict";function b(a){throw new Error("History must implement "+a+"().")}Object.defineProperty(a,"__esModule",{value:!0});a.History=function(){function a(){}return a.prototype.activate=function(a){b("activate")},a.prototype.deactivate=function(){b("deactivate")},a.prototype.getAbsoluteRoot=function(){b("getAbsoluteRoot")},a.prototype.navigate=function(a,c){b("navigate")},a.prototype.navigateBack=function(){b("navigateBack")},a.prototype.setTitle=function(a){b("setTitle")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-history@1.0.0.js",["npm:aurelia-history@1.0.0/aurelia-history"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator.js",["exports","aurelia-logging"],function(a,b){"use strict";function c(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function d(a){var b=new i;return a.subscribeOnce=function(a,c){return b.subscribeOnce(a,c)},a.subscribe=function(a,c){return b.subscribe(a,c)},a.publish=function(a,c){b.publish(a,c)},b}function e(a){a.instance(i,d(a.aurelia))}Object.defineProperty(a,"__esModule",{value:!0}),a.EventAggregator=void 0,a.includeEventsIn=d,a.configure=e;var f=c(b),g=f.getLogger("event-aggregator"),h=function(){function a(a,b){this.messageType=a,this.callback=b}return a.prototype.handle=function(a){a instanceof this.messageType&&this.callback.call(null,a)},a}(),i=a.EventAggregator=function(){function a(){this.eventLookup={},this.messageHandlers=[]}return a.prototype.publish=function(a,b){var c=void 0,d=void 0;if(!a)throw new Error("Event was invalid.");if("string"==typeof a){if(c=this.eventLookup[a]){c=c.slice(),d=c.length;try{for(;d--;)c[d](b,a)}catch(e){g.error(e)}}}else{c=this.messageHandlers.slice(),d=c.length;try{for(;d--;)c[d].handle(a)}catch(e){g.error(e)}}},a.prototype.subscribe=function(a,b){var c=void 0,d=void 0;if(!a)throw new Error("Event channel/type was invalid.");return"string"==typeof a?(c=b,d=this.eventLookup[a]||(this.eventLookup[a]=[])):(c=new h(a,b),d=this.messageHandlers),d.push(c),{dispose:function(){var a=d.indexOf(c);a!==-1&&d.splice(a,1)}}},a.prototype.subscribeOnce=function(a,b){var c=this.subscribe(a,function(a,d){return c.dispose(),b(a,d)});return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-event-aggregator@1.0.0.js",["npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.0.6/aurelia-router.js",["exports","aurelia-logging","aurelia-route-recognizer","aurelia-dependency-injection","aurelia-history","aurelia-event-aggregator"],function(a,b,c,d,e,f){"use strict";function g(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function h(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function i(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function j(a,b){var c=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return b||"#"===a[0]||(a="#"+a),b&&c&&(a=a.substring(1,a.length)),a}function k(a,b,c,d){if(M.test(a))return a;var e="";return b.length&&"/"!==b[0]&&(e+="/"),e+=b,e.length&&"/"===e[e.length-1]||"/"===a[0]||(e+="/"),e.length&&"/"===e[e.length-1]&&"/"===a[0]&&(e=e.substring(0,e.length-1)),j(e+a,c,d)}function l(a,b,c){return L.test(a)?j(a,c):k(a,b,c)}function m(a,b){return function(a){return Promise.resolve({status:b,output:a,completed:b===N.completed})}}function n(a){a.previousInstruction=null,a.plan=null}function o(a){return a&&"function"==typeof a.navigate}function p(a,b){var c=a.previousInstruction,d=a.config,e={};if("redirect"in d){var f=l(d.redirect,r(a));return a.queryString&&(f+="?"+a.queryString),Promise.reject(new S(f))}if(c){var g=q(c,a),h=[],i=function(f){var i=c.viewPortInstructions[f],j=d.viewPorts[f];if(!j)throw new Error('Invalid Route Config: Configuration for viewPort "'+f+'" was not found for route: "'+a.config.route+'."');var k=e[f]={name:f,config:j,prevComponent:i.component,prevModuleId:i.moduleId};if(i.moduleId!==j.moduleId)k.strategy=U.replace;else if("determineActivationStrategy"in i.component.viewModel){var l;k.strategy=(l=i.component.viewModel).determineActivationStrategy.apply(l,a.lifecycleArgs)}else d.activationStrategy?k.strategy=d.activationStrategy:g||b?k.strategy=U.invokeLifecycle:k.strategy=U.noChange;if(k.strategy!==U.replace&&i.childRouter){var m=a.getWildcardPath(),n=i.childRouter._createNavigationInstruction(m,a).then(function(a){return k.childNavigationInstruction=a,p(a,k.strategy===U.invokeLifecycle).then(function(b){a.plan=b})});h.push(n)}};for(var j in c.viewPortInstructions)i(j);return Promise.all(h).then(function(){return e})}for(var k in d.viewPorts)e[k]={name:k,strategy:U.replace,config:a.config.viewPorts[k]};return Promise.resolve(e)}function q(a,b){var c=a.params,d=b.params,e=b.config.hasChildRouter?b.getWildCardName():null;for(var f in d)if(f!==e&&c[f]!==d[f])return!0;for(var g in c)if(g!==e&&c[g]!==d[g])return!0;if(!b.options.compareQueryParams)return!1;var h=a.queryParams,i=b.queryParams;for(var j in i)if(h[j]!==i[j])return!0;for(var k in h)if(h[k]!==i[k])return!0;return!1}function r(a){var b=[];for(a=a.parentInstruction;a;)b.unshift(a.getBaseUrl()),a=a.parentInstruction;return b.unshift("/"),b.join("")}function s(a,b){if("object"!==("undefined"==typeof a?"undefined":J(a)))throw new Error("Invalid Route Config");if("string"!=typeof a.route){var c=a.name||"(no name)";throw new Error('Invalid Route Config for "'+c+'": You must specify a "route:" pattern.')}if(!("redirect"in a||a.moduleId||a.navigationStrategy||a.viewPorts))throw new Error('Invalid Route Config for "'+a.route+'": You must specify a "moduleId:", "redirect:", "navigationStrategy:", or "viewPorts:".')}function t(a,b,c){return Promise.resolve(b.call(c,a)).then(function(){return"viewPorts"in a.config||(a.config.viewPorts={"default":{moduleId:a.config.moduleId}}),a})}function u(a,b,c,d){function e(a){return d||z(a)?f():c.cancel(a)}function f(){if(h--)try{var a=g[h],d=a[b]();return A(d,e,c.cancel)}catch(f){return c.cancel(f)}return c()}var g=v(a,b),h=g.length;return f()}function v(a,b){var c=arguments.length<=2||void 0===arguments[2]?[]:arguments[2];for(var d in a){var e=a[d],f=e.prevComponent;if((e.strategy===U.invokeLifecycle||e.strategy===U.replace)&&f){var g=f.viewModel;b in g&&c.push(g)}e.childNavigationInstruction?v(e.childNavigationInstruction.plan,b,c):f&&w(f,b,c)}return c}function w(a,b,c){var d=a.childRouter;if(d&&d.currentInstruction){var e=d.currentInstruction.viewPortInstructions;for(var f in e){var g=e[f],h=g.component,i=h.viewModel;b in i&&c.push(i),w(h,b,c)}}}function x(a,b,c,d){function e(a,b){return d||z(a,b)?f():c.cancel(a)}function f(){if(i++,i<h)try{var a=function(){var a,d=g[i],f=(a=d.viewModel)[b].apply(a,d.lifecycleArgs);return{v:A(f,function(a){return e(a,d.router)},c.cancel)}}();if("object"===("undefined"==typeof a?"undefined":J(a)))return a.v}catch(d){return c.cancel(d)}return c()}var g=y(a,b),h=g.length,i=-1;return f()}function y(a,b){var c=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],d=arguments[3],e=a.plan;return Object.keys(e).filter(function(f){var g=e[f],h=a.viewPortInstructions[f],i=h.component.viewModel;(g.strategy===U.invokeLifecycle||g.strategy===U.replace)&&b in i&&c.push({viewModel:i,lifecycleArgs:h.lifecycleArgs,router:d}),g.childNavigationInstruction&&y(g.childNavigationInstruction,b,c,h.component.childRouter||d)}),c}function z(a,b){return!(a instanceof Error)&&(o(a)?("function"==typeof a.setRouter&&a.setRouter(b),!!a.shouldContinueProcessing):void 0===a||a)}function A(a,b,c){if(a&&"function"==typeof a.then)return Promise.resolve(a).then(b)["catch"](c);if(a&&"function"==typeof a.subscribe){var d=function(){var d=a;return{v:new _(function(e){return d.subscribe({next:function(){e.subscribed&&(e.unsubscribe(),b(a))},error:function(a){e.subscribed&&(e.unsubscribe(),c(a))},complete:function(){e.subscribed&&(e.unsubscribe(),b(a))}})})}}();if("object"===("undefined"==typeof d?"undefined":J(d)))return d.v}try{return b(a)}catch(e){return c(e)}}function B(a,b){var c=C(b),d=c.map(function(b){return D(a,b.navigationInstruction,b.viewPortPlan)});return Promise.all(d)}function C(a){var b=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],c=a.plan;for(var d in c){var e=c[d];if(e.strategy===U.replace)b.push({viewPortPlan:e,navigationInstruction:a}),e.childNavigationInstruction&&C(e.childNavigationInstruction,b);else{var f=a.addViewPortInstruction(d,e.strategy,e.prevModuleId,e.prevComponent);e.childNavigationInstruction&&(f.childNavigationInstruction=e.childNavigationInstruction,C(e.childNavigationInstruction,b))}}return b}function D(a,b,c){var d=c.config.moduleId;return E(a,b,c.config).then(function(e){var f=b.addViewPortInstruction(c.name,c.strategy,d,e),g=e.childRouter;if(g){var h=b.getWildcardPath();return g._createNavigationInstruction(h,b).then(function(b){return c.childNavigationInstruction=b,p(b).then(function(c){return b.plan=c,f.childNavigationInstruction=b,B(a,b)})})}})}function E(a,b,c){var d=b.router,e=b.lifecycleArgs;return a.loadRoute(d,c,b).then(function(a){var b=a.viewModel,f=a.childContainer;if(a.router=d,a.config=c,"configureRouter"in b){var g=function(){var c=f.getChildRouter();return a.childRouter=c,{v:c.configure(function(a){return b.configureRouter.apply(b,[a,c].concat(e))}).then(function(){return a})}}();if("object"===("undefined"==typeof g?"undefined":J(g)))return g.v}return a})}function F(a,b,c,d){b&&"completed"in b&&"output"in b||(b=b||{},b.output=new Error("Expected router pipeline to return a navigation result, but got ["+JSON.stringify(b)+"] instead."));var e=null;return o(b.output)?b.output.navigate(d):(e=b,b.completed||(b.output instanceof Error&&ea.error(b.output),H(d))),d._dequeueInstruction(c+1).then(function(a){return e||a||b})}function G(a,b,c,d){if(a.resolve(b),!c){d.isNavigating=!1;var e={instruction:a,result:b},f=void 0;if(b.output instanceof Error)f="error";else if(b.completed){var g=a.queryString?"?"+a.queryString:"";d.history.previousLocation=a.fragment+g,f="success"}else f="canceled";d.events.publish("router:navigation:"+f,e),d.events.publish("router:navigation:complete",e)}return b}function H(a){var b=a.history.previousLocation;b?a.navigate(a.history.previousLocation,{trigger:!1,replace:!0}):ea.error("Router navigation failed, and no previous location could be restored.")}Object.defineProperty(a,"__esModule",{value:!0}),a.AppRouter=a.PipelineProvider=a.LoadRouteStep=a.RouteLoader=a.ActivateNextStep=a.DeactivatePreviousStep=a.CanActivateNextStep=a.CanDeactivatePreviousStep=a.Router=a.BuildNavigationPlanStep=a.activationStrategy=a.RouterConfiguration=a.RedirectToRoute=a.Redirect=a.NavModel=a.NavigationInstruction=a.CommitChangesStep=a.Pipeline=a.pipelineStatus=void 0,a._normalizeAbsolutePath=j,a._createRootedPath=k,a._resolveUrl=l,a.isNavigationCommand=o,a._buildNavigationPlan=p;var I=g(b),J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},K=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),L=/^#?\//,M=/^([a-z][a-z0-9+\-.]*:)?\/\//i,N=a.pipelineStatus={completed:"completed",canceled:"canceled",rejected:"rejected",running:"running"},O=a.Pipeline=function(){function a(){this.steps=[]}return a.prototype.addStep=function(a){var b=void 0;if("function"==typeof a)b=a;else{if("function"==typeof a.getSteps){for(var c=a.getSteps(),d=0,e=c.length;d<e;d++)this.addStep(c[d]);return this}b=a.run.bind(a)}return this.steps.push(b),this},a.prototype.run=function(a){function b(){if(c++,!(c<d.length))return b.complete();var e=d[c];try{return e(a,b)}catch(f){return b.reject(f)}}var c=-1,d=this.steps;return b.complete=m(b,N.completed),b.cancel=m(b,N.canceled),b.reject=m(b,N.rejected),b()},a}(),P=a.CommitChangesStep=function(){function a(){}return a.prototype.run=function(a,b){return a._commitChanges(!0).then(function(){return a._updateTitle(),b()})},a}(),Q=a.NavigationInstruction=function(){function a(a){this.plan=null,this.options={},Object.assign(this,a),this.params=this.params||{},this.viewPortInstructions={};var b=[],c=this;do{var d=Object.assign({},c.params);c.config&&c.config.hasChildRouter&&delete d[c.getWildCardName()],b.unshift(d),c=c.parentInstruction}while(c);var e=Object.assign.apply(Object,[{},this.queryParams].concat(b));this.lifecycleArgs=[e,this.config,this]}return a.prototype.getAllInstructions=function(){var a=[this];for(var b in this.viewPortInstructions){var c=this.viewPortInstructions[b].childNavigationInstruction;c&&a.push.apply(a,c.getAllInstructions())}return a},a.prototype.getAllPreviousInstructions=function(){return this.getAllInstructions().map(function(a){return a.previousInstruction}).filter(function(a){return a})},a.prototype.addViewPortInstruction=function(a,b,c,d){var e=this.viewPortInstructions[a]={name:a,strategy:b,moduleId:c,component:d,childRouter:d.childRouter,lifecycleArgs:this.lifecycleArgs.slice()
+};return e},a.prototype.getWildCardName=function(){var a=this.config.route.lastIndexOf("*");return this.config.route.substr(a+1)},a.prototype.getWildcardPath=function(){var a=this.getWildCardName(),b=this.params[a]||"";return this.queryString&&(b+="?"+this.queryString),b},a.prototype.getBaseUrl=function(){if(!this.params)return this.fragment;var a=this.getWildCardName(),b=this.params[a]||"";return b?(b=encodeURI(b),this.fragment.substr(0,this.fragment.lastIndexOf(b))):this.fragment},a.prototype._commitChanges=function(a){var b=this,c=this.router;c.currentInstruction=this,this.previousInstruction&&(this.previousInstruction.config.navModel.isActive=!1),this.config.navModel.isActive=!0,c._refreshBaseUrl(),c.refreshNavigation();var d=[],e=[],f=function(f){var g=b.viewPortInstructions[f],h=c.viewPorts[f];if(!h)throw new Error("There was no router-view found in the view for "+g.moduleId+".");g.strategy===U.replace?(a&&e.push({viewPort:h,viewPortInstruction:g}),d.push(h.process(g,a).then(function(a){if(g.childNavigationInstruction)return g.childNavigationInstruction._commitChanges()}))):g.childNavigationInstruction&&d.push(g.childNavigationInstruction._commitChanges(a))};for(var g in this.viewPortInstructions)f(g);return Promise.all(d).then(function(){return e.forEach(function(a){return a.viewPort.swap(a.viewPortInstruction)}),null}).then(function(){return n(b)})},a.prototype._updateTitle=function(){var a=this._buildTitle();a&&this.router.history.setTitle(a)},a.prototype._buildTitle=function(){var a=arguments.length<=0||void 0===arguments[0]?" | ":arguments[0],b=this.config.navModel.title||"",c=[];for(var d in this.viewPortInstructions){var e=this.viewPortInstructions[d];if(e.childNavigationInstruction){var f=e.childNavigationInstruction._buildTitle(a);f&&c.push(f)}}return c.length&&(b=c.join(a)+(b?a:"")+b),this.router.title&&(b+=(b?a:"")+this.router.title),b},a}(),R=a.NavModel=function(){function a(a,b){this.isActive=!1,this.title=null,this.href=null,this.relativeHref=null,this.settings={},this.config=null,this.router=a,this.relativeHref=b}return a.prototype.setTitle=function(a){this.title=a,this.isActive&&this.router.updateTitle()},a}(),S=a.Redirect=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];this.url=a,this.options=Object.assign({trigger:!0,replace:!0},b),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigate(this.url,this.options)},a}(),T=(a.RedirectToRoute=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];this.route=a,this.params=b,this.options=Object.assign({trigger:!0,replace:!0},c),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigateToRoute(this.route,this.params,this.options)},a}(),a.RouterConfiguration=function(){function a(){this.instructions=[],this.options={},this.pipelineSteps=[]}return a.prototype.addPipelineStep=function(a,b){return this.pipelineSteps.push({name:a,step:b}),this},a.prototype.addAuthorizeStep=function(a){return this.addPipelineStep("authorize",a)},a.prototype.addPreActivateStep=function(a){return this.addPipelineStep("preActivate",a)},a.prototype.addPreRenderStep=function(a){return this.addPipelineStep("preRender",a)},a.prototype.addPostRenderStep=function(a){return this.addPipelineStep("postRender",a)},a.prototype.map=function(a){return Array.isArray(a)?(a.forEach(this.map.bind(this)),this):this.mapRoute(a)},a.prototype.mapRoute=function(a){return this.instructions.push(function(b){var c=[];if(Array.isArray(a.route))for(var d=0,e=a.route.length;d<e;++d){var f=Object.assign({},a);f.route=a.route[d],c.push(f)}else c.push(Object.assign({},a));for(var g=void 0,h=0,i=c.length;h<i;++h){var j=c[h];j.settings=j.settings||{},g||(g=b.createNavModel(j)),b.addRoute(j,g)}}),this},a.prototype.mapUnknownRoutes=function(a){return this.unknownRouteConfig=a,this},a.prototype.exportToRouter=function(a){for(var b=this.instructions,c=0,d=b.length;c<d;++c)b[c](a);this.title&&(a.title=this.title),this.unknownRouteConfig&&a.handleUnknownRoutes(this.unknownRouteConfig),a.options=this.options;var e=this.pipelineSteps;if(e.length){if(!a.isRoot)throw new Error("Pipeline steps can only be added to the root router");for(var f=a.pipelineProvider,g=0,h=e.length;g<h;++g){var i=e[g],j=i.name,k=i.step;f.addStep(j,k)}}},a}()),U=a.activationStrategy={noChange:"no-change",invokeLifecycle:"invoke-lifecycle",replace:"replace"},V=a.BuildNavigationPlanStep=function(){function a(){}return a.prototype.run=function(a,b){return p(a).then(function(c){return a.plan=c,b()})["catch"](b.cancel)},a}(),W=a.Router=function(){function a(a,b){this.parent=null,this.options={},this.container=a,this.history=b,this.reset()}return a.prototype.reset=function(){var a=this;this.viewPorts={},this.routes=[],this.baseUrl="",this.isConfigured=!1,this.isNavigating=!1,this.navigation=[],this.currentInstruction=null,this._fallbackOrder=100,this._recognizer=new c.RouteRecognizer,this._childRecognizer=new c.RouteRecognizer,this._configuredPromise=new Promise(function(b){a._resolveConfiguredPromise=b})},a.prototype.registerViewPort=function(a,b){b=b||"default",this.viewPorts[b]=a},a.prototype.ensureConfigured=function(){return this._configuredPromise},a.prototype.configure=function(a){var b=this;this.isConfigured=!0;var c=a,d=void 0;return"function"==typeof a&&(d=new T,c=a(d)),Promise.resolve(c).then(function(a){a&&a.exportToRouter&&(d=a),d.exportToRouter(b),b.isConfigured=!0,b._resolveConfiguredPromise()})},a.prototype.navigate=function(a,b){return!this.isConfigured&&this.parent?this.parent.navigate(a,b):this.history.navigate(l(a,this.baseUrl,this.history._hasPushState),b)},a.prototype.navigateToRoute=function(a,b,c){var d=this.generate(a,b);return this.navigate(d,c)},a.prototype.navigateBack=function(){this.history.navigateBack()},a.prototype.createChild=function(b){var c=new a(b||this.container.createChild(),this.history);return c.parent=this,c},a.prototype.generate=function(a,b){var c=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],d=this._recognizer.hasRoute(a);if((!this.isConfigured||!d)&&this.parent)return this.parent.generate(a,b);if(!d)throw new Error("A route with name '"+a+"' could not be found. Check that `name: '"+a+"'` was specified in the route's config.");var e=this._recognizer.generate(a,b),f=k(e,this.baseUrl,this.history._hasPushState,c.absolute);return c.absolute?""+this.history.getAbsoluteRoot()+f:f},a.prototype.createNavModel=function(a){var b=new R(this,"href"in a?a.href:a.route);return b.title=a.title,b.order=a.nav,b.href=a.href,b.settings=a.settings,b.config=a,b},a.prototype.addRoute=function(a,b){s(a,this.routes),"viewPorts"in a||a.navigationStrategy||(a.viewPorts={"default":{moduleId:a.moduleId,view:a.view}}),b||(b=this.createNavModel(a)),this.routes.push(a);var c=a.route;"/"===c.charAt(0)&&(c=c.substr(1));var d=a.caseSensitive===!0,e=this._recognizer.add({path:c,handler:a,caseSensitive:d});if(c){var f=a.settings;delete a.settings;var g=JSON.parse(JSON.stringify(a));a.settings=f,g.route=c+"/*childRoute",g.hasChildRouter=!0,this._childRecognizer.add({path:g.route,handler:g,caseSensitive:d}),g.navModel=b,g.settings=a.settings,g.navigationStrategy=a.navigationStrategy}if(a.navModel=b,(b.order||0===b.order)&&this.navigation.indexOf(b)===-1){if(!b.href&&""!==b.href&&(e.types.dynamics||e.types.stars))throw new Error('Invalid route config for "'+a.route+'" : dynamic routes must specify an "href:" to be included in the navigation model.');"number"!=typeof b.order&&(b.order=++this._fallbackOrder),this.navigation.push(b),this.navigation=this.navigation.sort(function(a,b){return a.order-b.order})}},a.prototype.hasRoute=function(a){return!!(this._recognizer.hasRoute(a)||this.parent&&this.parent.hasRoute(a))},a.prototype.hasOwnRoute=function(a){return this._recognizer.hasRoute(a)},a.prototype.handleUnknownRoutes=function(a){var b=this;if(!a)throw new Error("Invalid unknown route handler");this.catchAllHandler=function(c){return b._createRouteConfig(a,c).then(function(a){return c.config=a,c})}},a.prototype.updateTitle=function(){return this.parent?this.parent.updateTitle():void this.currentInstruction._updateTitle()},a.prototype.refreshNavigation=function(){for(var a=this.navigation,b=0,c=a.length;b<c;b++){var d=a[b];d.config.href?d.href=j(d.config.href,this.history._hasPushState):d.href=k(d.relativeHref,this.baseUrl,this.history._hasPushState)}},a.prototype._refreshBaseUrl=function(){if(this.parent){var a=this.parent.currentInstruction.getBaseUrl();this.baseUrl=this.parent.baseUrl+a}},a.prototype._createNavigationInstruction=function(){var a=arguments.length<=0||void 0===arguments[0]?"":arguments[0],b=arguments.length<=1||void 0===arguments[1]?null:arguments[1],c=a,d="",e=a.indexOf("?");e!==-1&&(c=a.substr(0,e),d=a.substr(e+1));var f=this._recognizer.recognize(a);f&&f.length||(f=this._childRecognizer.recognize(a));var g={fragment:c,queryString:d,config:null,parentInstruction:b,previousInstruction:this.currentInstruction,router:this,options:{compareQueryParams:this.options.compareQueryParams}};if(f&&f.length){var h=f[0],i=new Q(Object.assign({},g,{params:h.params,queryParams:h.queryParams||f.queryParams,config:h.config||h.handler}));return"function"==typeof h.handler?t(i,h.handler,h):h.handler&&"function"==typeof h.handler.navigationStrategy?t(i,h.handler.navigationStrategy,h.handler):Promise.resolve(i)}if(this.catchAllHandler){var j=new Q(Object.assign({},g,{params:{path:c},queryParams:f&&f.queryParams,config:null}));return t(j,this.catchAllHandler)}return Promise.reject(new Error("Route not found: "+a))},a.prototype._createRouteConfig=function(a,b){var c=this;return Promise.resolve(a).then(function(a){return"string"==typeof a?{moduleId:a}:"function"==typeof a?a(b):a}).then(function(a){return"string"==typeof a?{moduleId:a}:a}).then(function(a){return a.route=b.params.path,s(a,c.routes),a.navModel||(a.navModel=c.createNavModel(a)),a})},K(a,[{key:"isRoot",get:function(){return!this.parent}}]),a}(),X=a.CanDeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a.plan,"canDeactivate",b)},a}(),Y=a.CanActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"canActivate",b)},a}(),Z=a.DeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a.plan,"deactivate",b,!0)},a}(),$=a.ActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"activate",b,!0)},a}(),_=function(){function a(a){this._subscribed=!0,this._subscription=a(this),this._subscribed||this.unsubscribe()}return a.prototype.unsubscribe=function(){this._subscribed&&this._subscription&&this._subscription.unsubscribe(),this._subscribed=!1},K(a,[{key:"subscribed",get:function(){return this._subscribed}}]),a}(),aa=a.RouteLoader=function(){function a(){}return a.prototype.loadRoute=function(a,b,c){throw Error('Route loaders must implement "loadRoute(router, config, navigationInstruction)".')},a}(),ba=a.LoadRouteStep=function(){function a(a){this.routeLoader=a}return a.inject=function(){return[aa]},a.prototype.run=function(a,b){return B(this.routeLoader,a).then(b)["catch"](b.cancel)},a}(),ca=function(){function a(a,b,c){this.steps=[],this.container=a,this.slotName=b,this.slotAlias=c}return a.prototype.getSteps=function(){var a=this;return this.steps.map(function(b){return a.container.get(b)})},a}(),da=a.PipelineProvider=function(){function a(a){this.container=a,this.steps=[V,X,ba,this._createPipelineSlot("authorize"),Y,this._createPipelineSlot("preActivate","modelbind"),Z,$,this._createPipelineSlot("preRender","precommit"),P,this._createPipelineSlot("postRender","postcomplete")]}return a.inject=function(){return[d.Container]},a.prototype.createPipeline=function(){var a=this,b=new O;return this.steps.forEach(function(c){return b.addStep(a.container.get(c))}),b},a.prototype._findStep=function(a){return this.steps.find(function(b){return b.slotName===a||b.slotAlias===a})},a.prototype.addStep=function(a,b){var c=this._findStep(a);if(!c)throw new Error("Invalid pipeline slot name: "+a+".");c.steps.includes(b)||c.steps.push(b)},a.prototype.removeStep=function(a,b){var c=this._findStep(a);c&&c.steps.splice(c.steps.indexOf(b),1)},a.prototype._clearSteps=function(){var a=arguments.length<=0||void 0===arguments[0]?"":arguments[0],b=this._findStep(a);b&&(b.steps=[])},a.prototype.reset=function(){this._clearSteps("authorize"),this._clearSteps("preActivate"),this._clearSteps("preRender"),this._clearSteps("postRender")},a.prototype._createPipelineSlot=function(a,b){return new ca(this.container,a,b)},a}(),ea=I.getLogger("app-router");a.AppRouter=function(a){function b(b,c,d,e){var f=h(this,a.call(this,b,c));return f.pipelineProvider=d,f.events=e,f}return i(b,a),b.inject=function(){return[d.Container,e.History,da,f.EventAggregator]},b.prototype.reset=function(){a.prototype.reset.call(this),this.maxInstructionCount=10,this._queue?this._queue.length=0:this._queue=[]},b.prototype.loadUrl=function(a){var b=this;return this._createNavigationInstruction(a).then(function(a){return b._queueInstruction(a)})["catch"](function(a){ea.error(a),H(b)})},b.prototype.registerViewPort=function(b,c){var d=this;if(a.prototype.registerViewPort.call(this,b,c),this.isActive)this._dequeueInstruction();else{var e=function(){var a=d._findViewModel(b);if("configureRouter"in a){if(!d.isConfigured){var c=function(){var b=d._resolveConfiguredPromise;return d._resolveConfiguredPromise=function(){},{v:{v:d.configure(function(b){return a.configureRouter(b,d)}).then(function(){d.activate(),b()})}}}();if("object"===("undefined"==typeof c?"undefined":J(c)))return c.v}}else d.activate()}();if("object"===("undefined"==typeof e?"undefined":J(e)))return e.v}return Promise.resolve()},b.prototype.activate=function(a){this.isActive||(this.isActive=!0,this.options=Object.assign({routeHandler:this.loadUrl.bind(this)},this.options,a),this.history.activate(this.options),this._dequeueInstruction())},b.prototype.deactivate=function(){this.isActive=!1,this.history.deactivate()},b.prototype._queueInstruction=function(a){var b=this;return new Promise(function(c){a.resolve=c,b._queue.unshift(a),b._dequeueInstruction()})},b.prototype._dequeueInstruction=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?0:arguments[0];return Promise.resolve().then(function(){if(!a.isNavigating||b){var c=a._queue.shift();if(a._queue.length=0,c){if(a.isNavigating=!0,c.previousInstruction=a.currentInstruction,b){if(b===a.maxInstructionCount-1)return ea.error(b+1+" navigation instructions have been attempted without success. Restoring last known good location."),H(a),a._dequeueInstruction(b+1);if(b>a.maxInstructionCount)throw new Error("Maximum navigation attempts exceeded. Giving up.")}else a.events.publish("router:navigation:processing",{instruction:c});var d=a.pipelineProvider.createPipeline();return d.run(c).then(function(d){return F(c,d,b,a)})["catch"](function(a){return{output:a instanceof Error?a:new Error(a)}}).then(function(d){return G(c,d,!!b,a)})}}})},b.prototype._findViewModel=function(a){if(this.container.viewModel)return this.container.viewModel;if(a.container)for(var b=a.container;b;){if(b.viewModel)return this.container.viewModel=b.viewModel,b.viewModel;b=b.parent}},b}(W)})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.0.6.js",["npm:aurelia-router@1.0.6/aurelia-router"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.0.0/aurelia-pal.js",["exports"],function(a){"use strict";function b(a,b,c){if(b){if(b.innerError&&c)return b;var d="\n------------------------------------------------\n";a+=d+"Inner Error:\n","string"==typeof b?a+="Message: "+b:(a+=b.message?"Message: "+b.message:"Unknown Inner Error Type. Displaying Inner Error as JSON:\n "+JSON.stringify(b,null," "),b.stack&&(a+="\nInner Error Stack:\n"+b.stack,a+="\nEnd Inner Error Stack")),a+=d}var e=new Error(a);return b&&(e.innerError=b),e}function c(a){"function"!=typeof Object.getPropertyDescriptor&&(Object.getPropertyDescriptor=function(a,b){for(var c=Object.getOwnPropertyDescriptor(a,b),d=Object.getPrototypeOf(a);"undefined"==typeof c&&null!==d;)c=Object.getOwnPropertyDescriptor(d,b),d=Object.getPrototypeOf(d);return c}),a(e,d,f)}Object.defineProperty(a,"__esModule",{value:!0}),a.AggregateError=b,a.initializePAL=c;var d=a.FEATURE={},e=a.PLATFORM={noop:function(){},eachModule:function(){}};e.global=function(){return"undefined"!=typeof self?self:"undefined"!=typeof global?global:new Function("return this")()}();var f=a.DOM={}})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.0.0.js",["npm:aurelia-pal@1.0.0/aurelia-pal"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.0.0/aurelia-logging.js",["exports"],function(a){"use strict";function b(a,b,c){var d=o.length,e=void 0;for(c=p.call(c),c.unshift(a);d--;)e=o[d],e[b].apply(e,c)}function c(){n<4||b(this,"debug",arguments)}function d(){n<3||b(this,"info",arguments)}function e(){n<2||b(this,"warn",arguments)}function f(){n<1||b(this,"error",arguments)}function g(a){a.debug=c,a.info=d,a.warn=e,a.error=f}function h(a){var b=new r(a,q);return o.length&&g(b),b}function i(a){return m[a]||(m[a]=h(a))}function j(a){if(o.push(a),1===o.length)for(var b in m)g(m[b])}function k(a){n=a}Object.defineProperty(a,"__esModule",{value:!0}),a.getLogger=i,a.addAppender=j,a.setLevel=k;var l=a.logLevel={none:0,error:1,warn:2,info:3,debug:4},m={},n=l.none,o=[],p=Array.prototype.slice,q={},r=a.Logger=function(){function a(a,b){if(b!==q)throw new Error('Cannot instantiate "Logger". Use "getLogger" instead.');this.id=a}return a.prototype.debug=function(a){},a.prototype.info=function(a){},a.prototype.warn=function(a){},a.prototype.error=function(a){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.0.0.js",["npm:aurelia-logging@1.0.0/aurelia-logging"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/route-href.js",["exports","aurelia-templating","aurelia-dependency-injection","aurelia-router","aurelia-pal","aurelia-logging"],function(a,b,c,d,e,f){"use strict";function g(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}Object.defineProperty(a,"__esModule",{value:!0}),a.RouteHref=void 0;var h,i,j,k,l,m,n=g(f),o=n.getLogger("route-href");a.RouteHref=(h=(0,b.customAttribute)("route-href"),i=(0,b.bindable)({name:"route",changeHandler:"processChange"}),j=(0,b.bindable)({name:"params",changeHandler:"processChange"}),k=(0,b.bindable)({name:"attribute",defaultValue:"href"}),l=(0,c.inject)(d.Router,e.DOM.Element),h(m=i(m=j(m=k(m=l(m=function(){function a(a,b){this.router=a,this.element=b}return a.prototype.bind=function(){this.isActive=!0,this.processChange()},a.prototype.unbind=function(){this.isActive=!1},a.prototype.attributeChanged=function(a,b){b&&this.element.removeAttribute(b),this.processChange()},a.prototype.processChange=function(){var a=this;return this.router.ensureConfigured().then(function(){if(!a.isActive)return null;var b=a.router.generate(a.route,a.params);return a.element.setAttribute(a.attribute,b),null})["catch"](function(a){o.error(a)})},a}())||m)||m)||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/aurelia-templating-router.js",["exports","aurelia-router","./route-loader","./router-view","./route-href"],function(a,b,c,d,e){"use strict";function f(a){a.singleton(b.RouteLoader,c.TemplatingRouteLoader).singleton(b.Router,b.AppRouter).globalResources("./router-view","./route-href"),a.container.registerAlias(b.Router,b.AppRouter)}Object.defineProperty(a,"__esModule",{value:!0}),a.configure=a.RouteHref=a.RouterView=a.TemplatingRouteLoader=void 0,a.TemplatingRouteLoader=c.TemplatingRouteLoader,a.RouterView=d.RouterView,a.RouteHref=e.RouteHref,a.configure=f})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0.js",["npm:aurelia-templating-router@1.0.0/aurelia-templating-router"],function(a){return a})}();
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/blur-image.js b/js-tools/templates/aurelia-jspm/dist/blur-image.js
new file mode 100644
index 000000000..d38bdc1a1
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/blur-image.js
@@ -0,0 +1,292 @@
+System.register(["aurelia-framework"], function (_export, _context) {
+ "use strict";
+
+ var inject, _dec, _class, BlurImageCustomAttribute, mul_table, shg_table, BLUR_RADIUS;
+
+ function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+ }
+
+ function stackBlurCanvasRGBA(canvas, top_x, top_y, width, height, radius) {
+ if (isNaN(radius) || radius < 1) return;
+ radius |= 0;
+
+ var context = canvas.getContext("2d");
+ var imageData;
+
+ try {
+ imageData = context.getImageData(top_x, top_y, width, height);
+ } catch (e) {
+ throw new Error("unable to access image data: " + e);
+ }
+
+ var pixels = imageData.data;
+
+ var x, y, i, p, yp, yi, yw, r_sum, g_sum, b_sum, a_sum, r_out_sum, g_out_sum, b_out_sum, a_out_sum, r_in_sum, g_in_sum, b_in_sum, a_in_sum, pr, pg, pb, pa, rbs;
+
+ var div = radius + radius + 1;
+ var w4 = width << 2;
+ var widthMinus1 = width - 1;
+ var heightMinus1 = height - 1;
+ var radiusPlus1 = radius + 1;
+ var sumFactor = radiusPlus1 * (radiusPlus1 + 1) / 2;
+
+ var stackStart = new BlurStack();
+ var stack = stackStart;
+ for (i = 1; i < div; i++) {
+ stack = stack.next = new BlurStack();
+ if (i == radiusPlus1) var stackEnd = stack;
+ }
+ stack.next = stackStart;
+ var stackIn = null;
+ var stackOut = null;
+
+ yw = yi = 0;
+
+ var mul_sum = mul_table[radius];
+ var shg_sum = shg_table[radius];
+
+ for (y = 0; y < height; y++) {
+ r_in_sum = g_in_sum = b_in_sum = a_in_sum = r_sum = g_sum = b_sum = a_sum = 0;
+
+ r_out_sum = radiusPlus1 * (pr = pixels[yi]);
+ g_out_sum = radiusPlus1 * (pg = pixels[yi + 1]);
+ b_out_sum = radiusPlus1 * (pb = pixels[yi + 2]);
+ a_out_sum = radiusPlus1 * (pa = pixels[yi + 3]);
+
+ r_sum += sumFactor * pr;
+ g_sum += sumFactor * pg;
+ b_sum += sumFactor * pb;
+ a_sum += sumFactor * pa;
+
+ stack = stackStart;
+
+ for (i = 0; i < radiusPlus1; i++) {
+ stack.r = pr;
+ stack.g = pg;
+ stack.b = pb;
+ stack.a = pa;
+ stack = stack.next;
+ }
+
+ for (i = 1; i < radiusPlus1; i++) {
+ p = yi + ((widthMinus1 < i ? widthMinus1 : i) << 2);
+ r_sum += (stack.r = pr = pixels[p]) * (rbs = radiusPlus1 - i);
+ g_sum += (stack.g = pg = pixels[p + 1]) * rbs;
+ b_sum += (stack.b = pb = pixels[p + 2]) * rbs;
+ a_sum += (stack.a = pa = pixels[p + 3]) * rbs;
+
+ r_in_sum += pr;
+ g_in_sum += pg;
+ b_in_sum += pb;
+ a_in_sum += pa;
+
+ stack = stack.next;
+ }
+
+ stackIn = stackStart;
+ stackOut = stackEnd;
+ for (x = 0; x < width; x++) {
+ pixels[yi + 3] = pa = a_sum * mul_sum >> shg_sum;
+ if (pa != 0) {
+ pa = 255 / pa;
+ pixels[yi] = (r_sum * mul_sum >> shg_sum) * pa;
+ pixels[yi + 1] = (g_sum * mul_sum >> shg_sum) * pa;
+ pixels[yi + 2] = (b_sum * mul_sum >> shg_sum) * pa;
+ } else {
+ pixels[yi] = pixels[yi + 1] = pixels[yi + 2] = 0;
+ }
+
+ r_sum -= r_out_sum;
+ g_sum -= g_out_sum;
+ b_sum -= b_out_sum;
+ a_sum -= a_out_sum;
+
+ r_out_sum -= stackIn.r;
+ g_out_sum -= stackIn.g;
+ b_out_sum -= stackIn.b;
+ a_out_sum -= stackIn.a;
+
+ p = yw + ((p = x + radius + 1) < widthMinus1 ? p : widthMinus1) << 2;
+
+ r_in_sum += stackIn.r = pixels[p];
+ g_in_sum += stackIn.g = pixels[p + 1];
+ b_in_sum += stackIn.b = pixels[p + 2];
+ a_in_sum += stackIn.a = pixels[p + 3];
+
+ r_sum += r_in_sum;
+ g_sum += g_in_sum;
+ b_sum += b_in_sum;
+ a_sum += a_in_sum;
+
+ stackIn = stackIn.next;
+
+ r_out_sum += pr = stackOut.r;
+ g_out_sum += pg = stackOut.g;
+ b_out_sum += pb = stackOut.b;
+ a_out_sum += pa = stackOut.a;
+
+ r_in_sum -= pr;
+ g_in_sum -= pg;
+ b_in_sum -= pb;
+ a_in_sum -= pa;
+
+ stackOut = stackOut.next;
+
+ yi += 4;
+ }
+ yw += width;
+ }
+
+ for (x = 0; x < width; x++) {
+ g_in_sum = b_in_sum = a_in_sum = r_in_sum = g_sum = b_sum = a_sum = r_sum = 0;
+
+ yi = x << 2;
+ r_out_sum = radiusPlus1 * (pr = pixels[yi]);
+ g_out_sum = radiusPlus1 * (pg = pixels[yi + 1]);
+ b_out_sum = radiusPlus1 * (pb = pixels[yi + 2]);
+ a_out_sum = radiusPlus1 * (pa = pixels[yi + 3]);
+
+ r_sum += sumFactor * pr;
+ g_sum += sumFactor * pg;
+ b_sum += sumFactor * pb;
+ a_sum += sumFactor * pa;
+
+ stack = stackStart;
+
+ for (i = 0; i < radiusPlus1; i++) {
+ stack.r = pr;
+ stack.g = pg;
+ stack.b = pb;
+ stack.a = pa;
+ stack = stack.next;
+ }
+
+ yp = width;
+
+ for (i = 1; i <= radius; i++) {
+ yi = yp + x << 2;
+
+ r_sum += (stack.r = pr = pixels[yi]) * (rbs = radiusPlus1 - i);
+ g_sum += (stack.g = pg = pixels[yi + 1]) * rbs;
+ b_sum += (stack.b = pb = pixels[yi + 2]) * rbs;
+ a_sum += (stack.a = pa = pixels[yi + 3]) * rbs;
+
+ r_in_sum += pr;
+ g_in_sum += pg;
+ b_in_sum += pb;
+ a_in_sum += pa;
+
+ stack = stack.next;
+
+ if (i < heightMinus1) {
+ yp += width;
+ }
+ }
+
+ yi = x;
+ stackIn = stackStart;
+ stackOut = stackEnd;
+ for (y = 0; y < height; y++) {
+ p = yi << 2;
+ pixels[p + 3] = pa = a_sum * mul_sum >> shg_sum;
+ if (pa > 0) {
+ pa = 255 / pa;
+ pixels[p] = (r_sum * mul_sum >> shg_sum) * pa;
+ pixels[p + 1] = (g_sum * mul_sum >> shg_sum) * pa;
+ pixels[p + 2] = (b_sum * mul_sum >> shg_sum) * pa;
+ } else {
+ pixels[p] = pixels[p + 1] = pixels[p + 2] = 0;
+ }
+
+ r_sum -= r_out_sum;
+ g_sum -= g_out_sum;
+ b_sum -= b_out_sum;
+ a_sum -= a_out_sum;
+
+ r_out_sum -= stackIn.r;
+ g_out_sum -= stackIn.g;
+ b_out_sum -= stackIn.b;
+ a_out_sum -= stackIn.a;
+
+ p = x + ((p = y + radiusPlus1) < heightMinus1 ? p : heightMinus1) * width << 2;
+
+ r_sum += r_in_sum += stackIn.r = pixels[p];
+ g_sum += g_in_sum += stackIn.g = pixels[p + 1];
+ b_sum += b_in_sum += stackIn.b = pixels[p + 2];
+ a_sum += a_in_sum += stackIn.a = pixels[p + 3];
+
+ stackIn = stackIn.next;
+
+ r_out_sum += pr = stackOut.r;
+ g_out_sum += pg = stackOut.g;
+ b_out_sum += pb = stackOut.b;
+ a_out_sum += pa = stackOut.a;
+
+ r_in_sum -= pr;
+ g_in_sum -= pg;
+ b_in_sum -= pb;
+ a_in_sum -= pa;
+
+ stackOut = stackOut.next;
+
+ yi += width;
+ }
+ }
+
+ context.putImageData(imageData, top_x, top_y);
+ }
+
+ function BlurStack() {
+ this.r = 0;
+ this.g = 0;
+ this.b = 0;
+ this.a = 0;
+ this.next = null;
+ }
+
+ function drawBlur(canvas, image) {
+ var w = canvas.width;
+ var h = canvas.height;
+ var canvasContext = canvas.getContext('2d');
+ canvasContext.drawImage(image, 0, 0, w, h);
+ stackBlurCanvasRGBA(canvas, 0, 0, w, h, BLUR_RADIUS);
+ }return {
+ setters: [function (_aureliaFramework) {
+ inject = _aureliaFramework.inject;
+ }],
+ execute: function () {
+ _export("BlurImageCustomAttribute", BlurImageCustomAttribute = (_dec = inject(Element), _dec(_class = function () {
+ function BlurImageCustomAttribute(element) {
+ _classCallCheck(this, BlurImageCustomAttribute);
+
+ this.element = element;
+ }
+
+ BlurImageCustomAttribute.prototype.valueChanged = function valueChanged(newImage) {
+ var _this = this;
+
+ if (newImage.complete) {
+ drawBlur(this.element, newImage);
+ } else {
+ newImage.onload = function () {
+ return drawBlur(_this.element, newImage);
+ };
+ }
+ };
+
+ return BlurImageCustomAttribute;
+ }()) || _class));
+
+ _export("BlurImageCustomAttribute", BlurImageCustomAttribute);
+
+ mul_table = [512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512, 454, 405, 364, 328, 298, 271, 496, 456, 420, 388, 360, 335, 312, 292, 273, 512, 482, 454, 428, 405, 383, 364, 345, 328, 312, 298, 284, 271, 259, 496, 475, 456, 437, 420, 404, 388, 374, 360, 347, 335, 323, 312, 302, 292, 282, 273, 265, 512, 497, 482, 468, 454, 441, 428, 417, 405, 394, 383, 373, 364, 354, 345, 337, 328, 320, 312, 305, 298, 291, 284, 278, 271, 265, 259, 507, 496, 485, 475, 465, 456, 446, 437, 428, 420, 412, 404, 396, 388, 381, 374, 367, 360, 354, 347, 341, 335, 329, 323, 318, 312, 307, 302, 297, 292, 287, 282, 278, 273, 269, 265, 261, 512, 505, 497, 489, 482, 475, 468, 461, 454, 447, 441, 435, 428, 422, 417, 411, 405, 399, 394, 389, 383, 378, 373, 368, 364, 359, 354, 350, 345, 341, 337, 332, 328, 324, 320, 316, 312, 309, 305, 301, 298, 294, 291, 287, 284, 281, 278, 274, 271, 268, 265, 262, 259, 257, 507, 501, 496, 491, 485, 480, 475, 470, 465, 460, 456, 451, 446, 442, 437, 433, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 388, 385, 381, 377, 374, 370, 367, 363, 360, 357, 354, 350, 347, 344, 341, 338, 335, 332, 329, 326, 323, 320, 318, 315, 312, 310, 307, 304, 302, 299, 297, 294, 292, 289, 287, 285, 282, 280, 278, 275, 273, 271, 269, 267, 265, 263, 261, 259];
+ shg_table = [9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24];
+ BLUR_RADIUS = 40;
+ ;
+ }
+ };
+});
+//# sourceMappingURL=blur-image.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/blur-image.js.map b/js-tools/templates/aurelia-jspm/dist/blur-image.js.map
new file mode 100644
index 000000000..7bb4b1ee1
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/blur-image.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["blur-image.js"],"names":["stackBlurCanvasRGBA","canvas","top_x","top_y","width","height","radius","isNaN","context","getContext","imageData","getImageData","e","Error","pixels","data","x","y","i","p","yp","yi","yw","r_sum","g_sum","b_sum","a_sum","r_out_sum","g_out_sum","b_out_sum","a_out_sum","r_in_sum","g_in_sum","b_in_sum","a_in_sum","pr","pg","pb","pa","rbs","div","w4","widthMinus1","heightMinus1","radiusPlus1","sumFactor","stackStart","BlurStack","stack","next","stackEnd","stackIn","stackOut","mul_sum","mul_table","shg_sum","shg_table","r","g","b","a","putImageData","drawBlur","image","w","h","canvasContext","drawImage","BLUR_RADIUS","inject","BlurImageCustomAttribute","Element","element","valueChanged","newImage","complete","onload"],"mappings":";;;;;;;;;;;AAuGA,UAASA,mBAAT,CAA8BC,MAA9B,EAAsCC,KAAtC,EAA6CC,KAA7C,EAAoDC,KAApD,EAA2DC,MAA3D,EAAmEC,MAAnE,EACA;AACC,MAAKC,MAAMD,MAAN,KAAiBA,SAAS,CAA/B,EAAmC;AACnCA,YAAU,CAAV;;AAEA,MAAIE,UAAUP,OAAOQ,UAAP,CAAkB,IAAlB,CAAd;AACA,MAAIC,SAAJ;;AAEA,MAAI;AACFA,eAAYF,QAAQG,YAAR,CAAsBT,KAAtB,EAA6BC,KAA7B,EAAoCC,KAApC,EAA2CC,MAA3C,CAAZ;AACD,GAFD,CAEE,OAAMO,CAAN,EAAS;AACT,SAAM,IAAIC,KAAJ,CAAU,kCAAkCD,CAA5C,CAAN;AACD;;AAED,MAAIE,SAASJ,UAAUK,IAAvB;;AAEA,MAAIC,CAAJ,EAAOC,CAAP,EAAUC,CAAV,EAAaC,CAAb,EAAgBC,EAAhB,EAAoBC,EAApB,EAAwBC,EAAxB,EAA4BC,KAA5B,EAAmCC,KAAnC,EAA0CC,KAA1C,EAAiDC,KAAjD,EACAC,SADA,EACWC,SADX,EACsBC,SADtB,EACiCC,SADjC,EAEAC,QAFA,EAEUC,QAFV,EAEoBC,QAFpB,EAE8BC,QAF9B,EAGAC,EAHA,EAGIC,EAHJ,EAGQC,EAHR,EAGYC,EAHZ,EAGgBC,GAHhB;;AAKA,MAAIC,MAAMlC,SAASA,MAAT,GAAkB,CAA5B;AACA,MAAImC,KAAKrC,SAAS,CAAlB;AACA,MAAIsC,cAAetC,QAAQ,CAA3B;AACA,MAAIuC,eAAetC,SAAS,CAA5B;AACA,MAAIuC,cAAetC,SAAS,CAA5B;AACA,MAAIuC,YAAYD,eAAgBA,cAAc,CAA9B,IAAoC,CAApD;;AAEA,MAAIE,aAAa,IAAIC,SAAJ,EAAjB;AACA,MAAIC,QAAQF,UAAZ;AACA,OAAM5B,IAAI,CAAV,EAAaA,IAAIsB,GAAjB,EAAsBtB,GAAtB,EACA;AACC8B,WAAQA,MAAMC,IAAN,GAAa,IAAIF,SAAJ,EAArB;AACA,OAAK7B,KAAK0B,WAAV,EAAwB,IAAIM,WAAWF,KAAf;AACxB;AACDA,QAAMC,IAAN,GAAaH,UAAb;AACA,MAAIK,UAAU,IAAd;AACA,MAAIC,WAAW,IAAf;;AAEA9B,OAAKD,KAAK,CAAV;;AAEA,MAAIgC,UAAUC,UAAUhD,MAAV,CAAd;AACA,MAAIiD,UAAUC,UAAUlD,MAAV,CAAd;;AAEA,OAAMW,IAAI,CAAV,EAAaA,IAAIZ,MAAjB,EAAyBY,GAAzB,EACA;AACCc,cAAWC,WAAWC,WAAWC,WAAWX,QAAQC,QAAQC,QAAQC,QAAQ,CAA5E;;AAEAC,eAAYiB,eAAgBT,KAAKrB,OAAOO,EAAP,CAArB,CAAZ;AACAO,eAAYgB,eAAgBR,KAAKtB,OAAOO,KAAG,CAAV,CAArB,CAAZ;AACAQ,eAAYe,eAAgBP,KAAKvB,OAAOO,KAAG,CAAV,CAArB,CAAZ;AACAS,eAAYc,eAAgBN,KAAKxB,OAAOO,KAAG,CAAV,CAArB,CAAZ;;AAEAE,YAASsB,YAAYV,EAArB;AACAX,YAASqB,YAAYT,EAArB;AACAX,YAASoB,YAAYR,EAArB;AACAX,YAASmB,YAAYP,EAArB;;AAEAU,WAAQF,UAAR;;AAEA,QAAK5B,IAAI,CAAT,EAAYA,IAAI0B,WAAhB,EAA6B1B,GAA7B,EACA;AACC8B,UAAMS,CAAN,GAAUtB,EAAV;AACAa,UAAMU,CAAN,GAAUtB,EAAV;AACAY,UAAMW,CAAN,GAAUtB,EAAV;AACAW,UAAMY,CAAN,GAAUtB,EAAV;AACAU,YAAQA,MAAMC,IAAd;AACA;;AAED,QAAK/B,IAAI,CAAT,EAAYA,IAAI0B,WAAhB,EAA6B1B,GAA7B,EACA;AACCC,QAAIE,MAAM,CAAEqB,cAAcxB,CAAd,GAAkBwB,WAAlB,GAAgCxB,CAAlC,KAAyC,CAA/C,CAAJ;AACAK,aAAS,CAAEyB,MAAMS,CAAN,GAAYtB,KAAKrB,OAAOK,CAAP,CAAnB,KAAmCoB,MAAMK,cAAc1B,CAAvD,CAAT;AACAM,aAAS,CAAEwB,MAAMU,CAAN,GAAYtB,KAAKtB,OAAOK,IAAE,CAAT,CAAnB,IAAmCoB,GAA5C;AACAd,aAAS,CAAEuB,MAAMW,CAAN,GAAYtB,KAAKvB,OAAOK,IAAE,CAAT,CAAnB,IAAmCoB,GAA5C;AACAb,aAAS,CAAEsB,MAAMY,CAAN,GAAYtB,KAAKxB,OAAOK,IAAE,CAAT,CAAnB,IAAmCoB,GAA5C;;AAEAR,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;;AAEAU,YAAQA,MAAMC,IAAd;AACA;;AAGDE,aAAUL,UAAV;AACAM,cAAWF,QAAX;AACA,QAAMlC,IAAI,CAAV,EAAaA,IAAIZ,KAAjB,EAAwBY,GAAxB,EACA;AACCF,WAAOO,KAAG,CAAV,IAAeiB,KAAMZ,QAAQ2B,OAAT,IAAqBE,OAAzC;AACA,QAAKjB,MAAM,CAAX,EACA;AACCA,UAAK,MAAMA,EAAX;AACAxB,YAAOO,EAAP,IAAe,CAAEE,QAAQ8B,OAAT,IAAqBE,OAAtB,IAAiCjB,EAAhD;AACAxB,YAAOO,KAAG,CAAV,IAAe,CAAEG,QAAQ6B,OAAT,IAAqBE,OAAtB,IAAiCjB,EAAhD;AACAxB,YAAOO,KAAG,CAAV,IAAe,CAAEI,QAAQ4B,OAAT,IAAqBE,OAAtB,IAAiCjB,EAAhD;AACA,KAND,MAMO;AACNxB,YAAOO,EAAP,IAAaP,OAAOO,KAAG,CAAV,IAAeP,OAAOO,KAAG,CAAV,IAAe,CAA3C;AACA;;AAEDE,aAASI,SAAT;AACAH,aAASI,SAAT;AACAH,aAASI,SAAT;AACAH,aAASI,SAAT;;AAEAH,iBAAawB,QAAQM,CAArB;AACA7B,iBAAauB,QAAQO,CAArB;AACA7B,iBAAasB,QAAQQ,CAArB;AACA7B,iBAAaqB,QAAQS,CAArB;;AAEAzC,QAAOG,MAAO,CAAEH,IAAIH,IAAIV,MAAJ,GAAa,CAAnB,IAAyBoC,WAAzB,GAAuCvB,CAAvC,GAA2CuB,WAAlD,CAAF,IAAuE,CAA5E;;AAEAX,gBAAcoB,QAAQM,CAAR,GAAY3C,OAAOK,CAAP,CAA1B;AACAa,gBAAcmB,QAAQO,CAAR,GAAY5C,OAAOK,IAAE,CAAT,CAA1B;AACAc,gBAAckB,QAAQQ,CAAR,GAAY7C,OAAOK,IAAE,CAAT,CAA1B;AACAe,gBAAciB,QAAQS,CAAR,GAAY9C,OAAOK,IAAE,CAAT,CAA1B;;AAEAI,aAASQ,QAAT;AACAP,aAASQ,QAAT;AACAP,aAASQ,QAAT;AACAP,aAASQ,QAAT;;AAEAiB,cAAUA,QAAQF,IAAlB;;AAEAtB,iBAAeQ,KAAKiB,SAASK,CAA7B;AACA7B,iBAAeQ,KAAKgB,SAASM,CAA7B;AACA7B,iBAAeQ,KAAKe,SAASO,CAA7B;AACA7B,iBAAeQ,KAAKc,SAASQ,CAA7B;;AAEA7B,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;;AAEAc,eAAWA,SAASH,IAApB;;AAEA5B,UAAM,CAAN;AACA;AACDC,SAAMlB,KAAN;AACA;;AAGD,OAAMY,IAAI,CAAV,EAAaA,IAAIZ,KAAjB,EAAwBY,GAAxB,EACA;AACCgB,cAAWC,WAAWC,WAAWH,WAAWP,QAAQC,QAAQC,QAAQH,QAAQ,CAA5E;;AAEAF,QAAKL,KAAK,CAAV;AACAW,eAAYiB,eAAgBT,KAAKrB,OAAOO,EAAP,CAArB,CAAZ;AACAO,eAAYgB,eAAgBR,KAAKtB,OAAOO,KAAG,CAAV,CAArB,CAAZ;AACAQ,eAAYe,eAAgBP,KAAKvB,OAAOO,KAAG,CAAV,CAArB,CAAZ;AACAS,eAAYc,eAAgBN,KAAKxB,OAAOO,KAAG,CAAV,CAArB,CAAZ;;AAEAE,YAASsB,YAAYV,EAArB;AACAX,YAASqB,YAAYT,EAArB;AACAX,YAASoB,YAAYR,EAArB;AACAX,YAASmB,YAAYP,EAArB;;AAEAU,WAAQF,UAAR;;AAEA,QAAK5B,IAAI,CAAT,EAAYA,IAAI0B,WAAhB,EAA6B1B,GAA7B,EACA;AACC8B,UAAMS,CAAN,GAAUtB,EAAV;AACAa,UAAMU,CAAN,GAAUtB,EAAV;AACAY,UAAMW,CAAN,GAAUtB,EAAV;AACAW,UAAMY,CAAN,GAAUtB,EAAV;AACAU,YAAQA,MAAMC,IAAd;AACA;;AAED7B,QAAKhB,KAAL;;AAEA,QAAKc,IAAI,CAAT,EAAYA,KAAKZ,MAAjB,EAAyBY,GAAzB,EACA;AACCG,SAAOD,KAAKJ,CAAP,IAAc,CAAnB;;AAEAO,aAAS,CAAEyB,MAAMS,CAAN,GAAYtB,KAAKrB,OAAOO,EAAP,CAAnB,KAAoCkB,MAAMK,cAAc1B,CAAxD,CAAT;AACAM,aAAS,CAAEwB,MAAMU,CAAN,GAAYtB,KAAKtB,OAAOO,KAAG,CAAV,CAAnB,IAAoCkB,GAA7C;AACAd,aAAS,CAAEuB,MAAMW,CAAN,GAAYtB,KAAKvB,OAAOO,KAAG,CAAV,CAAnB,IAAoCkB,GAA7C;AACAb,aAAS,CAAEsB,MAAMY,CAAN,GAAYtB,KAAKxB,OAAOO,KAAG,CAAV,CAAnB,IAAoCkB,GAA7C;;AAEAR,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;;AAEAU,YAAQA,MAAMC,IAAd;;AAEA,QAAI/B,IAAIyB,YAAR,EACA;AACCvB,WAAMhB,KAAN;AACA;AACD;;AAEDiB,QAAKL,CAAL;AACAmC,aAAUL,UAAV;AACAM,cAAWF,QAAX;AACA,QAAMjC,IAAI,CAAV,EAAaA,IAAIZ,MAAjB,EAAyBY,GAAzB,EACA;AACCE,QAAIE,MAAM,CAAV;AACAP,WAAOK,IAAE,CAAT,IAAcmB,KAAMZ,QAAQ2B,OAAT,IAAqBE,OAAxC;AACA,QAAKjB,KAAK,CAAV,EACA;AACCA,UAAK,MAAMA,EAAX;AACAxB,YAAOK,CAAP,IAAc,CAAEI,QAAQ8B,OAAT,IAAqBE,OAAtB,IAAkCjB,EAAhD;AACAxB,YAAOK,IAAE,CAAT,IAAc,CAAEK,QAAQ6B,OAAT,IAAqBE,OAAtB,IAAkCjB,EAAhD;AACAxB,YAAOK,IAAE,CAAT,IAAc,CAAEM,QAAQ4B,OAAT,IAAqBE,OAAtB,IAAkCjB,EAAhD;AACA,KAND,MAMO;AACNxB,YAAOK,CAAP,IAAYL,OAAOK,IAAE,CAAT,IAAcL,OAAOK,IAAE,CAAT,IAAc,CAAxC;AACA;;AAEDI,aAASI,SAAT;AACAH,aAASI,SAAT;AACAH,aAASI,SAAT;AACAH,aAASI,SAAT;;AAEAH,iBAAawB,QAAQM,CAArB;AACA7B,iBAAauB,QAAQO,CAArB;AACA7B,iBAAasB,QAAQQ,CAArB;AACA7B,iBAAaqB,QAAQS,CAArB;;AAEAzC,QAAMH,IAAK,CAAE,CAAEG,IAAIF,IAAI2B,WAAV,IAAyBD,YAAzB,GAAwCxB,CAAxC,GAA4CwB,YAA9C,IAA+DvC,KAAtE,IAAkF,CAAtF;;AAEAmB,aAAWQ,YAAcoB,QAAQM,CAAR,GAAY3C,OAAOK,CAAP,CAArC;AACAK,aAAWQ,YAAcmB,QAAQO,CAAR,GAAY5C,OAAOK,IAAE,CAAT,CAArC;AACAM,aAAWQ,YAAckB,QAAQQ,CAAR,GAAY7C,OAAOK,IAAE,CAAT,CAArC;AACAO,aAAWQ,YAAciB,QAAQS,CAAR,GAAY9C,OAAOK,IAAE,CAAT,CAArC;;AAEAgC,cAAUA,QAAQF,IAAlB;;AAEAtB,iBAAeQ,KAAKiB,SAASK,CAA7B;AACA7B,iBAAeQ,KAAKgB,SAASM,CAA7B;AACA7B,iBAAeQ,KAAKe,SAASO,CAA7B;AACA7B,iBAAeQ,KAAKc,SAASQ,CAA7B;;AAEA7B,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;AACAH,gBAAYI,EAAZ;;AAEAc,eAAWA,SAASH,IAApB;;AAEA5B,UAAMjB,KAAN;AACA;AACD;;AAEDI,UAAQqD,YAAR,CAAsBnD,SAAtB,EAAiCR,KAAjC,EAAwCC,KAAxC;AAEA;;AAED,UAAS4C,SAAT,GACA;AACC,OAAKU,CAAL,GAAS,CAAT;AACA,OAAKC,CAAL,GAAS,CAAT;AACA,OAAKC,CAAL,GAAS,CAAT;AACA,OAAKC,CAAL,GAAS,CAAT;AACA,OAAKX,IAAL,GAAY,IAAZ;AACA;;AAED,UAASa,QAAT,CAAkB7D,MAAlB,EAA0B8D,KAA1B,EAAiC;AAC/B,MAAIC,IAAI/D,OAAOG,KAAf;AACA,MAAI6D,IAAIhE,OAAOI,MAAf;AACA,MAAI6D,gBAAgBjE,OAAOQ,UAAP,CAAkB,IAAlB,CAApB;AACAyD,gBAAcC,SAAd,CAAwBJ,KAAxB,EAA+B,CAA/B,EAAkC,CAAlC,EAAqCC,CAArC,EAAwCC,CAAxC;AACAjE,sBAAoBC,MAApB,EAA4B,CAA5B,EAA+B,CAA/B,EAAkC+D,CAAlC,EAAqCC,CAArC,EAAwCG,WAAxC;AACD,E;;AA/WOC,S,qBAAAA,M;;;uCAGKC,wB,WADZD,OAAOE,OAAP,C;AAEC,sCAAYC,OAAZ,EAAqB;AAAA;;AACnB,UAAKA,OAAL,GAAeA,OAAf;AACD;;uCAEDC,Y,yBAAaC,Q,EAAU;AAAA;;AACrB,SAAIA,SAASC,QAAb,EAAuB;AACrBb,eAAS,KAAKU,OAAd,EAAuBE,QAAvB;AACD,MAFD,MAEO;AACLA,eAASE,MAAT,GAAkB;AAAA,cAAMd,SAAS,MAAKU,OAAd,EAAuBE,QAAvB,CAAN;AAAA,OAAlB;AACD;AACF,K;;;;;;;AAkDCpB,Y,GAAY,CACR,GADQ,EACJ,GADI,EACA,GADA,EACI,GADJ,EACQ,GADR,EACY,GADZ,EACgB,GADhB,EACoB,GADpB,EACwB,GADxB,EAC4B,GAD5B,EACgC,GADhC,EACoC,GADpC,EACwC,GADxC,EAC4C,GAD5C,EACgD,GADhD,EACoD,GADpD,EAER,GAFQ,EAEJ,GAFI,EAEA,GAFA,EAEI,GAFJ,EAEQ,GAFR,EAEY,GAFZ,EAEgB,GAFhB,EAEoB,GAFpB,EAEwB,GAFxB,EAE4B,GAF5B,EAEgC,GAFhC,EAEoC,GAFpC,EAEwC,GAFxC,EAE4C,GAF5C,EAEgD,GAFhD,EAEoD,GAFpD,EAGR,GAHQ,EAGJ,GAHI,EAGA,GAHA,EAGI,GAHJ,EAGQ,GAHR,EAGY,GAHZ,EAGgB,GAHhB,EAGoB,GAHpB,EAGwB,GAHxB,EAG4B,GAH5B,EAGgC,GAHhC,EAGoC,GAHpC,EAGwC,GAHxC,EAG4C,GAH5C,EAGgD,GAHhD,EAGoD,GAHpD,EAIR,GAJQ,EAIJ,GAJI,EAIA,GAJA,EAII,GAJJ,EAIQ,GAJR,EAIY,GAJZ,EAIgB,GAJhB,EAIoB,GAJpB,EAIwB,GAJxB,EAI4B,GAJ5B,EAIgC,GAJhC,EAIoC,GAJpC,EAIwC,GAJxC,EAI4C,GAJ5C,EAIgD,GAJhD,EAIoD,GAJpD,EAKR,GALQ,EAKJ,GALI,EAKA,GALA,EAKI,GALJ,EAKQ,GALR,EAKY,GALZ,EAKgB,GALhB,EAKoB,GALpB,EAKwB,GALxB,EAK4B,GAL5B,EAKgC,GALhC,EAKoC,GALpC,EAKwC,GALxC,EAK4C,GAL5C,EAKgD,GALhD,EAKoD,GALpD,EAMR,GANQ,EAMJ,GANI,EAMA,GANA,EAMI,GANJ,EAMQ,GANR,EAMY,GANZ,EAMgB,GANhB,EAMoB,GANpB,EAMwB,GANxB,EAM4B,GAN5B,EAMgC,GANhC,EAMoC,GANpC,EAMwC,GANxC,EAM4C,GAN5C,EAMgD,GANhD,EAMoD,GANpD,EAOR,GAPQ,EAOJ,GAPI,EAOA,GAPA,EAOI,GAPJ,EAOQ,GAPR,EAOY,GAPZ,EAOgB,GAPhB,EAOoB,GAPpB,EAOwB,GAPxB,EAO4B,GAP5B,EAOgC,GAPhC,EAOoC,GAPpC,EAOwC,GAPxC,EAO4C,GAP5C,EAOgD,GAPhD,EAOoD,GAPpD,EAQR,GARQ,EAQJ,GARI,EAQA,GARA,EAQI,GARJ,EAQQ,GARR,EAQY,GARZ,EAQgB,GARhB,EAQoB,GARpB,EAQwB,GARxB,EAQ4B,GAR5B,EAQgC,GARhC,EAQoC,GARpC,EAQwC,GARxC,EAQ4C,GAR5C,EAQgD,GARhD,EAQoD,GARpD,EASR,GATQ,EASJ,GATI,EASA,GATA,EASI,GATJ,EASQ,GATR,EASY,GATZ,EASgB,GAThB,EASoB,GATpB,EASwB,GATxB,EAS4B,GAT5B,EASgC,GAThC,EASoC,GATpC,EASwC,GATxC,EAS4C,GAT5C,EASgD,GAThD,EASoD,GATpD,EAUR,GAVQ,EAUJ,GAVI,EAUA,GAVA,EAUI,GAVJ,EAUQ,GAVR,EAUY,GAVZ,EAUgB,GAVhB,EAUoB,GAVpB,EAUwB,GAVxB,EAU4B,GAV5B,EAUgC,GAVhC,EAUoC,GAVpC,EAUwC,GAVxC,EAU4C,GAV5C,EAUgD,GAVhD,EAUoD,GAVpD,EAWR,GAXQ,EAWJ,GAXI,EAWA,GAXA,EAWI,GAXJ,EAWQ,GAXR,EAWY,GAXZ,EAWgB,GAXhB,EAWoB,GAXpB,EAWwB,GAXxB,EAW4B,GAX5B,EAWgC,GAXhC,EAWoC,GAXpC,EAWwC,GAXxC,EAW4C,GAX5C,EAWgD,GAXhD,EAWoD,GAXpD,EAYR,GAZQ,EAYJ,GAZI,EAYA,GAZA,EAYI,GAZJ,EAYQ,GAZR,EAYY,GAZZ,EAYgB,GAZhB,EAYoB,GAZpB,EAYwB,GAZxB,EAY4B,GAZ5B,EAYgC,GAZhC,EAYoC,GAZpC,EAYwC,GAZxC,EAY4C,GAZ5C,EAYgD,GAZhD,EAYoD,GAZpD,EAaR,GAbQ,EAaJ,GAbI,EAaA,GAbA,EAaI,GAbJ,EAaQ,GAbR,EAaY,GAbZ,EAagB,GAbhB,EAaoB,GAbpB,EAawB,GAbxB,EAa4B,GAb5B,EAagC,GAbhC,EAaoC,GAbpC,EAawC,GAbxC,EAa4C,GAb5C,EAagD,GAbhD,EAaoD,GAbpD,EAcR,GAdQ,EAcJ,GAdI,EAcA,GAdA,EAcI,GAdJ,EAcQ,GAdR,EAcY,GAdZ,EAcgB,GAdhB,EAcoB,GAdpB,EAcwB,GAdxB,EAc4B,GAd5B,EAcgC,GAdhC,EAcoC,GAdpC,EAcwC,GAdxC,EAc4C,GAd5C,EAcgD,GAdhD,EAcoD,GAdpD,EAeR,GAfQ,EAeJ,GAfI,EAeA,GAfA,EAeI,GAfJ,EAeQ,GAfR,EAeY,GAfZ,EAegB,GAfhB,EAeoB,GAfpB,EAewB,GAfxB,EAe4B,GAf5B,EAegC,GAfhC,EAeoC,GAfpC,EAewC,GAfxC,EAe4C,GAf5C,EAegD,GAfhD,EAeoD,GAfpD,EAgBR,GAhBQ,EAgBJ,GAhBI,EAgBA,GAhBA,EAgBI,GAhBJ,EAgBQ,GAhBR,EAgBY,GAhBZ,EAgBgB,GAhBhB,EAgBoB,GAhBpB,EAgBwB,GAhBxB,EAgB4B,GAhB5B,EAgBgC,GAhBhC,EAgBoC,GAhBpC,EAgBwC,GAhBxC,EAgB4C,GAhB5C,EAgBgD,GAhBhD,C;AAmBZE,Y,GAAY,CACV,CADU,EACP,EADO,EACH,EADG,EACC,EADD,EACK,EADL,EACS,EADT,EACa,EADb,EACiB,EADjB,EACqB,EADrB,EACyB,EADzB,EAC6B,EAD7B,EACiC,EADjC,EACqC,EADrC,EACyC,EADzC,EAC6C,EAD7C,EACiD,EADjD,EAEd,EAFc,EAEV,EAFU,EAEN,EAFM,EAEF,EAFE,EAEE,EAFF,EAEM,EAFN,EAEU,EAFV,EAEc,EAFd,EAEkB,EAFlB,EAEsB,EAFtB,EAE0B,EAF1B,EAE8B,EAF9B,EAEkC,EAFlC,EAEsC,EAFtC,EAE0C,EAF1C,EAE8C,EAF9C,EAGd,EAHc,EAGV,EAHU,EAGN,EAHM,EAGF,EAHE,EAGE,EAHF,EAGM,EAHN,EAGU,EAHV,EAGc,EAHd,EAGkB,EAHlB,EAGsB,EAHtB,EAG0B,EAH1B,EAG8B,EAH9B,EAGkC,EAHlC,EAGsC,EAHtC,EAG0C,EAH1C,EAG8C,EAH9C,EAId,EAJc,EAIV,EAJU,EAIN,EAJM,EAIF,EAJE,EAIE,EAJF,EAIM,EAJN,EAIU,EAJV,EAIc,EAJd,EAIkB,EAJlB,EAIsB,EAJtB,EAI0B,EAJ1B,EAI8B,EAJ9B,EAIkC,EAJlC,EAIsC,EAJtC,EAI0C,EAJ1C,EAI8C,EAJ9C,EAKd,EALc,EAKV,EALU,EAKN,EALM,EAKF,EALE,EAKE,EALF,EAKM,EALN,EAKU,EALV,EAKc,EALd,EAKkB,EALlB,EAKsB,EALtB,EAK0B,EAL1B,EAK8B,EAL9B,EAKkC,EALlC,EAKsC,EALtC,EAK0C,EAL1C,EAK8C,EAL9C,EAMd,EANc,EAMV,EANU,EAMN,EANM,EAMF,EANE,EAME,EANF,EAMM,EANN,EAMU,EANV,EAMc,EANd,EAMkB,EANlB,EAMsB,EANtB,EAM0B,EAN1B,EAM8B,EAN9B,EAMkC,EANlC,EAMsC,EANtC,EAM0C,EAN1C,EAM8C,EAN9C,EAOd,EAPc,EAOV,EAPU,EAON,EAPM,EAOF,EAPE,EAOE,EAPF,EAOM,EAPN,EAOU,EAPV,EAOc,EAPd,EAOkB,EAPlB,EAOsB,EAPtB,EAO0B,EAP1B,EAO8B,EAP9B,EAOkC,EAPlC,EAOsC,EAPtC,EAO0C,EAP1C,EAO8C,EAP9C,EAQd,EARc,EAQV,EARU,EAQN,EARM,EAQF,EARE,EAQE,EARF,EAQM,EARN,EAQU,EARV,EAQc,EARd,EAQkB,EARlB,EAQsB,EARtB,EAQ0B,EAR1B,EAQ8B,EAR9B,EAQkC,EARlC,EAQsC,EARtC,EAQ0C,EAR1C,EAQ8C,EAR9C,EASd,EATc,EASV,EATU,EASN,EATM,EASF,EATE,EASE,EATF,EASM,EATN,EASU,EATV,EASc,EATd,EASkB,EATlB,EASsB,EATtB,EAS0B,EAT1B,EAS8B,EAT9B,EASkC,EATlC,EASsC,EATtC,EAS0C,EAT1C,EAS8C,EAT9C,EAUd,EAVc,EAUV,EAVU,EAUN,EAVM,EAUF,EAVE,EAUE,EAVF,EAUM,EAVN,EAUU,EAVV,EAUc,EAVd,EAUkB,EAVlB,EAUsB,EAVtB,EAU0B,EAV1B,EAU8B,EAV9B,EAUkC,EAVlC,EAUsC,EAVtC,EAU0C,EAV1C,EAU8C,EAV9C,EAWd,EAXc,EAWV,EAXU,EAWN,EAXM,EAWF,EAXE,EAWE,EAXF,EAWM,EAXN,EAWU,EAXV,EAWc,EAXd,EAWkB,EAXlB,EAWsB,EAXtB,EAW0B,EAX1B,EAW8B,EAX9B,EAWkC,EAXlC,EAWsC,EAXtC,EAW0C,EAX1C,EAW8C,EAX9C,EAYd,EAZc,EAYV,EAZU,EAYN,EAZM,EAYF,EAZE,EAYE,EAZF,EAYM,EAZN,EAYU,EAZV,EAYc,EAZd,EAYkB,EAZlB,EAYsB,EAZtB,EAY0B,EAZ1B,EAY8B,EAZ9B,EAYkC,EAZlC,EAYsC,EAZtC,EAY0C,EAZ1C,EAY8C,EAZ9C,EAad,EAbc,EAaV,EAbU,EAaN,EAbM,EAaF,EAbE,EAaE,EAbF,EAaM,EAbN,EAaU,EAbV,EAac,EAbd,EAakB,EAblB,EAasB,EAbtB,EAa0B,EAb1B,EAa8B,EAb9B,EAakC,EAblC,EAasC,EAbtC,EAa0C,EAb1C,EAa8C,EAb9C,EAcd,EAdc,EAcV,EAdU,EAcN,EAdM,EAcF,EAdE,EAcE,EAdF,EAcM,EAdN,EAcU,EAdV,EAcc,EAdd,EAckB,EAdlB,EAcsB,EAdtB,EAc0B,EAd1B,EAc8B,EAd9B,EAckC,EAdlC,EAcsC,EAdtC,EAc0C,EAd1C,EAc8C,EAd9C,EAed,EAfc,EAeV,EAfU,EAeN,EAfM,EAeF,EAfE,EAeE,EAfF,EAeM,EAfN,EAeU,EAfV,EAec,EAfd,EAekB,EAflB,EAesB,EAftB,EAe0B,EAf1B,EAe8B,EAf9B,EAekC,EAflC,EAesC,EAftC,EAe0C,EAf1C,EAe8C,EAf9C,EAgBd,EAhBc,EAgBV,EAhBU,EAgBN,EAhBM,EAgBF,EAhBE,EAgBE,EAhBF,EAgBM,EAhBN,EAgBU,EAhBV,EAgBc,EAhBd,EAgBkB,EAhBlB,EAgBsB,EAhBtB,EAgB0B,EAhB1B,EAgB8B,EAhB9B,EAgBkC,EAhBlC,EAgBsC,EAhBtC,EAgB0C,EAhB1C,C;AAkBZY,c,GAAc,E;AA0QjB","file":"blur-image.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/child-router.html b/js-tools/templates/aurelia-jspm/dist/child-router.html
new file mode 100644
index 000000000..7c4d00589
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/child-router.html
@@ -0,0 +1 @@
+<template><section class="au-animate"><h2>${heading}</h2><div><div class="col-md-2"><ul class="well nav nav-pills nav-stacked"><li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"><a href.bind="row.href">${row.title}</a></li></ul></div><div class="col-md-10" style="padding: 0"><router-view></router-view></div></div></section></template>
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/child-router.js b/js-tools/templates/aurelia-jspm/dist/child-router.js
new file mode 100644
index 000000000..b014caddb
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/child-router.js
@@ -0,0 +1,35 @@
+System.register([], function (_export, _context) {
+ "use strict";
+
+ var ChildRouter;
+
+ function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+ }
+
+ return {
+ setters: [],
+ execute: function () {
+ _export('ChildRouter', ChildRouter = function () {
+ function ChildRouter() {
+ _classCallCheck(this, ChildRouter);
+
+ this.heading = 'Child Router';
+ }
+
+ ChildRouter.prototype.configureRouter = function configureRouter(config, router) {
+ config.map([{ route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' }, { route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' }, { route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' }]);
+
+ this.router = router;
+ };
+
+ return ChildRouter;
+ }());
+
+ _export('ChildRouter', ChildRouter);
+ }
+ };
+});
+//# sourceMappingURL=child-router.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/child-router.js.map b/js-tools/templates/aurelia-jspm/dist/child-router.js.map
new file mode 100644
index 000000000..d353a7226
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/child-router.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["child-router.js"],"names":["ChildRouter","heading","configureRouter","config","router","map","route","name","moduleId","nav","title"],"mappings":";;;;;;;;;;;;;;6BAAaA,W;;;;eACXC,O,GAAU,c;;;8BAEVC,e,4BAAgBC,M,EAAQC,M,EAAQ;AAC9BD,iBAAOE,GAAP,CAAW,CACT,EAAEC,OAAO,CAAC,EAAD,EAAK,SAAL,CAAT,EAA0BC,MAAM,SAAhC,EAAiDC,UAAU,SAA3D,EAA4EC,KAAK,IAAjF,EAAuFC,OAAO,SAA9F,EADS,EAET,EAAEJ,OAAO,OAAT,EAA0BC,MAAM,OAAhC,EAAiDC,UAAU,OAA3D,EAA4EC,KAAK,IAAjF,EAAuFC,OAAO,cAA9F,EAFS,EAGT,EAAEJ,OAAO,cAAT,EAA0BC,MAAM,cAAhC,EAAiDC,UAAU,cAA3D,EAA4EC,KAAK,IAAjF,EAAuFC,OAAO,cAA9F,EAHS,CAAX;;AAMA,eAAKN,MAAL,GAAcA,MAAd;AACD,S","file":"child-router.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/main.js b/js-tools/templates/aurelia-jspm/dist/main.js
new file mode 100644
index 000000000..d0a4fc6b5
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/main.js
@@ -0,0 +1,19 @@
+System.register(['bootstrap'], function (_export, _context) {
+ "use strict";
+
+ function configure(aurelia) {
+ aurelia.use.standardConfiguration().developmentLogging();
+
+ aurelia.start().then(function () {
+ return aurelia.setRoot();
+ });
+ }
+
+ _export('configure', configure);
+
+ return {
+ setters: [function (_bootstrap) {}],
+ execute: function () {}
+ };
+});
+//# sourceMappingURL=main.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/main.js.map b/js-tools/templates/aurelia-jspm/dist/main.js.map
new file mode 100644
index 000000000..cb881c296
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/main.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["main.js"],"names":["configure","aurelia","use","standardConfiguration","developmentLogging","start","then","setRoot"],"mappings":";;;AAEO,WAASA,SAAT,CAAmBC,OAAnB,EAA4B;AACjCA,YAAQC,GAAR,CACGC,qBADH,GAEGC,kBAFH;;AAWAH,YAAQI,KAAR,GAAgBC,IAAhB,CAAqB;AAAA,aAAML,QAAQM,OAAR,EAAN;AAAA,KAArB;AACD;;uBAbeP,S","file":"main.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/nav-bar.html b/js-tools/templates/aurelia-jspm/dist/nav-bar.html
new file mode 100644
index 000000000..6b0493f79
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/nav-bar.html
@@ -0,0 +1 @@
+<template bindable="router"><nav class="navbar navbar-default navbar-fixed-top" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse"><span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="navbar-brand" href="#"><i class="fa fa-home"></i> <span>${router.title}</span></a></div><div class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse"><ul class="nav navbar-nav"><li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href.bind="row.href">${row.title}</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="loader" if.bind="router.isNavigating"><i class="fa fa-spinner fa-spin fa-2x"></i></li></ul></div></nav></template>
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/users.html b/js-tools/templates/aurelia-jspm/dist/users.html
new file mode 100644
index 000000000..2a4137a68
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/users.html
@@ -0,0 +1 @@
+<template><require from="blur-image"></require><section class="au-animate"><h2>${heading}</h2><div class="row au-stagger"><div class="col-sm-6 col-md-3 card-container au-animate" repeat.for="user of users"><div class="card"><canvas class="header-bg" width="250" height="70" blur-image.bind="image"></canvas><div class="avatar"><img src.bind="user.avatar_url" crossorigin ref="image"></div><div class="content"><p class="name">${user.login}</p><p><a target="_blank" class="btn btn-default" href.bind="user.html_url">Contact</a></p></div></div></div></div></section></template>
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/users.js b/js-tools/templates/aurelia-jspm/dist/users.js
new file mode 100644
index 000000000..bbdc75283
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/users.js
@@ -0,0 +1,50 @@
+System.register(['aurelia-framework', 'aurelia-fetch-client', 'fetch'], function (_export, _context) {
+ "use strict";
+
+ var inject, HttpClient, _dec, _class, Users;
+
+ function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+ }
+
+ return {
+ setters: [function (_aureliaFramework) {
+ inject = _aureliaFramework.inject;
+ }, function (_aureliaFetchClient) {
+ HttpClient = _aureliaFetchClient.HttpClient;
+ }, function (_fetch) {}],
+ execute: function () {
+ _export('Users', Users = (_dec = inject(HttpClient), _dec(_class = function () {
+ function Users(http) {
+ _classCallCheck(this, Users);
+
+ this.heading = 'Github Users';
+ this.users = [];
+
+ http.configure(function (config) {
+ config.useStandardConfiguration().withBaseUrl('https://api.github.com/');
+ });
+
+ this.http = http;
+ }
+
+ Users.prototype.activate = function activate() {
+ var _this = this;
+
+ return this.http.fetch('users').then(function (response) {
+ return response.json();
+ }).then(function (users) {
+ return _this.users = users;
+ });
+ };
+
+ return Users;
+ }()) || _class));
+
+ _export('Users', Users);
+ }
+ };
+});
+//# sourceMappingURL=users.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/users.js.map b/js-tools/templates/aurelia-jspm/dist/users.js.map
new file mode 100644
index 000000000..e7335c025
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/users.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["users.js"],"names":["inject","HttpClient","Users","http","heading","users","configure","config","useStandardConfiguration","withBaseUrl","activate","fetch","then","response","json"],"mappings":";;;;;;;;;;;;;AAAQA,Y,qBAAAA,M;;AACAC,gB,uBAAAA,U;;;uBAIKC,K,WADZF,OAAOC,UAAP,C;AAKC,uBAAYE,IAAZ,EAAkB;AAAA;;AAAA,eAHlBC,OAGkB,GAHR,cAGQ;AAAA,eAFlBC,KAEkB,GAFV,EAEU;;AAChBF,eAAKG,SAAL,CAAe,kBAAU;AACvBC,mBACGC,wBADH,GAEGC,WAFH,CAEe,yBAFf;AAGD,WAJD;;AAMA,eAAKN,IAAL,GAAYA,IAAZ;AACD;;wBAEDO,Q,uBAAW;AAAA;;AACT,iBAAO,KAAKP,IAAL,CAAUQ,KAAV,CAAgB,OAAhB,EACJC,IADI,CACC;AAAA,mBAAYC,SAASC,IAAT,EAAZ;AAAA,WADD,EAEJF,IAFI,CAEC;AAAA,mBAAS,MAAKP,KAAL,GAAaA,KAAtB;AAAA,WAFD,CAAP;AAGD,S","file":"users.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/welcome.html b/js-tools/templates/aurelia-jspm/dist/welcome.html
new file mode 100644
index 000000000..be4eff4b1
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/welcome.html
@@ -0,0 +1 @@
+<template><section class="au-animate"><h2>${heading}</h2><form role="form" submit.delegate="submit()"><div class="form-group"><label for="fn">First Name</label><input type="text" value.bind="firstName" class="form-control" id="fn" placeholder="first name"></div><div class="form-group"><label for="ln">Last Name</label><input type="text" value.bind="lastName" class="form-control" id="ln" placeholder="last name"></div><div class="form-group"><label>Full Name</label><p class="help-block">${fullName | upper}</p></div><button type="submit" class="btn btn-default">Submit</button></form></section></template>
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/dist/welcome.js b/js-tools/templates/aurelia-jspm/dist/welcome.js
new file mode 100644
index 000000000..6ed237d76
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/welcome.js
@@ -0,0 +1,82 @@
+System.register([], function (_export, _context) {
+ "use strict";
+
+ var _createClass, Welcome, UpperValueConverter;
+
+ function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a function");
+ }
+ }
+
+ return {
+ setters: [],
+ execute: function () {
+ _createClass = function () {
+ function defineProperties(target, props) {
+ for (var i = 0; i < props.length; i++) {
+ var descriptor = props[i];
+ descriptor.enumerable = descriptor.enumerable || false;
+ descriptor.configurable = true;
+ if ("value" in descriptor) descriptor.writable = true;
+ Object.defineProperty(target, descriptor.key, descriptor);
+ }
+ }
+
+ return function (Constructor, protoProps, staticProps) {
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) defineProperties(Constructor, staticProps);
+ return Constructor;
+ };
+ }();
+
+ _export('Welcome', Welcome = function () {
+ function Welcome() {
+ _classCallCheck(this, Welcome);
+
+ this.heading = 'Welcome to the Aurelia Navigation App!';
+ this.firstName = 'John';
+ this.lastName = 'Doe';
+ this.previousValue = this.fullName;
+ }
+
+ Welcome.prototype.submit = function submit() {
+ this.previousValue = this.fullName;
+ alert('Welcome, ' + this.fullName + '!');
+ };
+
+ Welcome.prototype.canDeactivate = function canDeactivate() {
+ if (this.fullName !== this.previousValue) {
+ return confirm('Are you sure you want to leave?');
+ }
+ };
+
+ _createClass(Welcome, [{
+ key: 'fullName',
+ get: function get() {
+ return this.firstName + ' ' + this.lastName;
+ }
+ }]);
+
+ return Welcome;
+ }());
+
+ _export('Welcome', Welcome);
+
+ _export('UpperValueConverter', UpperValueConverter = function () {
+ function UpperValueConverter() {
+ _classCallCheck(this, UpperValueConverter);
+ }
+
+ UpperValueConverter.prototype.toView = function toView(value) {
+ return value && value.toUpperCase();
+ };
+
+ return UpperValueConverter;
+ }());
+
+ _export('UpperValueConverter', UpperValueConverter);
+ }
+ };
+});
+//# sourceMappingURL=welcome.js.map
diff --git a/js-tools/templates/aurelia-jspm/dist/welcome.js.map b/js-tools/templates/aurelia-jspm/dist/welcome.js.map
new file mode 100644
index 000000000..beb402fc9
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/dist/welcome.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["welcome.js"],"names":["Welcome","heading","firstName","lastName","previousValue","fullName","submit","alert","canDeactivate","confirm","UpperValueConverter","toView","value","toUpperCase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAEaA,O;;;;eACXC,O,GAAU,wC;eACVC,S,GAAY,M;eACZC,Q,GAAW,K;eACXC,a,GAAgB,KAAKC,Q;;;0BAWrBC,M,qBAAS;AACP,eAAKF,aAAL,GAAqB,KAAKC,QAA1B;AACAE,8BAAkB,KAAKF,QAAvB;AACD,S;;0BAEDG,a,4BAAgB;AACd,cAAI,KAAKH,QAAL,KAAkB,KAAKD,aAA3B,EAA0C;AACxC,mBAAOK,QAAQ,iCAAR,CAAP;AACD;AACF,S;;;;8BAbc;AACb,mBAAU,KAAKP,SAAf,SAA4B,KAAKC,QAAjC;AACD;;;;;;;;qCAcUO,mB;;;;;sCACXC,M,mBAAOC,K,EAAO;AACZ,iBAAOA,SAASA,MAAMC,WAAN,EAAhB;AACD,S","file":"welcome.js","sourceRoot":"/src"}
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/export/config.js b/js-tools/templates/aurelia-jspm/export/config.js
new file mode 100644
index 000000000..3e6231d7d
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/export/config.js
@@ -0,0 +1,326 @@
+System.config({
+ defaultJSExtensions: true,
+ transpiler: false,
+ paths: {
+ "*": "dist/*",
+ "github:*": "jspm_packages/github/*",
+ "npm:*": "jspm_packages/npm/*"
+ },
+ map: {
+ "aurelia-animator-css": "npm:aurelia-animator-css@1.0.1",
+ "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0",
+ "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.1",
+ "aurelia-framework": "npm:aurelia-framework@1.0.6",
+ "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0",
+ "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0",
+ "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0",
+ "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
+ "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0",
+ "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1",
+ "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0",
+ "bluebird": "npm:bluebird@3.4.1",
+ "bootstrap": "github:twbs/bootstrap@3.3.7",
+ "fetch": "github:github/fetch@1.0.0",
+ "font-awesome": "npm:font-awesome@4.6.3",
+ "jquery": "npm:jquery@2.2.4",
+ "text": "github:systemjs/plugin-text@0.0.8",
+ "github:jspm/nodelibs-assert@0.1.0": {
+ "assert": "npm:assert@1.4.1"
+ },
+ "github:jspm/nodelibs-buffer@0.1.0": {
+ "buffer": "npm:buffer@3.6.0"
+ },
+ "github:jspm/nodelibs-process@0.1.2": {
+ "process": "npm:process@0.11.9"
+ },
+ "github:jspm/nodelibs-util@0.1.0": {
+ "util": "npm:util@0.10.3"
+ },
+ "github:jspm/nodelibs-vm@0.1.0": {
+ "vm-browserify": "npm:vm-browserify@0.0.4"
+ },
+ "github:twbs/bootstrap@3.3.7": {
+ "jquery": "npm:jquery@2.2.4"
+ },
+ "npm:assert@1.4.1": {
+ "assert": "github:jspm/nodelibs-assert@0.1.0",
+ "buffer": "github:jspm/nodelibs-buffer@0.1.0",
+ "process": "github:jspm/nodelibs-process@0.1.2",
+ "util": "npm:util@0.10.3"
+ },
+ "npm:aurelia-animator-css@1.0.1": {
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-binding@1.0.9": {
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
+ },
+ "npm:aurelia-bootstrapper@1.0.0": {
+ "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
+ "aurelia-framework": "npm:aurelia-framework@1.0.6",
+ "aurelia-history": "npm:aurelia-history@1.0.0",
+ "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0",
+ "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0",
+ "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0",
+ "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1",
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1",
+ "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0",
+ "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1",
+ "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0"
+ },
+ "npm:aurelia-dependency-injection@1.1.0": {
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-event-aggregator@1.0.0": {
+ "aurelia-logging": "npm:aurelia-logging@1.0.0"
+ },
+ "npm:aurelia-framework@1.0.6": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-loader": "npm:aurelia-loader@1.0.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-path": "npm:aurelia-path@1.1.1",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-history-browser@1.0.0": {
+ "aurelia-history": "npm:aurelia-history@1.0.0",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-loader-default@1.0.0": {
+ "aurelia-loader": "npm:aurelia-loader@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-loader@1.0.0": {
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-path": "npm:aurelia-path@1.1.1"
+ },
+ "npm:aurelia-logging-console@1.0.0": {
+ "aurelia-logging": "npm:aurelia-logging@1.0.0"
+ },
+ "npm:aurelia-metadata@1.0.1": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-pal-browser@1.0.0": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-polyfills@1.1.1": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-route-recognizer@1.1.0": {
+ "aurelia-path": "npm:aurelia-path@1.1.1"
+ },
+ "npm:aurelia-router@1.0.6": {
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
+ "aurelia-history": "npm:aurelia-history@1.0.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-path": "npm:aurelia-path@1.1.1",
+ "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0"
+ },
+ "npm:aurelia-task-queue@1.1.0": {
+ "aurelia-pal": "npm:aurelia-pal@1.0.0"
+ },
+ "npm:aurelia-templating-binding@1.0.0": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-templating-resources@1.1.1": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-loader": "npm:aurelia-loader@1.0.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-path": "npm:aurelia-path@1.1.1",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-templating-router@1.0.0": {
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-path": "npm:aurelia-path@1.1.1",
+ "aurelia-router": "npm:aurelia-router@1.0.6",
+ "aurelia-templating": "npm:aurelia-templating@1.1.1"
+ },
+ "npm:aurelia-templating@1.1.1": {
+ "aurelia-binding": "npm:aurelia-binding@1.0.9",
+ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.1.0",
+ "aurelia-loader": "npm:aurelia-loader@1.0.0",
+ "aurelia-logging": "npm:aurelia-logging@1.0.0",
+ "aurelia-metadata": "npm:aurelia-metadata@1.0.1",
+ "aurelia-pal": "npm:aurelia-pal@1.0.0",
+ "aurelia-path": "npm:aurelia-path@1.1.1",
+ "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0"
+ },
+ "npm:bluebird@3.4.1": {
+ "process": "github:jspm/nodelibs-process@0.1.2"
+ },
+ "npm:buffer@3.6.0": {
+ "base64-js": "npm:base64-js@0.0.8",
+ "child_process": "github:jspm/nodelibs-child_process@0.1.0",
+ "fs": "github:jspm/nodelibs-fs@0.1.2",
+ "ieee754": "npm:ieee754@1.1.8",
+ "isarray": "npm:isarray@1.0.0",
+ "process": "github:jspm/nodelibs-process@0.1.2"
+ },
+ "npm:font-awesome@4.6.3": {
+ "css": "github:systemjs/plugin-css@0.1.31"
+ },
+ "npm:inherits@2.0.1": {
+ "util": "github:jspm/nodelibs-util@0.1.0"
+ },
+ "npm:process@0.11.9": {
+ "assert": "github:jspm/nodelibs-assert@0.1.0",
+ "fs": "github:jspm/nodelibs-fs@0.1.2",
+ "vm": "github:jspm/nodelibs-vm@0.1.0"
+ },
+ "npm:util@0.10.3": {
+ "inherits": "npm:inherits@2.0.1",
+ "process": "github:jspm/nodelibs-process@0.1.2"
+ },
+ "npm:vm-browserify@0.0.4": {
+ "indexof": "npm:indexof@0.0.1"
+ }
+ },
+ bundles: {
+ "app-build.js": [
+ "app.html!github:systemjs/plugin-text@0.0.8.js",
+ "app.js",
+ "app.spec.js",
+ "blur-image.js",
+ "child-router.html!github:systemjs/plugin-text@0.0.8.js",
+ "child-router.js",
+ "main.js",
+ "nav-bar.html!github:systemjs/plugin-text@0.0.8.js",
+ "users.html!github:systemjs/plugin-text@0.0.8.js",
+ "users.js",
+ "welcome.html!github:systemjs/plugin-text@0.0.8.js",
+ "welcome.js"
+ ],
+ "aurelia.js": [
+ "github:github/fetch@1.0.0.js",
+ "github:github/fetch@1.0.0/fetch.js",
+ "github:twbs/bootstrap@3.3.7.js",
+ "github:twbs/bootstrap@3.3.7/css/bootstrap.css!github:systemjs/plugin-text@0.0.8.js",
+ "github:twbs/bootstrap@3.3.7/js/bootstrap.js",
+ "npm:aurelia-animator-css@1.0.1.js",
+ "npm:aurelia-animator-css@1.0.1/aurelia-animator-css.js",
+ "npm:aurelia-binding@1.0.9.js",
+ "npm:aurelia-binding@1.0.9/aurelia-binding.js",
+ "npm:aurelia-bootstrapper@1.0.0.js",
+ "npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper.js",
+ "npm:aurelia-dependency-injection@1.1.0.js",
+ "npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection.js",
+ "npm:aurelia-event-aggregator@1.0.0.js",
+ "npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator.js",
+ "npm:aurelia-fetch-client@1.0.1.js",
+ "npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js",
+ "npm:aurelia-framework@1.0.6.js",
+ "npm:aurelia-framework@1.0.6/aurelia-framework.js",
+ "npm:aurelia-history-browser@1.0.0.js",
+ "npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js",
+ "npm:aurelia-history@1.0.0.js",
+ "npm:aurelia-history@1.0.0/aurelia-history.js",
+ "npm:aurelia-loader-default@1.0.0.js",
+ "npm:aurelia-loader-default@1.0.0/aurelia-loader-default.js",
+ "npm:aurelia-loader@1.0.0.js",
+ "npm:aurelia-loader@1.0.0/aurelia-loader.js",
+ "npm:aurelia-logging-console@1.0.0.js",
+ "npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js",
+ "npm:aurelia-logging@1.0.0.js",
+ "npm:aurelia-logging@1.0.0/aurelia-logging.js",
+ "npm:aurelia-metadata@1.0.1.js",
+ "npm:aurelia-metadata@1.0.1/aurelia-metadata.js",
+ "npm:aurelia-pal-browser@1.0.0.js",
+ "npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser.js",
+ "npm:aurelia-pal@1.0.0.js",
+ "npm:aurelia-pal@1.0.0/aurelia-pal.js",
+ "npm:aurelia-path@1.1.1.js",
+ "npm:aurelia-path@1.1.1/aurelia-path.js",
+ "npm:aurelia-polyfills@1.1.1.js",
+ "npm:aurelia-polyfills@1.1.1/aurelia-polyfills.js",
+ "npm:aurelia-route-recognizer@1.1.0.js",
+ "npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js",
+ "npm:aurelia-router@1.0.6.js",
+ "npm:aurelia-router@1.0.6/aurelia-router.js",
+ "npm:aurelia-task-queue@1.1.0.js",
+ "npm:aurelia-task-queue@1.1.0/aurelia-task-queue.js",
+ "npm:aurelia-templating-binding@1.0.0.js",
+ "npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding.js",
+ "npm:aurelia-templating-resources@1.1.1.js",
+ "npm:aurelia-templating-resources@1.1.1/abstract-repeater.js",
+ "npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js",
+ "npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js",
+ "npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js",
+ "npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js",
+ "npm:aurelia-templating-resources@1.1.1/binding-signaler.js",
+ "npm:aurelia-templating-resources@1.1.1/compose.js",
+ "npm:aurelia-templating-resources@1.1.1/css-resource.js",
+ "npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/dynamic-element.js",
+ "npm:aurelia-templating-resources@1.1.1/focus.js",
+ "npm:aurelia-templating-resources@1.1.1/hide.js",
+ "npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js",
+ "npm:aurelia-templating-resources@1.1.1/html-sanitizer.js",
+ "npm:aurelia-templating-resources@1.1.1/if.js",
+ "npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat-utilities.js",
+ "npm:aurelia-templating-resources@1.1.1/repeat.js",
+ "npm:aurelia-templating-resources@1.1.1/replaceable.js",
+ "npm:aurelia-templating-resources@1.1.1/sanitize-html.js",
+ "npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js",
+ "npm:aurelia-templating-resources@1.1.1/show.js",
+ "npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js",
+ "npm:aurelia-templating-resources@1.1.1/with.js",
+ "npm:aurelia-templating-router@1.0.0.js",
+ "npm:aurelia-templating-router@1.0.0/aurelia-templating-router.js",
+ "npm:aurelia-templating-router@1.0.0/route-href.js",
+ "npm:aurelia-templating-router@1.0.0/route-loader.js",
+ "npm:aurelia-templating-router@1.0.0/router-view.js",
+ "npm:aurelia-templating@1.1.1.js",
+ "npm:aurelia-templating@1.1.1/aurelia-templating.js",
+ "npm:jquery@2.2.4.js",
+ "npm:jquery@2.2.4/dist/jquery.js"
+ ]
+ },
+ depCache: {
+ "app.spec.js": [
+ "src/app.js"
+ ],
+ "blur-image.js": [
+ "aurelia-framework"
+ ],
+ "main.js": [
+ "bootstrap"
+ ],
+ "users.js": [
+ "aurelia-framework",
+ "aurelia-fetch-client",
+ "fetch"
+ ]
+ }
+});
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/export/dist/app-build.js b/js-tools/templates/aurelia-jspm/export/dist/app-build.js
new file mode 100644
index 000000000..a1798a144
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/export/dist/app-build.js
@@ -0,0 +1 @@
+"bundle";!function(){var a=System.amdDefine;a("app.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="nav-bar.html"></require><require from="bootstrap/css/bootstrap.css"></require><nav-bar router.bind="router"></nav-bar><div class="page-host"><router-view></router-view></div></template>'})}(),System.register("app.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("App",d=function(){function a(){c(this,a)}return a.prototype.configureRouter=function(a,b){a.title="Aurelia",a.map([{route:["","welcome"],name:"welcome",moduleId:"welcome",nav:!0,title:"Welcome"},{route:"users",name:"users",moduleId:"users",nav:!0,title:"Github Users"},{route:"child-router",name:"child-router",moduleId:"child-router",nav:!0,title:"Child Router"}]),this.router=b},a}()),a("App",d)}}}),System.register("app.spec.js",["src/app.js"],function(a,b){"use strict";var c,d;return{setters:[function(a){c=a.App,d=a.App2}],execute:function(){describe("A test of app.js ",function(){it("should not work",function(){var a=new c;expect(a.message).toBe("Hello Aurelia")})})}}}),System.register("blur-image.js",["aurelia-framework"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b,c,d,f,g){if(!(isNaN(g)||g<1)){g|=0;var h,i=a.getContext("2d");try{h=i.getImageData(b,c,d,f)}catch(j){throw new Error("unable to access image data: "+j)}var m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K=h.data,L=g+g+1,M=d-1,N=f-1,O=g+1,P=O*(O+1)/2,Q=new e,R=Q;for(o=1;o<L;o++)if(R=R.next=new e,o==O)var S=R;R.next=Q;var T=null,U=null;s=r=0;var V=k[g],W=l[g];for(n=0;n<f;n++){for(B=C=D=E=t=u=v=w=0,x=O*(F=K[r]),y=O*(G=K[r+1]),z=O*(H=K[r+2]),A=O*(I=K[r+3]),t+=P*F,u+=P*G,v+=P*H,w+=P*I,R=Q,o=0;o<O;o++)R.r=F,R.g=G,R.b=H,R.a=I,R=R.next;for(o=1;o<O;o++)p=r+((M<o?M:o)<<2),t+=(R.r=F=K[p])*(J=O-o),u+=(R.g=G=K[p+1])*J,v+=(R.b=H=K[p+2])*J,w+=(R.a=I=K[p+3])*J,B+=F,C+=G,D+=H,E+=I,R=R.next;for(T=Q,U=S,m=0;m<d;m++)K[r+3]=I=w*V>>W,0!=I?(I=255/I,K[r]=(t*V>>W)*I,K[r+1]=(u*V>>W)*I,K[r+2]=(v*V>>W)*I):K[r]=K[r+1]=K[r+2]=0,t-=x,u-=y,v-=z,w-=A,x-=T.r,y-=T.g,z-=T.b,A-=T.a,p=s+((p=m+g+1)<M?p:M)<<2,B+=T.r=K[p],C+=T.g=K[p+1],D+=T.b=K[p+2],E+=T.a=K[p+3],t+=B,u+=C,v+=D,w+=E,T=T.next,x+=F=U.r,y+=G=U.g,z+=H=U.b,A+=I=U.a,B-=F,C-=G,D-=H,E-=I,U=U.next,r+=4;s+=d}for(m=0;m<d;m++){for(C=D=E=B=u=v=w=t=0,r=m<<2,x=O*(F=K[r]),y=O*(G=K[r+1]),z=O*(H=K[r+2]),A=O*(I=K[r+3]),t+=P*F,u+=P*G,v+=P*H,w+=P*I,R=Q,o=0;o<O;o++)R.r=F,R.g=G,R.b=H,R.a=I,R=R.next;for(q=d,o=1;o<=g;o++)r=q+m<<2,t+=(R.r=F=K[r])*(J=O-o),u+=(R.g=G=K[r+1])*J,v+=(R.b=H=K[r+2])*J,w+=(R.a=I=K[r+3])*J,B+=F,C+=G,D+=H,E+=I,R=R.next,o<N&&(q+=d);for(r=m,T=Q,U=S,n=0;n<f;n++)p=r<<2,K[p+3]=I=w*V>>W,I>0?(I=255/I,K[p]=(t*V>>W)*I,K[p+1]=(u*V>>W)*I,K[p+2]=(v*V>>W)*I):K[p]=K[p+1]=K[p+2]=0,t-=x,u-=y,v-=z,w-=A,x-=T.r,y-=T.g,z-=T.b,A-=T.a,p=m+((p=n+O)<N?p:N)*d<<2,t+=B+=T.r=K[p],u+=C+=T.g=K[p+1],v+=D+=T.b=K[p+2],w+=E+=T.a=K[p+3],T=T.next,x+=F=U.r,y+=G=U.g,z+=H=U.b,A+=I=U.a,B-=F,C-=G,D-=H,E-=I,U=U.next,r+=d}i.putImageData(h,b,c)}}function e(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}function f(a,b){var c=a.width,e=a.height,f=a.getContext("2d");f.drawImage(b,0,0,c,e),d(a,0,0,c,e,m)}var g,h,i,j,k,l,m;return{setters:[function(a){g=a.inject}],execute:function(){a("BlurImageCustomAttribute",(h=g(Element),j=h(i=function(){function a(b){c(this,a),this.element=b}return a.prototype.valueChanged=function(a){var b=this;a.complete?f(this.element,a):a.onload=function(){return f(b.element,a)}},a}())||i)),a("BlurImageCustomAttribute",j),k=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],l=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24],m=40}}}),function(){var a=System.amdDefine;a("child-router.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><section class="au-animate"><h2>${heading}</h2><div><div class="col-md-2"><ul class="well nav nav-pills nav-stacked"><li repeat.for="row of router.navigation" class="${row.isActive ? \'active\' : \'\'}"><a href.bind="row.href">${row.title}</a></li></ul></div><div class="col-md-10" style="padding: 0"><router-view></router-view></div></div></section></template>'})}(),System.register("child-router.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ChildRouter",d=function(){function a(){c(this,a),this.heading="Child Router"}return a.prototype.configureRouter=function(a,b){a.map([{route:["","welcome"],name:"welcome",moduleId:"welcome",nav:!0,title:"Welcome"},{route:"users",name:"users",moduleId:"users",nav:!0,title:"Github Users"},{route:"child-router",name:"child-router",moduleId:"child-router",nav:!0,title:"Child Router"}]),this.router=b},a}()),a("ChildRouter",d)}}}),System.register("main.js",["bootstrap"],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot()})}return a("configure",c),{setters:[function(a){}],execute:function(){}}}),function(){var a=System.amdDefine;a("nav-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template bindable="router"><nav class="navbar navbar-default navbar-fixed-top" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse"><span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="navbar-brand" href="#"><i class="fa fa-home"></i> <span>${router.title}</span></a></div><div class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse"><ul class="nav navbar-nav"><li repeat.for="row of router.navigation" class="${row.isActive ? \'active\' : \'\'}"><a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href.bind="row.href">${row.title}</a></li></ul><ul class="nav navbar-nav navbar-right"><li class="loader" if.bind="router.isNavigating"><i class="fa fa-spinner fa-spin fa-2x"></i></li></ul></div></nav></template>'})}(),function(){var a=System.amdDefine;a("users.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="blur-image"></require><section class="au-animate"><h2>${heading}</h2><div class="row au-stagger"><div class="col-sm-6 col-md-3 card-container au-animate" repeat.for="user of users"><div class="card"><canvas class="header-bg" width="250" height="70" blur-image.bind="image"></canvas><div class="avatar"><img src.bind="user.avatar_url" crossorigin ref="image"></div><div class="content"><p class="name">${user.login}</p><p><a target="_blank" class="btn btn-default" href.bind="user.html_url">Contact</a></p></div></div></div></div></section></template>'})}(),System.register("users.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){a("Users",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.heading="Github Users",this.users=[],b.configure(function(a){a.useStandardConfiguration().withBaseUrl("https://api.github.com/")}),this.http=b}return a.prototype.activate=function(){var a=this;return this.http.fetch("users").then(function(a){return a.json()}).then(function(b){return a.users=b})},a}())||g)),a("Users",h)}}}),function(){var a=System.amdDefine;a("welcome.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><section class="au-animate"><h2>${heading}</h2><form role="form" submit.delegate="submit()"><div class="form-group"><label for="fn">First Name</label><input type="text" value.bind="firstName" class="form-control" id="fn" placeholder="first name"></div><div class="form-group"><label for="ln">Last Name</label><input type="text" value.bind="lastName" class="form-control" id="ln" placeholder="last name"></div><div class="form-group"><label>Full Name</label><p class="help-block">${fullName | upper}</p></div><button type="submit" class="btn btn-default">Submit</button></form></section></template>'})}(),System.register("welcome.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f;return{setters:[],execute:function(){d=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("Welcome",e=function(){function a(){c(this,a),this.heading="Welcome to the Aurelia Navigation App!",this.firstName="John",this.lastName="Doe",this.previousValue=this.fullName}return a.prototype.submit=function(){this.previousValue=this.fullName,alert("Welcome, "+this.fullName+"!")},a.prototype.canDeactivate=function(){if(this.fullName!==this.previousValue)return confirm("Are you sure you want to leave?")},d(a,[{key:"fullName",get:function(){return this.firstName+" "+this.lastName}}]),a}()),a("Welcome",e),a("UpperValueConverter",f=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a&&a.toUpperCase()},a}()),a("UpperValueConverter",f)}}});
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/export/dist/aurelia.js b/js-tools/templates/aurelia-jspm/export/dist/aurelia.js
new file mode 100644
index 000000000..73ebb5e2e
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/export/dist/aurelia.js
@@ -0,0 +1,16 @@
+"bundle";System.registerDynamic("github:github/fetch@1.0.0/fetch.js",[],!1,function(a,b,c){var d=System.get("@@global-helpers").prepareGlobal(c.id,null,null);return function(a){!function(a){"use strict";function b(a){if("string"!=typeof a&&(a=String(a)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function c(a){return"string"!=typeof a&&(a=String(a)),a}function d(a){var b={next:function(){var b=a.shift();return{done:void 0===b,value:b}}};return p.iterable&&(b[Symbol.iterator]=function(){return b}),b}function e(a){this.map={},a instanceof e?a.forEach(function(a,b){this.append(b,a)},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b])},this)}function f(a){return a.bodyUsed?Promise.reject(new TypeError("Already read")):void(a.bodyUsed=!0)}function g(a){return new Promise(function(b,c){a.onload=function(){b(a.result)},a.onerror=function(){c(a.error)}})}function h(a){var b=new FileReader;return b.readAsArrayBuffer(a),g(b)}function i(a){var b=new FileReader;return b.readAsText(a),g(b)}function j(){return this.bodyUsed=!1,this._initBody=function(a){if(this._bodyInit=a,"string"==typeof a)this._bodyText=a;else if(p.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(p.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(a){if(!p.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(a))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob?(this.blob=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(h)},this.text=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var a=f(this);return a?a:Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(m)}),this.json=function(){return this.text().then(JSON.parse)},this}function k(a){var b=a.toUpperCase();return q.indexOf(b)>-1?b:a}function l(a,b){b=b||{};var c=b.body;if(l.prototype.isPrototypeOf(a)){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url,this.credentials=a.credentials,b.headers||(this.headers=new e(a.headers)),this.method=a.method,this.mode=a.mode,c||(c=a._bodyInit,a.bodyUsed=!0)}else this.url=a;if(this.credentials=b.credentials||this.credentials||"omit",!b.headers&&this.headers||(this.headers=new e(b.headers)),this.method=k(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&c)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(c)}function m(a){var b=new FormData;return a.trim().split("&").forEach(function(a){if(a){var c=a.split("="),d=c.shift().replace(/\+/g," "),e=c.join("=").replace(/\+/g," ");b.append(decodeURIComponent(d),decodeURIComponent(e))}}),b}function n(a){var b=new e,c=(a.getAllResponseHeaders()||"").trim().split("\n");return c.forEach(function(a){var c=a.trim().split(":"),d=c.shift().trim(),e=c.join(":").trim();b.append(d,e)}),b}function o(a,b){b||(b={}),this.type="default",this.status=b.status,this.ok=this.status>=200&&this.status<300,this.statusText=b.statusText,this.headers=b.headers instanceof e?b.headers:new e(b.headers),this.url=b.url||"",this._initBody(a)}if(!a.fetch){var p={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};e.prototype.append=function(a,d){a=b(a),d=c(d);var e=this.map[a];e||(e=[],this.map[a]=e),e.push(d)},e.prototype["delete"]=function(a){delete this.map[b(a)]},e.prototype.get=function(a){var c=this.map[b(a)];return c?c[0]:null},e.prototype.getAll=function(a){return this.map[b(a)]||[]},e.prototype.has=function(a){return this.map.hasOwnProperty(b(a))},e.prototype.set=function(a,d){this.map[b(a)]=[c(d)]},e.prototype.forEach=function(a,b){Object.getOwnPropertyNames(this.map).forEach(function(c){this.map[c].forEach(function(d){a.call(b,d,c,this)},this)},this)},e.prototype.keys=function(){var a=[];return this.forEach(function(b,c){a.push(c)}),d(a)},e.prototype.values=function(){var a=[];return this.forEach(function(b){a.push(b)}),d(a)},e.prototype.entries=function(){var a=[];return this.forEach(function(b,c){a.push([c,b])}),d(a)},p.iterable&&(e.prototype[Symbol.iterator]=e.prototype.entries);var q=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];l.prototype.clone=function(){return new l(this)},j.call(l.prototype),j.call(o.prototype),o.prototype.clone=function(){return new o(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new e(this.headers),url:this.url})},o.error=function(){var a=new o(null,{status:0,statusText:""});return a.type="error",a};var r=[301,302,303,307,308];o.redirect=function(a,b){if(r.indexOf(b)===-1)throw new RangeError("Invalid status code");return new o(null,{status:b,headers:{location:a}})},a.Headers=e,a.Request=l,a.Response=o,a.fetch=function(a,b){return new Promise(function(c,d){function e(){return"responseURL"in g?g.responseURL:/^X-Request-URL:/m.test(g.getAllResponseHeaders())?g.getResponseHeader("X-Request-URL"):void 0}var f;f=l.prototype.isPrototypeOf(a)&&!b?a:new l(a,b);var g=new XMLHttpRequest;g.onload=function(){var a={status:g.status,statusText:g.statusText,headers:n(g),url:e()},b="response"in g?g.response:g.responseText;c(new o(b,a))},g.onerror=function(){d(new TypeError("Network request failed"))},g.ontimeout=function(){d(new TypeError("Network request failed"))},g.open(f.method,f.url,!0),"include"===f.credentials&&(g.withCredentials=!0),"responseType"in g&&p.blob&&(g.responseType="blob"),f.headers.forEach(function(a,b){g.setRequestHeader(b,a)}),g.send("undefined"==typeof f._bodyInit?null:f._bodyInit)})},a.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)}(this),d()}),System.registerDynamic("github:github/fetch@1.0.0.js",["github:github/fetch@1.0.0/fetch.js"],!0,function(a,b,c){this||self;c.exports=a("github:github/fetch@1.0.0/fetch.js")}),function(){var a=System.amdDefine;!function(a,b){"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(b,c){function d(a){var b=!!a&&"length"in a&&a.length,c=ga.type(a);return"function"!==c&&!ga.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}function e(a,b,c){if(ga.isFunction(b))return ga.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return ga.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(qa.test(b))return ga.filter(b,a,c);b=ga.filter(b,a)}return ga.grep(a,function(a){return aa.call(b,a)>-1!==c})}function f(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function g(a){var b={};return ga.each(a.match(wa)||[],function(a,c){b[c]=!0}),b}function h(){Y.removeEventListener("DOMContentLoaded",h),b.removeEventListener("load",h),ga.ready()}function i(){this.expando=ga.expando+i.uid++}function j(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Da,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:Ca.test(c)?ga.parseJSON(c):c)}catch(e){}Ba.set(a,b,c)}else c=void 0;return c}function k(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return ga.css(a,b,"")},i=h(),j=c&&c[3]||(ga.cssNumber[b]?"":"px"),k=(ga.cssNumber[b]||"px"!==j&&+i)&&Fa.exec(ga.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,ga.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}function l(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&ga.nodeName(a,b)?ga.merge([a],c):c}function m(a,b){for(var c=0,d=a.length;c<d;c++)Aa.set(a[c],"globalEval",!b||Aa.get(b[c],"globalEval"))}function n(a,b,c,d,e){for(var f,g,h,i,j,k,n=b.createDocumentFragment(),o=[],p=0,q=a.length;p<q;p++)if(f=a[p],f||0===f)if("object"===ga.type(f))ga.merge(o,f.nodeType?[f]:f);else if(Ma.test(f)){for(g=g||n.appendChild(b.createElement("div")),h=(Ja.exec(f)||["",""])[1].toLowerCase(),i=La[h]||La._default,g.innerHTML=i[1]+ga.htmlPrefilter(f)+i[2],k=i[0];k--;)g=g.lastChild;ga.merge(o,g.childNodes),g=n.firstChild,g.textContent=""}else o.push(b.createTextNode(f));for(n.textContent="",p=0;f=o[p++];)if(d&&ga.inArray(f,d)>-1)e&&e.push(f);else if(j=ga.contains(f.ownerDocument,f),g=l(n.appendChild(f),"script"),j&&m(g),c)for(k=0;f=g[k++];)Ka.test(f.type||"")&&c.push(f);return n}function o(){return!0}function p(){return!1}function q(){try{return Y.activeElement}catch(a){}}function r(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)r(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=p;else if(!e)return a;return 1===f&&(g=e,e=function(a){return ga().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=ga.guid++)),a.each(function(){ga.event.add(this,b,e,d,c)})}function s(a,b){return ga.nodeName(a,"table")&&ga.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function t(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function u(a){var b=Ta.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function v(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(Aa.hasData(a)&&(f=Aa.access(a),g=Aa.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)ga.event.add(b,e,j[e][c])}Ba.hasData(a)&&(h=Ba.access(a),i=ga.extend({},h),Ba.set(b,i))}}function w(a,b){var c=b.nodeName.toLowerCase();"input"===c&&Ia.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function x(a,b,c,d){b=$.apply([],b);var e,f,g,h,i,j,k=0,m=a.length,o=m-1,p=b[0],q=ga.isFunction(p);if(q||m>1&&"string"==typeof p&&!ea.checkClone&&Sa.test(p))return a.each(function(e){var f=a.eq(e);q&&(b[0]=p.call(this,e,f.html())),x(f,b,c,d)});if(m&&(e=n(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(g=ga.map(l(e,"script"),t),h=g.length;k<m;k++)i=e,k!==o&&(i=ga.clone(i,!0,!0),h&&ga.merge(g,l(i,"script"))),c.call(a[k],i,k);if(h)for(j=g[g.length-1].ownerDocument,ga.map(g,u),k=0;k<h;k++)i=g[k],Ka.test(i.type||"")&&!Aa.access(i,"globalEval")&&ga.contains(j,i)&&(i.src?ga._evalUrl&&ga._evalUrl(i.src):ga.globalEval(i.textContent.replace(Ua,"")))}return a}function y(a,b,c){for(var d,e=b?ga.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||ga.cleanData(l(d)),d.parentNode&&(c&&ga.contains(d.ownerDocument,d)&&m(l(d,"script")),d.parentNode.removeChild(d));return a}function z(a,b){var c=ga(b.createElement(a)).appendTo(b.body),d=ga.css(c[0],"display");return c.detach(),d}function A(a){var b=Y,c=Wa[a];return c||(c=z(a,b),"none"!==c&&c||(Va=(Va||ga("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=Va[0].contentDocument,b.write(),b.close(),c=z(a,b),Va.detach()),Wa[a]=c),c}function B(a,b,c){var d,e,f,g,h=a.style;return c=c||Za(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||ga.contains(a.ownerDocument,a)||(g=ga.style(a,b)),c&&!ea.pixelMarginRight()&&Ya.test(g)&&Xa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+"":g}function C(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function D(a){if(a in eb)return a;for(var b=a[0].toUpperCase()+a.slice(1),c=db.length;c--;)if(a=db[c]+b,a in eb)return a}function E(a,b,c){var d=Fa.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function F(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=ga.css(a,c+Ga[f],!0,e)),d?("content"===c&&(g-=ga.css(a,"padding"+Ga[f],!0,e)),"margin"!==c&&(g-=ga.css(a,"border"+Ga[f]+"Width",!0,e))):(g+=ga.css(a,"padding"+Ga[f],!0,e),"padding"!==c&&(g+=ga.css(a,"border"+Ga[f]+"Width",!0,e)));return g}function G(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Za(a),g="border-box"===ga.css(a,"boxSizing",!1,f);if(e<=0||null==e){if(e=B(a,b,f),(e<0||null==e)&&(e=a.style[b]),Ya.test(e))return e;d=g&&(ea.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+F(a,b,c||(g?"border":"content"),d,f)+"px"}function H(a,b){for(var c,d,e,f=[],g=0,h=a.length;g<h;g++)d=a[g],d.style&&(f[g]=Aa.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&Ha(d)&&(f[g]=Aa.access(d,"olddisplay",A(d.nodeName)))):(e=Ha(d),"none"===c&&e||Aa.set(d,"olddisplay",e?c:ga.css(d,"display"))));for(g=0;g<h;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function I(a,b,c,d,e){return new I.prototype.init(a,b,c,d,e)}function J(){return b.setTimeout(function(){fb=void 0}),fb=ga.now()}function K(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=Ga[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function L(a,b,c){for(var d,e=(O.tweeners[b]||[]).concat(O.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function M(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},n=a.style,o=a.nodeType&&Ha(a),p=Aa.get(a,"fxshow");c.queue||(h=ga._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,ga.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[n.overflow,n.overflowX,n.overflowY],j=ga.css(a,"display"),k="none"===j?Aa.get(a,"olddisplay")||A(a.nodeName):j,"inline"===k&&"none"===ga.css(a,"float")&&(n.display="inline-block")),c.overflow&&(n.overflow="hidden",l.always(function(){n.overflow=c.overflow[0],n.overflowX=c.overflow[1],n.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],hb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(o?"hide":"show")){if("show"!==e||!p||void 0===p[d])continue;o=!0}m[d]=p&&p[d]||ga.style(a,d)}else j=void 0;if(ga.isEmptyObject(m))"inline"===("none"===j?A(a.nodeName):j)&&(n.display=j);else{p?"hidden"in p&&(o=p.hidden):p=Aa.access(a,"fxshow",{}),f&&(p.hidden=!o),o?ga(a).show():l.done(function(){ga(a).hide()}),l.done(function(){var b;Aa.remove(a,"fxshow");for(b in m)ga.style(a,b,m[b])});for(d in m)g=L(o?p[d]:0,d,l),d in p||(p[d]=g.start,o&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function N(a,b){var c,d,e,f,g;for(c in a)if(d=ga.camelCase(c),e=b[d],f=a[c],ga.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=ga.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function O(a,b,c){var d,e,f=0,g=O.prefilters.length,h=ga.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=fb||J(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:ga.extend({},b),opts:ga.extend(!0,{specialEasing:{},easing:ga.easing._default},c),originalProperties:b,originalOptions:c,startTime:fb||J(),duration:c.duration,tweens:[],createTween:function(b,c){var d=ga.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(N(k,j.opts.specialEasing);f<g;f++)if(d=O.prefilters[f].call(j,a,k,j.opts))return ga.isFunction(d.stop)&&(ga._queueHooks(j.elem,j.opts.queue).stop=ga.proxy(d.stop,d)),d;return ga.map(k,L,j),ga.isFunction(j.opts.start)&&j.opts.start.call(a,j),ga.fx.timer(ga.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function P(a){return a.getAttribute&&a.getAttribute("class")||""}function Q(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(wa)||[];if(ga.isFunction(c))for(;d=f[e++];)"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function R(a,b,c,d){function e(h){var i;return f[h]=!0,ga.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||g||f[j]?g?!(i=j):void 0:(b.dataTypes.unshift(j),e(j),!1)}),i}var f={},g=a===Bb;return e(b.dataTypes[0])||!f["*"]&&e("*")}function S(a,b){var c,d,e=ga.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&ga.extend(!0,a,d),a}function T(a,b,c){for(var d,e,f,g,h=a.contents,i=a.dataTypes;"*"===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 U(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];for(f=k.shift();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}}function V(a,b,c,d){var e;if(ga.isArray(b))ga.each(b,function(b,e){c||Fb.test(a)?d(a,e):V(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==ga.type(b))d(a,b);else for(e in b)V(a+"["+e+"]",b[e],c,d)}function W(a){return ga.isWindow(a)?a:9===a.nodeType&&a.defaultView}var X=[],Y=b.document,Z=X.slice,$=X.concat,_=X.push,aa=X.indexOf,ba={},ca=ba.toString,da=ba.hasOwnProperty,ea={},fa="2.2.4",ga=function(a,b){return new ga.fn.init(a,b)},ha=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ia=/^-ms-/,ja=/-([\da-z])/gi,ka=function(a,b){return b.toUpperCase()};ga.fn=ga.prototype={jquery:fa,constructor:ga,selector:"",length:0,toArray:function(){return Z.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:Z.call(this)},pushStack:function(a){var b=ga.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return ga.each(this,a)},map:function(a){return this.pushStack(ga.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(Z.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&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:_,sort:X.sort,splice:X.splice},ga.extend=ga.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||ga.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(ga.isPlainObject(d)||(e=ga.isArray(d)))?(e?(e=!1,f=c&&ga.isArray(c)?c:[]):f=c&&ga.isPlainObject(c)?c:{},g[b]=ga.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},ga.extend({expando:"jQuery"+(fa+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===ga.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!ga.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==ga.type(a)||a.nodeType||ga.isWindow(a))return!1;if(a.constructor&&!da.call(a,"constructor")&&!da.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||da.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?ba[ca.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=ga.trim(a),a&&(1===a.indexOf("use strict")?(b=Y.createElement("script"),b.text=a,Y.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(ia,"ms-").replace(ja,ka)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,e=0;if(d(a))for(c=a.length;e<c&&b.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(b.call(a[e],e,a[e])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(ha,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(d(Object(a))?ga.merge(c,"string"==typeof a?[a]:a):_.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:aa.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var e,f,g=0,h=[];if(d(a))for(e=a.length;g<e;g++)f=b(a[g],g,c),null!=f&&h.push(f);else for(g in a)f=b(a[g],g,c),null!=f&&h.push(f);return $.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),ga.isFunction(a))return d=Z.call(arguments,2),e=function(){return a.apply(b||this,d.concat(Z.call(arguments)))},e.guid=a.guid=a.guid||ga.guid++,e},now:Date.now,support:ea}),"function"==typeof Symbol&&(ga.fn[Symbol.iterator]=X[Symbol.iterator]),ga.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){ba["[object "+b+"]"]=b.toLowerCase()});var la=function(a){function b(a,b,c,d){var e,f,g,h,i,j,l,n,o=b&&b.ownerDocument,p=b?b.nodeType:9;if(c=c||[],"string"!=typeof a||!a||1!==p&&9!==p&&11!==p)return c;if(!d&&((b?b.ownerDocument||b:O)!==G&&F(b),b=b||G,I)){if(11!==p&&(j=ra.exec(a)))if(e=j[1]){if(9===p){if(!(g=b.getElementById(e)))return c;if(g.id===e)return c.push(g),c}else if(o&&(g=o.getElementById(e))&&M(b,g)&&g.id===e)return c.push(g),c}else{if(j[2])return $.apply(c,b.getElementsByTagName(a)),c;if((e=j[3])&&v.getElementsByClassName&&b.getElementsByClassName)return $.apply(c,b.getElementsByClassName(e)),c}if(v.qsa&&!T[a+" "]&&(!J||!J.test(a))){if(1!==p)o=b,n=a;else if("object"!==b.nodeName.toLowerCase()){for((h=b.getAttribute("id"))?h=h.replace(ta,"\\$&"):b.setAttribute("id",h=N),l=z(a),f=l.length,i=ma.test(h)?"#"+h:"[id='"+h+"']";f--;)l[f]=i+" "+m(l[f]);n=l.join(","),o=sa.test(a)&&k(b.parentNode)||b}if(n)try{return $.apply(c,o.querySelectorAll(n)),c}catch(q){}finally{h===N&&b.removeAttribute("id")}}}return B(a.replace(ha,"$1"),b,c,d)}function c(){function a(c,d){return b.push(c+" ")>w.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[N]=!0,a}function e(a){var b=G.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function f(a,b){for(var c=a.split("|"),d=c.length;d--;)w.attrHandle[c[d]]=b}function g(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||V)-(~a.sourceIndex||V);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function h(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function i(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function j(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function k(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function l(){}function m(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function n(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=Q++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[P,f];if(g){for(;b=b[d];)if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||e){if(j=b[N]||(b[N]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===P&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function o(a){return a.length>1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function p(a,c,d){for(var e=0,f=c.length;e<f;e++)b(a,c[e],d);return d}function q(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function r(a,b,c,e,f,g){return e&&!e[N]&&(e=r(e)),f&&!f[N]&&(f=r(f,g)),d(function(d,g,h,i){var j,k,l,m=[],n=[],o=g.length,r=d||p(b||"*",h.nodeType?[h]:h,[]),s=!a||!d&&b?r:q(r,m,a,h,i),t=c?f||(d?a:o||e)?[]:g:s;if(c&&c(s,t,h,i),e)for(j=q(t,n),e(j,[],h,i),k=j.length;k--;)(l=j[k])&&(t[n[k]]=!(s[n[k]]=l));if(d){if(f||a){if(f){for(j=[],k=t.length;k--;)(l=t[k])&&j.push(s[k]=l);f(null,t=[],j,i)}for(k=t.length;k--;)(l=t[k])&&(j=f?aa(d,l):m[k])>-1&&(d[j]=!(g[j]=l))}}else t=q(t===g?t.splice(o,t.length):t),f?f(null,g,t,i):$.apply(g,t)})}function s(a){for(var b,c,d,e=a.length,f=w.relative[a[0].type],g=f||w.relative[" "],h=f?1:0,i=n(function(a){return a===b},g,!0),j=n(function(a){return aa(b,a)>-1},g,!0),k=[function(a,c,d){var e=!f&&(d||c!==C)||((b=c).nodeType?i(a,c,d):j(a,c,d));return b=null,e}];h<e;h++)if(c=w.relative[a[h].type])k=[n(o(k),c)];else{if(c=w.filter[a[h].type].apply(null,a[h].matches),c[N]){for(d=++h;d<e&&!w.relative[a[d].type];d++);return r(h>1&&o(k),h>1&&m(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(ha,"$1"),c,h<d&&s(a.slice(h,d)),d<e&&s(a=a.slice(d)),d<e&&m(a))}k.push(c)}return o(k)}function t(a,c){var e=c.length>0,f=a.length>0,g=function(d,g,h,i,j){var k,l,m,n=0,o="0",p=d&&[],r=[],s=C,t=d||f&&w.find.TAG("*",j),u=P+=null==s?1:Math.random()||.1,v=t.length;for(j&&(C=g===G||g||j);o!==v&&null!=(k=t[o]);o++){if(f&&k){for(l=0,g||k.ownerDocument===G||(F(k),h=!I);m=a[l++];)if(m(k,g||G,h)){i.push(k);break}j&&(P=u)}e&&((k=!m&&k)&&n--,d&&p.push(k))}if(n+=o,e&&o!==n){for(l=0;m=c[l++];)m(p,r,g,h);if(d){if(n>0)for(;o--;)p[o]||r[o]||(r[o]=Y.call(i));r=q(r)}$.apply(i,r),j&&!d&&r.length>0&&n+c.length>1&&b.uniqueSort(i)}return j&&(P=u,C=s),p};return e?d(g):g}var u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N="sizzle"+1*new Date,O=a.document,P=0,Q=0,R=c(),S=c(),T=c(),U=function(a,b){return a===b&&(E=!0),0},V=1<<31,W={}.hasOwnProperty,X=[],Y=X.pop,Z=X.push,$=X.push,_=X.slice,aa=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},ba="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ca="[\\x20\\t\\r\\n\\f]",da="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ea="\\["+ca+"*("+da+")(?:"+ca+"*([*^$|!~]?=)"+ca+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+da+"))|)"+ca+"*\\]",fa=":("+da+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ea+")*)|.*)\\)|)",ga=new RegExp(ca+"+","g"),ha=new RegExp("^"+ca+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ca+"+$","g"),ia=new RegExp("^"+ca+"*,"+ca+"*"),ja=new RegExp("^"+ca+"*([>+~]|"+ca+")"+ca+"*"),ka=new RegExp("="+ca+"*([^\\]'\"]*?)"+ca+"*\\]","g"),la=new RegExp(fa),ma=new RegExp("^"+da+"$"),na={ID:new RegExp("^#("+da+")"),CLASS:new RegExp("^\\.("+da+")"),TAG:new RegExp("^("+da+"|[*])"),ATTR:new RegExp("^"+ea),PSEUDO:new RegExp("^"+fa),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ca+"*(even|odd|(([+-]|)(\\d*)n|)"+ca+"*(?:([+-]|)"+ca+"*(\\d+)|))"+ca+"*\\)|)","i"),bool:new RegExp("^(?:"+ba+")$","i"),needsContext:new RegExp("^"+ca+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ca+"*((?:-\\d)?\\d*)"+ca+"*\\)|)(?=[^-]|$)","i")},oa=/^(?:input|select|textarea|button)$/i,pa=/^h\d$/i,qa=/^[^{]+\{\s*\[native \w/,ra=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,sa=/[+~]/,ta=/'|\\/g,ua=new RegExp("\\\\([\\da-f]{1,6}"+ca+"?|("+ca+")|.)","ig"),va=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)},wa=function(){F()};try{$.apply(X=_.call(O.childNodes),O.childNodes),X[O.childNodes.length].nodeType}catch(xa){$={apply:X.length?function(a,b){Z.apply(a,_.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}v=b.support={},y=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},F=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:O;return d!==G&&9===d.nodeType&&d.documentElement?(G=d,H=G.documentElement,I=!y(G),(c=G.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",wa,!1):c.attachEvent&&c.attachEvent("onunload",wa)),v.attributes=e(function(a){return a.className="i",!a.getAttribute("className")}),v.getElementsByTagName=e(function(a){return a.appendChild(G.createComment("")),!a.getElementsByTagName("*").length}),v.getElementsByClassName=qa.test(G.getElementsByClassName),v.getById=e(function(a){return H.appendChild(a).id=N,!G.getElementsByName||!G.getElementsByName(N).length}),v.getById?(w.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&I){var c=b.getElementById(a);return c?[c]:[]}},w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){return a.getAttribute("id")===b}}):(delete w.find.ID,w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),w.find.TAG=v.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):v.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},w.find.CLASS=v.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&I)return b.getElementsByClassName(a)},K=[],J=[],(v.qsa=qa.test(G.querySelectorAll))&&(e(function(a){H.appendChild(a).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&J.push("[*^$]="+ca+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||J.push("\\["+ca+"*(?:value|"+ba+")"),a.querySelectorAll("[id~="+N+"-]").length||J.push("~="),a.querySelectorAll(":checked").length||J.push(":checked"),a.querySelectorAll("a#"+N+"+*").length||J.push(".#.+[+~]")}),e(function(a){var b=G.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&J.push("name"+ca+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||J.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),J.push(",.*:")})),(v.matchesSelector=qa.test(L=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&e(function(a){v.disconnectedMatch=L.call(a,"div"),L.call(a,"[s!='']:x"),K.push("!=",fa)}),J=J.length&&new RegExp(J.join("|")),K=K.length&&new RegExp(K.join("|")),b=qa.test(H.compareDocumentPosition),M=b||qa.test(H.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)for(;b=b.parentNode;)if(b===a)return!0;return!1},U=b?function(a,b){if(a===b)return E=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!v.sortDetached&&b.compareDocumentPosition(a)===c?a===G||a.ownerDocument===O&&M(O,a)?-1:b===G||b.ownerDocument===O&&M(O,b)?1:D?aa(D,a)-aa(D,b):0:4&c?-1:1)}:function(a,b){if(a===b)return E=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===G?-1:b===G?1:e?-1:f?1:D?aa(D,a)-aa(D,b):0;if(e===f)return g(a,b);for(c=a;c=c.parentNode;)h.unshift(c);for(c=b;c=c.parentNode;)i.unshift(c);for(;h[d]===i[d];)d++;return d?g(h[d],i[d]):h[d]===O?-1:i[d]===O?1:0},G):G},b.matches=function(a,c){return b(a,null,null,c)},b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==G&&F(a),c=c.replace(ka,"='$1']"),v.matchesSelector&&I&&!T[c+" "]&&(!K||!K.test(c))&&(!J||!J.test(c)))try{var d=L.call(a,c);if(d||v.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return b(c,G,null,[a]).length>0},b.contains=function(a,b){return(a.ownerDocument||a)!==G&&F(a),M(a,b)},b.attr=function(a,b){(a.ownerDocument||a)!==G&&F(a);var c=w.attrHandle[b.toLowerCase()],d=c&&W.call(w.attrHandle,b.toLowerCase())?c(a,b,!I):void 0;return void 0!==d?d:v.attributes||!I?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},b.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},b.uniqueSort=function(a){var b,c=[],d=0,e=0;if(E=!v.detectDuplicates,D=!v.sortStable&&a.slice(0),a.sort(U),E){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}return D=null,a},x=b.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=x(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=x(b);return c},w=b.selectors={cacheLength:50,createPseudo:d,match:na,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(ua,va),a[3]=(a[3]||a[4]||a[5]||"").replace(ua,va),"~="===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]||b.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]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return na.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&la.test(c)&&(b=z(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(ua,va).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=R[a+" "];return b||(b=new RegExp("(^|"+ca+")"+a+"("+ca+"|$)"))&&R(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,c,d){return function(e){var f=b.attr(e,a);return null==f?"!="===c:!c||(f+="","="===c?f===d:"!="===c?f!==d:"^="===c?d&&0===f.indexOf(d):"*="===c?d&&f.indexOf(d)>-1:"$="===c?d&&f.slice(-d.length)===d:"~="===c?(" "+f.replace(ga," ")+" ").indexOf(d)>-1:"|="===c&&(f===d||f.slice(0,d.length+1)===d+"-"))}},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){for(;p;){for(m=b;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){for(m=q,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n&&j[2],m=n&&q.childNodes[n];m=++n&&m&&m[p]||(t=n=0)||o.pop();)if(1===m.nodeType&&++t&&m===b){k[a]=[P,n,t];break}}else if(s&&(m=b,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n),t===!1)for(;(m=++n&&m&&m[p]||(t=n=0)||o.pop())&&((h?m.nodeName.toLowerCase()!==r:1!==m.nodeType)||!++t||(s&&(l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[P,t]),m!==b)););return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,c){var e,f=w.pseudos[a]||w.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[N]?f(c):f.length>1?(e=[a,a,"",c],w.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,b){for(var d,e=f(a,c),g=e.length;g--;)d=aa(a,e[g]),a[d]=!(b[d]=e[g])}):function(a){return f(a,0,e)}):f}},pseudos:{not:d(function(a){var b=[],c=[],e=A(a.replace(ha,"$1"));return e[N]?d(function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,d,f){return b[0]=a,e(b,null,f,c),b[0]=null,!c.pop()}}),has:d(function(a){return function(c){return b(a,c).length>0}}),contains:d(function(a){return a=a.replace(ua,va),function(b){return(b.textContent||b.innerText||x(b)).indexOf(a)>-1}}),lang:d(function(a){return ma.test(a||"")||b.error("unsupported lang: "+a),a=a.replace(ua,va).toLowerCase(),function(b){var c;do if(c=I?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===H},focus:function(a){return a===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!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!w.pseudos.empty(a)},header:function(a){return pa.test(a.nodeName)},input:function(a){return oa.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:j(function(){return[0]}),last:j(function(a,b){return[b-1]}),eq:j(function(a,b,c){return[c<0?c+b:c]}),even:j(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:j(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:j(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:j(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},w.pseudos.nth=w.pseudos.eq;for(u in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[u]=h(u);for(u in{submit:!0,reset:!0})w.pseudos[u]=i(u);return l.prototype=w.filters=w.pseudos,w.setFilters=new l,z=b.tokenize=function(a,c){var d,e,f,g,h,i,j,k=S[a+" "];if(k)return c?0:k.slice(0);for(h=a,i=[],j=w.preFilter;h;){d&&!(e=ia.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),d=!1,(e=ja.exec(h))&&(d=e.shift(),f.push({value:d,type:e[0].replace(ha," ")}),h=h.slice(d.length));for(g in w.filter)!(e=na[g].exec(h))||j[g]&&!(e=j[g](e))||(d=e.shift(),f.push({value:d,type:g,matches:e}),h=h.slice(d.length));if(!d)break}return c?h.length:h?b.error(a):S(a,i).slice(0)},A=b.compile=function(a,b){var c,d=[],e=[],f=T[a+" "];if(!f){for(b||(b=z(a)),c=b.length;c--;)f=s(b[c]),f[N]?d.push(f):e.push(f);f=T(a,t(e,d)),f.selector=a}return f},B=b.select=function(a,b,c,d){var e,f,g,h,i,j="function"==typeof a&&a,l=!d&&z(a=j.selector||a);if(c=c||[],1===l.length){if(f=l[0]=l[0].slice(0),f.length>2&&"ID"===(g=f[0]).type&&v.getById&&9===b.nodeType&&I&&w.relative[f[1].type]){if(b=(w.find.ID(g.matches[0].replace(ua,va),b)||[])[0],!b)return c;j&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=na.needsContext.test(a)?0:f.length;e--&&(g=f[e],!w.relative[h=g.type]);)if((i=w.find[h])&&(d=i(g.matches[0].replace(ua,va),sa.test(f[0].type)&&k(b.parentNode)||b))){if(f.splice(e,1),a=d.length&&m(f),!a)return $.apply(c,d),c;break}}return(j||A(a,l))(d,b,!I,c,!b||sa.test(a)&&k(b.parentNode)||b),c},v.sortStable=N.split("").sort(U).join("")===N,v.detectDuplicates=!!E,F(),v.sortDetached=e(function(a){return 1&a.compareDocumentPosition(G.createElement("div"))}),e(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||f("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),v.attributes&&e(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||f("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),e(function(a){return null==a.getAttribute("disabled")})||f(ba,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),b}(b);ga.find=la,ga.expr=la.selectors,ga.expr[":"]=ga.expr.pseudos,ga.uniqueSort=ga.unique=la.uniqueSort,ga.text=la.getText,ga.isXMLDoc=la.isXML,ga.contains=la.contains;var ma=function(a,b,c){for(var d=[],e=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(e&&ga(a).is(c))break;d.push(a)}return d},na=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},oa=ga.expr.match.needsContext,pa=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,qa=/^.[^:#\[\.,]*$/;ga.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?ga.find.matchesSelector(d,a)?[d]:[]:ga.find.matches(a,ga.grep(b,function(a){return 1===a.nodeType}))},ga.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(ga(a).filter(function(){for(b=0;b<c;b++)if(ga.contains(e[b],this))return!0}));for(b=0;b<c;b++)ga.find(a,e[b],d);return d=this.pushStack(c>1?ga.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},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&&oa.test(a)?ga(a):a||[],!1).length}});var ra,sa=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ta=ga.fn.init=function(a,b,c){var d,e;if(!a)return this;if(c=c||ra,"string"==typeof a){if(d="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:sa.exec(a),!d||!d[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(d[1]){if(b=b instanceof ga?b[0]:b,ga.merge(this,ga.parseHTML(d[1],b&&b.nodeType?b.ownerDocument||b:Y,!0)),pa.test(d[1])&&ga.isPlainObject(b))for(d in b)ga.isFunction(this[d])?this[d](b[d]):this.attr(d,b[d]);return this}return e=Y.getElementById(d[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=Y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):ga.isFunction(a)?void 0!==c.ready?c.ready(a):a(ga):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),ga.makeArray(a,this))};ta.prototype=ga.fn,ra=ga(Y);var ua=/^(?:parents|prev(?:Until|All))/,va={children:!0,contents:!0,next:!0,prev:!0};ga.fn.extend({has:function(a){var b=ga(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(ga.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=oa.test(a)||"string"!=typeof a?ga(a,b||this.context):0;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&ga.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?ga.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?aa.call(ga(a),this[0]):aa.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(ga.uniqueSort(ga.merge(this.get(),ga(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),ga.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return ma(a,"parentNode")},parentsUntil:function(a,b,c){return ma(a,"parentNode",c)},next:function(a){return f(a,"nextSibling")},prev:function(a){return f(a,"previousSibling")},nextAll:function(a){return ma(a,"nextSibling")},prevAll:function(a){return ma(a,"previousSibling")},nextUntil:function(a,b,c){return ma(a,"nextSibling",c)},prevUntil:function(a,b,c){return ma(a,"previousSibling",c)},siblings:function(a){return na((a.parentNode||{}).firstChild,a)},children:function(a){return na(a.firstChild)},contents:function(a){return a.contentDocument||ga.merge([],a.childNodes)}},function(a,b){ga.fn[a]=function(c,d){var e=ga.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=ga.filter(d,e)),this.length>1&&(va[a]||ga.uniqueSort(e),ua.test(a)&&e.reverse()),this.pushStack(e)}});var wa=/\S+/g;ga.Callbacks=function(a){a="string"==typeof a?g(a):ga.extend({},a);var b,c,d,e,f=[],h=[],i=-1,j=function(){for(e=a.once,d=b=!0;h.length;i=-1)for(c=h.shift();++i<f.length;)f[i].apply(c[0],c[1])===!1&&a.stopOnFalse&&(i=f.length,c=!1);a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},k={add:function(){return f&&(c&&!b&&(i=f.length-1,h.push(c)),function d(b){ga.each(b,function(b,c){ga.isFunction(c)?a.unique&&k.has(c)||f.push(c):c&&c.length&&"string"!==ga.type(c)&&d(c)})}(arguments),c&&!b&&j()),this},remove:function(){return ga.each(arguments,function(a,b){for(var c;(c=ga.inArray(b,f,c))>-1;)f.splice(c,1),c<=i&&i--}),this},has:function(a){return a?ga.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=h=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=h=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],h.push(c),b||j()),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},ga.extend({Deferred:function(a){var b=[["resolve","done",ga.Callbacks("once memory"),"resolved"],["reject","fail",ga.Callbacks("once memory"),"rejected"],["notify","progress",ga.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return ga.Deferred(function(c){ga.each(b,function(b,f){var g=ga.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&ga.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?ga.extend(a,d):d}},e={};return d.pipe=d.then,ga.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=Z.call(arguments),g=f.length,h=1!==g||a&&ga.isFunction(a.promise)?g:0,i=1===h?a:ga.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?Z.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=new Array(g),c=new Array(g),d=new Array(g);e<g;e++)f[e]&&ga.isFunction(f[e].promise)?f[e].promise().progress(j(e,c,b)).done(j(e,d,f)).fail(i.reject):--h;return h||i.resolveWith(d,f),i.promise()}});var xa;ga.fn.ready=function(a){return ga.ready.promise().done(a),this},ga.extend({isReady:!1,readyWait:1,holdReady:function(a){a?ga.readyWait++:ga.ready(!0)},ready:function(a){(a===!0?--ga.readyWait:ga.isReady)||(ga.isReady=!0,a!==!0&&--ga.readyWait>0||(xa.resolveWith(Y,[ga]),ga.fn.triggerHandler&&(ga(Y).triggerHandler("ready"),ga(Y).off("ready"))))}}),ga.ready.promise=function(a){return xa||(xa=ga.Deferred(),"complete"===Y.readyState||"loading"!==Y.readyState&&!Y.documentElement.doScroll?b.setTimeout(ga.ready):(Y.addEventListener("DOMContentLoaded",h),b.addEventListener("load",h))),xa.promise(a)},ga.ready.promise();var ya=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===ga.type(c)){e=!0;for(h in c)ya(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,ga.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(ga(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},za=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};i.uid=1,i.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!za(a))return{};var b=a[this.expando];return b||(b={},za(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,ga.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{ga.isArray(b)?d=b.concat(b.map(ga.camelCase)):(e=ga.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(wa)||[])),c=d.length;for(;c--;)delete f[d[c]]}(void 0===b||ga.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!ga.isEmptyObject(b)}};var Aa=new i,Ba=new i,Ca=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Da=/[A-Z]/g;ga.extend({hasData:function(a){return Ba.hasData(a)||Aa.hasData(a)},data:function(a,b,c){return Ba.access(a,b,c)},removeData:function(a,b){Ba.remove(a,b)},_data:function(a,b,c){return Aa.access(a,b,c)},_removeData:function(a,b){Aa.remove(a,b)}}),ga.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=Ba.get(f),1===f.nodeType&&!Aa.get(f,"hasDataAttrs"))){for(c=g.length;c--;)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=ga.camelCase(d.slice(5)),j(f,d,e[d])));Aa.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){Ba.set(this,a)}):ya(this,function(b){var c,d;if(f&&void 0===b){if(c=Ba.get(f,a)||Ba.get(f,a.replace(Da,"-$&").toLowerCase()),void 0!==c)return c;if(d=ga.camelCase(a),c=Ba.get(f,d),void 0!==c)return c;if(c=j(f,d,void 0),void 0!==c)return c}else d=ga.camelCase(a),this.each(function(){var c=Ba.get(this,d);Ba.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&Ba.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){Ba.remove(this,a)})}}),ga.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=Aa.get(a,b),c&&(!d||ga.isArray(c)?d=Aa.access(a,b,ga.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=ga.queue(a,b),d=c.length,e=c.shift(),f=ga._queueHooks(a,b),g=function(){ga.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 Aa.get(a,c)||Aa.access(a,c,{empty:ga.Callbacks("once memory").add(function(){Aa.remove(a,[b+"queue",c])})})}}),ga.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?ga.queue(this[0],a):void 0===b?this:this.each(function(){var c=ga.queue(this,a,b);ga._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&ga.dequeue(this,a)})},dequeue:function(a){return this.each(function(){ga.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=ga.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};for("string"!=typeof a&&(b=a,a=void 0),a=a||"fx";g--;)c=Aa.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Ea=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fa=new RegExp("^(?:([+-])=|)("+Ea+")([a-z%]*)$","i"),Ga=["Top","Right","Bottom","Left"],Ha=function(a,b){return a=b||a,"none"===ga.css(a,"display")||!ga.contains(a.ownerDocument,a)},Ia=/^(?:checkbox|radio)$/i,Ja=/<([\w:-]+)/,Ka=/^$|\/(?:java|ecma)script/i,La={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};La.optgroup=La.option,La.tbody=La.tfoot=La.colgroup=La.caption=La.thead,La.th=La.td;var Ma=/<|&#?\w+;/;!function(){var a=Y.createDocumentFragment(),b=a.appendChild(Y.createElement("div")),c=Y.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),ea.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",ea.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var Na=/^key/,Oa=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Pa=/^([^.]*)(?:\.(.+)|)/;ga.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=Aa.get(a);if(q)for(c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=ga.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof ga&&ga.event.triggered!==b.type?ga.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(wa)||[""],j=b.length;j--;)h=Pa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=ga.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=ga.event.special[n]||{},k=ga.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&ga.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),ga.event.global[n]=!0)},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=Aa.hasData(a)&&Aa.get(a);if(q&&(i=q.events)){for(b=(b||"").match(wa)||[""],j=b.length;j--;)if(h=Pa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){for(l=ga.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;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||ga.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)ga.event.remove(a,n+b[j],c,d,!0);ga.isEmptyObject(i)&&Aa.remove(a,"handle events")}},dispatch:function(a){a=ga.event.fix(a);var b,c,d,e,f,g=[],h=Z.call(arguments),i=(Aa.get(this,"events")||{})[a.type]||[],j=ga.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!j.preDispatch||j.preDispatch.call(this,a)!==!1){for(g=ga.event.handlers.call(this,a,i),b=0;(e=g[b++])&&!a.isPropagationStopped();)for(a.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(f.namespace)||(a.handleObj=f,a.data=f.data,d=((ga.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()));return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?ga(e,this).index(i)>-1:ga.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||Y,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[ga.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];for(g||(this.fixHooks[e]=g=Oa.test(e)?this.mouseHooks:Na.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new ga.Event(f),b=d.length;b--;)c=d[b],a[c]=f[c];return a.target||(a.target=Y),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==q()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===q()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ga.nodeName(this,"input"))return this.click(),!1},_default:function(a){return ga.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},ga.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},ga.Event=function(a,b){return this instanceof ga.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?o:p):this.type=a,b&&ga.extend(this,b),this.timeStamp=a&&a.timeStamp||ga.now(),void(this[ga.expando]=!0)):new ga.Event(a,b)},ga.Event.prototype={constructor:ga.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=o,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=o,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=o,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},ga.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){ga.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||ga.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),ga.fn.extend({on:function(a,b,c,d){return r(this,a,b,c,d)},one:function(a,b,c,d){return r(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,ga(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=p),this.each(function(){ga.event.remove(this,a,c,b)})}});var Qa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ra=/<script|<style|<link/i,Sa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ta=/^true\/(.*)/,Ua=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ga.extend({htmlPrefilter:function(a){return a.replace(Qa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=ga.contains(a.ownerDocument,a);if(!(ea.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||ga.isXMLDoc(a)))for(g=l(h),f=l(a),d=0,e=f.length;d<e;d++)w(f[d],g[d]);if(b)if(c)for(f=f||l(a),g=g||l(h),d=0,e=f.length;d<e;d++)v(f[d],g[d]);else v(a,h);return g=l(h,"script"),g.length>0&&m(g,!i&&l(a,"script")),h},cleanData:function(a){for(var b,c,d,e=ga.event.special,f=0;void 0!==(c=a[f]);f++)if(za(c)){if(b=c[Aa.expando]){if(b.events)for(d in b.events)e[d]?ga.event.remove(c,d):ga.removeEvent(c,d,b.handle);c[Aa.expando]=void 0}c[Ba.expando]&&(c[Ba.expando]=void 0)}}}),ga.fn.extend({domManip:x,detach:function(a){return y(this,a,!0)},remove:function(a){return y(this,a)},text:function(a){return ya(this,function(a){return void 0===a?ga.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 x(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.appendChild(a)}})},prepend:function(){return x(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=s(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return x(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return x(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&&(ga.cleanData(l(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return ga.clone(this,a,b)})},html:function(a){return ya(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&&!Ra.test(a)&&!La[(Ja.exec(a)||["",""])[1].toLowerCase()]){a=ga.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(ga.cleanData(l(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return x(this,arguments,function(b){var c=this.parentNode;ga.inArray(this,a)<0&&(ga.cleanData(l(this)),c&&c.replaceChild(b,this))},a)}}),ga.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){ga.fn[a]=function(a){for(var c,d=[],e=ga(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),ga(e[g])[b](c),_.apply(d,c.get());return this.pushStack(d)}});var Va,Wa={HTML:"block",BODY:"block"},Xa=/^margin/,Ya=new RegExp("^("+Ea+")(?!px)[a-z%]+$","i"),Za=function(a){var c=a.ownerDocument.defaultView;return c&&c.opener||(c=b),c.getComputedStyle(a)},$a=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},_a=Y.documentElement;!function(){function a(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",_a.appendChild(g);var a=b.getComputedStyle(h);c="1%"!==a.top,f="2px"===a.marginLeft,d="4px"===a.width,h.style.marginRight="50%",e="4px"===a.marginRight,_a.removeChild(g)}var c,d,e,f,g=Y.createElement("div"),h=Y.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",ea.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h),ga.extend(ea,{pixelPosition:function(){return a(),c},boxSizingReliable:function(){return null==d&&a(),d},pixelMarginRight:function(){return null==d&&a(),e},reliableMarginLeft:function(){return null==d&&a(),f},reliableMarginRight:function(){var a,c=h.appendChild(Y.createElement("div"));return c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",h.style.width="1px",
+_a.appendChild(g),a=!parseFloat(b.getComputedStyle(c).marginRight),_a.removeChild(g),h.removeChild(c),a}}))}();var ab=/^(none|table(?!-c[ea]).+)/,bb={position:"absolute",visibility:"hidden",display:"block"},cb={letterSpacing:"0",fontWeight:"400"},db=["Webkit","O","Moz","ms"],eb=Y.createElement("div").style;ga.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=B(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=ga.camelCase(b),i=a.style;return b=ga.cssProps[h]||(ga.cssProps[h]=D(h)||h),g=ga.cssHooks[b]||ga.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Fa.exec(c))&&e[1]&&(c=k(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(ga.cssNumber[h]?"":"px")),ea.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=ga.camelCase(b);return b=ga.cssProps[h]||(ga.cssProps[h]=D(h)||h),g=ga.cssHooks[b]||ga.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=B(a,b,d)),"normal"===e&&b in cb&&(e=cb[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),ga.each(["height","width"],function(a,b){ga.cssHooks[b]={get:function(a,c,d){if(c)return ab.test(ga.css(a,"display"))&&0===a.offsetWidth?$a(a,bb,function(){return G(a,b,d)}):G(a,b,d)},set:function(a,c,d){var e,f=d&&Za(a),g=d&&F(a,b,d,"border-box"===ga.css(a,"boxSizing",!1,f),f);return g&&(e=Fa.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=ga.css(a,b)),E(a,c,g)}}}),ga.cssHooks.marginLeft=C(ea.reliableMarginLeft,function(a,b){if(b)return(parseFloat(B(a,"marginLeft"))||a.getBoundingClientRect().left-$a(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),ga.cssHooks.marginRight=C(ea.reliableMarginRight,function(a,b){if(b)return $a(a,{display:"inline-block"},B,[a,"marginRight"])}),ga.each({margin:"",padding:"",border:"Width"},function(a,b){ga.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+Ga[d]+b]=f[d]||f[d-2]||f[0];return e}},Xa.test(a)||(ga.cssHooks[a+b].set=E)}),ga.fn.extend({css:function(a,b){return ya(this,function(a,b,c){var d,e,f={},g=0;if(ga.isArray(b)){for(d=Za(a),e=b.length;g<e;g++)f[b[g]]=ga.css(a,b[g],!1,d);return f}return void 0!==c?ga.style(a,b,c):ga.css(a,b)},a,b,arguments.length>1)},show:function(){return H(this,!0)},hide:function(){return H(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){Ha(this)?ga(this).show():ga(this).hide()})}}),ga.Tween=I,I.prototype={constructor:I,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||ga.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(ga.cssNumber[c]?"":"px")},cur:function(){var a=I.propHooks[this.prop];return a&&a.get?a.get(this):I.propHooks._default.get(this)},run:function(a){var b,c=I.propHooks[this.prop];return this.options.duration?this.pos=b=ga.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):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.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=ga.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){ga.fx.step[a.prop]?ga.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[ga.cssProps[a.prop]]&&!ga.cssHooks[a.prop]?a.elem[a.prop]=a.now:ga.style(a.elem,a.prop,a.now+a.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},ga.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},ga.fx=I.prototype.init,ga.fx.step={};var fb,gb,hb=/^(?:toggle|show|hide)$/,ib=/queueHooks$/;ga.Animation=ga.extend(O,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return k(c.elem,a,Fa.exec(b),c),c}]},tweener:function(a,b){ga.isFunction(a)?(b=a,a=["*"]):a=a.match(wa);for(var c,d=0,e=a.length;d<e;d++)c=a[d],O.tweeners[c]=O.tweeners[c]||[],O.tweeners[c].unshift(b)},prefilters:[M],prefilter:function(a,b){b?O.prefilters.unshift(a):O.prefilters.push(a)}}),ga.speed=function(a,b,c){var d=a&&"object"==typeof a?ga.extend({},a):{complete:c||!c&&b||ga.isFunction(a)&&a,duration:a,easing:c&&b||b&&!ga.isFunction(b)&&b};return d.duration=ga.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in ga.fx.speeds?ga.fx.speeds[d.duration]:ga.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){ga.isFunction(d.old)&&d.old.call(this),d.queue&&ga.dequeue(this,d.queue)},d},ga.fn.extend({fadeTo:function(a,b,c,d){return this.filter(Ha).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=ga.isEmptyObject(a),f=ga.speed(b,c,d),g=function(){var b=O(this,ga.extend({},a),f);(e||Aa.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=ga.timers,g=Aa.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&ib.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||ga.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=Aa.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=ga.timers,g=d?d.length:0;for(c.finish=!0,ga.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),ga.each(["toggle","show","hide"],function(a,b){var c=ga.fn[b];ga.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(K(b,!0),a,d,e)}}),ga.each({slideDown:K("show"),slideUp:K("hide"),slideToggle:K("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){ga.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),ga.timers=[],ga.fx.tick=function(){var a,b=0,c=ga.timers;for(fb=ga.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||ga.fx.stop(),fb=void 0},ga.fx.timer=function(a){ga.timers.push(a),a()?ga.fx.start():ga.timers.pop()},ga.fx.interval=13,ga.fx.start=function(){gb||(gb=b.setInterval(ga.fx.tick,ga.fx.interval))},ga.fx.stop=function(){b.clearInterval(gb),gb=null},ga.fx.speeds={slow:600,fast:200,_default:400},ga.fn.delay=function(a,c){return a=ga.fx?ga.fx.speeds[a]||a:a,c=c||"fx",this.queue(c,function(c,d){var e=b.setTimeout(c,a);d.stop=function(){b.clearTimeout(e)}})},function(){var a=Y.createElement("input"),b=Y.createElement("select"),c=b.appendChild(Y.createElement("option"));a.type="checkbox",ea.checkOn=""!==a.value,ea.optSelected=c.selected,b.disabled=!0,ea.optDisabled=!c.disabled,a=Y.createElement("input"),a.value="t",a.type="radio",ea.radioValue="t"===a.value}();var jb,kb=ga.expr.attrHandle;ga.fn.extend({attr:function(a,b){return ya(this,ga.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){ga.removeAttr(this,a)})}}),ga.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?ga.prop(a,b,c):(1===f&&ga.isXMLDoc(a)||(b=b.toLowerCase(),e=ga.attrHooks[b]||(ga.expr.match.bool.test(b)?jb:void 0)),void 0!==c?null===c?void ga.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=ga.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!ea.radioValue&&"radio"===b&&ga.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(wa);if(f&&1===a.nodeType)for(;c=f[e++];)d=ga.propFix[c]||c,ga.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),jb={set:function(a,b,c){return b===!1?ga.removeAttr(a,c):a.setAttribute(c,c),c}},ga.each(ga.expr.match.bool.source.match(/\w+/g),function(a,b){var c=kb[b]||ga.find.attr;kb[b]=function(a,b,d){var e,f;return d||(f=kb[b],kb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,kb[b]=f),e}});var lb=/^(?:input|select|textarea|button)$/i,mb=/^(?:a|area)$/i;ga.fn.extend({prop:function(a,b){return ya(this,ga.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[ga.propFix[a]||a]})}}),ga.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&ga.isXMLDoc(a)||(b=ga.propFix[b]||b,e=ga.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=ga.find.attr(a,"tabindex");return b?parseInt(b,10):lb.test(a.nodeName)||mb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ea.optSelected||(ga.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)}}),ga.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ga.propFix[this.toLowerCase()]=this});var nb=/[\t\r\n\f]/g;ga.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(ga.isFunction(a))return this.each(function(b){ga(this).addClass(a.call(this,b,P(this)))});if("string"==typeof a&&a)for(b=a.match(wa)||[];c=this[i++];)if(e=P(c),d=1===c.nodeType&&(" "+e+" ").replace(nb," ")){for(g=0;f=b[g++];)d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=ga.trim(d),e!==h&&c.setAttribute("class",h)}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(ga.isFunction(a))return this.each(function(b){ga(this).removeClass(a.call(this,b,P(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a)for(b=a.match(wa)||[];c=this[i++];)if(e=P(c),d=1===c.nodeType&&(" "+e+" ").replace(nb," ")){for(g=0;f=b[g++];)for(;d.indexOf(" "+f+" ")>-1;)d=d.replace(" "+f+" "," ");h=ga.trim(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):ga.isFunction(a)?this.each(function(c){ga(this).toggleClass(a.call(this,c,P(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c)for(d=0,e=ga(this),f=a.match(wa)||[];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else void 0!==a&&"boolean"!==c||(b=P(this),b&&Aa.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":Aa.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;for(b=" "+a+" ";c=this[d++];)if(1===c.nodeType&&(" "+P(c)+" ").replace(nb," ").indexOf(b)>-1)return!0;return!1}});var ob=/\r/g,pb=/[\x20\t\r\n\f]+/g;ga.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=ga.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,ga(this).val()):a,null==e?e="":"number"==typeof e?e+="":ga.isArray(e)&&(e=ga.map(e,function(a){return null==a?"":a+""})),b=ga.valHooks[this.type]||ga.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=ga.valHooks[e.type]||ga.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ob,""):null==c?"":c)}}}),ga.extend({valHooks:{option:{get:function(a){var b=ga.find.attr(a,"value");return null!=b?b:ga.trim(ga.text(a)).replace(pb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||e<0,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&(ea.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!ga.nodeName(c.parentNode,"optgroup"))){if(b=ga(c).val(),f)return b;g.push(b)}return g},set:function(a,b){for(var c,d,e=a.options,f=ga.makeArray(b),g=e.length;g--;)d=e[g],(d.selected=ga.inArray(ga.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),ga.each(["radio","checkbox"],function(){ga.valHooks[this]={set:function(a,b){if(ga.isArray(b))return a.checked=ga.inArray(ga(a).val(),b)>-1}},ea.checkOn||(ga.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var qb=/^(?:focusinfocus|focusoutblur)$/;ga.extend(ga.event,{trigger:function(a,c,d,e){var f,g,h,i,j,k,l,m=[d||Y],n=da.call(a,"type")?a.type:a,o=da.call(a,"namespace")?a.namespace.split("."):[];if(g=h=d=d||Y,3!==d.nodeType&&8!==d.nodeType&&!qb.test(n+ga.event.triggered)&&(n.indexOf(".")>-1&&(o=n.split("."),n=o.shift(),o.sort()),j=n.indexOf(":")<0&&"on"+n,a=a[ga.expando]?a:new ga.Event(n,"object"==typeof a&&a),a.isTrigger=e?2:3,a.namespace=o.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),c=null==c?[a]:ga.makeArray(c,[a]),l=ga.event.special[n]||{},e||!l.trigger||l.trigger.apply(d,c)!==!1)){if(!e&&!l.noBubble&&!ga.isWindow(d)){for(i=l.delegateType||n,qb.test(i+n)||(g=g.parentNode);g;g=g.parentNode)m.push(g),h=g;h===(d.ownerDocument||Y)&&m.push(h.defaultView||h.parentWindow||b)}for(f=0;(g=m[f++])&&!a.isPropagationStopped();)a.type=f>1?i:l.bindType||n,k=(Aa.get(g,"events")||{})[a.type]&&Aa.get(g,"handle"),k&&k.apply(g,c),k=j&&g[j],k&&k.apply&&za(g)&&(a.result=k.apply(g,c),a.result===!1&&a.preventDefault());return a.type=n,e||a.isDefaultPrevented()||l._default&&l._default.apply(m.pop(),c)!==!1||!za(d)||j&&ga.isFunction(d[n])&&!ga.isWindow(d)&&(h=d[j],h&&(d[j]=null),ga.event.triggered=n,d[n](),ga.event.triggered=void 0,h&&(d[j]=h)),a.result}},simulate:function(a,b,c){var d=ga.extend(new ga.Event,c,{type:a,isSimulated:!0});ga.event.trigger(d,null,b)}}),ga.fn.extend({trigger:function(a,b){return this.each(function(){ga.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return ga.event.trigger(a,b,c,!0)}}),ga.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){ga.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),ga.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),ea.focusin="onfocusin"in b,ea.focusin||ga.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){ga.event.simulate(b,a.target,ga.event.fix(a))};ga.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=Aa.access(d,b);e||d.addEventListener(a,c,!0),Aa.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=Aa.access(d,b)-1;e?Aa.access(d,b,e):(d.removeEventListener(a,c,!0),Aa.remove(d,b))}}});var rb=b.location,sb=ga.now(),tb=/\?/;ga.parseJSON=function(a){return JSON.parse(a+"")},ga.parseXML=function(a){var c;if(!a||"string"!=typeof a)return null;try{c=(new b.DOMParser).parseFromString(a,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||ga.error("Invalid XML: "+a),c};var ub=/#.*$/,vb=/([?&])_=[^&]*/,wb=/^(.*?):[ \t]*([^\r\n]*)$/gm,xb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yb=/^(?:GET|HEAD)$/,zb=/^\/\//,Ab={},Bb={},Cb="*/".concat("*"),Db=Y.createElement("a");Db.href=rb.href,ga.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:rb.href,type:"GET",isLocal:xb.test(rb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cb,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":ga.parseJSON,"text xml":ga.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?S(S(a,ga.ajaxSettings),b):S(ga.ajaxSettings,a)},ajaxPrefilter:Q(Ab),ajaxTransport:Q(Bb),ajax:function(a,c){function d(a,c,d,h){var j,l,s,t,v,x=c;2!==u&&(u=2,i&&b.clearTimeout(i),e=void 0,g=h||"",w.readyState=a>0?4:0,j=a>=200&&a<300||304===a,d&&(t=T(m,w,d)),t=U(m,t,w,j),j?(m.ifModified&&(v=w.getResponseHeader("Last-Modified"),v&&(ga.lastModified[f]=v),v=w.getResponseHeader("etag"),v&&(ga.etag[f]=v)),204===a||"HEAD"===m.type?x="nocontent":304===a?x="notmodified":(x=t.state,l=t.data,s=t.error,j=!s)):(s=x,!a&&x||(x="error",a<0&&(a=0))),w.status=a,w.statusText=(c||x)+"",j?p.resolveWith(n,[l,x,w]):p.rejectWith(n,[w,x,s]),w.statusCode(r),r=void 0,k&&o.trigger(j?"ajaxSuccess":"ajaxError",[w,m,j?l:s]),q.fireWith(n,[w,x]),k&&(o.trigger("ajaxComplete",[w,m]),--ga.active||ga.event.trigger("ajaxStop")))}"object"==typeof a&&(c=a,a=void 0),c=c||{};var e,f,g,h,i,j,k,l,m=ga.ajaxSetup({},c),n=m.context||m,o=m.context&&(n.nodeType||n.jquery)?ga(n):ga.event,p=ga.Deferred(),q=ga.Callbacks("once memory"),r=m.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!h)for(h={};b=wb.exec(g);)h[b[1].toLowerCase()]=b[2];b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(u<2)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return e&&e.abort(b),d(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,m.url=((a||m.url||rb.href)+"").replace(ub,"").replace(zb,rb.protocol+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=ga.trim(m.dataType||"*").toLowerCase().match(wa)||[""],null==m.crossDomain){j=Y.createElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=Db.protocol+"//"+Db.host!=j.protocol+"//"+j.host}catch(x){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=ga.param(m.data,m.traditional)),R(Ab,m,c,w),2===u)return w;k=ga.event&&m.global,k&&0===ga.active++&&ga.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!yb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(tb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=vb.test(f)?f.replace(vb,"$1_="+sb++):f+(tb.test(f)?"&":"?")+"_="+sb++)),m.ifModified&&(ga.lastModified[f]&&w.setRequestHeader("If-Modified-Since",ga.lastModified[f]),ga.etag[f]&&w.setRequestHeader("If-None-Match",ga.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Cb+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)w.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(n,w,m)===!1||2===u))return w.abort();v="abort";for(l in{success:1,error:1,complete:1})w[l](m[l]);if(e=R(Bb,m,c,w)){if(w.readyState=1,k&&o.trigger("ajaxSend",[w,m]),2===u)return w;m.async&&m.timeout>0&&(i=b.setTimeout(function(){w.abort("timeout")},m.timeout));try{u=1,e.send(s,d)}catch(x){if(!(u<2))throw x;d(-1,x)}}else d(-1,"No Transport");return w},getJSON:function(a,b,c){return ga.get(a,b,c,"json")},getScript:function(a,b){return ga.get(a,void 0,b,"script")}}),ga.each(["get","post"],function(a,b){ga[b]=function(a,c,d,e){return ga.isFunction(c)&&(e=e||d,d=c,c=void 0),ga.ajax(ga.extend({url:a,type:b,dataType:e,data:c,success:d},ga.isPlainObject(a)&&a))}}),ga._evalUrl=function(a){return ga.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ga.fn.extend({wrapAll:function(a){var b;return ga.isFunction(a)?this.each(function(b){ga(this).wrapAll(a.call(this,b))}):(this[0]&&(b=ga(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return ga.isFunction(a)?this.each(function(b){ga(this).wrapInner(a.call(this,b))}):this.each(function(){var b=ga(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=ga.isFunction(a);return this.each(function(c){ga(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){ga.nodeName(this,"body")||ga(this).replaceWith(this.childNodes)}).end()}}),ga.expr.filters.hidden=function(a){return!ga.expr.filters.visible(a)},ga.expr.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var Eb=/%20/g,Fb=/\[\]$/,Gb=/\r?\n/g,Hb=/^(?:submit|button|image|reset|file)$/i,Ib=/^(?:input|select|textarea|keygen)/i;ga.param=function(a,b){var c,d=[],e=function(a,b){b=ga.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=ga.ajaxSettings&&ga.ajaxSettings.traditional),ga.isArray(a)||a.jquery&&!ga.isPlainObject(a))ga.each(a,function(){e(this.name,this.value)});else for(c in a)V(c,a[c],b,e);return d.join("&").replace(Eb,"+")},ga.fn.extend({serialize:function(){return ga.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=ga.prop(this,"elements");return a?ga.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!ga(this).is(":disabled")&&Ib.test(this.nodeName)&&!Hb.test(a)&&(this.checked||!Ia.test(a))}).map(function(a,b){var c=ga(this).val();return null==c?null:ga.isArray(c)?ga.map(c,function(a){return{name:b.name,value:a.replace(Gb,"\r\n")}}):{name:b.name,value:c.replace(Gb,"\r\n")}}).get()}}),ga.ajaxSettings.xhr=function(){try{return new b.XMLHttpRequest}catch(a){}};var Jb={0:200,1223:204},Kb=ga.ajaxSettings.xhr();ea.cors=!!Kb&&"withCredentials"in Kb,ea.ajax=Kb=!!Kb,ga.ajaxTransport(function(a){var c,d;if(ea.cors||Kb&&!a.crossDomain)return{send:function(e,f){var g,h=a.xhr();if(h.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(g in a.xhrFields)h[g]=a.xhrFields[g];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType),a.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(Jb[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&&b.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(a.hasContent&&a.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),ga.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 ga.globalEval(a),a}}}),ga.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),ga.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=ga("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),Y.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Lb=[],Mb=/(=)\?(?=&|$)|\?\?/;ga.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Lb.pop()||ga.expando+"_"+sb++;return this[a]=!0,a}}),ga.ajaxPrefilter("json jsonp",function(a,c,d){var e,f,g,h=a.jsonp!==!1&&(Mb.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mb.test(a.data)&&"data");if(h||"jsonp"===a.dataTypes[0])return e=a.jsonpCallback=ga.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h?a[h]=a[h].replace(Mb,"$1"+e):a.jsonp!==!1&&(a.url+=(tb.test(a.url)?"&":"?")+a.jsonp+"="+e),a.converters["script json"]=function(){return g||ga.error(e+" was not called"),g[0]},a.dataTypes[0]="json",f=b[e],b[e]=function(){g=arguments},d.always(function(){void 0===f?ga(b).removeProp(e):b[e]=f,a[e]&&(a.jsonpCallback=c.jsonpCallback,Lb.push(e)),g&&ga.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),ga.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||Y;var d=pa.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n([a],b,e),e&&e.length&&ga(e).remove(),ga.merge([],d.childNodes))};var Nb=ga.fn.load;ga.fn.load=function(a,b,c){if("string"!=typeof a&&Nb)return Nb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=ga.trim(a.slice(h)),a=a.slice(0,h)),ga.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&ga.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?ga("<div>").append(ga.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},ga.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){ga.fn[b]=function(a){return this.on(b,a)}}),ga.expr.filters.animated=function(a){return ga.grep(ga.timers,function(b){return a===b.elem}).length},ga.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=ga.css(a,"position"),l=ga(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=ga.css(a,"top"),i=ga.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),ga.isFunction(b)&&(b=b.call(a,c,ga.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},ga.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){ga.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,ga.contains(b,d)?(e=d.getBoundingClientRect(),c=W(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===ga.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),ga.nodeName(a[0],"html")||(d=a.offset()),d.top+=ga.css(a[0],"borderTopWidth",!0),d.left+=ga.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-ga.css(c,"marginTop",!0),left:b.left-d.left-ga.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===ga.css(a,"position");)a=a.offsetParent;return a||_a})}}),ga.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;ga.fn[a]=function(d){return ya(this,function(a,d,e){var f=W(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),ga.each(["top","left"],function(a,b){ga.cssHooks[b]=C(ea.pixelPosition,function(a,c){if(c)return c=B(a,b),Ya.test(c)?ga(a).position()[b]+"px":c})}),ga.each({Height:"height",Width:"width"},function(a,b){ga.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){ga.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return ya(this,function(b,c,d){var e;return ga.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?ga.css(b,c,g):ga.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),ga.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){return this.length}}),ga.fn.andSelf=ga.fn.addBack,"function"==typeof a&&a.amd&&a("npm:jquery@2.2.4/dist/jquery.js",[],function(){return ga})&&a("jquery",["npm:jquery@2.2.4/dist/jquery.js"],function(a){return a});var Ob=b.jQuery,Pb=b.$;return ga.noConflict=function(a){return b.$===ga&&(b.$=Pb),a&&b.jQuery===ga&&(b.jQuery=Ob),ga},c||(b.jQuery=b.$=ga),ga})}(),function(){var a=System.amdDefine;a("npm:jquery@2.2.4.js",["npm:jquery@2.2.4/dist/jquery.js"],function(a){return a})}(),System.registerDynamic("github:twbs/bootstrap@3.3.7/js/bootstrap.js",["jquery"],!1,function(a,b,c){var d=System.get("@@global-helpers").prepareGlobal(c.id,"$",null);return function(a){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){
+var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){document===a.target||this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);if(this.$element.trigger(g),!g.isDefaultPrevented())return f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=window.SVGElement&&c instanceof window.SVGElement,g=d?{top:0,left:0}:f?null:b.offset(),h={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},i=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,h,i,g)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),
+this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery)}(this),d()}),System.registerDynamic("github:twbs/bootstrap@3.3.7.js",["github:twbs/bootstrap@3.3.7/js/bootstrap.js"],!0,function(a,b,c){this||self;c.exports=a("github:twbs/bootstrap@3.3.7/js/bootstrap.js")}),function(){var a=System.amdDefine;a("github:twbs/bootstrap@3.3.7/css/bootstrap.css!github:systemjs/plugin-text@0.0.8.js",[],function(){return'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type="button"],\ninput[type="reset"],\ninput[type="submit"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type="checkbox"],\ninput[type="radio"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type="number"]::-webkit-inner-spin-button,\ninput[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type="search"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: " (" attr(href) ")";\n }\n abbr[title]:after {\n content: " (" attr(title) ")";\n }\n a[href^="#"]:after,\n a[href^="javascript:"]:after {\n content: "";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: \'Glyphicons Halflings\';\n\n src: url(\'../fonts/glyphicons-halflings-regular.eot\');\n src: url(\'../fonts/glyphicons-halflings-regular.eot?#iefix\') format(\'embedded-opentype\'), url(\'../fonts/glyphicons-halflings-regular.woff2\') format(\'woff2\'), url(\'../fonts/glyphicons-halflings-regular.woff\') format(\'woff\'), url(\'../fonts/glyphicons-halflings-regular.ttf\') format(\'truetype\'), url(\'../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular\') format(\'svg\');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: \'Glyphicons Halflings\';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: "\\002a";\n}\n.glyphicon-plus:before {\n content: "\\002b";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: "\\20ac";\n}\n.glyphicon-minus:before {\n content: "\\2212";\n}\n.glyphicon-cloud:before {\n content: "\\2601";\n}\n.glyphicon-envelope:before {\n content: "\\2709";\n}\n.glyphicon-pencil:before {\n content: "\\270f";\n}\n.glyphicon-glass:before {\n content: "\\e001";\n}\n.glyphicon-music:before {\n content: "\\e002";\n}\n.glyphicon-search:before {\n content: "\\e003";\n}\n.glyphicon-heart:before {\n content: "\\e005";\n}\n.glyphicon-star:before {\n content: "\\e006";\n}\n.glyphicon-star-empty:before {\n content: "\\e007";\n}\n.glyphicon-user:before {\n content: "\\e008";\n}\n.glyphicon-film:before {\n content: "\\e009";\n}\n.glyphicon-th-large:before {\n content: "\\e010";\n}\n.glyphicon-th:before {\n content: "\\e011";\n}\n.glyphicon-th-list:before {\n content: "\\e012";\n}\n.glyphicon-ok:before {\n content: "\\e013";\n}\n.glyphicon-remove:before {\n content: "\\e014";\n}\n.glyphicon-zoom-in:before {\n content: "\\e015";\n}\n.glyphicon-zoom-out:before {\n content: "\\e016";\n}\n.glyphicon-off:before {\n content: "\\e017";\n}\n.glyphicon-signal:before {\n content: "\\e018";\n}\n.glyphicon-cog:before {\n content: "\\e019";\n}\n.glyphicon-trash:before {\n content: "\\e020";\n}\n.glyphicon-home:before {\n content: "\\e021";\n}\n.glyphicon-file:before {\n content: "\\e022";\n}\n.glyphicon-time:before {\n content: "\\e023";\n}\n.glyphicon-road:before {\n content: "\\e024";\n}\n.glyphicon-download-alt:before {\n content: "\\e025";\n}\n.glyphicon-download:before {\n content: "\\e026";\n}\n.glyphicon-upload:before {\n content: "\\e027";\n}\n.glyphicon-inbox:before {\n content: "\\e028";\n}\n.glyphicon-play-circle:before {\n content: "\\e029";\n}\n.glyphicon-repeat:before {\n content: "\\e030";\n}\n.glyphicon-refresh:before {\n content: "\\e031";\n}\n.glyphicon-list-alt:before {\n content: "\\e032";\n}\n.glyphicon-lock:before {\n content: "\\e033";\n}\n.glyphicon-flag:before {\n content: "\\e034";\n}\n.glyphicon-headphones:before {\n content: "\\e035";\n}\n.glyphicon-volume-off:before {\n content: "\\e036";\n}\n.glyphicon-volume-down:before {\n content: "\\e037";\n}\n.glyphicon-volume-up:before {\n content: "\\e038";\n}\n.glyphicon-qrcode:before {\n content: "\\e039";\n}\n.glyphicon-barcode:before {\n content: "\\e040";\n}\n.glyphicon-tag:before {\n content: "\\e041";\n}\n.glyphicon-tags:before {\n content: "\\e042";\n}\n.glyphicon-book:before {\n content: "\\e043";\n}\n.glyphicon-bookmark:before {\n content: "\\e044";\n}\n.glyphicon-print:before {\n content: "\\e045";\n}\n.glyphicon-camera:before {\n content: "\\e046";\n}\n.glyphicon-font:before {\n content: "\\e047";\n}\n.glyphicon-bold:before {\n content: "\\e048";\n}\n.glyphicon-italic:before {\n content: "\\e049";\n}\n.glyphicon-text-height:before {\n content: "\\e050";\n}\n.glyphicon-text-width:before {\n content: "\\e051";\n}\n.glyphicon-align-left:before {\n content: "\\e052";\n}\n.glyphicon-align-center:before {\n content: "\\e053";\n}\n.glyphicon-align-right:before {\n content: "\\e054";\n}\n.glyphicon-align-justify:before {\n content: "\\e055";\n}\n.glyphicon-list:before {\n content: "\\e056";\n}\n.glyphicon-indent-left:before {\n content: "\\e057";\n}\n.glyphicon-indent-right:before {\n content: "\\e058";\n}\n.glyphicon-facetime-video:before {\n content: "\\e059";\n}\n.glyphicon-picture:before {\n content: "\\e060";\n}\n.glyphicon-map-marker:before {\n content: "\\e062";\n}\n.glyphicon-adjust:before {\n content: "\\e063";\n}\n.glyphicon-tint:before {\n content: "\\e064";\n}\n.glyphicon-edit:before {\n content: "\\e065";\n}\n.glyphicon-share:before {\n content: "\\e066";\n}\n.glyphicon-check:before {\n content: "\\e067";\n}\n.glyphicon-move:before {\n content: "\\e068";\n}\n.glyphicon-step-backward:before {\n content: "\\e069";\n}\n.glyphicon-fast-backward:before {\n content: "\\e070";\n}\n.glyphicon-backward:before {\n content: "\\e071";\n}\n.glyphicon-play:before {\n content: "\\e072";\n}\n.glyphicon-pause:before {\n content: "\\e073";\n}\n.glyphicon-stop:before {\n content: "\\e074";\n}\n.glyphicon-forward:before {\n content: "\\e075";\n}\n.glyphicon-fast-forward:before {\n content: "\\e076";\n}\n.glyphicon-step-forward:before {\n content: "\\e077";\n}\n.glyphicon-eject:before {\n content: "\\e078";\n}\n.glyphicon-chevron-left:before {\n content: "\\e079";\n}\n.glyphicon-chevron-right:before {\n content: "\\e080";\n}\n.glyphicon-plus-sign:before {\n content: "\\e081";\n}\n.glyphicon-minus-sign:before {\n content: "\\e082";\n}\n.glyphicon-remove-sign:before {\n content: "\\e083";\n}\n.glyphicon-ok-sign:before {\n content: "\\e084";\n}\n.glyphicon-question-sign:before {\n content: "\\e085";\n}\n.glyphicon-info-sign:before {\n content: "\\e086";\n}\n.glyphicon-screenshot:before {\n content: "\\e087";\n}\n.glyphicon-remove-circle:before {\n content: "\\e088";\n}\n.glyphicon-ok-circle:before {\n content: "\\e089";\n}\n.glyphicon-ban-circle:before {\n content: "\\e090";\n}\n.glyphicon-arrow-left:before {\n content: "\\e091";\n}\n.glyphicon-arrow-right:before {\n content: "\\e092";\n}\n.glyphicon-arrow-up:before {\n content: "\\e093";\n}\n.glyphicon-arrow-down:before {\n content: "\\e094";\n}\n.glyphicon-share-alt:before {\n content: "\\e095";\n}\n.glyphicon-resize-full:before {\n content: "\\e096";\n}\n.glyphicon-resize-small:before {\n content: "\\e097";\n}\n.glyphicon-exclamation-sign:before {\n content: "\\e101";\n}\n.glyphicon-gift:before {\n content: "\\e102";\n}\n.glyphicon-leaf:before {\n content: "\\e103";\n}\n.glyphicon-fire:before {\n content: "\\e104";\n}\n.glyphicon-eye-open:before {\n content: "\\e105";\n}\n.glyphicon-eye-close:before {\n content: "\\e106";\n}\n.glyphicon-warning-sign:before {\n content: "\\e107";\n}\n.glyphicon-plane:before {\n content: "\\e108";\n}\n.glyphicon-calendar:before {\n content: "\\e109";\n}\n.glyphicon-random:before {\n content: "\\e110";\n}\n.glyphicon-comment:before {\n content: "\\e111";\n}\n.glyphicon-magnet:before {\n content: "\\e112";\n}\n.glyphicon-chevron-up:before {\n content: "\\e113";\n}\n.glyphicon-chevron-down:before {\n content: "\\e114";\n}\n.glyphicon-retweet:before {\n content: "\\e115";\n}\n.glyphicon-shopping-cart:before {\n content: "\\e116";\n}\n.glyphicon-folder-close:before {\n content: "\\e117";\n}\n.glyphicon-folder-open:before {\n content: "\\e118";\n}\n.glyphicon-resize-vertical:before {\n content: "\\e119";\n}\n.glyphicon-resize-horizontal:before {\n content: "\\e120";\n}\n.glyphicon-hdd:before {\n content: "\\e121";\n}\n.glyphicon-bullhorn:before {\n content: "\\e122";\n}\n.glyphicon-bell:before {\n content: "\\e123";\n}\n.glyphicon-certificate:before {\n content: "\\e124";\n}\n.glyphicon-thumbs-up:before {\n content: "\\e125";\n}\n.glyphicon-thumbs-down:before {\n content: "\\e126";\n}\n.glyphicon-hand-right:before {\n content: "\\e127";\n}\n.glyphicon-hand-left:before {\n content: "\\e128";\n}\n.glyphicon-hand-up:before {\n content: "\\e129";\n}\n.glyphicon-hand-down:before {\n content: "\\e130";\n}\n.glyphicon-circle-arrow-right:before {\n content: "\\e131";\n}\n.glyphicon-circle-arrow-left:before {\n content: "\\e132";\n}\n.glyphicon-circle-arrow-up:before {\n content: "\\e133";\n}\n.glyphicon-circle-arrow-down:before {\n content: "\\e134";\n}\n.glyphicon-globe:before {\n content: "\\e135";\n}\n.glyphicon-wrench:before {\n content: "\\e136";\n}\n.glyphicon-tasks:before {\n content: "\\e137";\n}\n.glyphicon-filter:before {\n content: "\\e138";\n}\n.glyphicon-briefcase:before {\n content: "\\e139";\n}\n.glyphicon-fullscreen:before {\n content: "\\e140";\n}\n.glyphicon-dashboard:before {\n content: "\\e141";\n}\n.glyphicon-paperclip:before {\n content: "\\e142";\n}\n.glyphicon-heart-empty:before {\n content: "\\e143";\n}\n.glyphicon-link:before {\n content: "\\e144";\n}\n.glyphicon-phone:before {\n content: "\\e145";\n}\n.glyphicon-pushpin:before {\n content: "\\e146";\n}\n.glyphicon-usd:before {\n content: "\\e148";\n}\n.glyphicon-gbp:before {\n content: "\\e149";\n}\n.glyphicon-sort:before {\n content: "\\e150";\n}\n.glyphicon-sort-by-alphabet:before {\n content: "\\e151";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: "\\e152";\n}\n.glyphicon-sort-by-order:before {\n content: "\\e153";\n}\n.glyphicon-sort-by-order-alt:before {\n content: "\\e154";\n}\n.glyphicon-sort-by-attributes:before {\n content: "\\e155";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: "\\e156";\n}\n.glyphicon-unchecked:before {\n content: "\\e157";\n}\n.glyphicon-expand:before {\n content: "\\e158";\n}\n.glyphicon-collapse-down:before {\n content: "\\e159";\n}\n.glyphicon-collapse-up:before {\n content: "\\e160";\n}\n.glyphicon-log-in:before {\n content: "\\e161";\n}\n.glyphicon-flash:before {\n content: "\\e162";\n}\n.glyphicon-log-out:before {\n content: "\\e163";\n}\n.glyphicon-new-window:before {\n content: "\\e164";\n}\n.glyphicon-record:before {\n content: "\\e165";\n}\n.glyphicon-save:before {\n content: "\\e166";\n}\n.glyphicon-open:before {\n content: "\\e167";\n}\n.glyphicon-saved:before {\n content: "\\e168";\n}\n.glyphicon-import:before {\n content: "\\e169";\n}\n.glyphicon-export:before {\n content: "\\e170";\n}\n.glyphicon-send:before {\n content: "\\e171";\n}\n.glyphicon-floppy-disk:before {\n content: "\\e172";\n}\n.glyphicon-floppy-saved:before {\n content: "\\e173";\n}\n.glyphicon-floppy-remove:before {\n content: "\\e174";\n}\n.glyphicon-floppy-save:before {\n content: "\\e175";\n}\n.glyphicon-floppy-open:before {\n content: "\\e176";\n}\n.glyphicon-credit-card:before {\n content: "\\e177";\n}\n.glyphicon-transfer:before {\n content: "\\e178";\n}\n.glyphicon-cutlery:before {\n content: "\\e179";\n}\n.glyphicon-header:before {\n content: "\\e180";\n}\n.glyphicon-compressed:before {\n content: "\\e181";\n}\n.glyphicon-earphone:before {\n content: "\\e182";\n}\n.glyphicon-phone-alt:before {\n content: "\\e183";\n}\n.glyphicon-tower:before {\n content: "\\e184";\n}\n.glyphicon-stats:before {\n content: "\\e185";\n}\n.glyphicon-sd-video:before {\n content: "\\e186";\n}\n.glyphicon-hd-video:before {\n content: "\\e187";\n}\n.glyphicon-subtitles:before {\n content: "\\e188";\n}\n.glyphicon-sound-stereo:before {\n content: "\\e189";\n}\n.glyphicon-sound-dolby:before {\n content: "\\e190";\n}\n.glyphicon-sound-5-1:before {\n content: "\\e191";\n}\n.glyphicon-sound-6-1:before {\n content: "\\e192";\n}\n.glyphicon-sound-7-1:before {\n content: "\\e193";\n}\n.glyphicon-copyright-mark:before {\n content: "\\e194";\n}\n.glyphicon-registration-mark:before {\n content: "\\e195";\n}\n.glyphicon-cloud-download:before {\n content: "\\e197";\n}\n.glyphicon-cloud-upload:before {\n content: "\\e198";\n}\n.glyphicon-tree-conifer:before {\n content: "\\e199";\n}\n.glyphicon-tree-deciduous:before {\n content: "\\e200";\n}\n.glyphicon-cd:before {\n content: "\\e201";\n}\n.glyphicon-save-file:before {\n content: "\\e202";\n}\n.glyphicon-open-file:before {\n content: "\\e203";\n}\n.glyphicon-level-up:before {\n content: "\\e204";\n}\n.glyphicon-copy:before {\n content: "\\e205";\n}\n.glyphicon-paste:before {\n content: "\\e206";\n}\n.glyphicon-alert:before {\n content: "\\e209";\n}\n.glyphicon-equalizer:before {\n content: "\\e210";\n}\n.glyphicon-king:before {\n content: "\\e211";\n}\n.glyphicon-queen:before {\n content: "\\e212";\n}\n.glyphicon-pawn:before {\n content: "\\e213";\n}\n.glyphicon-bishop:before {\n content: "\\e214";\n}\n.glyphicon-knight:before {\n content: "\\e215";\n}\n.glyphicon-baby-formula:before {\n content: "\\e216";\n}\n.glyphicon-tent:before {\n content: "\\26fa";\n}\n.glyphicon-blackboard:before {\n content: "\\e218";\n}\n.glyphicon-bed:before {\n content: "\\e219";\n}\n.glyphicon-apple:before {\n content: "\\f8ff";\n}\n.glyphicon-erase:before {\n content: "\\e221";\n}\n.glyphicon-hourglass:before {\n content: "\\231b";\n}\n.glyphicon-lamp:before {\n content: "\\e223";\n}\n.glyphicon-duplicate:before {\n content: "\\e224";\n}\n.glyphicon-piggy-bank:before {\n content: "\\e225";\n}\n.glyphicon-scissors:before {\n content: "\\e226";\n}\n.glyphicon-bitcoin:before {\n content: "\\e227";\n}\n.glyphicon-btc:before {\n content: "\\e227";\n}\n.glyphicon-xbt:before {\n content: "\\e227";\n}\n.glyphicon-yen:before {\n content: "\\00a5";\n}\n.glyphicon-jpy:before {\n content: "\\00a5";\n}\n.glyphicon-ruble:before {\n content: "\\20bd";\n}\n.glyphicon-rub:before {\n content: "\\20bd";\n}\n.glyphicon-scale:before {\n content: "\\e230";\n}\n.glyphicon-ice-lolly:before {\n content: "\\e231";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: "\\e232";\n}\n.glyphicon-education:before {\n content: "\\e233";\n}\n.glyphicon-option-horizontal:before {\n content: "\\e234";\n}\n.glyphicon-option-vertical:before {\n content: "\\e235";\n}\n.glyphicon-menu-hamburger:before {\n content: "\\e236";\n}\n.glyphicon-modal-window:before {\n content: "\\e237";\n}\n.glyphicon-oil:before {\n content: "\\e238";\n}\n.glyphicon-grain:before {\n content: "\\e239";\n}\n.glyphicon-sunglasses:before {\n content: "\\e240";\n}\n.glyphicon-text-size:before {\n content: "\\e241";\n}\n.glyphicon-text-color:before {\n content: "\\e242";\n}\n.glyphicon-text-background:before {\n content: "\\e243";\n}\n.glyphicon-object-align-top:before {\n content: "\\e244";\n}\n.glyphicon-object-align-bottom:before {\n content: "\\e245";\n}\n.glyphicon-object-align-horizontal:before {\n content: "\\e246";\n}\n.glyphicon-object-align-left:before {\n content: "\\e247";\n}\n.glyphicon-object-align-vertical:before {\n content: "\\e248";\n}\n.glyphicon-object-align-right:before {\n content: "\\e249";\n}\n.glyphicon-triangle-right:before {\n content: "\\e250";\n}\n.glyphicon-triangle-left:before {\n content: "\\e251";\n}\n.glyphicon-triangle-bottom:before {\n content: "\\e252";\n}\n.glyphicon-triangle-top:before {\n content: "\\e253";\n}\n.glyphicon-console:before {\n content: "\\e254";\n}\n.glyphicon-superscript:before {\n content: "\\e255";\n}\n.glyphicon-subscript:before {\n content: "\\e256";\n}\n.glyphicon-menu-left:before {\n content: "\\e257";\n}\n.glyphicon-menu-right:before {\n content: "\\e258";\n}\n.glyphicon-menu-down:before {\n content: "\\e259";\n}\n.glyphicon-menu-up:before {\n content: "\\e260";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role="button"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: \'\\2014 \\00A0\';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: \'\';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: \'\\00A0 \\2014\';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, "Courier New", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*="col-"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*="col-"],\ntable th[class*="col-"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type="search"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type="radio"],\ninput[type="checkbox"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type="file"] {\n display: block;\n}\ninput[type="range"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type="file"]:focus,\ninput[type="radio"]:focus,\ninput[type="checkbox"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type="search"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type="date"].form-control,\n input[type="time"].form-control,\n input[type="datetime-local"].form-control,\n input[type="month"].form-control {\n line-height: 34px;\n }\n input[type="date"].input-sm,\n input[type="time"].input-sm,\n input[type="datetime-local"].input-sm,\n input[type="month"].input-sm,\n .input-group-sm input[type="date"],\n .input-group-sm input[type="time"],\n .input-group-sm input[type="datetime-local"],\n .input-group-sm input[type="month"] {\n line-height: 30px;\n }\n input[type="date"].input-lg,\n input[type="time"].input-lg,\n input[type="datetime-local"].input-lg,\n input[type="month"].input-lg,\n .input-group-lg input[type="date"],\n .input-group-lg input[type="time"],\n .input-group-lg input[type="datetime-local"],\n .input-group-lg input[type="month"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type="radio"],\n.radio-inline input[type="radio"],\n.checkbox input[type="checkbox"],\n.checkbox-inline input[type="checkbox"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type="radio"][disabled],\ninput[type="checkbox"][disabled],\ninput[type="radio"].disabled,\ninput[type="checkbox"].disabled,\nfieldset[disabled] input[type="radio"],\nfieldset[disabled] input[type="checkbox"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type="radio"],\n .form-inline .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type="submit"].btn-block,\ninput[type="reset"].btn-block,\ninput[type="button"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: "";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle="buttons"] > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn input[type="checkbox"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*="col-"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type="radio"],\n.input-group-addon input[type="checkbox"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type="radio"],\n .navbar-form .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: "/\\00a0";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: "";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: " ";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: " ";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: " ";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: " ";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: \'\\2039\';\n}\n.carousel-control .icon-next:before {\n content: \'\\203a\';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: " ";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n';
+})}(),function(){var a=System.amdDefine;a("npm:aurelia-animator-css@1.0.1/aurelia-animator-css.js",["exports","aurelia-templating","aurelia-pal"],function(a,b,c){"use strict";function d(a,c){var d=a.container.get(e);a.container.get(b.TemplatingEngine).configureAnimator(d),"function"==typeof c&&c(d)}Object.defineProperty(a,"__esModule",{value:!0}),a.CssAnimator=void 0,a.configure=d;var e=a.CssAnimator=function(){function a(){this.useAnimationDoneClasses=!1,this.animationEnteredClass="au-entered",this.animationLeftClass="au-left",this.isAnimating=!1,this.verifyKeyframesExist=!0}return a.prototype._addMultipleEventListener=function(a,b,c){for(var d=b.split(" "),e=0,f=d.length;e<f;++e)a.addEventListener(d[e],c,!1)},a.prototype._removeMultipleEventListener=function(a,b,c){for(var d=b.split(" "),e=0,f=d.length;e<f;++e)a.removeEventListener(d[e],c,!1)},a.prototype._getElementAnimationDelay=function(a){var b=c.DOM.getComputedStyle(a),d=void 0,e=void 0;if(b.getPropertyValue("animation-delay"))d="animation-delay";else if(b.getPropertyValue("-webkit-animation-delay"))d="-webkit-animation-delay";else{if(!b.getPropertyValue("-moz-animation-delay"))return 0;d="-moz-animation-delay"}return e=b.getPropertyValue(d),e=Number(e.replace(/[^\d\.]/g,"")),1e3*e},a.prototype._getElementAnimationNames=function(a){var b=c.DOM.getComputedStyle(a),d=void 0;if(b.getPropertyValue("animation-name"))d="";else if(b.getPropertyValue("-webkit-animation-name"))d="-webkit-";else{if(!b.getPropertyValue("-moz-animation-name"))return[];d="-moz-"}var e=b.getPropertyValue(d+"animation-name");return e?e.split(" "):[]},a.prototype._performSingleAnimate=function(a,c){var d=this;return this._triggerDOMEvent(b.animationEvent.animateBegin,a),this.addClass(a,c,!0).then(function(e){return d._triggerDOMEvent(b.animationEvent.animateActive,a),e!==!1&&d.removeClass(a,c,!0).then(function(){d._triggerDOMEvent(b.animationEvent.animateDone,a)})})["catch"](function(){d._triggerDOMEvent(b.animationEvent.animateTimeout,a)})},a.prototype._triggerDOMEvent=function(a,b){var d=c.DOM.createCustomEvent(a,{bubbles:!0,cancelable:!0,detail:b});c.DOM.dispatchEvent(d)},a.prototype._animationChangeWithValidKeyframe=function(a,b){var c=a.filter(function(a){return b.indexOf(a)===-1});if(0===c.length)return!1;if(!this.verifyKeyframesExist)return!0;var d=window.CSSRule.KEYFRAMES_RULE||window.CSSRule.MOZ_KEYFRAMES_RULE||window.CSSRule.WEBKIT_KEYFRAMES_RULE,e=document.styleSheets;try{for(var f=0;f<e.length;++f){var g=null;try{g=e[f].cssRules}catch(h){}if(g)for(var i=0;i<g.length;++i){var j=g[i];if(j.type===d&&c.indexOf(j.name)!==-1)return!0}}}catch(h){}return!1},a.prototype.animate=function(a,b){var c=this;return Array.isArray(a)?Promise.all(a.map(function(a){return c._performSingleAnimate(a,b)})):this._performSingleAnimate(a,b)},a.prototype.runSequence=function(a){var c=this;return this._triggerDOMEvent(b.animationEvent.sequenceBegin,null),a.reduce(function(a,b){return a.then(function(){return c.animate(b.element,b.className)})},Promise.resolve(!0)).then(function(){c._triggerDOMEvent(b.animationEvent.sequenceDone,null)})},a.prototype.enter=function(a){var c=this;return new Promise(function(d,e){var f=a.classList;c._triggerDOMEvent(b.animationEvent.enterBegin,a),c.useAnimationDoneClasses&&(f.remove(c.animationEnteredClass),f.remove(c.animationLeftClass)),f.add("au-enter");var g=c._getElementAnimationNames(a),h=void 0,i=!1;c._addMultipleEventListener(a,"webkitAnimationStart animationstart",h=function(d){i=!0,c.isAnimating=!0,c._triggerDOMEvent(b.animationEvent.enterActive,a),d.stopPropagation(),d.target.removeEventListener(d.type,h)},!1);var j=void 0;c._addMultipleEventListener(a,"webkitAnimationEnd animationend",j=function(e){i&&(e.stopPropagation(),f.remove("au-enter-active"),f.remove("au-enter"),e.target.removeEventListener(e.type,j),c.useAnimationDoneClasses&&void 0!==c.animationEnteredClass&&null!==c.animationEnteredClass&&f.add(c.animationEnteredClass),c.isAnimating=!1,c._triggerDOMEvent(b.animationEvent.enterDone,a),d(!0))},!1);var k=a.parentElement,l=0,m=function(){var e=c._getElementAnimationNames(a);c._animationChangeWithValidKeyframe(e,g)||(f.remove("au-enter-active"),f.remove("au-enter"),c._removeMultipleEventListener(a,"webkitAnimationEnd animationend",j),c._removeMultipleEventListener(a,"webkitAnimationStart animationstart",h),c._triggerDOMEvent(b.animationEvent.enterTimeout,a),d(!1))};if(null!==k&&void 0!==k&&(k.classList.contains("au-stagger")||k.classList.contains("au-stagger-enter"))){var n=Array.prototype.indexOf.call(k.children,a);l=c._getElementAnimationDelay(k)*n,c._triggerDOMEvent(b.animationEvent.staggerNext,a),setTimeout(function(){f.add("au-enter-active"),m()},l)}else f.add("au-enter-active"),m()})},a.prototype.leave=function(a){var c=this;return new Promise(function(d,e){var f=a.classList;c._triggerDOMEvent(b.animationEvent.leaveBegin,a),c.useAnimationDoneClasses&&(f.remove(c.animationEnteredClass),f.remove(c.animationLeftClass)),f.add("au-leave");var g=c._getElementAnimationNames(a),h=void 0,i=!1;c._addMultipleEventListener(a,"webkitAnimationStart animationstart",h=function(d){i=!0,c.isAnimating=!0,c._triggerDOMEvent(b.animationEvent.leaveActive,a),d.stopPropagation(),d.target.removeEventListener(d.type,h)},!1);var j=void 0;c._addMultipleEventListener(a,"webkitAnimationEnd animationend",j=function(e){i&&(e.stopPropagation(),f.remove("au-leave-active"),f.remove("au-leave"),e.target.removeEventListener(e.type,j),c.useAnimationDoneClasses&&void 0!==c.animationLeftClass&&null!==c.animationLeftClass&&f.add(c.animationLeftClass),c.isAnimating=!1,c._triggerDOMEvent(b.animationEvent.leaveDone,a),d(!0))},!1);var k=a.parentElement,l=0,m=function(){var e=c._getElementAnimationNames(a);c._animationChangeWithValidKeyframe(e,g)||(f.remove("au-leave-active"),f.remove("au-leave"),c._removeMultipleEventListener(a,"webkitAnimationEnd animationend",j),c._removeMultipleEventListener(a,"webkitAnimationStart animationstart",h),c._triggerDOMEvent(b.animationEvent.leaveTimeout,a),d(!1))};if(null!==k&&void 0!==k&&(k.classList.contains("au-stagger")||k.classList.contains("au-stagger-leave"))){var n=Array.prototype.indexOf.call(k.children,a);l=c._getElementAnimationDelay(k)*n,c._triggerDOMEvent(b.animationEvent.staggerNext,a),setTimeout(function(){f.add("au-leave-active"),m()},l)}else f.add("au-leave-active"),m()})},a.prototype.removeClass=function(a,c){var d=this,e=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return new Promise(function(f,g){var h=a.classList;if(!h.contains(c)&&!h.contains(c+"-add"))return void f(!1);e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassBegin,a),h.remove(c);var i=d._getElementAnimationNames(a),j=void 0,k=!1;d._addMultipleEventListener(a,"webkitAnimationStart animationstart",j=function(c){k=!0,d.isAnimating=!0,e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassActive,a),c.stopPropagation(),c.target.removeEventListener(c.type,j)},!1);var l=void 0;d._addMultipleEventListener(a,"webkitAnimationEnd animationend",l=function(g){k&&(g.stopPropagation(),h.remove(c+"-remove"),g.target.removeEventListener(g.type,l),d.isAnimating=!1,e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassDone,a),f(!0))},!1),h.add(c+"-remove");var m=d._getElementAnimationNames(a);d._animationChangeWithValidKeyframe(m,i)||(h.remove(c+"-remove"),h.remove(c),d._removeMultipleEventListener(a,"webkitAnimationEnd animationend",l),d._removeMultipleEventListener(a,"webkitAnimationStart animationstart",j),e!==!0&&d._triggerDOMEvent(b.animationEvent.removeClassTimeout,a),f(!1))})},a.prototype.addClass=function(a,c){var d=this,e=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return new Promise(function(f,g){var h=a.classList;e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassBegin,a);var i=void 0,j=!1;d._addMultipleEventListener(a,"webkitAnimationStart animationstart",i=function(c){j=!0,d.isAnimating=!0,e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassActive,a),c.stopPropagation(),c.target.removeEventListener(c.type,i)},!1);var k=void 0;d._addMultipleEventListener(a,"webkitAnimationEnd animationend",k=function(g){j&&(g.stopPropagation(),h.add(c),h.remove(c+"-add"),g.target.removeEventListener(g.type,k),d.isAnimating=!1,e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassDone,a),f(!0))},!1);var l=d._getElementAnimationNames(a);h.add(c+"-add");var m=d._getElementAnimationNames(a);d._animationChangeWithValidKeyframe(m,l)||(h.remove(c+"-add"),h.add(c),d._removeMultipleEventListener(a,"webkitAnimationEnd animationend",k),d._removeMultipleEventListener(a,"webkitAnimationStart animationstart",i),e!==!0&&d._triggerDOMEvent(b.animationEvent.addClassTimeout,a),f(!1))})},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-animator-css@1.0.1.js",["npm:aurelia-animator-css@1.0.1/aurelia-animator-css"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){function a(){}a.name||Object.defineProperty(Function.prototype,"name",{get:function(){var a=this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];return Object.defineProperty(this,"name",{value:a}),a}})}function d(){if("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))){var a=document.createElement("_");if(a.classList.add("c1","c2"),!a.classList.contains("c2")){var b=function(a){var b=DOMTokenList.prototype[a];DOMTokenList.prototype[a]=function(a){for(var c=0,d=arguments.length;c<d;++c)a=arguments[c],b.call(this,a)}};b("add"),b("remove")}a.classList.toggle("c3",!1),a.classList.contains("c3")&&!function(){var a=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(b,c){return 1 in arguments&&!this.contains(b)==!c?c:a.call(this,b)}}(),a=null}else!function(){var a="prototype",b=String.prototype.trim,c=Array.prototype.indexOf,d=[],e=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},f=function(a,b){if(""===b)throw new e("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(b))throw new e("INVALID_CHARACTER_ERR","String contains an invalid character");return c.call(a,b)},g=function(a){for(var c=b.call(a.getAttribute("class")||""),e=c?c.split(/\s+/):d,f=0,g=e.length;f<g;++f)this.push(e[f]);this._updateClassName=function(){a.setAttribute("class",this.toString())}},h=g[a]=[];e[a]=Error[a],h.item=function(a){return this[a]||null},h.contains=function(a){return a+="",f(this,a)!==-1},h.add=function(){var a=arguments,b=0,c=a.length,d=void 0,e=!1;do d=a[b]+"",f(this,d)===-1&&(this.push(d),e=!0);while(++b<c);e&&this._updateClassName()},h.remove=function(){var a=arguments,b=0,c=a.length,d=void 0,e=!1,g=void 0;do for(d=a[b]+"",g=f(this,d);g!==-1;)this.splice(g,1),e=!0,g=f(this,d);while(++b<c);e&&this._updateClassName()},h.toggle=function(a,b){a+="";var c=this.contains(a),d=c?b!==!0&&"remove":b!==!1&&"add";return d&&this[d](a),b===!0||b===!1?b:!c},h.toString=function(){return this.join(" ")},Object.defineProperty(Element.prototype,"classList",{get:function(){return new g(this)},enumerable:!0,configurable:!0})}()}function e(){"performance"in window==!1&&(window.performance={}),"now"in window.performance==!1&&!function(){var a=Date.now();performance.timing&&performance.timing.navigationStart&&(a=performance.timing.navigationStart),window.performance.now=function(){return Date.now()-a}}(),k.performance=window.performance}function f(){if(!window.CustomEvent||"function"!=typeof window.CustomEvent){var a=function(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c};a.prototype=window.Event.prototype,window.CustomEvent=a}}function g(){if(Element&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}}function h(){function a(a){return"template"===a.tagName&&"http://www.w3.org/2000/svg"===a.namespaceURI}function b(a){var b=a.ownerDocument.createElement("template"),d=a.attributes,e=d.length,f=void 0;for(a.parentNode.insertBefore(b,a);e-- >0;)f=d[e],b.setAttribute(f.name,f.value),a.removeAttribute(f.name);return a.parentNode.removeChild(a),c(b)}function c(a){for(var b=a.content=document.createDocumentFragment(),c=void 0;c=a.firstChild;)b.appendChild(c);return a}function d(d){for(var e=c(d).content,f=e.querySelectorAll("template"),g=0,h=f.length;g<h;++g){var i=f[g];a(i)?b(i):c(i)}return d}l.htmlTemplateElement?l.ensureHTMLTemplateElement=function(a){return a}:l.ensureHTMLTemplateElement=d}function i(){o||(o=!0,f(),c(),h(),g(),d(),e(),(0,b.initializePAL)(function(a,b,c){Object.assign(a,k),Object.assign(b,l),Object.assign(c,n),function(a){a.console=a.console||{};for(var b=a.console,c=void 0,d=void 0,e={},f=function(){},g="memory".split(","),h="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");c=g.pop();)b[c]||(b[c]=e);for(;d=h.pop();)b[d]||(b[d]=f)}(a.global),a.global.console&&"object"===j(console.log)&&["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call),Object.defineProperty(c,"title",{get:function(){return document.title},set:function(a){document.title=a}}),Object.defineProperty(c,"activeElement",{get:function(){return document.activeElement}}),Object.defineProperty(a,"XMLHttpRequest",{get:function(){return a.global.XMLHttpRequest}})}))}Object.defineProperty(a,"__esModule",{value:!0}),a._DOM=a._FEATURE=a._PLATFORM=void 0,a._ensureFunctionName=c,a._ensureClassList=d,a._ensurePerformance=e,a._ensureCustomEvent=f,a._ensureElementMatches=g,a._ensureHTMLTemplateElement=h,a.initialize=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=a._PLATFORM={location:window.location,history:window.history,addEventListener:function(a,b,c){this.global.addEventListener(a,b,c)},removeEventListener:function(a,b,c){this.global.removeEventListener(a,b,c)},performance:window.performance,requestAnimationFrame:function(a){return this.global.requestAnimationFrame(a)}},l=a._FEATURE={};l.shadowDOM=function(){return!!HTMLElement.prototype.attachShadow}(),l.scopedCSS=function(){return"scoped"in document.createElement("style")}(),l.htmlTemplateElement=function(){return"content"in document.createElement("template")}(),l.mutationObserver=function(){return!(!window.MutationObserver&&!window.WebKitMutationObserver)}();var m=window.ShadowDOMPolyfill||null,n=a._DOM={Element:Element,SVGElement:SVGElement,boundary:"aurelia-dom-boundary",addEventListener:function(a,b,c){document.addEventListener(a,b,c)},removeEventListener:function(a,b,c){document.removeEventListener(a,b,c)},adoptNode:function(a){return document.adoptNode(a,!0)},createElement:function(a){return document.createElement(a)},createTextNode:function(a){return document.createTextNode(a)},createComment:function(a){return document.createComment(a)},createDocumentFragment:function(){return document.createDocumentFragment()},createMutationObserver:function(a){return new(window.MutationObserver||window.WebKitMutationObserver)(a)},createCustomEvent:function(a,b){return new window.CustomEvent(a,b)},dispatchEvent:function(a){document.dispatchEvent(a)},getComputedStyle:function(a){return window.getComputedStyle(a)},getElementById:function(a){return document.getElementById(a)},querySelectorAll:function(a){return document.querySelectorAll(a)},nextElementSibling:function(a){if(a.nextElementSibling)return a.nextElementSibling;do a=a.nextSibling;while(a&&1!==a.nodeType);return a},createTemplateFromMarkup:function(a){var b=document.createElement("div");b.innerHTML=a;var c=b.firstElementChild;if(!c||"TEMPLATE"!==c.nodeName)throw new Error("Template markup must be wrapped in a <template> element e.g. <template> <!-- markup here --> </template>");return l.ensureHTMLTemplateElement(c)},appendNode:function(a,b){(b||document.body).appendChild(a)},replaceNode:function(a,b,c){b.parentNode?b.parentNode.replaceChild(a,b):null!==m?m.unwrap(c).replaceChild(m.unwrap(a),m.unwrap(b)):c.replaceChild(a,b)},removeNode:function(a,b){a.parentNode?a.parentNode.removeChild(a):b&&(null!==m?m.unwrap(b).removeChild(m.unwrap(a)):b.removeChild(a))},injectStyles:function(a,b,c){var d=document.createElement("style");return d.innerHTML=a,d.type="text/css",b=b||document.head,c&&b.childNodes.length>0?b.insertBefore(d,b.childNodes[0]):b.appendChild(d),d}},o=!1})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.0.0.js",["npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.1.1/aurelia-polyfills.js",["aurelia-pal"],function(a){"use strict";var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a};!function(b,c){if(!(c in b)){var d,e=a.PLATFORM.global,f=0,g=""+Math.random(),h="__symbol:",i=h.length,j="__symbol@@"+g,k="defineProperty",l="defineProperties",m="getOwnPropertyNames",n="getOwnPropertyDescriptor",o="propertyIsEnumerable",p=b[m],q=b[n],r=b.create,s=b.keys,t=b[k],u=b[l],v=q(b,m),w=b.prototype,x=w.hasOwnProperty,y=w[o],z=w.toString,A=(Array.prototype.indexOf||function(a){for(var b=this.length;b--&&this[b]!==a;);return b},function(a,b,c){x.call(a,j)||t(a,j,{enumerable:!1,configurable:!1,writable:!1,value:{}}),a[j]["@@"+b]=c}),B=function(a,b){var c=r(a);return p(b).forEach(function(a){G.call(b,a)&&M(c,a,b[a])}),c},C=function(a){var b=r(a);return b.enumerable=!1,b},D=function(){},E=function(a){return a!=j&&!x.call(J,a)},F=function(a){return a!=j&&x.call(J,a)},G=function(a){var b=""+a;return F(b)?x.call(this,b)&&this[j]["@@"+b]:y.call(this,a)},H=function(a){var c={enumerable:!1,configurable:!0,get:D,set:function(b){d(this,a,{enumerable:!1,configurable:!0,writable:!0,value:b}),A(this,a,!0)}};return t(w,a,c),J[a]=t(b(a),"constructor",K)},I=function(a){if(this&&this!==e)throw new TypeError("Symbol is not a constructor");return H(h.concat(a||"",g,++f))},J=r(null),K={value:I},L=function(a){return J[a]},M=function(a,b,c){var e=""+b;return F(e)?(d(a,e,c.enumerable?C(c):c),A(a,e,!!c.enumerable)):t(a,b,c),a},N=function(a){var c=z.call(a);return a="[object String]"===c?a.split(""):b(a),p(a).filter(F).map(L)};v.value=M,t(b,k,v),v.value=N,t(b,c,v),v.value=function(a){return p(a).filter(E)},t(b,m,v),v.value=function(a,b){var c=N(b);return c.length?s(b).concat(c).forEach(function(c){G.call(b,c)&&M(a,c,b[c])}):u(a,b),a},t(b,l,v),v.value=G,t(w,o,v),v.value=I,t(e,"Symbol",v),v.value=function(a){var b=h.concat(h,a,g);return b in w?J[b]:H(b)},t(I,"for",v),v.value=function(a){return x.call(J,a)?a.slice(2*i,-g.length):void 0},t(I,"keyFor",v),v.value=function(a,b){var c=q(a,b);return c&&F(b)&&(c.enumerable=G.call(a,b)),c},t(b,n,v),v.value=function(a,b){return 1===arguments.length?r(a):B(a,b)},t(b,"create",v),v.value=function(){var a=z.call(this);return"[object String]"===a&&F(this)?"[object Symbol]":a},t(w,"toString",v);try{d=r(t({},h,{get:function(){return t(this,h,{value:!1})[h]}}))[h]||t}catch(O){d=function(a,b,c){var d=q(w,b);delete w[b],t(a,b,c),t(w,b,d)}}}}(Object,"getOwnPropertySymbols"),function(a,b){var c,d=a.defineProperty,e=a.prototype,f=e.toString,g="toStringTag";["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",g].forEach(function(b){if(!(b in Symbol))switch(d(Symbol,b,{value:Symbol(b)}),b){case g:c=a.getOwnPropertyDescriptor(e,"toString"),c.value=function(){var a=f.call(this),b="undefined"==typeof this||null===this?void 0:this[Symbol.toStringTag];return"undefined"==typeof b?a:"[object "+b+"]"},d(e,"toString",c)}})}(Object,Symbol),function(a,b,c){function d(){return this}b[a]||(b[a]=function(){var b=0,c=this,e={next:function(){var a=c.length<=b;return a?{done:a}:{done:a,value:c[b++]}}};return e[a]=d,e}),c[a]||(c[a]=function(){var b=String.fromCodePoint,c=this,e=0,f=c.length,g={next:function(){var a=f<=e,d=a?"":b(c.codePointAt(e));return e+=d.length,a?{done:a}:{done:a,value:d}}};return g[a]=d,g})}(Symbol.iterator,Array.prototype,String.prototype),Number.isNaN=Number.isNaN||function(a){return a!==a},Number.isFinite=Number.isFinite||function(a){return"number"==typeof a&&isFinite(a)},String.prototype.endsWith&&!function(){try{return!"ab".endsWith("a",1)}catch(a){return!0}}()||(String.prototype.endsWith=function(a,b){var c=this.toString();("number"!=typeof b||!isFinite(b)||Math.floor(b)!==b||b>c.length)&&(b=c.length),b-=a.length;var d=c.indexOf(a,b);return d!==-1&&d===b}),String.prototype.startsWith&&!function(){try{return!"ab".startsWith("b",1)}catch(a){return!0}}()||(String.prototype.startsWith=function(a,b){return b=b||0,this.substr(b,a.length)===a}),Array.from||(Array.from=function(){var a=function(a){return isNaN(a=+a)?0:(a>0?Math.floor:Math.ceil)(a)},b=function(b){return b>0?Math.min(a(b),9007199254740991):0},c=function(a,b,c,d){try{return b(c,d)}catch(e){throw"function"==typeof a["return"]&&a["return"](),e}};return function(a){var d,e,f,g,h=Object(a),i="function"==typeof this?this:Array,j=arguments.length,k=j>1?arguments[1]:void 0,l=void 0!==k,m=0,n=h[Symbol.iterator];if(l&&(k=k.bind(j>2?arguments[2]:void 0)),void 0==n||Array.isArray(a))for(d=b(h.length),e=new i(d);d>m;m++)e[m]=l?k(h[m],m):h[m];else for(g=n.call(h),e=new i;!(f=g.next()).done;m++)e[m]=l?c(g,k,f.value,m):f.value;return e.length=m,e}}()),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{configurable:!0,writable:!0,enumerable:!1,value:function f(a){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof a)throw new TypeError("predicate must be a function");for(var f,b=Object(this),c=b.length>>>0,d=arguments[1],e=0;e<c;e++)if(f=b[e],a.call(d,f,e,b))return f}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{configurable:!0,writable:!0,enumerable:!1,value:function g(a){if(null===this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof a)throw new TypeError("predicate must be a function");for(var g,b=Object(this),c=b.length>>>0,d=arguments[1],e=0;e<c;e++)if(g=b[e],a.call(d,g,e,b))return e;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{configurable:!0,writable:!0,enumerable:!1,value:function(a){var b=Object(this),c=parseInt(b.length)||0;if(0===c)return!1;var d,e=parseInt(arguments[1])||0;e>=0?d=e:(d=c+e,d<0&&(d=0));for(var f;d<c;){if(f=b[d],a===f||a!==a&&f!==f)return!0;d++}return!1}}),function(){var a=!1;try{var b=Object.keys("a");a=1!==b.length||"0"!==b[0]}catch(c){a=!0}a&&(Object.keys=function(){var a=Object.prototype.hasOwnProperty,b=!{toString:null}.propertyIsEnumerable("toString"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=c.length;return function(e){if(void 0===e||null===e)throw TypeError("Cannot convert undefined or null to object");e=Object(e);var f,g,h=[];for(f in e)a.call(e,f)&&h.push(f);if(b)for(g=0;g<d;g++)a.call(e,c[g])&&h.push(c[g]);return h}}())}(),function(a){"assign"in a||a.defineProperty(a,"assign",{configurable:!0,writable:!0,value:function(){var b=a.getOwnPropertySymbols,c=a.propertyIsEnumerable,d=b?function(a){return b(a).filter(c,a)}:function(){return Array.prototype};return function(c){function e(a){c[a]=h[a]}!b||c instanceof a||console.warn("problematic Symbols",c);for(var f=1,g=arguments.length;f<g;++f){var h=arguments[f];null!==h&&void 0!==h&&a.keys(h).concat(d(h)).forEach(e)}return c}}()})}(Object),function(a){function b(a,b){function d(a){return this&&this.constructor===d?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=b,void(a&&c.call(this,a))):new d(a)}return b||t(a,"size",{get:q}),a.constructor=d,d.prototype=a,d}function c(a){this.add?a.forEach(this.add,this):a.forEach(function(a){this.set(a[0],a[1])},this)}function d(a){return this.has(a)&&(this._keys.splice(s,1),this._values.splice(s,1),this._itp.forEach(function(a){s<a[0]&&a[0]--})),-1<s}function e(a){return this.has(a)?this._values[s]:void 0}function f(a,b){if(this.objectOnly&&b!==Object(b))throw new TypeError("Invalid value used as weak collection key");if(b!=b||0===b)for(s=a.length;s--&&!u(a[s],b););else s=a.indexOf(b);return-1<s}function g(a){return f.call(this,this._values,a)}function h(a){return f.call(this,this._keys,a)}function i(a,b){return this.has(a)?this._values[s]=b:this._values[this._keys.push(a)-1]=b,this}function j(a){return this.has(a)||this._values.push(a),this}function k(){(this._keys||0).length=this._values.length=0}function l(){return p(this._itp,this._keys)}function m(){return p(this._itp,this._values)}function n(){return p(this._itp,this._keys,this._values)}function o(){return p(this._itp,this._values,this._values)}function p(a,b,c){var d,e=[0],f=!1;return a.push(e),d={},d[Symbol.iterator]=function(){return this},d.next=function(){var d,g=e[0];return!f&&g<b.length?(d=c?[b[g],c[g]]:b[g],e[0]++):(f=!0,a.splice(a.indexOf(e),1)),{done:f,value:d}},d}function q(){return this._values.length}function r(a,b){for(var c=this.entries();;){var d=c.next();if(d.done)break;a.call(b,d.value[1],d.value[0],this)}}var s,t=Object.defineProperty,u=function(a,b){return a===b||a!==a&&b!==b};if("undefined"==typeof WeakMap&&(a.WeakMap=b({"delete":d,clear:k,get:e,has:h,set:i},!0)),"undefined"==typeof Map||"function"!=typeof(new Map).values||!(new Map).values().next){var v;a.Map=b((v={"delete":d,has:h,get:e,set:i,keys:l,values:m,entries:n,forEach:r,clear:k},v[Symbol.iterator]=n,v))}if("undefined"==typeof Set||"function"!=typeof(new Set).values||!(new Set).values().next){var w;a.Set=b((w={has:g,add:j,"delete":d,clear:k,keys:m,values:m,entries:o,forEach:r},w[Symbol.iterator]=m,w))}"undefined"==typeof WeakSet&&(a.WeakSet=b({"delete":d,add:j,clear:k,has:g},!0))}(a.PLATFORM.global);var c=Object.freeze({}),d="__metadata__",e=Function.prototype.bind;"undefined"==typeof a.PLATFORM.global.Reflect&&(a.PLATFORM.global.Reflect={}),"function"!=typeof Reflect.getOwnMetadata&&(Reflect.getOwnMetadata=function(a,b,e){if(b.hasOwnProperty(d))return(b[d][e]||c)[a]}),"function"!=typeof Reflect.defineMetadata&&(Reflect.defineMetadata=function(a,b,c,e){var f=c.hasOwnProperty(d)?c[d]:c[d]={},g=f[e]||(f[e]={});g[a]=b}),"function"!=typeof Reflect.metadata&&(Reflect.metadata=function(a,b){return function(c,d){Reflect.defineMetadata(a,b,c,d)}}),"function"!=typeof Reflect.defineProperty&&(Reflect.defineProperty=function(a,c,d){if("object"===("undefined"==typeof a?"undefined":b(a))?null===a:"function"!=typeof a)throw new TypeError("Reflect.defineProperty called on non-object");try{return Object.defineProperty(a,c,d),!0}catch(e){return!1}}),"function"!=typeof Reflect.construct&&(Reflect.construct=function(a,b){if(b)switch(b.length){case 0:return new a;case 1:return new a(b[0]);case 2:return new a(b[0],b[1]);case 3:return new a(b[0],b[1],b[2]);case 4:return new a(b[0],b[1],b[2],b[3])}var c=[null];return c.push.apply(c,b),new(e.apply(a,c))}),"function"!=typeof Reflect.ownKeys&&(Reflect.ownKeys=function(a){return Object.getOwnPropertyNames(a).concat(Object.getOwnPropertySymbols(a))})})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.1.1.js",["npm:aurelia-polyfills@1.1.1/aurelia-polyfills"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper.js",["exports","aurelia-pal","aurelia-pal-browser","aurelia-polyfills"],function(a,b,c){"use strict";function d(a){return new Promise(function(b,c){m?b(a(m)):l.push(function(){try{b(a(m))}catch(d){c(d)}})})}function e(a){return new Promise(function(b,c){function d(){a.document.removeEventListener("DOMContentLoaded",d),a.removeEventListener("load",d),b(a.document)}"complete"===a.document.readyState?b(a.document):(a.document.addEventListener("DOMContentLoaded",d),a.addEventListener("load",d))})}function f(){return b.PLATFORM.Loader?Promise.resolve(new b.PLATFORM.Loader):window.System&&"function"==typeof window.System["import"]?System.normalize("aurelia-bootstrapper").then(function(a){return System.normalize("aurelia-loader-default",a)}).then(function(a){return System["import"](a).then(function(a){return new a.DefaultLoader})}):"function"==typeof window.require?new Promise(function(a,b){return require(["aurelia-loader-default"],function(b){return a(new b.DefaultLoader)},b)}):Promise.reject("No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app.")}function g(a){return a.normalize("aurelia-bootstrapper").then(function(b){return a.normalize("aurelia-framework",b).then(function(c){return a.map("aurelia-framework",c),Promise.all([a.normalize("aurelia-dependency-injection",c).then(function(b){return a.map("aurelia-dependency-injection",b)}),a.normalize("aurelia-router",b).then(function(b){return a.map("aurelia-router",b)}),a.normalize("aurelia-logging-console",b).then(function(b){return a.map("aurelia-logging-console",b)})]).then(function(){return a.loadModule(c).then(function(a){return n=a.Aurelia})})})})}function h(a,b){var c=b.getAttribute("aurelia-app")||b.getAttribute("data-aurelia-app");return i(a,b,c)}function i(a,b,c){var d=new n(a);return d.host=b,d.configModuleId=c||null,c?a.loadModule(c).then(function(a){return a.configure(d)}):(d.use.standardConfiguration().developmentLogging(),d.start().then(function(){return d.setRoot()}))}function j(){return e(window).then(function(a){(0,c.initialize)();var b=a.querySelectorAll("[aurelia-app],[data-aurelia-app]");return f().then(function(a){return g(a).then(function(){for(var c=0,d=b.length;c<d;++c)h(a,b[c])["catch"](console.error.bind(console));m=a;for(var e=0,f=l.length;e<f;++e)l[e]();l=null})})})}function k(a){return d(function(b){var c=new n(b);return a(c)})}Object.defineProperty(a,"__esModule",{value:!0}),a.bootstrap=k;var l=[],m=null,n=null;j()})}(),function(){var a=System.amdDefine;a("npm:aurelia-bootstrapper@1.0.0.js",["npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js",["exports"],function(a){"use strict";function b(a){return new Blob([JSON.stringify(a)],{type:"application/json"})}function c(a){if(!a.ok)throw a;return a}function d(){this.isRequesting=!!++this.activeRequestCount}function e(){this.isRequesting=!!--this.activeRequestCount}function f(a){var b=e.bind(this);return a.then(b,b),a}function g(a){var b={};for(var c in a||{})a.hasOwnProperty(c)&&(b[c]="function"==typeof a[c]?a[c]():a[c]);return b}function h(a,b){var c=this.defaults||{},d=void 0,e=void 0,f=void 0,h=g(c.headers);if(Request.prototype.isPrototypeOf(a))d=a,f=new Headers(d.headers).get("Content-Type");else{b||(b={}),e=b.body;var k=e?{body:e}:null,l=Object.assign({},c,{headers:{}},b,k);f=new Headers(l.headers).get("Content-Type"),d=new Request(i(this.baseUrl,a),l)}return!f&&new Headers(h).has("content-type")&&d.headers.set("Content-Type",new Headers(h).get("content-type")),j(d.headers,h),e&&Blob.prototype.isPrototypeOf(e)&&e.type&&d.headers.set("Content-Type",e.type),d}function i(a,b){return r.test(b)?b:(a||"")+b}function j(a,b){for(var c in b||{})b.hasOwnProperty(c)&&!a.has(c)&&a.set(c,b[c])}function k(a,b){return m(a,b,"request","requestError")}function l(a,b,c){return m(a,b,"response","responseError",c)}function m(a,b,c,d){for(var e=arguments.length,f=Array(e>4?e-4:0),g=4;g<e;g++)f[g-4]=arguments[g];return(b||[]).reduce(function(a,b){var e=b[c],g=b[d];return a.then(e&&function(a){
+return e.call.apply(e,[b,a].concat(f))}||n,g&&function(a){return g.call.apply(g,[b,a].concat(f))}||o)},Promise.resolve(a))}function n(a){return a}function o(a){throw a}Object.defineProperty(a,"__esModule",{value:!0}),a.json=b;var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},q=a.HttpClientConfiguration=function(){function a(){this.baseUrl="",this.defaults={},this.interceptors=[]}return a.prototype.withBaseUrl=function(a){return this.baseUrl=a,this},a.prototype.withDefaults=function(a){return this.defaults=a,this},a.prototype.withInterceptor=function(a){return this.interceptors.push(a),this},a.prototype.useStandardConfiguration=function(){var a={credentials:"same-origin"};return Object.assign(this.defaults,a,this.defaults),this.rejectErrorResponses()},a.prototype.rejectErrorResponses=function(){return this.withInterceptor({response:c})},a}(),r=(a.HttpClient=function(){function a(){if(this.activeRequestCount=0,this.isRequesting=!1,this.isConfigured=!1,this.baseUrl="",this.defaults=null,this.interceptors=[],"undefined"==typeof fetch)throw new Error("HttpClient requires a Fetch API implementation, but the current environment doesn't support it. You may need to load a polyfill such as https://github.com/github/fetch.")}return a.prototype.configure=function(a){var b,c=void 0;if("object"===("undefined"==typeof a?"undefined":p(a)))c={defaults:a};else{if("function"!=typeof a)throw new Error("invalid config");c=new q;var d=a(c);q.prototype.isPrototypeOf(d)&&(c=d)}var e=c.defaults;if(e&&Headers.prototype.isPrototypeOf(e.headers))throw new Error("Default headers must be a plain object.");return this.baseUrl=c.baseUrl,this.defaults=e,(b=this.interceptors).push.apply(b,c.interceptors||[]),this.isConfigured=!0,this},a.prototype.fetch=function(a){function b(b,c){return a.apply(this,arguments)}return b.toString=function(){return a.toString()},b}(function(a,b){var c=this;d.call(this);var e=Promise.resolve().then(function(){return h.call(c,a,b,c.defaults)}),g=k(e,this.interceptors).then(function(a){var b=null;if(Response.prototype.isPrototypeOf(a))b=a;else{if(!Request.prototype.isPrototypeOf(a))throw new Error("An invalid result was returned by the interceptor chain. Expected a Request or Response instance, but got ["+a+"]");e=Promise.resolve(a),b=fetch(a)}return e.then(function(a){return l(b,c.interceptors,a)})});return f.call(this,g)}),a}(),/^([a-z][a-z0-9+\-.]*:)?\/\//i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-fetch-client@1.0.1.js",["npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-framework@1.0.6/aurelia-framework.js",["exports","aurelia-dependency-injection","aurelia-binding","aurelia-metadata","aurelia-templating","aurelia-loader","aurelia-task-queue","aurelia-path","aurelia-pal","aurelia-logging"],function(a,b,c,d,e,f,g,h,i,j){"use strict";function k(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function l(){i.DOM.addEventListener("submit",function(a){var b=a.target,c=b.action;"form"!==b.tagName.toLowerCase()||c||a.preventDefault()})}function m(a,b){var c=void 0,d=function e(){return c=b.shift(),c?Promise.resolve(c(a)).then(e):Promise.resolve()};return d()}function n(a,b,c){function d(d){return b.loadModule(d).then(function(b){return"configure"in b?Promise.resolve(b.configure(a,c.config||{})).then(function(){a.resourcesRelativeTo=null,s.debug("Configured plugin "+c.moduleId+".")}):(a.resourcesRelativeTo=null,void s.debug("Loaded plugin "+c.moduleId+"."))})}s.debug("Loading plugin "+c.moduleId+"."),a.resourcesRelativeTo=c.resourcesRelativeTo;var e=c.moduleId;return c.resourcesRelativeTo.length>1?b.normalize(c.moduleId,c.resourcesRelativeTo[1]).then(function(a){return d(a)}):d(e)}function o(a,b,c){function d(b){var c=b.moduleId,d=p(c);return f(c)&&(c=g(c)),a.loader.normalize(c,b.relativeTo).then(function(a){return{name:b.moduleId,importId:f(b.moduleId)?h(a,d):a}})}function f(a){var b=p(a);return!!b&&(""!==b&&(".js"!==b&&".ts"!==b))}function g(a){return a.replace(t,"")}function h(a,b){return g(a)+"."+b}var i=a.container.get(e.ViewEngine);return Promise.all(Object.keys(b).map(function(a){return d(b[a])})).then(function(a){var b=[],d=[];return a.forEach(function(a){b.push(void 0),d.push(a.importId)}),i.importViewResources(d,b,c)})}function p(a){var b=a.match(t);if(b&&b.length>0)return b[0].split(".")[1]}function q(a){if(a.processed)throw new Error("This config instance has already been applied. To load more plugins or global resources, create a new FrameworkConfiguration instance.")}Object.defineProperty(a,"__esModule",{value:!0}),a.LogManager=a.FrameworkConfiguration=a.Aurelia=void 0,Object.keys(b).forEach(function(c){"default"!==c&&"__esModule"!==c&&Object.defineProperty(a,c,{enumerable:!0,get:function(){return b[c]}})}),Object.keys(c).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return c[b]}})}),Object.keys(d).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return d[b]}})}),Object.keys(e).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return e[b]}})}),Object.keys(f).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return f[b]}})}),Object.keys(g).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return g[b]}})}),Object.keys(h).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return h[b]}})}),Object.keys(i).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return i[b]}})});var r=k(j),s=(a.Aurelia=function(){function a(c,d,g){this.loader=c||new i.PLATFORM.Loader,this.container=d||(new b.Container).makeGlobal(),this.resources=g||new e.ViewResources,this.use=new u(this),this.logger=r.getLogger("aurelia"),this.hostConfigured=!1,this.host=null,this.use.instance(a,this),this.use.instance(f.Loader,this.loader),this.use.instance(e.ViewResources,this.resources)}return a.prototype.start=function(){var a=this;return this.started?Promise.resolve(this):(this.started=!0,this.logger.info("Aurelia Starting"),this.use.apply().then(function(){if(l(),!a.container.hasResolver(e.BindingLanguage)){var b="You must configure Aurelia with a BindingLanguage implementation.";throw a.logger.error(b),new Error(b)}a.logger.info("Aurelia Started");var c=i.DOM.createCustomEvent("aurelia-started",{bubbles:!0,cancelable:!0});return i.DOM.dispatchEvent(c),a}))},a.prototype.enhance=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1];return this._configureHost(c||i.DOM.querySelectorAll("body")[0]),new Promise(function(c){var d=a.container.get(e.TemplatingEngine);a.root=d.enhance({container:a.container,element:a.host,resources:a.resources,bindingContext:b}),a.root.attached(),a._onAureliaComposed(),c(a)})},a.prototype.setRoot=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?null:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1],d={};this.root&&this.root.viewModel&&this.root.viewModel.router&&(this.root.viewModel.router.deactivate(),this.root.viewModel.router.reset()),this._configureHost(c);var f=this.container.get(e.TemplatingEngine),g=this.container.get(e.CompositionTransaction);return delete g.initialComposition,b||(b=this.configModuleId?(0,h.relativeToFile)("./app",this.configModuleId):"app"),d.viewModel=b,d.container=d.childContainer=this.container,d.viewSlot=this.hostSlot,d.host=this.host,f.compose(d).then(function(b){return a.root=b,d.viewSlot.attached(),a._onAureliaComposed(),a})},a.prototype._configureHost=function(a){if(!this.hostConfigured){if(a=a||this.host,a&&"string"!=typeof a?this.host=a:this.host=i.DOM.getElementById(a||"applicationHost"),!this.host)throw new Error("No applicationHost was specified.");this.hostConfigured=!0,this.host.aurelia=this,this.hostSlot=new e.ViewSlot(this.host,(!0)),this.hostSlot.transformChildNodesIntoView(),this.container.registerInstance(i.DOM.boundary,this.host)}},a.prototype._onAureliaComposed=function(){var a=i.DOM.createCustomEvent("aurelia-composed",{bubbles:!0,cancelable:!0});setTimeout(function(){return i.DOM.dispatchEvent(a)},1)},a}(),r.getLogger("aurelia")),t=/\.[^\/.]+$/,u=function(){function a(a){var b=this;this.aurelia=a,this.container=a.container,this.info=[],this.processed=!1,this.preTasks=[],this.postTasks=[],this.resourcesToLoad={},this.preTask(function(){return a.loader.normalize("aurelia-bootstrapper").then(function(a){return b.bootstrapperName=a})}),this.postTask(function(){return o(a,b.resourcesToLoad,a.resources)})}return a.prototype.instance=function(a,b){return this.container.registerInstance(a,b),this},a.prototype.singleton=function(a,b){return this.container.registerSingleton(a,b),this},a.prototype["transient"]=function(a,b){return this.container.registerTransient(a,b),this},a.prototype.preTask=function(a){return q(this),this.preTasks.push(a),this},a.prototype.postTask=function(a){return q(this),this.postTasks.push(a),this},a.prototype.feature=function(a,b){return p(a)?this.plugin({moduleId:a,resourcesRelativeTo:[a,""],config:b||{}}):this.plugin({moduleId:a+"/index",resourcesRelativeTo:[a,""],config:b||{}})},a.prototype.globalResources=function(a){q(this);for(var b=Array.isArray(a)?a:arguments,c=void 0,d=this.resourcesRelativeTo||["",""],e=0,f=b.length;e<f;++e){if(c=b[e],"string"!=typeof c)throw new Error("Invalid resource path ["+c+"]. Resources must be specified as relative module IDs.");var g=d[0],i=d[1],j=c;(c.startsWith("./")||c.startsWith("../"))&&""!==g&&(j=(0,h.join)(g,c)),this.resourcesToLoad[j]={moduleId:j,relativeTo:i}}return this},a.prototype.globalName=function(a,b){return q(this),this.resourcesToLoad[a]={moduleId:b,relativeTo:""},this},a.prototype.plugin=function(a,b){return q(this),"string"==typeof a?this.plugin({moduleId:a,resourcesRelativeTo:[a,""],config:b||{}}):(this.info.push(a),this)},a.prototype._addNormalizedPlugin=function(a,b){var c=this,d={moduleId:a,resourcesRelativeTo:[a,""],config:b||{}};return this.plugin(d),this.preTask(function(){var b=[a,c.bootstrapperName];return d.moduleId=a,d.resourcesRelativeTo=b,Promise.resolve()}),this},a.prototype.defaultBindingLanguage=function(){return this._addNormalizedPlugin("aurelia-templating-binding")},a.prototype.router=function(){return this._addNormalizedPlugin("aurelia-templating-router")},a.prototype.history=function(){return this._addNormalizedPlugin("aurelia-history-browser")},a.prototype.defaultResources=function(){return this._addNormalizedPlugin("aurelia-templating-resources")},a.prototype.eventAggregator=function(){return this._addNormalizedPlugin("aurelia-event-aggregator")},a.prototype.basicConfiguration=function(){return this.defaultBindingLanguage().defaultResources().eventAggregator()},a.prototype.standardConfiguration=function(){return this.basicConfiguration().history().router()},a.prototype.developmentLogging=function(){var a=this;return this.preTask(function(){return a.aurelia.loader.normalize("aurelia-logging-console",a.bootstrapperName).then(function(b){return a.aurelia.loader.loadModule(b).then(function(a){r.addAppender(new a.ConsoleAppender),r.setLevel(r.logLevel.debug)})})}),this},a.prototype.apply=function(){var a=this;return this.processed?Promise.resolve():m(this,this.preTasks).then(function(){var b=a.aurelia.loader,c=a.info,d=void 0,e=function f(){return(d=c.shift())?n(a,b,d).then(f):(a.processed=!0,Promise.resolve())};return e().then(function(){return m(a,a.postTasks)})})},a}();a.FrameworkConfiguration=u;a.LogManager=r})}(),function(){var a=System.amdDefine;a("npm:aurelia-framework@1.0.6.js",["npm:aurelia-framework@1.0.6/aurelia-framework"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js",["exports","aurelia-pal","aurelia-history"],function(a,b,c){"use strict";function d(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function e(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function f(a){a.singleton(c.History,m),a["transient"](k,l)}function g(a,b,c){if(c){var d=a.href.replace(/(javascript:|#).*$/,"");a.replace(d+"#"+b)}else a.hash="#"+b}function h(a,b,c){return a+"//"+b+(c?":"+c:"")}Object.defineProperty(a,"__esModule",{value:!0}),a.BrowserHistory=a.DefaultLinkHandler=a.LinkHandler=void 0,a.configure=f;var i,j,k=a.LinkHandler=function(){function a(){}return a.prototype.activate=function(a){},a.prototype.deactivate=function(){},a}(),l=a.DefaultLinkHandler=function(a){function c(){var b=d(this,a.call(this));return b.handler=function(a){var d=c.getEventInfo(a),e=d.shouldHandleEvent,f=d.href;e&&(a.preventDefault(),b.history.navigate(f))},b}return e(c,a),c.prototype.activate=function(a){a._hasPushState&&(this.history=a,b.DOM.addEventListener("click",this.handler,!0))},c.prototype.deactivate=function(){b.DOM.removeEventListener("click",this.handler)},c.getEventInfo=function(a){var b={shouldHandleEvent:!1,href:null,anchor:null},d=c.findClosestAnchor(a.target);if(!d||!c.targetIsThisWindow(d))return b;if(a.altKey||a.ctrlKey||a.metaKey||a.shiftKey)return b;var e=d.getAttribute("href");b.anchor=d,b.href=e;var f=1===a.which,g=e&&!("#"===e.charAt(0)||/^[a-z]+:/i.test(e));return b.shouldHandleEvent=f&&g,b},c.findClosestAnchor=function(a){for(;a;){if("A"===a.tagName)return a;a=a.parentNode}},c.targetIsThisWindow=function(a){var c=a.getAttribute("target"),d=b.PLATFORM.global;return!c||c===d.name||"_self"===c||"top"===c&&d===d.top},c}(k),m=a.BrowserHistory=(j=i=function(a){function c(c){var e=d(this,a.call(this));return e._isActive=!1,e._checkUrlCallback=e._checkUrl.bind(e),e.location=b.PLATFORM.location,e.history=b.PLATFORM.history,e.linkHandler=c,e}return e(c,a),c.prototype.activate=function(a){if(this._isActive)throw new Error("History has already been activated.");var c=!!a.pushState;this._isActive=!0,this.options=Object.assign({},{root:"/"},this.options,a),this.root=("/"+this.options.root+"/").replace(o,"/"),this._wantsHashChange=this.options.hashChange!==!1,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var d=void 0;if(this._hasPushState?d="popstate":this._wantsHashChange&&(d="hashchange"),b.PLATFORM.addEventListener(d,this._checkUrlCallback),this._wantsHashChange&&c){var e=this.location,f=e.pathname.replace(/[^\/]$/,"$&/")===this.root;if(!this._hasPushState&&!f)return this.fragment=this._getFragment(null,!0),this.location.replace(this.root+this.location.search+"#"+this.fragment),!0;this._hasPushState&&f&&e.hash&&(this.fragment=this._getHash().replace(n,""),this.history.replaceState({},b.DOM.title,this.root+this.fragment+e.search))}if(this.fragment||(this.fragment=this._getFragment()),this.linkHandler.activate(this),!this.options.silent)return this._loadUrl()},c.prototype.deactivate=function(){b.PLATFORM.removeEventListener("popstate",this._checkUrlCallback),b.PLATFORM.removeEventListener("hashchange",this._checkUrlCallback),this._isActive=!1,this.linkHandler.deactivate()},c.prototype.getAbsoluteRoot=function(){var a=h(this.location.protocol,this.location.hostname,this.location.port);return""+a+this.root},c.prototype.navigate=function(a){var c=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],d=c.trigger,e=void 0===d||d,f=c.replace,h=void 0!==f&&f;if(a&&q.test(a))return this.location.href=a,!0;if(!this._isActive)return!1;if(a=this._getFragment(a||""),this.fragment===a&&!h)return!1;this.fragment=a;var i=this.root+a;if(""===a&&"/"!==i&&(i=i.slice(0,-1)),this._hasPushState)i=i.replace("//","/"),this.history[h?"replaceState":"pushState"]({},b.DOM.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);g(this.location,a,h)}return e?this._loadUrl(a):void 0},c.prototype.navigateBack=function(){this.history.back()},c.prototype.setTitle=function(a){b.DOM.title=a},c.prototype._getHash=function(){return this.location.hash.substr(1)},c.prototype._getFragment=function(a,b){var c=void 0;return a||(this._hasPushState||!this._wantsHashChange||b?(a=this.location.pathname+this.location.search,c=this.root.replace(p,""),a.indexOf(c)||(a=a.substr(c.length))):a=this._getHash()),"/"+a.replace(n,"")},c.prototype._checkUrl=function(){var a=this._getFragment();a!==this.fragment&&this._loadUrl()},c.prototype._loadUrl=function(a){var b=this.fragment=this._getFragment(a);return!!this.options.routeHandler&&this.options.routeHandler(b)},c}(c.History),i.inject=[k],j),n=/^#?\/*|\s+$/g,o=/^\/+|\/+$/g,p=/\/$/,q=/^([a-z][a-z0-9+\-.]*:)?\/\//i})}(),function(){var a=System.amdDefine;a("npm:aurelia-history-browser@1.0.0.js",["npm:aurelia-history-browser@1.0.0/aurelia-history-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader-default@1.0.0/aurelia-loader-default.js",["exports","aurelia-loader","aurelia-pal","aurelia-metadata"],function(b,c,d,e){"use strict";function f(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function h(a,b){var c=a,d=void 0,f=void 0;c.__useDefault&&(c=c["default"]),e.Origin.set(c,new e.Origin(b,"default"));for(d in c)f=c[d],"function"==typeof f&&e.Origin.set(f,new e.Origin(b,d));return a}Object.defineProperty(b,"__esModule",{value:!0}),b.DefaultLoader=b.TextTemplateLoader=void 0;var i=b.TextTemplateLoader=function(){function a(){}return a.prototype.loadTemplate=function(a,b){return a.loadText(b.address).then(function(a){b.template=d.DOM.createTemplateFromMarkup(a)})},a}(),j=b.DefaultLoader=function(a){function b(){var b=f(this,a.call(this));b.textPluginName="text",b.moduleRegistry=Object.create(null),b.useTemplateLoader(new i);var c=b;return b.addPlugin("template-registry-entry",{fetch:function(a){var b=c.getOrCreateTemplateRegistryEntry(a);return b.templateIsLoaded?b:c.templateLoader.loadTemplate(c,b).then(function(a){return b})}}),b}return g(b,a),b.prototype.useTemplateLoader=function(a){this.templateLoader=a},b.prototype.loadAllModules=function(a){for(var b=[],c=0,d=a.length;c<d;++c)b.push(this.loadModule(a[c]));return Promise.all(b)},b.prototype.loadTemplate=function(a){return this._import(this.applyPluginToUrl(a,"template-registry-entry"))},b.prototype.loadText=function(a){return this._import(this.applyPluginToUrl(a,this.textPluginName)).then(function(a){return"string"==typeof a?a:a["default"]})},b}(c.Loader);d.PLATFORM.Loader=j,d.PLATFORM.global.System&&d.PLATFORM.global.System["import"]?(d.PLATFORM.eachModule=function(a){var b=System._loader.modules;for(var c in b)try{if(a(c,b[c].module))return}catch(d){}},System.set("text",System.newModule({translate:function(a){return'module.exports = "'+a.source.replace(/(["\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")+'";'}})),j.prototype._import=function(a){return System["import"](a)},j.prototype.loadModule=function(a){var b=this;return System.normalize(a).then(function(a){var c=b.moduleRegistry[a];return void 0!==c?Promise.resolve(c):System["import"](a).then(function(c){return b.moduleRegistry[a]=c,h(c,a)})})},j.prototype.map=function(a,b){System.map[a]=b},j.prototype.normalizeSync=function(a,b){return System.normalizeSync(a,b)},j.prototype.normalize=function(a,b){return System.normalize(a,b)},j.prototype.applyPluginToUrl=function(a,b){return a+"!"+b},j.prototype.addPlugin=function(a,b){System.set(a,System.newModule({fetch:function(a,c){var d=b.fetch(a.address);return Promise.resolve(d).then(function(b){return a.metadata.result=b,""})},instantiate:function(a){return a.metadata.result}}))}):(d.PLATFORM.global.requirejs&&requirejs.s&&requirejs.s.contexts&&requirejs.s.contexts._&&requirejs.s.contexts._.defined?d.PLATFORM.eachModule=function(a){var b=requirejs.s.contexts._.defined;for(var c in b)try{if(a(c,b[c]))return}catch(d){}}:d.PLATFORM.eachModule=function(a){},j.prototype._import=function(a){return new Promise(function(b,c){require([a],b,c)})},j.prototype.loadModule=function(a){var b=this,c=this.moduleRegistry[a];return void 0!==c?Promise.resolve(c):new Promise(function(c,d){require([a],function(d){b.moduleRegistry[a]=d,c(h(d,a))},d)})},j.prototype.map=function(a,b){},j.prototype.normalize=function(a,b){return Promise.resolve(a)},j.prototype.normalizeSync=function(a,b){return a},j.prototype.applyPluginToUrl=function(a,b){return b+"!"+a},j.prototype.addPlugin=function(b,c){var d=a;d(b,[],{load:function(a,b,d){var e=c.fetch(a);Promise.resolve(e).then(d)}})})})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader-default@1.0.0.js",["npm:aurelia-loader-default@1.0.0/aurelia-loader-default"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js",["exports","aurelia-logging"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.ConsoleAppender=void 0;a.ConsoleAppender=function(){function a(){}return a.prototype.debug=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).debug.apply(b,["DEBUG ["+a.id+"]"].concat(d))},a.prototype.info=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).info.apply(b,["INFO ["+a.id+"]"].concat(d))},a.prototype.warn=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).warn.apply(b,["WARN ["+a.id+"]"].concat(d))},a.prototype.error=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];(b=console).error.apply(b,["ERROR ["+a.id+"]"].concat(d))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging-console@1.0.0.js",["npm:aurelia-logging-console@1.0.0/aurelia-logging-console"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding.js",["exports","aurelia-logging","aurelia-binding","aurelia-templating"],function(a,b,c,d){"use strict";function e(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function f(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function h(a,b){if("style"===b)r.getLogger("templating-binding").info('Internet Explorer does not support interpolation in "style" attributes. Use the style attribute\'s alias, "css" instead.');else if(a.parentElement&&"TEXTAREA"===a.parentElement.nodeName&&"textContent"===b)throw new Error('Interpolation binding cannot be used in the content of a textarea element. Use <textarea value.bind="expression"></textarea> instead.')}function i(a){a.container.registerSingleton(d.BindingLanguage,y),a.container.registerAlias(d.BindingLanguage,y)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingBindingLanguage=a.SyntaxInterpreter=a.ChildInterpolationBinding=a.InterpolationBinding=a.InterpolationBindingExpression=a.AttributeMap=void 0,a.configure=i;var j,k,l,m,n,o,p,q,r=e(b),s=a.AttributeMap=(k=j=function(){function a(a){this.elements=Object.create(null),this.allElements=Object.create(null),this.svg=a,this.registerUniversal("accesskey","accessKey"),this.registerUniversal("contenteditable","contentEditable"),this.registerUniversal("tabindex","tabIndex"),this.registerUniversal("textcontent","textContent"),this.registerUniversal("innerhtml","innerHTML"),this.registerUniversal("scrolltop","scrollTop"),this.registerUniversal("scrollleft","scrollLeft"),this.registerUniversal("readonly","readOnly"),this.register("label","for","htmlFor"),this.register("input","maxlength","maxLength"),this.register("input","minlength","minLength"),this.register("input","formaction","formAction"),this.register("input","formenctype","formEncType"),this.register("input","formmethod","formMethod"),this.register("input","formnovalidate","formNoValidate"),this.register("input","formtarget","formTarget"),this.register("textarea","maxlength","maxLength"),this.register("td","rowspan","rowSpan"),this.register("td","colspan","colSpan"),this.register("th","rowspan","rowSpan"),this.register("th","colspan","colSpan")}return a.prototype.register=function(a,b,c){a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a]=this.elements[a]||Object.create(null);d[b]=c},a.prototype.registerUniversal=function(a,b){a=a.toLowerCase(),this.allElements[a]=b},a.prototype.map=function(a,b){if(this.svg.isStandardSvgAttribute(a,b))return b;a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a];return void 0!==d&&b in d?d[b]:b in this.allElements?this.allElements[b]:/(^data-)|(^aria-)|:/.test(b)?b:(0,c.camelCase)(b)},a}(),j.inject=[c.SVGAnalyzer],k),t=a.InterpolationBindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.parts=c,this.mode=d,this.lookupFunctions=e,this.attribute=this.attrToRemove=f,this.discrete=!1}return a.prototype.createBinding=function(a){return 3===this.parts.length?new v(a,this.observerLocator,this.parts[1],this.mode,this.lookupFunctions,this.targetProperty,this.parts[0],this.parts[2]):new u(this.observerLocator,this.parts,a,this.targetProperty,this.mode,this.lookupFunctions)},a}(),u=a.InterpolationBinding=function(){function a(a,b,c,d,e,f){h(c,d),this.observerLocator=a,this.parts=b,this.target=c,this.targetProperty=d,this.targetAccessor=a.getAccessor(c,d),this.mode=e,this.lookupFunctions=f}return a.prototype.interpolate=function(){if(this.isBound){for(var a="",b=this.parts,c=0,d=b.length;c<d;c++)a+=c%2===0?b[c]:this["childBinding"+c].value;this.targetAccessor.setValue(a,this.target,this.targetProperty)}},a.prototype.updateOneTimeBindings=function(){for(var a=1,b=this.parts.length;a<b;a+=2){var d=this["childBinding"+a];d.mode===c.bindingMode.oneTime&&d.call()}},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.source=a;for(var b=this.parts,c=1,d=b.length;c<d;c+=2){var e=new v(this,this.observerLocator,b[c],this.mode,this.lookupFunctions);e.bind(a),this["childBinding"+c]=e}this.isBound=!0,this.interpolate()},a.prototype.unbind=function(){if(this.isBound){this.isBound=!1,this.source=null;for(var a=this.parts,b=1,c=a.length;b<c;b+=2){var d="childBinding"+b;this[d].unbind()}}},a}(),v=a.ChildInterpolationBinding=(l=(0,c.connectable)(),l(m=function(){function a(a,b,c,d,e,f,g,i){a instanceof u?this.parent=a:(h(a,f),this.target=a,this.targetProperty=f,this.targetAccessor=b.getAccessor(a,f)),this.observerLocator=b,this.sourceExpression=c,this.mode=d,this.lookupFunctions=e,this.left=g,this.right=i}return a.prototype.updateTarget=function(a){a=null===a||void 0===a?"":a.toString(),a!==this.value&&(this.value=a,this.parent?this.parent.interpolate():this.targetAccessor.setValue(this.left+a+this.right,this.target,this.targetProperty))},a.prototype.call=function(){this.isBound&&(this.rawValue=this.sourceExpression.evaluate(this.source,this.lookupFunctions),this.updateTarget(this.rawValue),this.mode!==c.bindingMode.oneTime&&(this._version++,this.sourceExpression.connect(this,this.source),this.rawValue instanceof Array&&this.observeArray(this.rawValue),this.unobserve(!1)))},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a;var b=this.sourceExpression;b.bind&&b.bind(this,a,this.lookupFunctions),this.rawValue=b.evaluate(a,this.lookupFunctions),this.updateTarget(this.rawValue),this.mode===c.bindingMode.oneWay&&(0,c.enqueueBindingConnect)(this)},a.prototype.unbind=function(){if(this.isBound){this.isBound=!1;var a=this.sourceExpression;a.unbind&&a.unbind(this,this.source),this.source=null,this.value=null,this.rawValue=null,this.unobserve(!0)}},a.prototype.connect=function(a){this.isBound&&(a&&(this.rawValue=this.sourceExpression.evaluate(this.source,this.lookupFunctions),this.updateTarget(this.rawValue)),this.sourceExpression.connect(this,this.source),this.rawValue instanceof Array&&this.observeArray(this.rawValue))},a}())||m),w=a.SyntaxInterpreter=(o=n=function(){function a(a,b,c,d){this.parser=a,this.observerLocator=b,this.eventManager=c,this.attributeMap=d}return a.prototype.interpret=function(a,b,c,d,e){return c.command in this?this[c.command](a,b,c,d,e):this.handleUnknownCommand(a,b,c,d,e)},a.prototype.handleUnknownCommand=function(a,b,c,d,e){return r.getLogger("templating-binding").warn("Unknown binding command.",c),d},a.prototype.determineDefaultBindingMode=function(a,b,d){var e=a.tagName.toLowerCase();return"input"===e&&("value"===b||"files"===b)&&"checkbox"!==a.type&&"radio"!==a.type||"input"===e&&"checked"===b&&("checkbox"===a.type||"radio"===a.type)||("textarea"===e||"select"===e)&&"value"===b||("textcontent"===b||"innerhtml"===b)&&"true"===a.contentEditable||"scrolltop"===b||"scrollleft"===b?c.bindingMode.twoWay:d&&b in d.attributes&&d.attributes[b]&&d.attributes[b].defaultBindingMode>=c.bindingMode.oneTime?d.attributes[b].defaultBindingMode:c.bindingMode.oneWay},a.prototype.bind=function(a,b,e,f,g){var h=f||d.BehaviorInstruction.attribute(e.attrName);return h.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),e.defaultBindingMode||this.determineDefaultBindingMode(b,e.attrName,g),a.lookupFunctions),h},a.prototype.trigger=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),(!1),(!0),a.lookupFunctions)},a.prototype.delegate=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),(!0),(!0),a.lookupFunctions)},a.prototype.call=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.CallExpression(this.observerLocator,e.attrName,this.parser.parse(e.attrValue),a.lookupFunctions),g},a.prototype.options=function(a,b,c,e,f){var g=e||d.BehaviorInstruction.attribute(c.attrName),h=c.attrValue,i=this.language,j=null,k="",l=void 0,m=void 0,n=void 0,o=!1,p=!1;for(m=0,n=h.length;m<n;++m){if(l=h[m],";"!==l||o)if(":"===l&&null===j)j=k.trim(),k="";else{if("\\"===l){k+=l,p=!0;continue}k+=l,null!==j&&p===!1&&"'"===l&&(o=!o)}else c=i.inspectAttribute(a,"?",j,k.trim()),i.createAttributeInstruction(a,b,c,g,f),g.attributes[c.attrName]||(g.attributes[c.attrName]=c.attrValue),k="",j=null;p=!1}return null!==j&&(c=i.inspectAttribute(a,"?",j,k.trim()),i.createAttributeInstruction(a,b,c,g,f),g.attributes[c.attrName]||(g.attributes[c.attrName]=c.attrValue)),
+g},a.prototype["for"]=function(a,b,e,f){var g=void 0,h=void 0,i=void 0,j=void 0,k=void 0;if(j=e.attrValue,k=j.match(/^ *[[].+[\]]/),g=k?j.split("of "):j.split(" of "),2!==g.length)throw new Error('Incorrect syntax for "for". The form is: "$local of $items" or "[$key, $value] of $items".');return i=f||d.BehaviorInstruction.attribute(e.attrName),k?(h=g[0].replace(/[[\]]/g,"").replace(/,/g," ").replace(/\s+/g," ").trim().split(" "),i.attributes.key=h[0],i.attributes.value=h[1]):i.attributes.local=g[0],i.attributes.items=new c.BindingExpression(this.observerLocator,"items",this.parser.parse(g[1]),c.bindingMode.oneWay,a.lookupFunctions),i},a.prototype["two-way"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.twoWay,a.lookupFunctions),g},a.prototype["one-way"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.oneWay,a.lookupFunctions),g},a.prototype["one-time"]=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),c.bindingMode.oneTime,a.lookupFunctions),g},a}(),n.inject=[c.Parser,c.ObserverLocator,c.EventManager,s],o),x={},y=a.TemplatingBindingLanguage=(q=p=function(a){function b(b,c,d,e){var g=f(this,a.call(this));return g.parser=b,g.observerLocator=c,g.syntaxInterpreter=d,g.emptyStringExpression=g.parser.parse("''"),d.language=g,g.attributeMap=e,g}return g(b,a),b.prototype.inspectAttribute=function(a,b,d,e){var f=d.split(".");if(x.defaultBindingMode=null,2===f.length)x.attrName=f[0].trim(),x.attrValue=e,x.command=f[1].trim(),"ref"===x.command?(x.expression=new c.NameExpression(this.parser.parse(e),x.attrName,a.lookupFunctions),x.command=null,x.attrName="ref"):x.expression=null;else if("ref"===d)x.attrName=d,x.attrValue=e,x.command=null,x.expression=new c.NameExpression(this.parser.parse(e),"element",a.lookupFunctions);else{x.attrName=d,x.attrValue=e,x.command=null;var g=this.parseInterpolation(a,e);null===g?x.expression=null:x.expression=new t(this.observerLocator,this.attributeMap.map(b,d),g,c.bindingMode.oneWay,a.lookupFunctions,d)}return x},b.prototype.createAttributeInstruction=function(a,b,c,e,f){var g=void 0;if(c.expression){if("ref"===c.attrName)return c.expression;g=e||d.BehaviorInstruction.attribute(c.attrName),g.attributes[c.attrName]=c.expression}else c.command&&(g=this.syntaxInterpreter.interpret(a,b,c,e,f));return g},b.prototype.inspectTextContent=function(a,b){var d=this.parseInterpolation(a,b);return null===d?null:new t(this.observerLocator,"textContent",d,c.bindingMode.oneWay,a.lookupFunctions,"textContent")},b.prototype.parseInterpolation=function(a,b){for(var c=b.indexOf("${",0),d=b.length,e=void 0,f=0,g=0,h=null,i=void 0,j=void 0,k=0;c>=0&&c<d-2;){g=1,i=c,c+=2;do e=b[c],c++,"'"!==e&&'"'!==e?"\\"!==e?null===h&&("{"===e?g++:"}"===e&&g--):c++:null===h?h=e:h===e&&(h=null);while(g>0&&c<d);if(0!==g)break;j=j||[],"\\"===b[i-1]&&"\\"!==b[i-2]?(j[k]=b.substring(f,i-1)+b.substring(i,c),k++,j[k]=this.emptyStringExpression,k++):(j[k]=b.substring(f,i),k++,j[k]=this.parser.parse(b.substring(i+2,c-1)),k++),f=c,c=b.indexOf("${",c)}return 0===k?null:(j[k]=b.substr(f),j)},b}(d.BindingLanguage),p.inject=[c.Parser,c.ObserverLocator,w,s],q)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-binding@1.0.0.js",["npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/compose.js",["exports","aurelia-dependency-injection","aurelia-task-queue","aurelia-templating","aurelia-pal"],function(a,b,c,d,e){"use strict";function f(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function h(a,b){return Object.assign(b,{bindingContext:a.bindingContext,overrideContext:a.overrideContext,owningView:a.owningView,container:a.container,viewSlot:a.viewSlot,viewResources:a.viewResources,currentController:a.currentController,host:a.element})}function i(a,b){a.currentInstruction=null,a.compositionEngine.compose(b).then(function(b){a.currentController=b,a.currentViewModel=b?b.viewModel:null})}Object.defineProperty(a,"__esModule",{value:!0}),a.Compose=void 0;var j,k,l,m,n,o,p;a.Compose=(j=(0,d.customElement)("compose"),k=(0,b.inject)(e.DOM.Element,b.Container,d.CompositionEngine,d.ViewSlot,d.ViewResources,c.TaskQueue),j(l=(0,d.noView)(l=k((m=function(){function a(a,b,c,d,e,g){f(this,"model",n,this),f(this,"view",o,this),f(this,"viewModel",p,this),this.element=a,this.container=b,this.compositionEngine=c,this.viewSlot=d,this.viewResources=e,this.taskQueue=g,this.currentController=null,this.currentViewModel=null}return a.prototype.created=function(a){this.owningView=a},a.prototype.bind=function(a,b){this.bindingContext=a,this.overrideContext=b,i(this,h(this,{view:this.view,viewModel:this.viewModel,model:this.model}))},a.prototype.unbind=function(a,b){this.bindingContext=null,this.overrideContext=null;var c=!0,d=!0;this.viewSlot.removeAll(c,d)},a.prototype.modelChanged=function(a,b){var c=this;return this.currentInstruction?void(this.currentInstruction.model=a):void this.taskQueue.queueMicroTask(function(){if(c.currentInstruction)return void(c.currentInstruction.model=a);var b=c.currentViewModel;b&&"function"==typeof b.activate&&b.activate(a)})},a.prototype.viewChanged=function(a,b){var c=this,d=h(this,{view:a,viewModel:this.currentViewModel||this.viewModel,model:this.model});return this.currentInstruction?void(this.currentInstruction=d):(this.currentInstruction=d,void this.taskQueue.queueMicroTask(function(){return i(c,c.currentInstruction)}))},a.prototype.viewModelChanged=function(a,b){var c=this,d=h(this,{viewModel:a,view:this.view,model:this.model});return this.currentInstruction?void(this.currentInstruction=d):(this.currentInstruction=d,void this.taskQueue.queueMicroTask(function(){return i(c,c.currentInstruction)}))},a}(),n=g(m.prototype,"model",[d.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"view",[d.bindable],{enumerable:!0,initializer:null}),p=g(m.prototype,"viewModel",[d.bindable],{enumerable:!0,initializer:null}),l=m))||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/if.js",["exports","aurelia-templating","aurelia-dependency-injection"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.If=void 0;var d,e,f;a.If=(d=(0,b.customAttribute)("if"),e=(0,c.inject)(b.BoundViewFactory,b.ViewSlot),d(f=(0,b.templateController)(f=e(f=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.showing=!1,this.view=null,this.bindingContext=null,this.overrideContext=null}return a.prototype.bind=function(a,b){this.bindingContext=a,this.overrideContext=b,this.valueChanged(this.value)},a.prototype.valueChanged=function(a){var b=this;if(this.__queuedChanges)return void this.__queuedChanges.push(a);var c=this._runValueChanged(a);c instanceof Promise&&!function(){var a=b.__queuedChanges=[],d=function e(){if(!a.length)return void(b.__queuedChanges=void 0);var c=b._runValueChanged(a.shift())||Promise.resolve();c.then(e)};c.then(d)}()},a.prototype._runValueChanged=function(a){var b=this;if(!a){var c=void 0;return null!==this.view&&this.showing&&(c=this.viewSlot.remove(this.view),c instanceof Promise?c.then(function(){return b.view.unbind()}):this.view.unbind()),this.showing=!1,c}if(null===this.view&&(this.view=this.viewFactory.create()),this.view.isBound||this.view.bind(this.bindingContext,this.overrideContext),!this.showing)return this.showing=!0,this.viewSlot.add(this.view)},a.prototype.unbind=function(){null!==this.view&&(this.view.unbind(),this.viewFactory.isCaching&&(this.showing&&(this.showing=!1,this.viewSlot.remove(this.view,!0,!0)),this.view.returnToCache(),this.view=null))},a}())||f)||f)||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/with.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-binding"],function(a,b,c,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.With=void 0;var e,f,g;a.With=(e=(0,c.customAttribute)("with"),f=(0,b.inject)(c.BoundViewFactory,c.ViewSlot),e(g=(0,c.templateController)(g=f(g=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.parentOverrideContext=null,this.view=null}return a.prototype.bind=function(a,b){this.parentOverrideContext=b,this.valueChanged(this.value)},a.prototype.valueChanged=function(a){var b=(0,d.createOverrideContext)(a,this.parentOverrideContext);this.view?this.view.bind(a,b):(this.view=this.viewFactory.create(),this.view.bind(a,b),this.viewSlot.add(this.view))},a.prototype.unbind=function(){this.parentOverrideContext=null,this.view&&this.view.unbind()},a}())||g)||g)||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat.js",["exports","aurelia-dependency-injection","aurelia-binding","aurelia-templating","./repeat-strategy-locator","./repeat-utilities","./analyze-view-factory","./abstract-repeater"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function j(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function k(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function l(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Repeat=void 0;var m,n,o,p,q,r,s,t;a.Repeat=(m=(0,d.customAttribute)("repeat"),n=(0,b.inject)(d.BoundViewFactory,d.TargetInstruction,d.ViewSlot,d.ViewResources,c.ObserverLocator,e.RepeatStrategyLocator),m(o=(0,d.templateController)(o=n((p=function(a){function b(b,c,d,e,h,k){var l=j(this,a.call(this,{local:"item",viewsRequireLifecycle:(0,g.viewsRequireLifecycle)(b)}));return i(l,"items",q,l),i(l,"local",r,l),i(l,"key",s,l),i(l,"value",t,l),l.viewFactory=b,l.instruction=c,l.viewSlot=d,l.lookupFunctions=e.lookupFunctions,l.observerLocator=h,l.key="key",l.value="value",l.strategyLocator=k,l.ignoreMutation=!1,l.sourceExpression=(0,f.getItemsSourceExpression)(l.instruction,"repeat.for"),l.isOneTime=(0,f.isOneTime)(l.sourceExpression),l.viewsRequireLifecycle=(0,g.viewsRequireLifecycle)(b),l}return k(b,a),b.prototype.call=function(a,b){this[a](this.items,b)},b.prototype.bind=function(a,b){this.scope={bindingContext:a,overrideContext:b},this.matcherBinding=this._captureAndRemoveMatcherBinding(),this.itemsChanged()},b.prototype.unbind=function(){this.scope=null,this.items=null,this.matcherBinding=null,this.viewSlot.removeAll(!0),this._unsubscribeCollection()},b.prototype._unsubscribeCollection=function(){this.collectionObserver&&(this.collectionObserver.unsubscribe(this.callContext,this),this.collectionObserver=null,this.callContext=null)},b.prototype.itemsChanged=function(){if(this._unsubscribeCollection(),this.scope){var a=this.items;if(this.strategy=this.strategyLocator.getStrategy(a),!this.strategy)throw new Error("Value for '"+this.sourceExpression+"' is non-repeatable");this.isOneTime||this._observeInnerCollection()||this._observeCollection(),this.strategy.instanceChanged(this,a)}},b.prototype._getInnerCollection=function(){var a=(0,f.unwrapExpression)(this.sourceExpression);return a?a.evaluate(this.scope,null):null},b.prototype.handleCollectionMutated=function(a,b){this.collectionObserver&&this.strategy.instanceMutated(this,a,b)},b.prototype.handleInnerCollectionMutated=function(a,b){var c=this;if(this.collectionObserver&&!this.ignoreMutation){this.ignoreMutation=!0;var d=this.sourceExpression.evaluate(this.scope,this.lookupFunctions);this.observerLocator.taskQueue.queueMicroTask(function(){return c.ignoreMutation=!1}),d===this.items?this.itemsChanged():this.items=d}},b.prototype._observeInnerCollection=function(){var a=this._getInnerCollection(),b=this.strategyLocator.getStrategy(a);return!!b&&(this.collectionObserver=b.getCollectionObserver(this.observerLocator,a),!!this.collectionObserver&&(this.callContext="handleInnerCollectionMutated",this.collectionObserver.subscribe(this.callContext,this),!0))},b.prototype._observeCollection=function(){var a=this.items;this.collectionObserver=this.strategy.getCollectionObserver(this.observerLocator,a),this.collectionObserver&&(this.callContext="handleCollectionMutated",this.collectionObserver.subscribe(this.callContext,this))},b.prototype._captureAndRemoveMatcherBinding=function(){if(this.viewFactory.viewFactory)for(var a=this.viewFactory.viewFactory.instructions,b=Object.keys(a),c=0;c<b.length;c++){var d=a[b[c]].expressions;if(d)for(var e=0;c<d.length;c++)if("matcher"===d[e].targetProperty){var f=d[e];return d.splice(e,1),f}}},b.prototype.viewCount=function(){return this.viewSlot.children.length},b.prototype.views=function(){return this.viewSlot.children},b.prototype.view=function(a){return this.viewSlot.children[a]},b.prototype.matcher=function(){return this.matcherBinding?this.matcherBinding.sourceExpression.evaluate(this.scope,this.matcherBinding.lookupFunctions):null},b.prototype.addView=function(a,b){var c=this.viewFactory.create();c.bind(a,b),this.viewSlot.add(c)},b.prototype.insertView=function(a,b,c){var d=this.viewFactory.create();d.bind(b,c),this.viewSlot.insert(a,d)},b.prototype.moveView=function(a,b){this.viewSlot.move(a,b)},b.prototype.removeAllViews=function(a,b){return this.viewSlot.removeAll(a,b)},b.prototype.removeViews=function(a,b,c){return this.viewSlot.removeMany(a,b,c)},b.prototype.removeView=function(a,b,c){return this.viewSlot.removeAt(a,b,c)},b.prototype.updateBindings=function(a){for(var b=a.bindings.length;b--;)(0,f.updateOneTimeBinding)(a.bindings[b]);for(b=a.controllers.length;b--;)for(var c=a.controllers[b].boundProperties.length;c--;){var d=a.controllers[b].boundProperties[c].binding;(0,f.updateOneTimeBinding)(d)}},b}(h.AbstractRepeater),q=l(p.prototype,"items",[d.bindable],{enumerable:!0,initializer:null}),r=l(p.prototype,"local",[d.bindable],{enumerable:!0,initializer:null}),s=l(p.prototype,"key",[d.bindable],{enumerable:!0,initializer:null}),t=l(p.prototype,"value",[d.bindable],{enumerable:!0,initializer:null}),o=p))||o)||o)||o)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/show.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-pal","./aurelia-hide-style"],function(a,b,c,d,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Show=void 0;var f,g,h;a.Show=(f=(0,c.customAttribute)("show"),g=(0,b.inject)(d.DOM.Element,c.Animator,b.Optional.of(d.DOM.boundary,!0)),f(h=g(h=function(){function a(a,b,c){this.element=a,this.animator=b,this.domBoundary=c}return a.prototype.created=function(){(0,e.injectAureliaHideStyleAtBoundary)(this.domBoundary)},a.prototype.valueChanged=function(a){a?this.animator.removeClass(this.element,e.aureliaHideClassName):this.animator.addClass(this.element,e.aureliaHideClassName)},a.prototype.bind=function(a){this.valueChanged(this.value)},a}())||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/hide.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-pal","./aurelia-hide-style"],function(a,b,c,d,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Hide=void 0;var f,g,h;a.Hide=(f=(0,c.customAttribute)("hide"),g=(0,b.inject)(d.DOM.Element,c.Animator,b.Optional.of(d.DOM.boundary,!0)),f(h=g(h=function(){function a(a,b,c){this.element=a,this.animator=b,this.domBoundary=c}return a.prototype.created=function(){(0,e.injectAureliaHideStyleAtBoundary)(this.domBoundary)},a.prototype.valueChanged=function(a){a?this.animator.addClass(this.element,e.aureliaHideClassName):this.animator.removeClass(this.element,e.aureliaHideClassName)},a.prototype.bind=function(a){this.valueChanged(this.value)},a}())||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/sanitize-html.js",["exports","aurelia-binding","aurelia-dependency-injection","./html-sanitizer"],function(a,b,c,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SanitizeHTMLValueConverter=void 0;var e,f,g;a.SanitizeHTMLValueConverter=(e=(0,b.valueConverter)("sanitizeHTML"),f=(0,c.inject)(d.HTMLSanitizer),e(g=f(g=function(){function a(a){this.sanitizer=a}return a.prototype.toView=function(a){return null===a||void 0===a?null:this.sanitizer.sanitize(a)},a}())||g)||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/replaceable.js",["exports","aurelia-dependency-injection","aurelia-templating"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Replaceable=void 0;var d,e,f;a.Replaceable=(d=(0,c.customAttribute)("replaceable"),e=(0,b.inject)(c.BoundViewFactory,c.ViewSlot),d(f=(0,c.templateController)(f=e(f=function(){function a(a,b){this.viewFactory=a,this.viewSlot=b,this.view=null}return a.prototype.bind=function(a,b){null===this.view&&(this.view=this.viewFactory.create(),this.viewSlot.add(this.view)),this.view.bind(a,b)},a.prototype.unbind=function(){this.view.unbind()},a}())||f)||f)||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/focus.js",["exports","aurelia-templating","aurelia-binding","aurelia-dependency-injection","aurelia-task-queue","aurelia-pal"],function(a,b,c,d,e,f){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Focus=void 0;var g,h,i;a.Focus=(g=(0,b.customAttribute)("focus",c.bindingMode.twoWay),h=(0,d.inject)(f.DOM.Element,e.TaskQueue),g(i=h(i=function(){function a(a,b){var c=this;this.element=a,this.taskQueue=b,this.isAttached=!1,this.needsApply=!1,this.focusListener=function(a){c.value=!0},this.blurListener=function(a){f.DOM.activeElement!==c.element&&(c.value=!1)}}return a.prototype.valueChanged=function(a){this.isAttached?this._apply():this.needsApply=!0},a.prototype._apply=function(){var a=this;this.value?this.taskQueue.queueMicroTask(function(){a.value&&a.element.focus()}):this.element.blur()},a.prototype.attached=function(){this.isAttached=!0,this.needsApply&&(this.needsApply=!1,this._apply()),this.element.addEventListener("focus",this.focusListener),this.element.addEventListener("blur",this.blurListener)},a.prototype.detached=function(){this.isAttached=!1,this.element.removeEventListener("focus",this.focusListener),this.element.removeEventListener("blur",this.blurListener)},a}())||i)||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/css-resource.js",["exports","aurelia-templating","aurelia-loader","aurelia-dependency-injection","aurelia-path","aurelia-pal"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a,b){if("string"!=typeof b)throw new Error("Failed loading required CSS file: "+a);return b.replace(k,function(b,c){var d=c.charAt(0);return"'"!==d&&'"'!==d||(c=c.substr(1,c.length-2)),"url('"+(0,e.relativeToFile)(c,a)+"')"})}function j(a){var c,d,e=(c=(0,b.resource)(new l(a)),c(d=function(a){function b(){return g(this,a.apply(this,arguments))}return h(b,a),b}(m))||d);return e}Object.defineProperty(a,"__esModule",{value:!0}),a._createCSSResource=j;var k=/url\((?!['"]data)([^)]+)\)/gi,l=function(){function a(a){this.address=a,this._scoped=null,this._global=!1,this._alreadyGloballyInjected=!1}return a.prototype.initialize=function(a,b){this._scoped=new b(this)},a.prototype.register=function(a,b){"scoped"===b?a.registerViewEngineHooks(this._scoped):this._global=!0},a.prototype.load=function(a){var b=this;return a.get(c.Loader).loadText(this.address)["catch"](function(a){return null}).then(function(a){a=i(b.address,a),b._scoped.css=a,b._global&&(b._alreadyGloballyInjected=!0,f.DOM.injectStyles(a))})},a}(),m=function(){function a(a){this.owner=a,this.css=null}return a.prototype.beforeCompile=function(a,b,c){if(c.targetShadowDOM)f.DOM.injectStyles(this.css,a,!0);else if(f.FEATURE.scopedCSS){var d=f.DOM.injectStyles(this.css,a,!0);d.setAttribute("scoped","scoped")}else this.owner._alreadyGloballyInjected||(f.DOM.injectStyles(this.css),this.owner._alreadyGloballyInjected=!0)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/html-sanitizer.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;a.HTMLSanitizer=function(){function a(){}return a.prototype.sanitize=function(a){return a.replace(b,"")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.AttrBindingBehavior=void 0;a.AttrBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,c){a.targetObserver=new b.DataAttributeObserver(a.target,a.targetProperty)},a.prototype.unbind=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js",["exports","aurelia-binding","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=void 0;var d,e,f,g,h,i,j={bind:function(a,b,c){a.originalMode=a.mode,a.mode=this.mode},unbind:function(a,b){a.mode=a.originalMode,a.originalMode=null}};a.OneTimeBindingBehavior=(d=(0,c.mixin)(j),d(e=function(){this.mode=b.bindingMode.oneTime})||e),a.OneWayBindingBehavior=(f=(0,c.mixin)(j),f(g=function(){this.mode=b.bindingMode.oneWay})||g),a.TwoWayBindingBehavior=(h=(0,c.mixin)(j),h(i=function(){this.mode=b.bindingMode.twoWay})||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.throttleState,d=+new Date-c.last;return d>=c.delay?(clearTimeout(c.timeoutId),c.timeoutId=null,c.last=+new Date,void this.throttledMethod(a)):(c.newValue=a,void(null===c.timeoutId&&(c.timeoutId=setTimeout(function(){c.timeoutId=null,c.last=+new Date,b.throttledMethod(c.newValue)},c.delay-d))))}Object.defineProperty(a,"__esModule",{value:!0}),a.ThrottleBindingBehavior=void 0;a.ThrottleBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length<=2||void 0===arguments[2]?200:arguments[2],f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.throttledMethod=a[f],a.throttledMethod.originalName=f,a[f]=c,a.throttleState={delay:e,last:0,timeoutId:null}},a.prototype.unbind=function(a,b){var c=a.throttledMethod.originalName;a[c]=a.throttledMethod,a.throttledMethod=null,clearTimeout(a.throttleState.timeoutId),a.throttleState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.debounceState;return c.immediate?(c.immediate=!1,void this.debouncedMethod(a)):(clearTimeout(c.timeoutId),void(c.timeoutId=setTimeout(function(){return b.debouncedMethod(a)},c.delay)))}Object.defineProperty(a,"__esModule",{value:!0}),a.DebounceBindingBehavior=void 0;a.DebounceBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length<=2||void 0===arguments[2]?200:arguments[2],f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.debouncedMethod=a[f],a.debouncedMethod.originalName=f,a[f]=c,a.debounceState={delay:e,timeoutId:null,immediate:"updateTarget"===f}},a.prototype.unbind=function(a,b){var c=a.debouncedMethod.originalName;a[c]=a.debouncedMethod,a.debouncedMethod=null,clearTimeout(a.debounceState.timeoutId),a.debounceState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js",["exports","./binding-signaler"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SignalBindingBehavior=void 0;a.SignalBindingBehavior=function(){function a(a){this.signals=a.signals}return a.inject=function(){return[b.BindingSignaler]},a.prototype.bind=function(a,b){if(!a.updateTarget)throw new Error("Only property bindings and string interpolation bindings can be signaled. Trigger, delegate and call bindings cannot be signaled.");if(3===arguments.length){var c=arguments[2],d=this.signals[c]||(this.signals[c]=[]);d.push(a),a.signalName=c}else{if(!(arguments.length>3))throw new Error("Signal name is required.");for(var e=Array.prototype.slice.call(arguments,2),f=e.length;f--;){var g=e[f],h=this.signals[g]||(this.signals[g]=[]);h.push(a)}a.signalName=e}},a.prototype.unbind=function(a,b){var c=a.signalName;if(a.signalName=null,Array.isArray(c))for(var d=c,e=d.length;e--;){var f=d[e],g=this.signals[f];g.splice(g.indexOf(a),1)}else{var h=this.signals[c];h.splice(h.indexOf(a),1)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/binding-signaler.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.BindingSignaler=void 0;a.BindingSignaler=function(){function a(){this.signals={}}return a.prototype.signal=function(a){var c=this.signals[a];if(c)for(var d=c.length;d--;)c[d].call(b.sourceContext)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.UpdateTriggerBindingBehavior=void 0;var c,d,e="The updateTrigger binding behavior requires at least one event name argument: eg <input value.bind=\"firstName & updateTrigger:'blur'\">",f="The updateTrigger binding behavior can only be applied to two-way bindings on input/select elements.";a.UpdateTriggerBindingBehavior=(d=c=function(){function a(a){this.eventManager=a}return a.prototype.bind=function(a,c){for(var d=arguments.length,g=Array(d>2?d-2:0),h=2;h<d;h++)g[h-2]=arguments[h];if(0===g.length)throw new Error(e);if(a.mode!==b.bindingMode.twoWay)throw new Error(f);var i=a.observerLocator.getObserver(a.target,a.targetProperty);if(!i.handler)throw new Error(f);a.targetObserver=i,i.originalHandler=a.targetObserver.handler;var j=this.eventManager.createElementHandler(g);i.handler=j},a.prototype.unbind=function(a,b){a.targetObserver.handler=a.targetObserver.originalHandler,a.targetObserver.originalHandler=null},a}(),c.inject=[b.EventManager],d)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/abstract-repeater.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.AbstractRepeater=function(){function a(a){Object.assign(this,{local:"items",viewsRequireLifecycle:!0},a)}return a.prototype.viewCount=function(){throw new Error("subclass must implement `viewCount`")},a.prototype.views=function(){throw new Error("subclass must implement `views`")},a.prototype.view=function(a){throw new Error("subclass must implement `view`")},a.prototype.matcher=function(){throw new Error("subclass must implement `matcher`")},a.prototype.addView=function(a,b){throw new Error("subclass must implement `addView`")},a.prototype.insertView=function(a,b,c){throw new Error("subclass must implement `insertView`")},a.prototype.moveView=function(a,b){throw new Error("subclass must implement `moveView`")},a.prototype.removeAllViews=function(a,b){throw new Error("subclass must implement `removeAllViews`")},a.prototype.removeViews=function(a,b,c){throw new Error("subclass must implement `removeView`")},a.prototype.removeView=function(a,b,c){throw new Error("subclass must implement `removeView`")},a.prototype.updateBindings=function(a){throw new Error("subclass must implement `updateBindings`")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js",["exports","./null-repeat-strategy","./array-repeat-strategy","./map-repeat-strategy","./set-repeat-strategy","./number-repeat-strategy"],function(a,b,c,d,e,f){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.RepeatStrategyLocator=void 0;a.RepeatStrategyLocator=function(){function a(){this.matchers=[],this.strategies=[],this.addStrategy(function(a){return null===a||void 0===a},new b.NullRepeatStrategy),this.addStrategy(function(a){return a instanceof Array},new c.ArrayRepeatStrategy),this.addStrategy(function(a){return a instanceof Map},new d.MapRepeatStrategy),this.addStrategy(function(a){return a instanceof Set},new e.SetRepeatStrategy),this.addStrategy(function(a){return"number"==typeof a},new f.NumberRepeatStrategy)}return a.prototype.addStrategy=function(a,b){this.matchers.push(a),this.strategies.push(b)},a.prototype.getStrategy=function(a){for(var b=this.matchers,c=0,d=b.length;c<d;++c)if(b[c](a))return this.strategies[c];return null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/dynamic-element.js",["exports","aurelia-templating"],function(a,b){"use strict";function c(a,c,d){for(var e,f,g,h=(e=(0,b.customElement)(a),f=(0,b.useView)(c),e(g=f(g=function(){function a(){}return a.prototype.bind=function(a){this.$parent=a},a}())||g)||g),i=0,j=d.length;i<j;++i)(0,b.bindable)(d[i])(h);return h}Object.defineProperty(a,"__esModule",{value:!0}),a._createDynamicElement=c})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js",["exports","aurelia-templating","./dynamic-element"],function(a,b,c){"use strict";function d(a){return/([^\/^\?]+)\.html/i.exec(a)[1].toLowerCase()}function e(a){var e=a.container.get(b.ViewEngine),f=a.aurelia.loader;e.addResourcePlugin(".html",{fetch:function(a){return f.loadTemplate(a).then(function(b){var e,f=b.template.getAttribute("bindable"),g=d(a);return f?(f=f.split(",").map(function(a){return a.trim()}),b.template.removeAttribute("bindable")):f=[],e={},e[g]=(0,
+c._createDynamicElement)(g,a,f),e})}})}Object.defineProperty(a,"__esModule",{value:!0}),a.getElementName=d,a.configure=e})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.NullRepeatStrategy=function(){function a(){}return a.prototype.instanceChanged=function(a,b){a.removeAllViews(!0)},a.prototype.getCollectionObserver=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js",["exports","./repeat-utilities","aurelia-binding"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.ArrayRepeatStrategy=void 0;a.ArrayRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getArrayObserver(b)},a.prototype.instanceChanged=function(a,c){var d=this,e=c.length;if(!c||0===e)return void a.removeAllViews(!0,!a.viewsRequireLifecycle);var f=a.views(),g=f.length;return 0===g?void this._standardProcessInstanceChanged(a,c):void(a.viewsRequireLifecycle?!function(){for(var h=f.slice(0),i=a.local,j=a.matcher(),k=[],l=[],m=0;m<g;m++){var n=h[m],o=n.bindingContext[i];(0,b.indexOf)(c,o,j)===-1?l.push(n):k.push(o)}var p=void 0,q=void 0;k.length>0?(q=a.removeViews(l,!0,!a.viewsRequireLifecycle),p=function(){for(var g=0;g<e;g++){var h=c[g],i=(0,b.indexOf)(k,h,j,g),l=void 0;if(i===-1){var m=(0,b.createFullOverrideContext)(a,c[g],g,e);a.insertView(g,m.bindingContext,m),k.splice(g,0,void 0)}else i===g?(l=f[i],k[i]=void 0):(l=f[i],a.moveView(i,g),k.splice(i,1),k.splice(g,0,void 0));l&&(0,b.updateOverrideContext)(l.overrideContext,g,e)}d._inPlaceProcessItems(a,c)}):(q=a.removeAllViews(!0,!a.viewsRequireLifecycle),p=function(){return d._standardProcessInstanceChanged(a,c)}),q instanceof Promise?q.then(p):p()}():this._inPlaceProcessItems(a,c))},a.prototype._standardProcessInstanceChanged=function(a,c){for(var d=0,e=c.length;d<e;d++){var f=(0,b.createFullOverrideContext)(a,c[d],d,e);a.addView(f.bindingContext,f)}},a.prototype._inPlaceProcessItems=function(a,c){for(var d=c.length,e=a.viewCount();e>d;)e--,a.removeView(e,!0,!a.viewsRequireLifecycle);for(var f=a.local,g=0;g<e;g++){var h=a.view(g),i=g===d-1,j=0!==g&&!i;h.bindingContext[f]===c[g]&&h.overrideContext.$middle===j&&h.overrideContext.$last===i||(h.bindingContext[f]=c[g],h.overrideContext.$middle=j,h.overrideContext.$last=i,a.updateBindings(h))}for(var k=e;k<d;k++){var l=(0,b.createFullOverrideContext)(a,c[k],k,d);a.addView(l.bindingContext,l)}},a.prototype.instanceMutated=function(a,b,d){var e=this;if(a.__queuedSplices){for(var f=0,g=d.length;f<g;++f){var h=d[f],i=h.index,j=h.removed,k=h.addedCount;(0,c.mergeSplice)(a.__queuedSplices,i,j,k)}return void(a.__array=b.slice(0))}var l=this._runSplices(a,b.slice(0),d);l instanceof Promise&&!function(){var b=a.__queuedSplices=[],c=function d(){if(!b.length)return a.__queuedSplices=void 0,void(a.__array=void 0);var c=e._runSplices(a,a.__array,b)||Promise.resolve();b=a.__queuedSplices=[],c.then(d)};l.then(c)}()},a.prototype._runSplices=function(a,c,d){for(var e=this,f=0,g=[],h=0,i=d.length;h<i;++h){for(var j=d[h],k=j.removed,l=0,m=k.length;l<m;++l){var n=a.removeView(j.index+f+g.length,!0);n instanceof Promise&&g.push(n)}f-=j.addedCount}if(g.length>0)return Promise.all(g).then(function(){var f=e._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),f)});var o=this._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),o)},a.prototype._handleAddedSplices=function(a,c,d){for(var e=void 0,f=void 0,g=c.length,h=0,i=d.length;h<i;++h){var j=d[h],k=e=j.index,l=j.index+j.addedCount;for(("undefined"==typeof f||null===f||f>j.index)&&(f=e);k<l;++k){var m=(0,b.createFullOverrideContext)(a,c[k],k,g);a.insertView(k,m.bindingContext,m)}}return f},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.MapRepeatStrategy=void 0;a.MapRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getMapObserver(b)},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=0,e=void 0;c.forEach(function(f,g){e=(0,b.createFullOverrideContext)(a,f,d,c.size,g),a.addView(e.bindingContext,e),++d})},a.prototype.instanceMutated=function(a,c,d){var e=void 0,f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=[],l=void 0;for(f=0,g=d.length;f<g;++f)switch(j=d[f],e=j.key,j.type){case"update":i=this._getViewIndexByKey(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l),h=(0,b.createFullOverrideContext)(a,c.get(e),i,c.size,e),a.insertView(i,h.bindingContext,h);break;case"add":h=(0,b.createFullOverrideContext)(a,c.get(e),c.size-1,c.size,e),a.insertView(c.size-1,h.bindingContext,h);break;case"delete":if(void 0===j.oldValue)return;i=this._getViewIndexByKey(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l);break;case"clear":a.removeAllViews(!0,!a.viewsRequireLifecycle);break;default:continue}k.length>0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByKey=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c<d;++c)if(e=a.view(c),e.bindingContext[a.key]===b)return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SetRepeatStrategy=void 0;a.SetRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(a,b){return a.getSetObserver(b)},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=0,e=void 0;c.forEach(function(f){e=(0,b.createFullOverrideContext)(a,f,d,c.size),a.addView(e.bindingContext,e),++d})},a.prototype.instanceMutated=function(a,c,d){var e=void 0,f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=[],l=void 0;for(f=0,g=d.length;f<g;++f)switch(j=d[f],e=j.value,j.type){case"add":h=(0,b.createFullOverrideContext)(a,e,c.size-1,c.size),a.insertView(c.size-1,h.bindingContext,h);break;case"delete":i=this._getViewIndexByValue(a,e),l=a.removeView(i,!0,!a.viewsRequireLifecycle),l instanceof Promise&&k.push(l);break;case"clear":a.removeAllViews(!0,!a.viewsRequireLifecycle);break;default:continue}k.length>0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByValue=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c<d;++c)if(e=a.view(c),e.bindingContext[a.local]===b)return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js",["exports","./repeat-utilities"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.NumberRepeatStrategy=void 0;a.NumberRepeatStrategy=function(){function a(){}return a.prototype.getCollectionObserver=function(){return null},a.prototype.instanceChanged=function(a,b){var c=this,d=a.removeAllViews(!0,!a.viewsRequireLifecycle);return d instanceof Promise?void d.then(function(){return c._standardProcessItems(a,b)}):void this._standardProcessItems(a,b)},a.prototype._standardProcessItems=function(a,c){var d=a.viewCount(),e=void 0,f=void 0,g=void 0,h=void 0;if(c=Math.floor(c),h=d-c,h>0)for(h>d&&(h=d),e=0,f=h;e<f;++e)a.removeView(d-(e+1),!0,!a.viewsRequireLifecycle);else{for(e=d,f=c;e<f;++e)g=(0,b.createFullOverrideContext)(a,e,e,f),a.addView(g.bindingContext,g);(0,b.updateOverrideContexts)(a.views(),0)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/repeat-utilities.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a,b){var c=a.length;for(b>0&&(b-=1);b<c;++b)e(a[b].overrideContext,b,c)}function d(a,c,d,f,g){var h={},i=(0,b.createOverrideContext)(h,a.scope.overrideContext);return"undefined"!=typeof g?(h[a.key]=g,h[a.value]=c):h[a.local]=c,e(i,d,f),i}function e(a,b,c){var d=0===b,e=b===c-1,f=b%2===0;a.$index=b,a.$first=d,a.$last=e,a.$middle=!(d||e),a.$odd=!f,a.$even=f}function f(a,b){return a.behaviorInstructions.filter(function(a){return a.originalAttrName===b})[0].attributes.items.sourceExpression}function g(a){for(var c=!1;a instanceof b.BindingBehavior;)a=a.expression;for(;a instanceof b.ValueConverter;)a=a.expression,c=!0;return c?a:null}function h(a){for(;a instanceof b.BindingBehavior;){if("oneTime"===a.name)return!0;a=a.expression}return!1}function i(a){a.call&&a.mode===k?a.call(b.sourceContext):a.updateOneTimeBindings&&a.updateOneTimeBindings()}function j(a,b,c,d){if(!c)return a.indexOf(b);for(var e=a.length,f=d||0;f<e;f++)if(c(a[f],b))return f;return-1}Object.defineProperty(a,"__esModule",{value:!0}),a.updateOverrideContexts=c,a.createFullOverrideContext=d,a.updateOverrideContext=e,a.getItemsSourceExpression=f,a.unwrapExpression=g,a.isOneTime=h,a.updateOneTimeBinding=i,a.indexOf=j;var k=b.bindingMode.oneTime})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js",["exports"],function(a){"use strict";function b(a){var b=a.type,c=null!==b.elementName?b.elementName:b.attributeName;return e.indexOf(c)===-1&&(b.handlesAttached||b.handlesBind||b.handlesCreated||b.handlesDetached||b.handlesUnbind)||b.viewFactory&&d(b.viewFactory)||a.viewFactory&&d(a.viewFactory)}function c(a){var c=a.behaviorInstructions;if(c)for(var e=c.length;e--;)if(b(c[e]))return!0;return a.viewFactory&&d(a.viewFactory)}function d(a){if("_viewsRequireLifecycle"in a)return a._viewsRequireLifecycle;if(a._viewsRequireLifecycle=!1,a.viewFactory)return a._viewsRequireLifecycle=d(a.viewFactory),a._viewsRequireLifecycle;if(a.template.querySelector(".au-animate"))return a._viewsRequireLifecycle=!0,!0;for(var b in a.instructions)if(c(a.instructions[b]))return a._viewsRequireLifecycle=!0,!0;return a._viewsRequireLifecycle=!1,!1}Object.defineProperty(a,"__esModule",{value:!0}),a.viewsRequireLifecycle=d;var e=a.lifecycleOptionalBehaviors=["focus","if","repeat","show","with"]})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){b.DOM.injectStyles(f)}function d(a){b.FEATURE.shadowDOM&&a&&!a.hasAureliaHideStyle&&(a.hasAureliaHideStyle=!0,b.DOM.injectStyles(f,a))}Object.defineProperty(a,"__esModule",{value:!0}),a.aureliaHideClassName=void 0,a.injectAureliaHideStyleAtHead=c,a.injectAureliaHideStyleAtBoundary=d;var e=a.aureliaHideClassName="aurelia-hide",f="."+e+" { display:none !important; }"})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js",["exports","./compose","./if","./with","./repeat","./show","./hide","./sanitize-html","./replaceable","./focus","aurelia-templating","./css-resource","./html-sanitizer","./attr-binding-behavior","./binding-mode-behaviors","./throttle-binding-behavior","./debounce-binding-behavior","./signal-binding-behavior","./binding-signaler","./update-trigger-binding-behavior","./abstract-repeater","./repeat-strategy-locator","./html-resource-plugin","./null-repeat-strategy","./array-repeat-strategy","./map-repeat-strategy","./set-repeat-strategy","./number-repeat-strategy","./repeat-utilities","./analyze-view-factory","./aurelia-hide-style"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E){"use strict";function F(a){(0,E.injectAureliaHideStyleAtHead)(),a.globalResources("./compose","./if","./with","./repeat","./show","./hide","./replaceable","./sanitize-html","./focus","./binding-mode-behaviors","./throttle-binding-behavior","./debounce-binding-behavior","./signal-binding-behavior","./update-trigger-binding-behavior","./attr-binding-behavior"),(0,w.configure)(a);var b=a.container.get(k.ViewEngine);b.addResourcePlugin(".css",{fetch:function(a){var b;return b={},b[a]=(0,l._createCSSResource)(a),b}})}Object.defineProperty(a,"__esModule",{value:!0}),a.viewsRequireLifecycle=a.unwrapExpression=a.updateOneTimeBinding=a.isOneTime=a.getItemsSourceExpression=a.updateOverrideContext=a.createFullOverrideContext=a.NumberRepeatStrategy=a.SetRepeatStrategy=a.MapRepeatStrategy=a.ArrayRepeatStrategy=a.NullRepeatStrategy=a.RepeatStrategyLocator=a.AbstractRepeater=a.UpdateTriggerBindingBehavior=a.BindingSignaler=a.SignalBindingBehavior=a.DebounceBindingBehavior=a.ThrottleBindingBehavior=a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=a.AttrBindingBehavior=a.configure=a.Focus=a.Replaceable=a.SanitizeHTMLValueConverter=a.HTMLSanitizer=a.Hide=a.Show=a.Repeat=a.With=a.If=a.Compose=void 0,a.Compose=b.Compose,a.If=c.If,a.With=d.With,a.Repeat=e.Repeat,a.Show=f.Show,a.Hide=g.Hide,a.HTMLSanitizer=m.HTMLSanitizer,a.SanitizeHTMLValueConverter=h.SanitizeHTMLValueConverter,a.Replaceable=i.Replaceable,a.Focus=j.Focus,a.configure=F,a.AttrBindingBehavior=n.AttrBindingBehavior,a.OneTimeBindingBehavior=o.OneTimeBindingBehavior,a.OneWayBindingBehavior=o.OneWayBindingBehavior,a.TwoWayBindingBehavior=o.TwoWayBindingBehavior,a.ThrottleBindingBehavior=p.ThrottleBindingBehavior,a.DebounceBindingBehavior=q.DebounceBindingBehavior,a.SignalBindingBehavior=r.SignalBindingBehavior,a.BindingSignaler=s.BindingSignaler,a.UpdateTriggerBindingBehavior=t.UpdateTriggerBindingBehavior,a.AbstractRepeater=u.AbstractRepeater,a.RepeatStrategyLocator=v.RepeatStrategyLocator,a.NullRepeatStrategy=x.NullRepeatStrategy,a.ArrayRepeatStrategy=y.ArrayRepeatStrategy,a.MapRepeatStrategy=z.MapRepeatStrategy,a.SetRepeatStrategy=A.SetRepeatStrategy,a.NumberRepeatStrategy=B.NumberRepeatStrategy,a.createFullOverrideContext=C.createFullOverrideContext,a.updateOverrideContext=C.updateOverrideContext,a.getItemsSourceExpression=C.getItemsSourceExpression,a.isOneTime=C.isOneTime,a.updateOneTimeBinding=C.updateOneTimeBinding,a.unwrapExpression=C.unwrapExpression,a.viewsRequireLifecycle=D.viewsRequireLifecycle})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.1.1.js",["npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/route-loader.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-router","aurelia-path","aurelia-metadata"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingRouteLoader=void 0;var i,j;a.TemplatingRouteLoader=(i=(0,b.inject)(c.CompositionEngine),i(j=function(a){function b(b){var c=g(this,a.call(this));return c.compositionEngine=b,c}return h(b,a),b.prototype.loadRoute=function(a,b){var c=a.container.createChild(),g={viewModel:(0,e.relativeToFile)(b.moduleId,f.Origin.get(a.container.viewModel.constructor).moduleId),childContainer:c,view:b.view||b.viewStrategy,router:a};return c.getChildRouter=function(){var b=void 0;return c.registerHandler(d.Router,function(d){return b||(b=a.createChild(c))}),c.get(d.Router)},this.compositionEngine.ensureViewModel(g)},b}(d.RouteLoader))||j)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/router-view.js",["exports","aurelia-dependency-injection","aurelia-templating","aurelia-router","aurelia-metadata","aurelia-pal"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.RouterView=void 0;var i,j,k,l,m,n,o,p,q=function(){function a(){}return a.prototype.before=function(a,b,c){var d=Promise.resolve(c());return void 0!==b?d.then(function(){return a.remove(b,!0)}):d},a.prototype["with"]=function(a,b,c){var d=Promise.resolve(c());return void 0!==b?Promise.all([a.remove(b,!0),d]):d},a.prototype.after=function(a,b,c){return Promise.resolve(a.removeAll(!0)).then(c)},a}(),r=new q;a.RouterView=(i=(0,c.customElement)("router-view"),j=(0,b.inject)(f.DOM.Element,b.Container,c.ViewSlot,d.Router,c.ViewLocator,c.CompositionTransaction,c.CompositionEngine),i(k=(0,c.noView)(k=j((l=function(){function a(a,b,c,d,e,f,h){g(this,"swapOrder",m,this),g(this,"layoutView",n,this),g(this,"layoutViewModel",o,this),g(this,"layoutModel",p,this),this.element=a,this.container=b,this.viewSlot=c,this.router=d,this.viewLocator=e,this.compositionTransaction=f,this.compositionEngine=h,this.router.registerViewPort(this,this.element.getAttribute("name")),"initialComposition"in f||(f.initialComposition=!0,this.compositionTransactionNotifier=f.enlist())}return a.prototype.created=function(a){this.owningView=a},a.prototype.bind=function(a,b){this.container.viewModel=a,this.overrideContext=b},a.prototype.process=function(a,b){var d=this,f=a.component,g=f.childContainer,h=f.viewModel,i=f.viewModelResource,j=i.metadata,k=f.router.currentInstruction.config,l=k.viewPorts?k.viewPorts[a.name]:{},m={viewModel:l.layoutViewModel||k.layoutViewModel||this.layoutViewModel,view:l.layoutView||k.layoutView||this.layoutView,model:l.layoutModel||k.layoutModel||this.layoutModel,router:a.component.router,childContainer:g,viewSlot:this.viewSlot},n=this.viewLocator.getViewStrategy(f.view||h);return n&&f.view&&n.makeRelativeTo(e.Origin.get(f.router.container.viewModel.constructor).moduleId),j.load(g,i.value,null,n,!0).then(function(e){d.compositionTransactionNotifier||(d.compositionTransactionOwnershipToken=d.compositionTransaction.tryCapture()),(m.viewModel||m.view)&&(a.layoutInstruction=m),a.controller=j.create(g,c.BehaviorInstruction.dynamic(d.element,h,e)),b||d.swap(a)})},a.prototype.swap=function(a){var b=this,d=function(){var d=b.view,e=void 0,f=b.viewSlot,g=a.layoutInstruction;(e=b.swapOrder in r?r[b.swapOrder]:r.after)(f,d,function(){var d=void 0;return g?(g.viewModel||(g.viewModel={}),d=b.compositionEngine.createController(g).then(function(b){return c.ShadowDOM.distributeView(a.controller.view,b.slots||b.view.slots),b.view||b})):d=Promise.resolve(a.controller.view),d.then(function(a){return b.view=a,f.add(a)}).then(function(){b._notify()})})};return a.controller.automate(this.overrideContext,this.owningView),this.compositionTransactionOwnershipToken?this.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function(){return b.compositionTransactionOwnershipToken=null,d()}):d()},a.prototype._notify=function(){this.compositionTransactionNotifier&&(this.compositionTransactionNotifier.done(),this.compositionTransactionNotifier=null)},a}(),m=h(l.prototype,"swapOrder",[c.bindable],{enumerable:!0,initializer:null}),n=h(l.prototype,"layoutView",[c.bindable],{enumerable:!0,initializer:null}),o=h(l.prototype,"layoutViewModel",[c.bindable],{enumerable:!0,initializer:null}),p=h(l.prototype,"layoutModel",[c.bindable],{enumerable:!0,initializer:null}),k=l))||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0/aurelia-loader.js",["exports","aurelia-path","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Loader=a.TemplateRegistryEntry=a.TemplateDependency=void 0;var d=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),e=a.TemplateDependency=function(a,b){this.src=a,this.name=b},f=a.TemplateRegistryEntry=function(){function a(a){this.templateIsLoaded=!1,this.factoryIsReady=!1,this.resources=null,this.dependencies=null,this.address=a,this.onReady=null,this._template=null,this._factory=null}return a.prototype.addDependency=function(a,d){var f="string"==typeof a?(0,b.relativeToFile)(a,this.address):c.Origin.get(a).moduleId;this.dependencies.push(new e(f,d))},d(a,[{key:"template",get:function(){return this._template},set:function(a){var c=this.address,d=void 0,f=void 0,g=void 0,h=void 0;this._template=a,this.templateIsLoaded=!0,d=a.content.querySelectorAll("require"),h=this.dependencies=new Array(d.length);for(var i=0,j=d.length;i<j;++i){if(f=d[i],g=f.getAttribute("from"),!g)throw new Error("<require> element in "+c+' has no "from" attribute.');h[i]=new e((0,b.relativeToFile)(g,c),f.getAttribute("as")),f.parentNode&&f.parentNode.removeChild(f)}}},{key:"factory",get:function(){return this._factory},set:function(a){this._factory=a,this.factoryIsReady=!0}}]),a}();a.Loader=function(){function a(){this.templateRegistry={}}return a.prototype.map=function(a,b){throw new Error("Loaders must implement map(id, source).")},a.prototype.normalizeSync=function(a,b){throw new Error("Loaders must implement normalizeSync(moduleId, relativeTo).")},a.prototype.normalize=function(a,b){throw new Error("Loaders must implement normalize(moduleId: string, relativeTo: string): Promise<string>.")},a.prototype.loadModule=function(a){throw new Error("Loaders must implement loadModule(id).")},a.prototype.loadAllModules=function(a){throw new Error("Loader must implement loadAllModules(ids).")},a.prototype.loadTemplate=function(a){throw new Error("Loader must implement loadTemplate(url).")},a.prototype.loadText=function(a){throw new Error("Loader must implement loadText(url).")},a.prototype.applyPluginToUrl=function(a,b){throw new Error("Loader must implement applyPluginToUrl(url, pluginName).")},a.prototype.addPlugin=function(a,b){throw new Error("Loader must implement addPlugin(pluginName, implementation).")},a.prototype.getOrCreateTemplateRegistryEntry=function(a){return this.templateRegistry[a]||(this.templateRegistry[a]=new f(a))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0.js",["npm:aurelia-loader@1.0.0/aurelia-loader"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.0.9/aurelia-binding.js",["exports","aurelia-logging","aurelia-pal","aurelia-task-queue","aurelia-metadata"],function(a,b,c,d,e){"use strict";function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a){if(a in La)return La[a];var b=a.charAt(0).toLowerCase()+a.slice(1).replace(/[_.-](\w|$)/g,function(a,b){return b.toUpperCase()});return La[a]=b,b}function j(a,b){return{bindingContext:a,parentOverrideContext:b||null}}function k(a,b,c){var d=b.overrideContext;if(c){for(;c&&d;)c--,d=d.parentOverrideContext;if(c||!d)return;return a in d?d:d.bindingContext}for(;d&&!(a in d)&&!(d.bindingContext&&a in d.bindingContext);)d=d.parentOverrideContext;return d?a in d?d:d.bindingContext:b.bindingContext||b.overrideContext}function l(a,b){return b?{bindingContext:a,overrideContext:j(a,j(b))}:{bindingContext:a,overrideContext:j(a)}}function m(a){for(var b=void 0===this._observerSlots?0:this._observerSlots,c=b;c--&&this[Na[c]]!==a;);if(c===-1){for(c=0;this[Na[c]];)c++;this[Na[c]]=a,a.subscribe(Ma,this),c===b&&(this._observerSlots=c+1)}void 0===this._version&&(this._version=0),this[Oa[c]]=this._version}function n(a,b){var c=this.observerLocator.getObserver(a,b);m.call(this,c)}function o(a){var b=this.observerLocator.getArrayObserver(a);m.call(this,b)}function p(a){for(var b=this._observerSlots;b--;)if(a||this[Oa[b]]!==this._version){var c=this[Na[b]];this[Na[b]]=null,c&&c.unsubscribe(Ma,this)}}function q(){return function(a){a.prototype.observeProperty=n,a.prototype.observeArray=o,a.prototype.unobserve=p,a.prototype.addObserver=m}}function r(a){for(var b=0,d=Qa.keys(),e=void 0;(e=d.next())&&!e.done;){var f=e.value;if(Qa["delete"](f),f.connect(!0),b++,b%100===0&&c.PLATFORM.performance.now()-a>Sa)break}Qa.size?c.PLATFORM.requestAnimationFrame(r):(Ta=!1,Ua=0)}function s(a){Ua<Ra?(Ua++,a.connect(!1)):Qa.set(a),Ta||(Ta=!0,c.PLATFORM.requestAnimationFrame(r))}function t(a,b){return!this.hasSubscriber(a,b)&&(this._context0?this._context1?this._context2?this._contextsRest?(this._contextsRest.push(a),this._callablesRest.push(b),!0):(this._contextsRest=[a],this._callablesRest=[b],!0):(this._context2=a,this._callable2=b,!0):(this._context1=a,this._callable1=b,!0):(this._context0=a,this._callable0=b,!0))}function u(a,b){if(this._context0===a&&this._callable0===b)return this._context0=null,this._callable0=null,!0;if(this._context1===a&&this._callable1===b)return this._context1=null,this._callable1=null,!0;if(this._context2===a&&this._callable2===b)return this._context2=null,this._callable2=null,!0;var c=this._contextsRest,d=void 0;return!(!c||!c.length||(d=c.indexOf(a))===-1||this._callablesRest[d]!==b)&&(c.splice(d,1),this._callablesRest.splice(d,1),!0)}function v(a,b){var c=this._context0,d=this._callable0,e=this._context1,f=this._callable1,g=this._context2,h=this._callable2,i=this._contextsRest?this._contextsRest.length:0,j=void 0,k=void 0,l=void 0,m=void 0;if(i){for(l=Xa.length;l--&&Xa[l];);for(l<0?(l=Xa.length,j=[],k=[],Xa.push(!0),Va.push(j),Wa.push(k)):(Xa[l]=!0,j=Va[l],k=Wa[l]),m=i;m--;)j[m]=this._contextsRest[m],k[m]=this._callablesRest[m]}if(c&&(d?d.call(c,a,b):c(a,b)),e&&(f?f.call(e,a,b):e(a,b)),g&&(h?h.call(g,a,b):g(a,b)),i){for(m=0;m<i;m++){var n=k[m],o=j[m];n?n.call(o,a,b):o(a,b),j[m]=null,k[m]=null}Xa[l]=!1}}function w(){return!!(this._context0||this._context1||this._context2||this._contextsRest&&this._contextsRest.length)}function x(a,b){var c=this._context0===a&&this._callable0===b||this._context1===a&&this._callable1===b||this._context2===a&&this._callable2===b;if(c)return!0;var d=void 0,e=this._contextsRest;if(!e||0===(d=e.length))return!1;for(var f=this._callablesRest;d--;)if(e[d]===a&&f[d]===b)return!0;return!1}function y(){return function(a){a.prototype.addSubscriber=t,a.prototype.removeSubscriber=u,a.prototype.callSubscribers=v,a.prototype.hasSubscribers=w,a.prototype.hasSubscriber=x}}function z(a){return+a===a>>>0}function A(a){return+a}function B(a,b,c){return{index:a,removed:b,addedCount:c}}function C(){}function D(a,b,c,d,e,f){return bb.calcSplices(a,b,c,d,e,f)}function E(a,b,c,d){return b<c||d<a?-1:b===c||d===a?0:a<c?b<d?b-c:d-c:d<b?d-a:b-a}function F(a,b,c,d){for(var e=B(b,c,d),f=!1,g=0,h=0;h<a.length;h++){var i=a[h];if(i.index+=g,!f){var j=E(e.index,e.index+e.removed.length,i.index,i.index+i.addedCount);if(j>=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var l=i.removed;if(e.index<i.index){var m=e.removed.slice(0,i.index-e.index);Array.prototype.push.apply(m,l),l=m}if(e.index+e.removed.length>i.index+i.addedCount){var n=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(l,n)}e.removed=l,i.index<e.index&&(e.index=i.index)}else f=!0}else if(e.index<i.index){f=!0,a.splice(h,0,e),h++;var o=e.addedCount-e.removed.length;i.index+=o,g+=o}}}f||a.push(e)}function G(a,b){for(var c=[],d=0;d<b.length;d++){var e=b[d];switch(e.type){case"splice":F(c,e.index,e.removed.slice(),e.addedCount);break;case"add":case"update":case"delete":if(!z(e.name))continue;var f=A(e.name);if(f<0)continue;F(c,f,[e.oldValue],"delete"===e.type?0:1);break;default:console.error("Unexpected record type: "+JSON.stringify(e))}}return c}function H(a,b){var c=[];return G(a,b).forEach(function(b){return 1===b.addedCount&&1===b.removed.length?void(b.removed[0]!==a[b.index]&&c.push(b)):void(c=c.concat(D(a,b.index,b.index+b.addedCount,b.removed,0,b.removed.length)))}),c}function I(a,b,c,d){return{type:a,object:b,key:c,oldValue:d}}function J(a){for(var b=new Array(a.size),c=a.keys(),d=0,e=void 0;(e=c.next())&&!e.done;)b[d]=I("added",a,e.value),d++;return b}function K(a,b){return lb["for"](a,b)}function L(a,b,c){for(var d=b.length,e=[],f=0;f<d;f++)e[f]=b[f].evaluate(a,c);return e}function M(a,b){return null!==a&&null!==b?"string"==typeof a&&"string"!=typeof b?a+b.toString():"string"!=typeof a&&"string"==typeof b?a.toString()+b:a+b:null!==a?a:null!==b?b:0}function N(a,b,c){var d=null===a||void 0===a?null:a[b];if("function"==typeof d)return d;if(!c&&(null===d||void 0===d))return null;throw new Error(b+" is not a function")}function O(a,b){if(Array.isArray(a))return a[parseInt(b,10)];if(a)return a[b];if(null!==a&&void 0!==a)return a[b]}function P(a,b,c){if(Array.isArray(a)){var d=parseInt(b,10);a.length<=d&&(a.length=d+1),a[d]=c}else a[b]=c;return c}function Q(a){var b=new Gb;return a.accept(b)}function R(a){return a>=Nb&&a<=Sb||a===Hc}function S(a){return vc<=a&&a<=Dc||nc<=a&&a<=pc||a===uc||a===Vb}function T(a){return vc<=a&&a<=Dc||nc<=a&&a<=pc||lc<=a&&a<=mc||a===uc||a===Vb}function U(a){return lc<=a&&a<=mc}function V(a){return a===wc||a===oc}function W(a){return a===cc||a===ac}function X(a){switch(a){case yc:return Ob;case xc:return Qb;case zc:return Rb;case Ac:return Nb;case Cc:return Pb;default:return a}}function Y(a,b){if(!a)throw b||"Assertion failed"}function Z(a,b){return Mc["for"](a,b)}function $(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function _(a){a.standardStopPropagation=a.stopPropagation,a.stopPropagation=function(){this.propagationStopped=!0,this.standardStopPropagation()}}function aa(a){var b=!1;a.propagationStopped=!1;for(var c=$(a);c&&!a.propagationStopped;){if(c.delegatedCallbacks){var d=c.delegatedCallbacks[a.type];d&&(b||(_(a),b=!0),d(a))}c=c.parentNode}}function ba(a){return!!(a&&a.get&&a.get.dependencies)}function ca(a,b,c){var d=Object.getOwnPropertyDescriptor(a.prototype,b);d.get.dependencies=c}function da(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a,c,d){return d.get.dependencies=b,d}}function ea(a,b,c,d){var e=c.get.dependencies;if(!(e instanceof fd)){for(var f=e.length;f--;)e[f]=d.parser.parse(e[f]);e=c.get.dependencies=new fd(b,e)}var g={bindingContext:a,overrideContext:j(a)};return new Ya(g,e,d)}function fa(a){var b=c.DOM.createElement("div");return b.innerHTML=a,b.firstChild}function ga(a){return void 0===a||"string"==typeof a?function(b){e.metadata.define(e.metadata.resource,new pd(a),b)}:void e.metadata.define(e.metadata.resource,new pd,a)}function ha(a){return void 0===a||"string"==typeof a?function(b){
+e.metadata.define(e.metadata.resource,new qd(a),b)}:void e.metadata.define(e.metadata.resource,new qd,a)}function ia(a){var b=a.au;if(void 0===b)throw new Error('No Aurelia APIs are defined for the element: "'+a.tagName+'".');return b}function ja(a,b){return vd["for"](a,b)}function ka(a,b,c){function d(a,b,c,d){var e=void 0===b;e&&(a=a.prototype,b="string"==typeof d?d:d.name);var f="_"+b,g={configurable:!0,enumerable:!1,writable:!0},h=d&&d.changeHandler||b+"Changed";return c?"function"==typeof c.initializer&&(g.value=c.initializer()):c={},"enumerable"in c||(c.enumerable=!0),delete c.value,delete c.writable,delete c.initializer,Reflect.defineProperty(a,f,g),c.get=function(){return this[f]},c.set=function(a){var c=this[f];this[f]=a,Reflect.defineProperty(this,f,{enumerable:!1}),this[h]&&this[h](a,c,b)},c.get.dependencies=[f],e?void Reflect.defineProperty(a,b,c):c}return void 0===b?function(b,c,e){return d(b,c,e,a)}:d(a,b,c)}Object.defineProperty(a,"__esModule",{value:!0}),a.getSetObserver=a.BindingEngine=a.NameExpression=a.Listener=a.ListenerExpression=a.BindingBehaviorResource=a.ValueConverterResource=a.Call=a.CallExpression=a.Binding=a.BindingExpression=a.ObjectObservationAdapter=a.ObserverLocator=a.SVGAnalyzer=a.presentationAttributes=a.presentationElements=a.elements=a.ComputedExpression=a.ClassObserver=a.SelectValueObserver=a.CheckedObserver=a.ValueAttributeObserver=a.StyleObserver=a.DataAttributeObserver=a.dataAttributeAccessor=a.XLinkAttributeObserver=a.SetterObserver=a.PrimitiveObserver=a.propertyAccessor=a.DirtyCheckProperty=a.DirtyChecker=a.EventManager=a.getMapObserver=a.ParserImplementation=a.Parser=a.Scanner=a.Lexer=a.Token=a.bindingMode=a.ExpressionCloner=a.Unparser=a.LiteralObject=a.LiteralArray=a.LiteralString=a.LiteralPrimitive=a.PrefixNot=a.Binary=a.CallFunction=a.CallMember=a.CallScope=a.AccessKeyed=a.AccessMember=a.AccessScope=a.AccessThis=a.Conditional=a.Assign=a.ValueConverter=a.BindingBehavior=a.Chain=a.Expression=a.getArrayObserver=a.CollectionLengthObserver=a.ModifyCollectionObserver=a.ExpressionObserver=a.sourceContext=void 0,a.camelCase=i,a.createOverrideContext=j,a.getContextFor=k,a.createScopeForTest=l,a.connectable=q,a.enqueueBindingConnect=s,a.subscriberCollection=y,a.calcSplices=D,a.mergeSplice=F,a.projectArraySplices=H,a.getChangeRecords=J,a.cloneExpression=Q,a.hasDeclaredDependencies=ba,a.declarePropertyDependencies=ca,a.computedFrom=da,a.createComputedObserver=ea,a.valueConverter=ga,a.bindingBehavior=ha,a.observable=ka;for(var la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia=f(b),Ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},Ka=(function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}()),La=Object.create(null),Ma=a.sourceContext="Binding:source",Na=[],Oa=[],Pa=0;Pa<100;Pa++)Na.push("_observer"+Pa),Oa.push("_observerVersion"+Pa);var Qa=new Map,Ra=100,Sa=15,Ta=!1,Ua=0,Va=[],Wa=[],Xa=[],Ya=a.ExpressionObserver=(la=q(),ma=y(),la(na=ma(na=function(){function a(a,b,c,d){this.scope=a,this.expression=b,this.observerLocator=c,this.lookupFunctions=d}return a.prototype.getValue=function(){return this.expression.evaluate(this.scope,this.lookupFunctions)},a.prototype.setValue=function(a){this.expression.assign(this.scope,a)},a.prototype.subscribe=function(a,b){var c=this;if(this.hasSubscribers()||(this.oldValue=this.expression.evaluate(this.scope,this.lookupFunctions),this.expression.connect(this,this.scope)),this.addSubscriber(a,b),1===arguments.length&&a instanceof Function)return{dispose:function(){c.unsubscribe(a,b)}}},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.unobserve(!0),this.oldValue=void 0)},a.prototype.call=function(){var a=this.expression.evaluate(this.scope,this.lookupFunctions),b=this.oldValue;a!==b&&(this.oldValue=a,this.callSubscribers(a,b)),this._version++,this.expression.connect(this,this.scope),this.unobserve(!1)},a}())||na)||na),Za=0,$a=1,_a=2,ab=3;C.prototype={calcEditDistances:function(a,b,c,d,e,f){for(var g=f-e+1,h=c-b+1,i=new Array(g),j=void 0,k=void 0,l=0;l<g;++l)i[l]=new Array(h),i[l][0]=l;for(var m=0;m<h;++m)i[0][m]=m;for(var n=1;n<g;++n)for(var o=1;o<h;++o)this.equals(a[b+o-1],d[e+n-1])?i[n][o]=i[n-1][o-1]:(j=i[n-1][o]+1,k=i[n][o-1]+1,i[n][o]=j<k?j:k);return i},spliceOperationsFromEditDistances:function(a){for(var b=a.length-1,c=a[0].length-1,d=a[b][c],e=[];b>0||c>0;)if(0!==b)if(0!==c){var f=a[b-1][c-1],g=a[b-1][c],h=a[b][c-1],i=void 0;i=g<h?g<f?g:f:h<f?h:f,i===f?(f===d?e.push(Za):(e.push($a),d=f),b--,c--):i===g?(e.push(ab),b--,d=g):(e.push(_a),c--,d=h)}else e.push(ab),b--;else e.push(_a),c--;return e.reverse(),e},calcSplices:function(a,b,c,d,e,f){var g=0,h=0,i=Math.min(c-b,f-e);if(0===b&&0===e&&(g=this.sharedPrefix(a,d,i)),c===a.length&&f===d.length&&(h=this.sharedSuffix(a,d,i-g)),b+=g,e+=g,c-=h,f-=h,c-b===0&&f-e===0)return[];if(b===c){for(var j=B(b,[],0);e<f;)j.removed.push(d[e++]);return[j]}if(e===f)return[B(b,[],c-b)];for(var k=this.spliceOperationsFromEditDistances(this.calcEditDistances(a,b,c,d,e,f)),l=void 0,m=[],n=b,o=e,p=0;p<k.length;++p)switch(k[p]){case Za:l&&(m.push(l),l=void 0),n++,o++;break;case $a:l||(l=B(n,[],0)),l.addedCount++,n++,l.removed.push(d[o]),o++;break;case _a:l||(l=B(n,[],0)),l.addedCount++,n++;break;case ab:l||(l=B(n,[],0)),l.removed.push(d[o]),o++}return l&&m.push(l),m},sharedPrefix:function(a,b,c){for(var d=0;d<c;++d)if(!this.equals(a[d],b[d]))return d;return c},sharedSuffix:function(a,b,c){for(var d=a.length,e=b.length,f=0;f<c&&this.equals(a[--d],b[--e]);)f++;return f},calculateSplices:function(a,b){return this.calcSplices(a,0,a.length,b,0,b.length)},equals:function(a,b){return a===b}};var bb=new C,cb=a.ModifyCollectionObserver=(oa=y(),oa(pa=function(){function a(a,b){this.taskQueue=a,this.queued=!1,this.changeRecords=null,this.oldCollection=null,this.collection=b,this.lengthPropertyName=b instanceof Map||b instanceof Set?"size":"length"}return a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.addChangeRecord=function(a){if(this.hasSubscribers()||this.lengthObserver){if("splice"===a.type){var b=a.index,c=a.object.length;b>c?b=c-a.addedCount:b<0&&(b=c+a.removed.length+b-a.addedCount),b<0&&(b=0),a.index=b}null===this.changeRecords?this.changeRecords=[a]:this.changeRecords.push(a),this.queued||(this.queued=!0,this.taskQueue.queueMicroTask(this))}},a.prototype.flushChangeRecords=function(){(this.changeRecords&&this.changeRecords.length||this.oldCollection)&&this.call()},a.prototype.reset=function(a){this.oldCollection=a,this.hasSubscribers()&&!this.queued&&(this.queued=!0,this.taskQueue.queueMicroTask(this))},a.prototype.getLengthObserver=function(){return this.lengthObserver||(this.lengthObserver=new db(this.collection))},a.prototype.call=function(){var a=this.changeRecords,b=this.oldCollection,c=void 0;this.queued=!1,this.changeRecords=[],this.oldCollection=null,this.hasSubscribers()&&(c=b?this.collection instanceof Map||this.collection instanceof Set?J(b):D(this.collection,0,this.collection.length,b,0,b.length):this.collection instanceof Map||this.collection instanceof Set?a:H(this.collection,a),this.callSubscribers(c)),this.lengthObserver&&this.lengthObserver.call(this.collection[this.lengthPropertyName])},a}())||pa),db=a.CollectionLengthObserver=(qa=y(),qa(ra=function(){function a(a){this.collection=a,this.lengthPropertyName=a instanceof Map||a instanceof Set?"size":"length",this.currentValue=a[this.lengthPropertyName]}return a.prototype.getValue=function(){return this.collection[this.lengthPropertyName]},a.prototype.setValue=function(a){this.collection[this.lengthPropertyName]=a},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.call=function(a){var b=this.currentValue;this.callSubscribers(a,b),this.currentValue=a},a}())||ra),eb=Array.prototype.pop,fb=Array.prototype.push,gb=Array.prototype.reverse,hb=Array.prototype.shift,ib=Array.prototype.sort,jb=Array.prototype.splice,kb=Array.prototype.unshift;Array.prototype.pop=function(){var a=this.length>0,b=eb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:this.length,oldValue:b}),b},Array.prototype.push=function(){var a=fb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:this.length-arguments.length,removed:[],addedCount:arguments.length}),a},Array.prototype.reverse=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=gb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.shift=function(){var a=this.length>0,b=hb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:0,oldValue:b}),b},Array.prototype.sort=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=ib.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.splice=function(){var a=jb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:arguments[0],removed:a,addedCount:arguments.length>2?arguments.length-2:0}),a},Array.prototype.unshift=function(){var a=kb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:0,removed:[],addedCount:arguments.length}),a},a.getArrayObserver=K;var lb=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__array_observer__"in c||Reflect.defineProperty(c,"__array_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__array_observer__},b.create=function(a,c){return new b(a,c)},b}(cb),mb=a.Expression=function(){function a(){this.isChain=!1,this.isAssignable=!1}return a.prototype.evaluate=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be evaluated.')},a.prototype.assign=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be assigned to.')},a.prototype.toString=function(){return Fb.unparse(this)},a}(),nb=a.Chain=function(a){function b(b){var c=g(this,a.call(this));return c.expressions=b,c.isChain=!0,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=void 0,d=this.expressions,e=void 0,f=0,g=d.length;f<g;++f)e=d[f].evaluate(a,b),null!==e&&(c=e);return c},b.prototype.accept=function(a){return a.visitChain(this)},b}(mb),ob=a.BindingBehavior=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.expression=b,e.name=c,e.args=d,e}return h(b,a),b.prototype.evaluate=function(a,b){return this.expression.evaluate(a,b)},b.prototype.assign=function(a,b,c){return this.expression.assign(a,b,c)},b.prototype.accept=function(a){return a.visitBindingBehavior(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b.prototype.bind=function(a,b,c){this.expression.expression&&this.expression.bind&&this.expression.bind(a,b,c);var d=c.bindingBehaviors(this.name);if(!d)throw new Error('No BindingBehavior named "'+this.name+'" was found!');var e="behavior-"+this.name;if(a[e])throw new Error('A binding behavior named "'+this.name+'" has already been applied to "'+this.expression+'"');a[e]=d,d.bind.apply(d,[a,b].concat(L(b,this.args,a.lookupFunctions)))},b.prototype.unbind=function(a,b){var c="behavior-"+this.name;a[c].unbind(a,b),a[c]=null,this.expression.expression&&this.expression.unbind&&this.expression.unbind(a,b)},b}(mb),pb=a.ValueConverter=function(a){function b(b,c,d,e){var f=g(this,a.call(this));return f.expression=b,f.name=c,f.args=d,f.allArgs=e,f}return h(b,a),b.prototype.evaluate=function(a,b){var c=b.valueConverters(this.name);if(!c)throw new Error('No ValueConverter named "'+this.name+'" was found!');return"toView"in c?c.toView.apply(c,L(a,this.allArgs,b)):this.allArgs[0].evaluate(a,b)},b.prototype.assign=function(a,b,c){var d=c.valueConverters(this.name);if(!d)throw new Error('No ValueConverter named "'+this.name+'" was found!');return"fromView"in d&&(b=d.fromView.apply(d,[b].concat(L(a,this.args,c)))),this.allArgs[0].assign(a,b,c)},b.prototype.accept=function(a){return a.visitValueConverter(this)},b.prototype.connect=function(a,b){for(var c=this.allArgs,d=c.length;d--;)c[d].connect(a,b)},b}(mb),qb=a.Assign=function(a){function b(b,c){var d=g(this,a.call(this));return d.target=b,d.value=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return this.target.assign(a,this.value.evaluate(a,b))},b.prototype.accept=function(a){a.visitAssign(this)},b.prototype.connect=function(a,b){},b}(mb),rb=a.Conditional=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.condition=b,e.yes=c,e.no=d,e}return h(b,a),b.prototype.evaluate=function(a,b){return this.condition.evaluate(a)?this.yes.evaluate(a):this.no.evaluate(a)},b.prototype.accept=function(a){return a.visitConditional(this)},b.prototype.connect=function(a,b){this.condition.connect(a,b),this.condition.evaluate(b)?this.yes.connect(a,b):this.no.connect(a,b)},b}(mb),sb=a.AccessThis=function(a){function b(b){var c=g(this,a.call(this));return c.ancestor=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=a.overrideContext,d=this.ancestor;d--&&c;)c=c.parentOverrideContext;return d<1&&c?c.bindingContext:void 0},b.prototype.accept=function(a){return a.visitAccessThis(this)},b.prototype.connect=function(a,b){},b}(mb),tb=a.AccessScope=function(a){function b(b,c){var d=g(this,a.call(this));return d.name=b,d.ancestor=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=k(this.name,a,this.ancestor);return c[this.name]},b.prototype.assign=function(a,b){var c=k(this.name,a,this.ancestor);return c?c[this.name]=b:void 0},b.prototype.accept=function(a){return a.visitAccessScope(this)},b.prototype.connect=function(a,b){var c=k(this.name,b,this.ancestor);a.observeProperty(c,this.name)},b}(mb),ub=a.AccessMember=function(a){function b(b,c){var d=g(this,a.call(this));return d.object=b,d.name=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.object.evaluate(a,b);return null===c||void 0===c?c:c[this.name]},b.prototype.assign=function(a,b){var c=this.object.evaluate(a);return null!==c&&void 0!==c||(c={},this.object.assign(a,c)),c[this.name]=b,b},b.prototype.accept=function(a){return a.visitAccessMember(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);c&&a.observeProperty(c,this.name)},b}(mb),vb=a.AccessKeyed=function(a){function b(b,c){var d=g(this,a.call(this));return d.object=b,d.key=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.object.evaluate(a,b),d=this.key.evaluate(a,b);return O(c,d)},b.prototype.assign=function(a,b){var c=this.object.evaluate(a),d=this.key.evaluate(a);return P(c,d,b)},b.prototype.accept=function(a){return a.visitAccessKeyed(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);if(c instanceof Object){this.key.connect(a,b);var d=this.key.evaluate(b);null===d||void 0===d||Array.isArray(c)&&"number"==typeof d||a.observeProperty(c,d)}},b}(mb),wb=a.CallScope=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.name=b,e.args=c,e.ancestor=d,e}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=L(a,this.args,b),e=k(this.name,a,this.ancestor),f=N(e,this.name,c);if(f)return f.apply(e,d)},b.prototype.accept=function(a){return a.visitCallScope(this)},b.prototype.connect=function(a,b){for(var c=this.args,d=c.length;d--;)c[d].connect(a,b)},b}(mb),xb=a.CallMember=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.object=b,e.name=c,e.args=d,e}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=this.object.evaluate(a,b),e=L(a,this.args,b),f=N(d,this.name,c);if(f)return f.apply(d,e)},b.prototype.accept=function(a){return a.visitCallMember(this)},b.prototype.connect=function(a,b){this.object.connect(a,b);var c=this.object.evaluate(b);if(N(c,this.name,!1))for(var d=this.args,e=d.length;e--;)d[e].connect(a,b)},b}(mb),yb=a.CallFunction=function(a){function b(b,c){var d=g(this,a.call(this));return d.func=b,d.args=c,d}return h(b,a),b.prototype.evaluate=function(a,b,c){var d=this.func.evaluate(a,b);if("function"==typeof d)return d.apply(null,L(a,this.args,b));if(c||null!==d&&void 0!==d)throw new Error(this.func+" is not a function")},b.prototype.accept=function(a){return a.visitCallFunction(this)},b.prototype.connect=function(a,b){this.func.connect(a,b);var c=this.func.evaluate(b);if("function"==typeof c)for(var d=this.args,e=d.length;e--;)d[e].connect(a,b)},b}(mb),zb=a.Binary=function(a){function b(b,c,d){var e=g(this,a.call(this));return e.operation=b,e.left=c,e.right=d,e}return h(b,a),b.prototype.evaluate=function(a,b){var c=this.left.evaluate(a);switch(this.operation){case"&&":return c&&this.right.evaluate(a);case"||":return c||this.right.evaluate(a)}var d=this.right.evaluate(a);switch(this.operation){case"==":return c==d;case"===":return c===d;case"!=":return c!=d;case"!==":return c!==d}if(null===c||null===d||void 0===c||void 0===d){switch(this.operation){case"+":return null!==c&&void 0!==c?c:null!==d&&void 0!==d?d:0;case"-":return null!==c&&void 0!==c?c:null!==d&&void 0!==d?0-d:0}return null}switch(this.operation){case"+":return M(c,d);case"-":return c-d;case"*":return c*d;case"/":return c/d;case"%":return c%d;case"<":return c<d;case">":return c>d;case"<=":return c<=d;case">=":return c>=d;case"^":return c^d}throw new Error("Internal error ["+this.operation+"] not handled")},b.prototype.accept=function(a){return a.visitBinary(this)},b.prototype.connect=function(a,b){this.left.connect(a,b);var c=this.left.evaluate(b);"&&"===this.operation&&!c||"||"===this.operation&&c||this.right.connect(a,b)},b}(mb),Ab=a.PrefixNot=function(a){function b(b,c){var d=g(this,a.call(this));return d.operation=b,d.expression=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return!this.expression.evaluate(a)},b.prototype.accept=function(a){return a.visitPrefix(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b}(mb),Bb=a.LiteralPrimitive=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralPrimitive(this)},b.prototype.connect=function(a,b){},b}(mb),Cb=a.LiteralString=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralString(this)},b.prototype.connect=function(a,b){},b}(mb),Db=a.LiteralArray=function(a){function b(b){var c=g(this,a.call(this));return c.elements=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=this.elements,d=[],e=0,f=c.length;e<f;++e)d[e]=c[e].evaluate(a,b);return d},b.prototype.accept=function(a){return a.visitLiteralArray(this)},b.prototype.connect=function(a,b){for(var c=this.elements.length,d=0;d<c;d++)this.elements[d].connect(a,b)},b}(mb),Eb=a.LiteralObject=function(a){function b(b,c){var d=g(this,a.call(this));return d.keys=b,d.values=c,d}return h(b,a),b.prototype.evaluate=function(a,b){for(var c={},d=this.keys,e=this.values,f=0,g=d.length;f<g;++f)c[d[f]]=e[f].evaluate(a,b);return c},b.prototype.accept=function(a){return a.visitLiteralObject(this)},b.prototype.connect=function(a,b){for(var c=this.keys.length,d=0;d<c;d++)this.values[d].connect(a,b)},b}(mb),Fb=a.Unparser=function(){function a(a){this.buffer=a}return a.unparse=function(b){var c=[],d=new a(c);return b.accept(d),c.join("")},a.prototype.write=function(a){this.buffer.push(a)},a.prototype.writeArgs=function(a){this.write("(");for(var b=0,c=a.length;b<c;++b)0!==b&&this.write(","),a[b].accept(this);this.write(")")},a.prototype.visitChain=function(a){for(var b=a.expressions,c=0,d=expression.length;c<d;++c)0!==c&&this.write(";"),b[c].accept(this)},a.prototype.visitBindingBehavior=function(a){var b=a.args;a.expression.accept(this),this.write("&"+a.name);for(var c=0,d=b.length;c<d;++c)this.write(":"),b[c].accept(this)},a.prototype.visitValueConverter=function(a){var b=a.args;a.expression.accept(this),this.write("|"+a.name);for(var c=0,d=b.length;c<d;++c)this.write(":"),b[c].accept(this)},a.prototype.visitAssign=function(a){a.target.accept(this),this.write("="),a.value.accept(this)},a.prototype.visitConditional=function(a){a.condition.accept(this),this.write("?"),a.yes.accept(this),this.write(":"),a.no.accept(this)},a.prototype.visitAccessThis=function(a){if(0===a.ancestor)return void this.write("$this");this.write("$parent");for(var b=a.ancestor-1;b--;)this.write(".$parent")},a.prototype.visitAccessScope=function(a){for(var b=a.ancestor;b--;)this.write("$parent.");this.write(a.name)},a.prototype.visitAccessMember=function(a){a.object.accept(this),this.write("."+a.name)},a.prototype.visitAccessKeyed=function(a){a.object.accept(this),this.write("["),a.key.accept(this),this.write("]")},a.prototype.visitCallScope=function(a){for(var b=a.ancestor;b--;)this.write("$parent.");this.write(a.name),this.writeArgs(a.args)},a.prototype.visitCallFunction=function(a){a.func.accept(this),this.writeArgs(a.args)},a.prototype.visitCallMember=function(a){a.object.accept(this),this.write("."+a.name),this.writeArgs(a.args)},a.prototype.visitPrefix=function(a){this.write("("+a.operation),a.expression.accept(this),this.write(")")},a.prototype.visitBinary=function(a){a.left.accept(this),this.write(a.operation),a.right.accept(this)},a.prototype.visitLiteralPrimitive=function(a){this.write(""+a.value)},a.prototype.visitLiteralArray=function(a){var b=a.elements;this.write("[");for(var c=0,d=b.length;c<d;++c)0!==c&&this.write(","),b[c].accept(this);this.write("]")},a.prototype.visitLiteralObject=function(a){var b=a.keys,c=a.values;this.write("{");for(var d=0,e=b.length;d<e;++d)0!==d&&this.write(","),this.write("'"+b[d]+"':"),c[d].accept(this);this.write("}")},a.prototype.visitLiteralString=function(a){var b=a.value.replace(/'/g,"'");this.write("'"+b+"'")},a}(),Gb=a.ExpressionCloner=function(){function a(){}return a.prototype.cloneExpressionArray=function(a){for(var b=[],c=a.length;c--;)b[c]=a[c].accept(this);return b},a.prototype.visitChain=function(a){return new nb(this.cloneExpressionArray(a.expressions))},a.prototype.visitBindingBehavior=function(a){return new ob(a.expression.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitValueConverter=function(a){return new pb(a.expression.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitAssign=function(a){return new qb(a.target.accept(this),a.value.accept(this))},a.prototype.visitConditional=function(a){return new rb(a.condition.accept(this),a.yes.accept(this),a.no.accept(this))},a.prototype.visitAccessThis=function(a){return new sb(a.ancestor)},a.prototype.visitAccessScope=function(a){return new tb(a.name,a.ancestor)},a.prototype.visitAccessMember=function(a){return new ub(a.object.accept(this),a.name)},a.prototype.visitAccessKeyed=function(a){return new vb(a.object.accept(this),a.key.accept(this))},a.prototype.visitCallScope=function(a){return new wb(a.name,this.cloneExpressionArray(a.args),a.ancestor)},a.prototype.visitCallFunction=function(a){return new yb(a.func.accept(this),this.cloneExpressionArray(a.args))},a.prototype.visitCallMember=function(a){return new xb(a.object.accept(this),a.name,this.cloneExpressionArray(a.args))},a.prototype.visitPrefix=function(a){return new Ab(a.operation,a.expression.accept(this))},a.prototype.visitBinary=function(a){return new zb(a.operation,a.left.accept(this),a.right.accept(this))},a.prototype.visitLiteralPrimitive=function(a){return new Bb(a)},a.prototype.visitLiteralArray=function(a){return new Db(this.cloneExpressionArray(a.elements))},a.prototype.visitLiteralObject=function(a){return new Eb(a.keys,this.cloneExpressionArray(a.values))},a.prototype.visitLiteralString=function(a){return new Cb(a.value)},a}(),Hb=a.bindingMode={oneTime:0,oneWay:1,twoWay:2},Ib=a.Token=function(){function a(a,b){this.index=a,this.text=b}return a.prototype.withOp=function(a){return this.opKey=a,this},a.prototype.withGetterSetter=function(a){return this.key=a,this},a.prototype.withValue=function(a){return this.value=a,this},a.prototype.toString=function(){return"Token("+this.text+")"},a}(),Jb=a.Lexer=function(){function a(){}return a.prototype.lex=function(a){for(var b=new Kb(a),c=[],d=b.scanToken();d;)c.push(d),d=b.scanToken();return c},a}(),Kb=a.Scanner=function(){function a(a){this.input=a,this.length=a.length,this.peek=0,this.index=-1,this.advance()}return a.prototype.scanToken=function(){for(;this.peek<=Sb;){if(++this.index>=this.length)return this.peek=Mb,null;this.peek=this.input.charCodeAt(this.index)}if(S(this.peek))return this.scanIdentifier();if(U(this.peek))return this.scanNumber(this.index);var a=this.index;switch(this.peek){case dc:return this.advance(),U(this.peek)?this.scanNumber(a):new Ib(a,".");case Zb:case $b:case Ec:case Gc:case qc:case sc:case bc:case fc:case gc:return this.scanCharacter(a,String.fromCharCode(this.peek));case Yb:case Ub:return this.scanString();case ac:case cc:case _b:case ec:case Wb:case tc:case kc:return this.scanOperator(a,String.fromCharCode(this.peek));case hc:case jc:case Tb:case ic:return this.scanComplexOperator(a,ic,String.fromCharCode(this.peek),"=");case Xb:return this.scanComplexOperator(a,Xb,"&","&");case Fc:return this.scanComplexOperator(a,Fc,"|","|");case Hc:for(;R(this.peek);)this.advance();return this.scanToken()}var b=String.fromCharCode(this.peek);return this.error("Unexpected character ["+b+"]"),null},a.prototype.scanCharacter=function(a,b){return Y(this.peek===b.charCodeAt(0)),this.advance(),new Ib(a,b)},a.prototype.scanOperator=function(a,b){return Y(this.peek===b.charCodeAt(0)),Y(Lb.indexOf(b)!==-1),this.advance(),new Ib(a,b).withOp(b)},a.prototype.scanComplexOperator=function(a,b,c,d){Y(this.peek===c.charCodeAt(0)),this.advance();var e=c;return this.peek===b&&(this.advance(),e+=d),this.peek===b&&(this.advance(),e+=d),Y(Lb.indexOf(e)!==-1),new Ib(a,e).withOp(e)},a.prototype.scanIdentifier=function(){Y(S(this.peek));var a=this.index;for(this.advance();T(this.peek);)this.advance();var b=this.input.substring(a,this.index),c=new Ib(a,b);return Lb.indexOf(b)!==-1?c.withOp(b):c.withGetterSetter(b),c},a.prototype.scanNumber=function(a){Y(U(this.peek));var b=this.index===a;for(this.advance();;){if(!U(this.peek))if(this.peek===dc)b=!1;else{if(!V(this.peek))break;this.advance(),W(this.peek)&&this.advance(),U(this.peek)||this.error("Invalid exponent",-1),b=!1}this.advance()}var c=this.input.substring(a,this.index),d=b?parseInt(c,10):parseFloat(c);return new Ib(a,c).withValue(d)},a.prototype.scanString=function(){Y(this.peek===Yb||this.peek===Ub);var a=this.index,b=this.peek;this.advance();for(var c=void 0,d=this.index;this.peek!==b;)if(this.peek===rc){c||(c=[]),c.push(this.input.substring(d,this.index)),this.advance();var e=void 0;if(this.peek===Bc){var f=this.input.substring(this.index+1,this.index+5);/[A-Z0-9]{4}/.test(f)||this.error("Invalid unicode escape [\\u"+f+"]"),e=parseInt(f,16);for(var g=0;g<5;++g)this.advance()}else e=X(this.peek),this.advance();c.push(String.fromCharCode(e)),d=this.index}else this.peek===Mb?this.error("Unterminated quote"):this.advance();var h=this.input.substring(d,this.index);this.advance();var i=this.input.substring(a,this.index),j=h;return null!==c&&void 0!==c&&(c.push(h),j=c.join("")),new Ib(a,i).withValue(j)},a.prototype.advance=function(){++this.index>=this.length?this.peek=Mb:this.peek=this.input.charCodeAt(this.index)},a.prototype.error=function(a){var b=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=this.index+b;throw new Error("Lexer Error: "+a+" at column "+c+" in expression ["+this.input+"]")},a}(),Lb=["undefined","null","true","false","+","-","*","/","%","^","=","==","===","!=","!==","<",">","<=",">=","&&","||","&","|","!","?"],Mb=0,Nb=9,Ob=10,Pb=11,Qb=12,Rb=13,Sb=32,Tb=33,Ub=34,Vb=36,Wb=37,Xb=38,Yb=39,Zb=40,$b=41,_b=42,ac=43,bc=44,cc=45,dc=46,ec=47,fc=58,gc=59,hc=60,ic=61,jc=62,kc=63,lc=48,mc=57,nc=65,oc=69,pc=90,qc=91,rc=92,sc=93,tc=94,uc=95,vc=97,wc=101,xc=102,yc=110,zc=114,Ac=116,Bc=117,Cc=118,Dc=122,Ec=123,Fc=124,Gc=125,Hc=160,Ic=new Ib((-1),null),Jc=a.Parser=function(){function a(){this.cache={},this.lexer=new Jb}return a.prototype.parse=function(a){return a=a||"",this.cache[a]||(this.cache[a]=new Kc(this.lexer,a).parseChain())},a}(),Kc=a.ParserImplementation=function(){function a(a,b){this.index=0,this.input=b,this.tokens=a.lex(b)}return a.prototype.parseChain=function(){for(var a=!1,b=[];this.optional(";");)a=!0;for(;this.index<this.tokens.length;){")"!==this.peek.text&&"}"!==this.peek.text&&"]"!==this.peek.text||this.error("Unconsumed token "+this.peek.text);var c=this.parseBindingBehavior();for(b.push(c);this.optional(";");)a=!0;a&&this.error("Multiple expressions are not allowed.")}return 1===b.length?b[0]:new nb(b)},a.prototype.parseBindingBehavior=function(){for(var a=this.parseValueConverter();this.optional("&");){var b=this.peek.text,c=[];for(this.advance();this.optional(":");)c.push(this.parseExpression());a=new ob(a,b,c)}return a},a.prototype.parseValueConverter=function(){for(var a=this.parseExpression();this.optional("|");){var b=this.peek.text,c=[];for(this.advance();this.optional(":");)c.push(this.parseExpression());a=new pb(a,b,c,[a].concat(c))}return a},a.prototype.parseExpression=function(){for(var a=this.peek.index,b=this.parseConditional();"="===this.peek.text;){if(!b.isAssignable){var c=this.index<this.tokens.length?this.peek.index:this.input.length,d=this.input.substring(a,c);this.error("Expression "+d+" is not assignable")}this.expect("="),b=new qb(b,this.parseConditional())}return b},a.prototype.parseConditional=function(){var a=this.peek.index,b=this.parseLogicalOr();if(this.optional("?")){var c=this.parseExpression();if(!this.optional(":")){var d=this.index<this.tokens.length?this.peek.index:this.input.length,e=this.input.substring(a,d);this.error("Conditional expression "+e+" requires all 3 expressions")}var f=this.parseExpression();b=new rb(b,c,f)}return b},a.prototype.parseLogicalOr=function(){for(var a=this.parseLogicalAnd();this.optional("||");)a=new zb("||",a,this.parseLogicalAnd());return a},a.prototype.parseLogicalAnd=function(){for(var a=this.parseEquality();this.optional("&&");)a=new zb("&&",a,this.parseEquality());return a},a.prototype.parseEquality=function(){for(var a=this.parseRelational();;)if(this.optional("=="))a=new zb("==",a,this.parseRelational());else if(this.optional("!="))a=new zb("!=",a,this.parseRelational());else if(this.optional("==="))a=new zb("===",a,this.parseRelational());else{if(!this.optional("!=="))return a;a=new zb("!==",a,this.parseRelational())}},a.prototype.parseRelational=function(){for(var a=this.parseAdditive();;)if(this.optional("<"))a=new zb("<",a,this.parseAdditive());else if(this.optional(">"))a=new zb(">",a,this.parseAdditive());else if(this.optional("<="))a=new zb("<=",a,this.parseAdditive());else{if(!this.optional(">="))return a;a=new zb(">=",a,this.parseAdditive())}},a.prototype.parseAdditive=function(){for(var a=this.parseMultiplicative();;)if(this.optional("+"))a=new zb("+",a,this.parseMultiplicative());else{if(!this.optional("-"))return a;a=new zb("-",a,this.parseMultiplicative())}},a.prototype.parseMultiplicative=function(){
+for(var a=this.parsePrefix();;)if(this.optional("*"))a=new zb("*",a,this.parsePrefix());else if(this.optional("%"))a=new zb("%",a,this.parsePrefix());else{if(!this.optional("/"))return a;a=new zb("/",a,this.parsePrefix())}},a.prototype.parsePrefix=function(){return this.optional("+")?this.parsePrefix():this.optional("-")?new zb("-",new Bb(0),this.parsePrefix()):this.optional("!")?new Ab("!",this.parsePrefix()):this.parseAccessOrCallMember()},a.prototype.parseAccessOrCallMember=function(){for(var a=this.parsePrimary();;)if(this.optional(".")){var b=this.peek.text;if(this.advance(),this.optional("(")){var c=this.parseExpressionList(")");this.expect(")"),a=a instanceof sb?new wb(b,c,a.ancestor):new xb(a,b,c)}else a=a instanceof sb?new tb(b,a.ancestor):new ub(a,b)}else if(this.optional("[")){var d=this.parseExpression();this.expect("]"),a=new vb(a,d)}else{if(!this.optional("("))return a;var e=this.parseExpressionList(")");this.expect(")"),a=new yb(a,e)}},a.prototype.parsePrimary=function(){if(this.optional("(")){var a=this.parseExpression();return this.expect(")"),a}if(this.optional("null"))return new Bb(null);if(this.optional("undefined"))return new Bb((void 0));if(this.optional("true"))return new Bb((!0));if(this.optional("false"))return new Bb((!1));if(this.optional("[")){var b=this.parseExpressionList("]");return this.expect("]"),new Db(b)}if("{"===this.peek.text)return this.parseObject();if(null!==this.peek.key&&void 0!==this.peek.key)return this.parseAccessOrCallScope();if(null!==this.peek.value&&void 0!==this.peek.value){var c=this.peek.value;return this.advance(),c instanceof String||"string"==typeof c?new Cb(c):new Bb(c)}if(this.index>=this.tokens.length)throw new Error("Unexpected end of expression: "+this.input);this.error("Unexpected token "+this.peek.text)},a.prototype.parseAccessOrCallScope=function(){var a=this.peek.key;if(this.advance(),"$this"===a)return new sb(0);for(var b=0;"$parent"===a;)if(b++,this.optional("."))a=this.peek.key,this.advance();else{if(this.peek===Ic||"("===this.peek.text||"["===this.peek.text||"}"===this.peek.text||","===this.peek.text)return new sb(b);this.error("Unexpected token "+this.peek.text)}if(this.optional("(")){var c=this.parseExpressionList(")");return this.expect(")"),new wb(a,c,b)}return new tb(a,b)},a.prototype.parseObject=function(){var a=[],b=[];if(this.expect("{"),"}"!==this.peek.text)do{var c=this.peek,d=c.value;a.push("string"==typeof d?d:c.text),this.advance(),!c.key||","!==this.peek.text&&"}"!==this.peek.text?(this.expect(":"),b.push(this.parseExpression())):(--this.index,b.push(this.parseAccessOrCallScope()))}while(this.optional(","));return this.expect("}"),new Eb(a,b)},a.prototype.parseExpressionList=function(a){var b=[];if(this.peek.text!==a)do b.push(this.parseExpression());while(this.optional(","));return b},a.prototype.optional=function(a){return this.peek.text===a&&(this.advance(),!0)},a.prototype.expect=function(a){this.peek.text===a?this.advance():this.error("Missing expected "+a)},a.prototype.advance=function(){this.index++},a.prototype.error=function(a){var b=this.index<this.tokens.length?"at column "+(this.tokens[this.index].index+1)+" in":"at the end of the expression";throw new Error("Parser Error: "+a+" "+b+" ["+this.input+"]")},Ka(a,[{key:"peek",get:function(){return this.index<this.tokens.length?this.tokens[this.index]:Ic}}]),a}(),Lc=Map.prototype;a.getMapObserver=Z;var Mc=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__map_observer__"in c||Reflect.defineProperty(c,"__map_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__map_observer__},b.create=function(a,c){var d=new b(a,c),e=Lc;return e.add===c.add&&e["delete"]===c["delete"]&&e.clear===c.clear||(e={add:c.add,"delete":c["delete"],clear:c.clear}),c.set=function(){var a=c.has(arguments[0]),b=a?"update":"add",f=c.get(arguments[0]),g=e.set.apply(c,arguments);return a&&f===c.get(arguments[0])||d.addChangeRecord({type:b,object:c,key:arguments[0],oldValue:f}),g},c["delete"]=function(){var a=c.has(arguments[0]),b=c.get(arguments[0]),f=e["delete"].apply(c,arguments);return a&&d.addChangeRecord({type:"delete",object:c,key:arguments[0],oldValue:b}),f},c.clear=function(){var a=e.clear.apply(c,arguments);return d.addChangeRecord({type:"clear",object:c}),a},d},b}(cb),Nc=function(){function a(a){this.eventName=a,this.count=0}return a.prototype.increment=function(){this.count++,1===this.count&&c.DOM.addEventListener(this.eventName,aa,!1)},a.prototype.decrement=function(){this.count--,0===this.count&&c.DOM.removeEventListener(this.eventName,aa)},a}(),Oc=function(){function a(){this.delegatedHandlers={}}return a.prototype.subscribe=function(a,b,c,d){var e=this;if(d){var f=function(){var d=e.delegatedHandlers,f=d[b]||(d[b]=new Nc(b)),g=a.delegatedCallbacks||(a.delegatedCallbacks={});return f.increment(),g[b]=c,{v:function(){f.decrement(),g[b]=null}}}();if("object"===("undefined"==typeof f?"undefined":Ja(f)))return f.v}return a.addEventListener(b,c,!1),function(){a.removeEventListener(b,c)}},a}(),Pc=a.EventManager=function(){function a(){this.elementHandlerLookup={},this.eventStrategyLookup={},this.registerElementConfig({tagName:"input",properties:{value:["change","input"],checked:["change","input"],files:["change","input"]}}),this.registerElementConfig({tagName:"textarea",properties:{value:["change","input"]}}),this.registerElementConfig({tagName:"select",properties:{value:["change"]}}),this.registerElementConfig({tagName:"content editable",properties:{value:["change","input","blur","keyup","paste"]}}),this.registerElementConfig({tagName:"scrollable element",properties:{scrollTop:["scroll"],scrollLeft:["scroll"]}}),this.defaultEventStrategy=new Oc}return a.prototype.registerElementConfig=function(a){var b=a.tagName.toLowerCase(),c=a.properties,d=void 0;this.elementHandlerLookup[b]={};for(d in c)c.hasOwnProperty(d)&&this.registerElementPropertyConfig(b,d,c[d])},a.prototype.registerElementPropertyConfig=function(a,b,c){this.elementHandlerLookup[a][b]=this.createElementHandler(c)},a.prototype.createElementHandler=function(a){return{subscribe:function(b,c){return a.forEach(function(a){b.addEventListener(a,c,!1)}),function(){a.forEach(function(a){b.removeEventListener(a,c)})}}}},a.prototype.registerElementHandler=function(a,b){this.elementHandlerLookup[a.toLowerCase()]=b},a.prototype.registerEventStrategy=function(a,b){this.eventStrategyLookup[a]=b},a.prototype.getElementHandler=function(a,b){var c=void 0,d=this.elementHandlerLookup;if(a.tagName){if(c=a.tagName.toLowerCase(),d[c]&&d[c][b])return d[c][b];if("textContent"===b||"innerHTML"===b)return d["content editable"].value;if("scrollTop"===b||"scrollLeft"===b)return d["scrollable element"][b]}return null},a.prototype.addEventListener=function(a,b,c,d){return(this.eventStrategyLookup[b]||this.defaultEventStrategy).subscribe(a,b,c,d)},a}(),Qc=a.DirtyChecker=function(){function a(){this.tracked=[],this.checkDelay=120}return a.prototype.addProperty=function(a){var b=this.tracked;b.push(a),1===b.length&&this.scheduleDirtyCheck()},a.prototype.removeProperty=function(a){var b=this.tracked;b.splice(b.indexOf(a),1)},a.prototype.scheduleDirtyCheck=function(){var a=this;setTimeout(function(){return a.check()},this.checkDelay)},a.prototype.check=function(){for(var a=this.tracked,b=a.length;b--;){var c=a[b];c.isDirty()&&c.call()}a.length&&this.scheduleDirtyCheck()},a}(),Rc=a.DirtyCheckProperty=(sa=y(),sa(ta=function(){function a(a,b,c){this.dirtyChecker=a,this.obj=b,this.propertyName=c}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.call=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.isDirty=function(){return this.oldValue!==this.obj[this.propertyName]},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.dirtyChecker.addProperty(this)),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&this.dirtyChecker.removeProperty(this)},a}())||ta),Sc=Ia.getLogger("property-observation"),Tc=a.propertyAccessor={getValue:function(a,b){return a[b]},setValue:function(a,b,c){b[c]=a}},Uc=a.PrimitiveObserver=function(){function a(a,b){this.doNotCache=!0,this.primitive=a,this.propertyName=b}return a.prototype.getValue=function(){return this.primitive[this.propertyName]},a.prototype.setValue=function(){var a=Ja(this.primitive);throw new Error("The "+this.propertyName+" property of a "+a+" ("+this.primitive+") cannot be assigned.")},a.prototype.subscribe=function(){},a.prototype.unsubscribe=function(){},a}(),Vc=a.SetterObserver=(ua=y(),ua(va=function(){function a(a,b,c){this.taskQueue=a,this.obj=b,this.propertyName=c,this.queued=!1,this.observing=!1}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.getterValue=function(){return this.currentValue},a.prototype.setterValue=function(a){var b=this.currentValue;b!==a&&(this.queued||(this.oldValue=b,this.queued=!0,this.taskQueue.queueMicroTask(this)),this.currentValue=a)},a.prototype.call=function(){var a=this.oldValue,b=this.currentValue;this.queued=!1,this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.observing||this.convertProperty(),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.convertProperty=function(){this.observing=!0,this.currentValue=this.obj[this.propertyName],this.setValue=this.setterValue,this.getValue=this.getterValue,Reflect.defineProperty(this.obj,this.propertyName,{configurable:!0,enumerable:!(this.propertyName in this.obj)||this.obj.propertyIsEnumerable(this.propertyName),get:this.getValue.bind(this),set:this.setValue.bind(this)})||Sc.warn("Cannot observe property '"+this.propertyName+"' of object",this.obj)},a}())||va),Wc=a.XLinkAttributeObserver=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.attributeName=c}return a.prototype.getValue=function(){return this.element.getAttributeNS("http://www.w3.org/1999/xlink",this.attributeName)},a.prototype.setValue=function(a){return this.element.setAttributeNS("http://www.w3.org/1999/xlink",this.attributeName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),Xc=a.dataAttributeAccessor={getValue:function(a,b){return a.getAttribute(b)},setValue:function(a,b,c){return b.setAttribute(c,a)}},Yc=a.DataAttributeObserver=function(){function a(a,b){this.element=a,this.propertyName=b}return a.prototype.getValue=function(){return this.element.getAttribute(this.propertyName)},a.prototype.setValue=function(a){return this.element.setAttribute(this.propertyName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),Zc=a.StyleObserver=function(){function a(a,b){this.element=a,this.propertyName=b,this.styles=null,this.version=0}return a.prototype.getValue=function(){return this.element.style.cssText},a.prototype._setProperty=function(a,b){var c="";null!==b&&void 0!==b&&"function"==typeof b.indexOf&&b.indexOf("!important")!==-1&&(c="important",b=b.replace("!important","")),this.element.style.setProperty(a,b,c)},a.prototype.setValue=function(a){var b=this.styles||{},c=void 0,d=this.version;if(null!==a&&void 0!==a)if(a instanceof Object)for(c in a)a.hasOwnProperty(c)&&(b[c]=d,this._setProperty(c,a[c]));else if(a.length)for(var e=/\s*([\w\-]+)\s*:\s*((?:(?:[\w\-]+\(\s*(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[\w\-]+\(\s*(?:^"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^\)]*)\),?|[^\)]*)\),?|"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^;]*),?\s*)+);?/g,f=void 0;null!==(f=e.exec(a));)c=f[1],c&&(b[c]=d,this._setProperty(c,f[2]));if(this.styles=b,this.version+=1,0!==d){d-=1;for(c in b)b.hasOwnProperty(c)&&b[c]===d&&this.element.style.removeProperty(c)}},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),$c=a.ValueAttributeObserver=(wa=y(),wa(xa=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.handler=c,"files"===b&&(this.setValue=function(){})}return a.prototype.getValue=function(){return this.element[this.propertyName]},a.prototype.setValue=function(a){a=void 0===a||null===a?"":a,this.element[this.propertyName]!==a&&(this.element[this.propertyName]=a,this.notify())},a.prototype.notify=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.disposeHandler=this.handler.subscribe(this.element,this.notify.bind(this))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a}())||xa),_c="CheckedObserver:array",ad="CheckedObserver:value",bd=a.CheckedObserver=(ya=y(),ya(za=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){this.value!==a&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(_c,this),this.arrayObserver=null),"checkbox"===this.element.type&&Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(_c,this)),this.oldValue=this.value,this.value=a,this.synchronizeElement(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeElement(),this.valueObserver||(this.valueObserver=this.element.__observers__.model||this.element.__observers__.value,this.valueObserver&&this.valueObserver.subscribe(ad,this))},a.prototype.synchronizeElement=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d="radio"===b.type,e=b.matcher||function(a,b){return a===b};b.checked=d&&!!e(a,c)||!d&&a===!0||!d&&Array.isArray(a)&&a.findIndex(function(a){return!!e(a,c)})!==-1},a.prototype.synchronizeValue=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d=void 0,e=b.matcher||function(a,b){return a===b};if("checkbox"===b.type){if(Array.isArray(a))return d=a.findIndex(function(a){return!!e(a,c)}),void(b.checked&&d===-1?a.push(c):b.checked||d===-1||a.splice(d,1));a=b.checked}else{if(!b.checked)return;a=c}this.oldValue=this.value,this.value=a,this.notify()},a.prototype.notify=function(){var a=this.oldValue,b=this.value;this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.disposeHandler=this.handler.subscribe(this.element,this.synchronizeValue.bind(this,!1))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a.prototype.unbind=function(){this.arrayObserver&&(this.arrayObserver.unsubscribe(_c,this),this.arrayObserver=null),this.valueObserver&&this.valueObserver.unsubscribe(ad,this)},a}())||za),cd="SelectValueObserver:array",dd=a.SelectValueObserver=(Aa=y(),Aa(Ba=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){if(null!==a&&void 0!==a&&this.element.multiple&&!Array.isArray(a))throw new Error("Only null or Array instances can be bound to a multi-select.");this.value!==a&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(cd,this),this.arrayObserver=null),Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(cd,this)),this.oldValue=this.value,this.value=a,this.synchronizeOptions(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeOptions()},a.prototype.synchronizeOptions=function(){var a=this.value,b=void 0,c=void 0;null===a||void 0===a?b=!0:Array.isArray(a)&&(c=!0);for(var d=this.element.options,e=d.length,f=this.element.matcher||function(a,b){return a===b},g=function(){var g=d.item(e);if(b)return g.selected=!1,"continue";var h=g.hasOwnProperty("model")?g.model:g.value;return c?(g.selected=a.findIndex(function(a){return!!f(h,a)})!==-1,"continue"):void(g.selected=!!f(h,a))};e--;){g()}},a.prototype.synchronizeValue=function(){for(var a=this,b=this.element.options,c=0,d=[],e=0,f=b.length;e<f;e++){var g=b.item(e);g.selected&&(d.push(g.hasOwnProperty("model")?g.model:g.value),c++)}if(this.element.multiple){if(Array.isArray(this.value)){var h=function(){for(var b=a.element.matcher||function(a,b){return a===b},c=0,e=function(){var e=a.value[c];d.findIndex(function(a){return b(e,a)})===-1?a.value.splice(c,1):c++};c<a.value.length;)e();c=0;for(var f=function(){var e=d[c];a.value.findIndex(function(a){return b(e,a)})===-1&&a.value.push(e),c++};c<d.length;)f();return{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":Ja(h)))return h.v}}else d=0===c?null:d[0];d!==this.value&&(this.oldValue=this.value,this.value=d,this.notify())},a.prototype.notify=function(){var a=this.oldValue,b=this.value;this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.disposeHandler=this.handler.subscribe(this.element,this.synchronizeValue.bind(this,!1))),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&(this.disposeHandler(),this.disposeHandler=null)},a.prototype.bind=function(){var a=this;this.domObserver=c.DOM.createMutationObserver(function(){a.synchronizeOptions(),a.synchronizeValue()}),this.domObserver.observe(this.element,{childList:!0,subtree:!0})},a.prototype.unbind=function(){this.domObserver.disconnect(),this.domObserver=null,this.arrayObserver&&(this.arrayObserver.unsubscribe(cd,this),this.arrayObserver=null)},a}())||Ba),ed=a.ClassObserver=function(){function a(a){this.element=a,this.doNotCache=!0,this.value="",this.version=0}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){var b=this.nameIndex||{},c=this.version,d=void 0,e=void 0;if(null!==a&&void 0!==a&&a.length){d=a.split(/\s+/);for(var f=0,g=d.length;f<g;f++)e=d[f],""!==e&&(b[e]=c,this.element.classList.add(e))}if(this.value=a,this.nameIndex=b,this.version+=1,0!==c){c-=1;for(e in b)b.hasOwnProperty(e)&&b[e]===c&&this.element.classList.remove(e)}},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "class" property is not supported.')},a}(),fd=a.ComputedExpression=function(a){function b(b,c){var d=g(this,a.call(this));return d.name=b,d.dependencies=c,d.isAssignable=!0,d}return h(b,a),b.prototype.evaluate=function(a,b){return a.bindingContext[this.name]},b.prototype.assign=function(a,b){a.bindingContext[this.name]=b},b.prototype.accept=function(a){throw new Error("not implemented")},b.prototype.connect=function(a,b){for(var c=this.dependencies,d=c.length;d--;)c[d].connect(a,b)},b}(mb),gd=a.elements={a:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","target","transform","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],altGlyph:["class","dx","dy","externalResourcesRequired","format","glyphRef","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],altGlyphDef:["id","xml:base","xml:lang","xml:space"],altGlyphItem:["id","xml:base","xml:lang","xml:space"],animate:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateColor:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateMotion:["accumulate","additive","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keyPoints","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","origin","path","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","rotate","systemLanguage","to","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],animateTransform:["accumulate","additive","attributeName","attributeType","begin","by","calcMode","dur","end","externalResourcesRequired","fill","from","id","keySplines","keyTimes","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","type","values","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],circle:["class","cx","cy","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","r","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],clipPath:["class","clipPathUnits","externalResourcesRequired","id","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],"color-profile":["id","local","name","rendering-intent","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],cursor:["externalResourcesRequired","id","requiredExtensions","requiredFeatures","systemLanguage","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],defs:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],desc:["class","id","style","xml:base","xml:lang","xml:space"],ellipse:["class","cx","cy","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rx","ry","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],feBlend:["class","height","id","in","in2","mode","result","style","width","x","xml:base","xml:lang","xml:space","y"],feColorMatrix:["class","height","id","in","result","style","type","values","width","x","xml:base","xml:lang","xml:space","y"],feComponentTransfer:["class","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],feComposite:["class","height","id","in","in2","k1","k2","k3","k4","operator","result","style","width","x","xml:base","xml:lang","xml:space","y"],feConvolveMatrix:["bias","class","divisor","edgeMode","height","id","in","kernelMatrix","kernelUnitLength","order","preserveAlpha","result","style","targetX","targetY","width","x","xml:base","xml:lang","xml:space","y"],feDiffuseLighting:["class","diffuseConstant","height","id","in","kernelUnitLength","result","style","surfaceScale","width","x","xml:base","xml:lang","xml:space","y"],feDisplacementMap:["class","height","id","in","in2","result","scale","style","width","x","xChannelSelector","xml:base","xml:lang","xml:space","y","yChannelSelector"],feDistantLight:["azimuth","elevation","id","xml:base","xml:lang","xml:space"],feFlood:["class","height","id","result","style","width","x","xml:base","xml:lang","xml:space","y"],feFuncA:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncB:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncG:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feFuncR:["amplitude","exponent","id","intercept","offset","slope","tableValues","type","xml:base","xml:lang","xml:space"],feGaussianBlur:["class","height","id","in","result","stdDeviation","style","width","x","xml:base","xml:lang","xml:space","y"],feImage:["class","externalResourcesRequired","height","id","preserveAspectRatio","result","style","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],feMerge:["class","height","id","result","style","width","x","xml:base","xml:lang","xml:space","y"],feMergeNode:["id","xml:base","xml:lang","xml:space"],feMorphology:["class","height","id","in","operator","radius","result","style","width","x","xml:base","xml:lang","xml:space","y"],feOffset:["class","dx","dy","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],fePointLight:["id","x","xml:base","xml:lang","xml:space","y","z"],feSpecularLighting:["class","height","id","in","kernelUnitLength","result","specularConstant","specularExponent","style","surfaceScale","width","x","xml:base","xml:lang","xml:space","y"],feSpotLight:["id","limitingConeAngle","pointsAtX","pointsAtY","pointsAtZ","specularExponent","x","xml:base","xml:lang","xml:space","y","z"],feTile:["class","height","id","in","result","style","width","x","xml:base","xml:lang","xml:space","y"],feTurbulence:["baseFrequency","class","height","id","numOctaves","result","seed","stitchTiles","style","type","width","x","xml:base","xml:lang","xml:space","y"],filter:["class","externalResourcesRequired","filterRes","filterUnits","height","id","primitiveUnits","style","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],font:["class","externalResourcesRequired","horiz-adv-x","horiz-origin-x","horiz-origin-y","id","style","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],"font-face":["accent-height","alphabetic","ascent","bbox","cap-height","descent","font-family","font-size","font-stretch","font-style","font-variant","font-weight","hanging","id","ideographic","mathematical","overline-position","overline-thickness","panose-1","slope","stemh","stemv","strikethrough-position","strikethrough-thickness","underline-position","underline-thickness","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","widths","x-height","xml:base","xml:lang","xml:space"],"font-face-format":["id","string","xml:base","xml:lang","xml:space"],"font-face-name":["id","name","xml:base","xml:lang","xml:space"],"font-face-src":["id","xml:base","xml:lang","xml:space"],"font-face-uri":["id","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],foreignObject:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xml:base","xml:lang","xml:space","y"],g:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],glyph:["arabic-form","class","d","glyph-name","horiz-adv-x","id","lang","orientation","style","unicode","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],glyphRef:["class","dx","dy","format","glyphRef","id","style","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],hkern:["g1","g2","id","k","u1","u2","xml:base","xml:lang","xml:space"],image:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],line:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","x1","x2","xml:base","xml:lang","xml:space","y1","y2"],linearGradient:["class","externalResourcesRequired","gradientTransform","gradientUnits","id","spreadMethod","style","x1","x2","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y1","y2"],marker:["class","externalResourcesRequired","id","markerHeight","markerUnits","markerWidth","orient","preserveAspectRatio","refX","refY","style","viewBox","xml:base","xml:lang","xml:space"],mask:["class","externalResourcesRequired","height","id","maskContentUnits","maskUnits","requiredExtensions","requiredFeatures","style","systemLanguage","width","x","xml:base","xml:lang","xml:space","y"],metadata:["id","xml:base","xml:lang","xml:space"],"missing-glyph":["class","d","horiz-adv-x","id","style","vert-adv-y","vert-origin-x","vert-origin-y","xml:base","xml:lang","xml:space"],mpath:["externalResourcesRequired","id","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],path:["class","d","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","pathLength","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],pattern:["class","externalResourcesRequired","height","id","patternContentUnits","patternTransform","patternUnits","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","viewBox","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],polygon:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","points","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],polyline:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","points","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],
+radialGradient:["class","cx","cy","externalResourcesRequired","fx","fy","gradientTransform","gradientUnits","id","r","spreadMethod","style","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],rect:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rx","ry","style","systemLanguage","transform","width","x","xml:base","xml:lang","xml:space","y"],script:["externalResourcesRequired","id","type","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],set:["attributeName","attributeType","begin","dur","end","externalResourcesRequired","fill","id","max","min","onbegin","onend","onload","onrepeat","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","systemLanguage","to","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],stop:["class","id","offset","style","xml:base","xml:lang","xml:space"],style:["id","media","title","type","xml:base","xml:lang","xml:space"],svg:["baseProfile","class","contentScriptType","contentStyleType","externalResourcesRequired","height","id","onabort","onactivate","onclick","onerror","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onresize","onscroll","onunload","onzoom","preserveAspectRatio","requiredExtensions","requiredFeatures","style","systemLanguage","version","viewBox","width","x","xml:base","xml:lang","xml:space","y","zoomAndPan"],"switch":["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","xml:base","xml:lang","xml:space"],symbol:["class","externalResourcesRequired","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","preserveAspectRatio","style","viewBox","xml:base","xml:lang","xml:space"],text:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","transform","x","xml:base","xml:lang","xml:space","y"],textPath:["class","externalResourcesRequired","id","lengthAdjust","method","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","spacing","startOffset","style","systemLanguage","textLength","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space"],title:["class","id","style","xml:base","xml:lang","xml:space"],tref:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","x","xlink:arcrole","xlink:href","xlink:role","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],tspan:["class","dx","dy","externalResourcesRequired","id","lengthAdjust","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","rotate","style","systemLanguage","textLength","x","xml:base","xml:lang","xml:space","y"],use:["class","externalResourcesRequired","height","id","onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","requiredExtensions","requiredFeatures","style","systemLanguage","transform","width","x","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","y"],view:["externalResourcesRequired","id","preserveAspectRatio","viewBox","viewTarget","xml:base","xml:lang","xml:space","zoomAndPan"],vkern:["g1","g2","id","k","u1","u2","xml:base","xml:lang","xml:space"]},hd=a.presentationElements={a:!0,altGlyph:!0,animate:!0,animateColor:!0,circle:!0,clipPath:!0,defs:!0,ellipse:!0,feBlend:!0,feColorMatrix:!0,feComponentTransfer:!0,feComposite:!0,feConvolveMatrix:!0,feDiffuseLighting:!0,feDisplacementMap:!0,feFlood:!0,feGaussianBlur:!0,feImage:!0,feMerge:!0,feMorphology:!0,feOffset:!0,feSpecularLighting:!0,feTile:!0,feTurbulence:!0,filter:!0,font:!0,foreignObject:!0,g:!0,glyph:!0,glyphRef:!0,image:!0,line:!0,linearGradient:!0,marker:!0,mask:!0,"missing-glyph":!0,path:!0,pattern:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,svg:!0,"switch":!0,symbol:!0,text:!0,textPath:!0,tref:!0,tspan:!0,use:!0},id=a.presentationAttributes={"alignment-baseline":!0,"baseline-shift":!0,"clip-path":!0,"clip-rule":!0,clip:!0,"color-interpolation-filters":!0,"color-interpolation":!0,"color-profile":!0,"color-rendering":!0,color:!0,cursor:!0,direction:!0,display:!0,"dominant-baseline":!0,"enable-background":!0,"fill-opacity":!0,"fill-rule":!0,fill:!0,filter:!0,"flood-color":!0,"flood-opacity":!0,"font-family":!0,"font-size-adjust":!0,"font-size":!0,"font-stretch":!0,"font-style":!0,"font-variant":!0,"font-weight":!0,"glyph-orientation-horizontal":!0,"glyph-orientation-vertical":!0,"image-rendering":!0,kerning:!0,"letter-spacing":!0,"lighting-color":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,mask:!0,opacity:!0,overflow:!0,"pointer-events":!0,"shape-rendering":!0,"stop-color":!0,"stop-opacity":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-miterlimit":!0,"stroke-opacity":!0,"stroke-width":!0,stroke:!0,"text-anchor":!0,"text-decoration":!0,"text-rendering":!0,"unicode-bidi":!0,visibility:!0,"word-spacing":!0,"writing-mode":!0},jd=a.SVGAnalyzer=function(){function a(){"altglyph"===fa("<svg><altGlyph /></svg>").firstElementChild.nodeName&&gd.altGlyph&&(gd.altglyph=gd.altGlyph,delete gd.altGlyph,gd.altglyphdef=gd.altGlyphDef,delete gd.altGlyphDef,gd.altglyphitem=gd.altGlyphItem,delete gd.altGlyphItem,gd.glyphref=gd.glyphRef,delete gd.glyphRef)}return a.prototype.isStandardSvgAttribute=function(a,b){return hd[a]&&id[b]||gd[a]&&gd[a].indexOf(b)!==-1},a}(),kd=a.ObserverLocator=(Da=Ca=function(){function a(a,b,c,d,e){this.taskQueue=a,this.eventManager=b,this.dirtyChecker=c,this.svgAnalyzer=d,this.parser=e,this.adapters=[],this.logger=Ia.getLogger("observer-locator")}return a.prototype.getObserver=function(a,b){var c=a.__observers__,d=void 0;return c&&b in c?c[b]:(d=this.createPropertyObserver(a,b),d.doNotCache||(void 0===c&&(c=this.getOrCreateObserversLookup(a)),c[b]=d),d)},a.prototype.getOrCreateObserversLookup=function(a){return a.__observers__||this.createObserversLookup(a)},a.prototype.createObserversLookup=function(a){var b={};return Reflect.defineProperty(a,"__observers__",{enumerable:!1,configurable:!1,writable:!1,value:b})||this.logger.warn("Cannot add observers to object",a),b},a.prototype.addAdapter=function(a){this.adapters.push(a)},a.prototype.getAdapterObserver=function(a,b,c){for(var d=0,e=this.adapters.length;d<e;d++){var f=this.adapters[d],g=f.getObserver(a,b,c);if(g)return g}return null},a.prototype.createPropertyObserver=function(a,b){var d=void 0,e=void 0,f=void 0;if(!(a instanceof Object))return new Uc(a,b);if(a instanceof c.DOM.Element){if("class"===b)return new ed(a);if("style"===b||"css"===b)return new Zc(a,b);if(e=this.eventManager.getElementHandler(a,b),"value"===b&&"select"===a.tagName.toLowerCase())return new dd(a,e,this);if("checked"===b&&"input"===a.tagName.toLowerCase())return new bd(a,e,this);if(e)return new $c(a,b,e);if(f=/^xlink:(.+)$/.exec(b))return new Wc(a,b,f[1]);if("role"===b&&(a instanceof c.DOM.Element||a instanceof c.DOM.SVGElement)||/^\w+:|^data-|^aria-/.test(b)||a instanceof c.DOM.SVGElement&&this.svgAnalyzer.isStandardSvgAttribute(a.nodeName,b))return new Yc(a,b)}if(d=Object.getPropertyDescriptor(a,b),ba(d))return ea(a,b,d,this);if(d){var g=d.get||d.set;if(g){if(g.getObserver)return g.getObserver(a);var h=this.getAdapterObserver(a,b,d);return h?h:new Rc(this.dirtyChecker,a,b)}}return a instanceof Array?"length"===b?this.getArrayObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):a instanceof Map?"size"===b?this.getMapObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):a instanceof Set?"size"===b?this.getSetObserver(a).getLengthObserver():new Rc(this.dirtyChecker,a,b):new Vc(this.taskQueue,a,b)},a.prototype.getAccessor=function(a,b){if(a instanceof c.DOM.Element){if("class"===b||"style"===b||"css"===b||"value"===b&&("input"===a.tagName.toLowerCase()||"select"===a.tagName.toLowerCase())||"checked"===b&&"input"===a.tagName.toLowerCase()||"model"===b&&"input"===a.tagName.toLowerCase()||/^xlink:.+$/.exec(b))return this.getObserver(a,b);if(/^\w+:|^data-|^aria-/.test(b)||a instanceof c.DOM.SVGElement&&this.svgAnalyzer.isStandardSvgAttribute(a.nodeName,b))return Xc}return Tc},a.prototype.getArrayObserver=function(a){return K(this.taskQueue,a)},a.prototype.getMapObserver=function(a){return Z(this.taskQueue,a)},a.prototype.getSetObserver=function(a){return ja(this.taskQueue,a)},a}(),Ca.inject=[d.TaskQueue,Pc,Qc,jd,Jc],Da),ld=(a.ObjectObservationAdapter=function(){function a(){}return a.prototype.getObserver=function(a,b,c){throw new Error("BindingAdapters must implement getObserver(object, propertyName).")},a}(),a.BindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.sourceExpression=c,this.mode=d,this.lookupFunctions=e,this.attribute=f,this.discrete=!1}return a.prototype.createBinding=function(a){return new nd(this.observerLocator,this.sourceExpression,a,this.targetProperty,this.mode,this.lookupFunctions)},a}()),md="Binding:target",nd=a.Binding=(Ea=q(),Ea(Fa=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.sourceExpression=b,this.target=c,this.targetProperty=d,this.mode=e,this.lookupFunctions=f}return a.prototype.updateTarget=function(a){this.targetObserver.setValue(a,this.target,this.targetProperty)},a.prototype.updateSource=function(a){this.sourceExpression.assign(this.source,a,this.lookupFunctions)},a.prototype.call=function(a,b,c){if(this.isBound){if(a===Ma)return c=this.targetObserver.getValue(this.target,this.targetProperty),b=this.sourceExpression.evaluate(this.source,this.lookupFunctions),b!==c&&this.updateTarget(b),void(this.mode!==Hb.oneTime&&(this._version++,this.sourceExpression.connect(this,this.source),this.unobserve(!1)));if(a===md)return void(b!==this.sourceExpression.evaluate(this.source,this.lookupFunctions)&&this.updateSource(b));throw new Error("Unexpected call context "+a)}},a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions);var b=this.mode;if(!this.targetObserver){var c=b===Hb.twoWay?"getObserver":"getAccessor";this.targetObserver=this.observerLocator[c](this.target,this.targetProperty)}"bind"in this.targetObserver&&this.targetObserver.bind();var d=this.sourceExpression.evaluate(a,this.lookupFunctions);this.updateTarget(d),b===Hb.oneWay?s(this):b===Hb.twoWay&&(this.sourceExpression.connect(this,a),this.targetObserver.subscribe(md,this))},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,"unbind"in this.targetObserver&&this.targetObserver.unbind(),this.targetObserver.unsubscribe&&this.targetObserver.unsubscribe(md,this),this.unobserve(!0))},a.prototype.connect=function(a){if(this.isBound){if(a){var b=this.sourceExpression.evaluate(this.source,this.lookupFunctions);this.updateTarget(b)}this.sourceExpression.connect(this,this.source)}},a}())||Fa),od=(a.CallExpression=function(){function a(a,b,c,d){this.observerLocator=a,this.targetProperty=b,this.sourceExpression=c,this.lookupFunctions=d}return a.prototype.createBinding=function(a){return new od(this.observerLocator,this.sourceExpression,a,this.targetProperty,this.lookupFunctions)},a}(),a.Call=function(){function a(a,b,c,d,e){this.sourceExpression=b,this.target=c,this.targetProperty=a.getObserver(c,d),this.lookupFunctions=e}return a.prototype.callSource=function(a){var b=this.source.overrideContext;Object.assign(b,a),b.$event=a;var c=!0,d=this.sourceExpression.evaluate(this.source,this.lookupFunctions,c);delete b.$event;for(var e in a)delete b[e];return d},a.prototype.bind=function(a){var b=this;if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this.targetProperty.setValue(function(a){return b.callSource(a)})},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,this.targetProperty.setValue(null))},a}()),pd=a.ValueConverterResource=function(){function a(a){this.name=a}return a.convention=function(b){if(b.endsWith("ValueConverter"))return new a(i(b.substring(0,b.length-14)))},a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerValueConverter(b||this.name,this.instance)},a.prototype.load=function(a,b){},a}(),qd=a.BindingBehaviorResource=function(){function a(a){this.name=a}return a.convention=function(b){if(b.endsWith("BindingBehavior"))return new a(i(b.substring(0,b.length-15)))},a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerBindingBehavior(b||this.name,this.instance)},a.prototype.load=function(a,b){},a}(),rd=(a.ListenerExpression=function(){function a(a,b,c,d,e,f){this.eventManager=a,this.targetEvent=b,this.sourceExpression=c,this.delegate=d,this.discrete=!0,this.preventDefault=e,this.lookupFunctions=f}return a.prototype.createBinding=function(a){return new rd(this.eventManager,this.targetEvent,this.delegate,this.sourceExpression,a,this.preventDefault,this.lookupFunctions)},a}(),a.Listener=function(){function a(a,b,c,d,e,f,g){this.eventManager=a,this.targetEvent=b,this.delegate=c,this.sourceExpression=d,this.target=e,this.preventDefault=f,this.lookupFunctions=g}return a.prototype.callSource=function(a){var b=this.source.overrideContext;b.$event=a;var c=!0,d=this.sourceExpression.evaluate(this.source,this.lookupFunctions,c);return delete b.$event,d!==!0&&this.preventDefault&&a.preventDefault(),d},a.prototype.bind=function(a){var b=this;if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this._disposeListener=this.eventManager.addEventListener(this.target,this.targetEvent,function(a){return b.callSource(a)},this.delegate)},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null,this._disposeListener(),this._disposeListener=null)},a}()),sd=(a.NameExpression=function(){function a(a,b,c){this.sourceExpression=a,this.apiName=b,this.lookupFunctions=c,this.discrete=!0}return a.prototype.createBinding=function(b){return new sd(this.sourceExpression,a.locateAPI(b,this.apiName),this.lookupFunctions)},a.locateAPI=function(a,b){switch(b){case"element":return a;case"controller":return ia(a).controller;case"view-model":return ia(a).controller.viewModel;case"view":return ia(a).controller.view;default:var c=ia(a)[b];if(void 0===c)throw new Error('Attempted to reference "'+b+"\", but it was not found amongst the target's API.");return c.viewModel}},a}(),function(){function a(a,b,c){this.sourceExpression=a,this.target=b,this.lookupFunctions=c}return a.prototype.bind=function(a){if(this.isBound){if(this.source===a)return;this.unbind()}this.isBound=!0,this.source=a,this.sourceExpression.bind&&this.sourceExpression.bind(this,a,this.lookupFunctions),this.sourceExpression.assign(this.source,this.target,this.lookupFunctions)},a.prototype.unbind=function(){this.isBound&&(this.isBound=!1,this.sourceExpression.evaluate(this.source,this.lookupFunctions)===this.target&&this.sourceExpression.assign(this.source,null,this.lookupFunctions),this.sourceExpression.unbind&&this.sourceExpression.unbind(this,this.source),this.source=null)},a}()),td={bindingBehaviors:function(a){return null},valueConverters:function(a){return null}},ud=(a.BindingEngine=(Ha=Ga=function(){function a(a,b){this.observerLocator=a,this.parser=b}return a.prototype.createBindingExpression=function(a,b){var c=arguments.length<=2||void 0===arguments[2]?Hb.oneWay:arguments[2],d=arguments.length<=3||void 0===arguments[3]?td:arguments[3];return new ld(this.observerLocator,a,this.parser.parse(b),c,d)},a.prototype.propertyObserver=function(a,b){var c=this;return{subscribe:function(d){var e=c.observerLocator.getObserver(a,b);return e.subscribe(d),{dispose:function(){return e.unsubscribe(d)}}}}},a.prototype.collectionObserver=function(a){var b=this;return{subscribe:function(c){var d=void 0;if(a instanceof Array)d=b.observerLocator.getArrayObserver(a);else if(a instanceof Map)d=b.observerLocator.getMapObserver(a);else{if(!(a instanceof Set))throw new Error("collection must be an instance of Array, Map or Set.");d=b.observerLocator.getSetObserver(a)}return d.subscribe(c),{dispose:function(){return d.unsubscribe(c)}}}}},a.prototype.expressionObserver=function(a,b){var c={bindingContext:a,overrideContext:j(a)};return new Ya(c,this.parser.parse(b),this.observerLocator,td)},a.prototype.parseExpression=function(a){return this.parser.parse(a)},a.prototype.registerAdapter=function(a){this.observerLocator.addAdapter(a)},a}(),Ga.inject=[kd,Jc],Ha),Set.prototype);a.getSetObserver=ja;var vd=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b["for"]=function(a,c){return"__set_observer__"in c||Reflect.defineProperty(c,"__set_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__set_observer__},b.create=function(a,c){var d=new b(a,c),e=ud;return e.add===c.add&&e["delete"]===c["delete"]&&e.clear===c.clear||(e={add:c.add,"delete":c["delete"],clear:c.clear}),c.add=function(){var a="add",b=c.size,f=e.add.apply(c,arguments),g=c.size===b;return g||d.addChangeRecord({type:a,object:c,value:Array.from(c).pop()}),f},c["delete"]=function(){var a=c.has(arguments[0]),b=e["delete"].apply(c,arguments);return a&&d.addChangeRecord({type:"delete",object:c,value:arguments[0]}),b},c.clear=function(){var a=e.clear.apply(c,arguments);return d.addChangeRecord({type:"clear",object:c}),a},d},b}(cb)})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.0.9.js",["npm:aurelia-binding@1.0.9/aurelia-binding"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-task-queue@1.1.0/aurelia-task-queue.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(a){var c=1,d=b.DOM.createMutationObserver(a),e=b.DOM.createTextNode("");return d.observe(e,{characterData:!0}),function(){c=-c,e.data=c}}function d(a){return function(){function b(){clearTimeout(c),clearInterval(d),a()}var c=setTimeout(b,0),d=setInterval(b,50)}}function e(a,b){"onError"in b?b.onError(a):f?setImmediate(function(){throw a}):setTimeout(function(){throw a},0)}Object.defineProperty(a,"__esModule",{value:!0}),a.TaskQueue=void 0;var f="function"==typeof setImmediate;a.TaskQueue=function(){function a(){var a=this;this.flushing=!1,this.microTaskQueue=[],this.microTaskQueueCapacity=1024,this.taskQueue=[],b.FEATURE.mutationObserver?this.requestFlushMicroTaskQueue=c(function(){return a.flushMicroTaskQueue()}):this.requestFlushMicroTaskQueue=d(function(){return a.flushMicroTaskQueue()}),this.requestFlushTaskQueue=d(function(){return a.flushTaskQueue()})}return a.prototype.queueMicroTask=function(a){this.microTaskQueue.length<1&&this.requestFlushMicroTaskQueue(),this.microTaskQueue.push(a)},a.prototype.queueTask=function(a){this.taskQueue.length<1&&this.requestFlushTaskQueue(),this.taskQueue.push(a)},a.prototype.flushTaskQueue=function(){var a=this.taskQueue,b=0,c=void 0;this.taskQueue=[];try{for(this.flushing=!0;b<a.length;)c=a[b],c.call(),b++}catch(d){e(d,c)}finally{this.flushing=!1}},a.prototype.flushMicroTaskQueue=function(){var a=this.microTaskQueue,b=this.microTaskQueueCapacity,c=0,d=void 0;try{for(this.flushing=!0;c<a.length;)if(d=a[c],d.call(),c++,c>b){for(var f=0,g=a.length-c;f<g;f++)a[f]=a[f+c];a.length-=c,c=0}}catch(h){e(h,d)}finally{this.flushing=!1}a.length=0},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-task-queue@1.1.0.js",["npm:aurelia-task-queue@1.1.0/aurelia-task-queue"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating@1.1.1/aurelia-templating.js",["exports","aurelia-logging","aurelia-metadata","aurelia-pal","aurelia-path","aurelia-loader","aurelia-dependency-injection","aurelia-binding","aurelia-task-queue"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function k(a){return"-"+a.toLowerCase()}function l(a){return(a.charAt(0).toLowerCase()+a.slice(1)).replace(Ra,k)}function m(a){return!(a.auInterpolationTarget||/[^\t\n\r ]/.test(a.textContent))}function n(a){var b=function(a){c.metadata.define(c.metadata.resource,new Sa,a)};return a?b(a):b}function o(a){throw new Error("BindingLanguage must implement "+a+"().")}function p(a,b,c,d){if(b){var e=a[b];if(e){if(e!==c)throw new Error("Attempted to register "+d+" when one with the same name already exists. Name: "+b+".")}else a[b]=c}}function q(a){if(void 0!==a.animatableElement)return a.animatableElement;for(var b=a.firstChild;b&&1!==b.nodeType;)b=b.nextSibling;return b&&1===b.nodeType?a.animatableElement=b.classList.contains("au-animate")?b:null:a.animatableElement=null}function r(a){if(a===d.DOM.Element)return this.element;if(a===ob){if(this.boundViewFactory)return this.boundViewFactory;var b=this.instruction.viewFactory,c=this.partReplacements;return c&&(b=c[b.part]||b),this.boundViewFactory=new ob(this,b,c),this.boundViewFactory}return a===lb?(void 0===this.viewSlot&&(this.viewSlot=new lb(this.element,this.instruction.anchorIsContainer),this.element.isContentProjectionSource=this.instruction.lifting,this.children.push(this.viewSlot)),this.viewSlot):a===Ta?this.elementEvents||(this.elementEvents=new Ta(this.element)):a===Qa?this.compositionTransaction||(this.compositionTransaction=this.parent.get(a)):a===jb?this.viewResources:a===Xa?this.instruction:this.superGet(a)}function s(a,b,c,d,e,f){var g=a.createChild(),h=void 0,i=void 0;for(g.element=b,g.instruction=c,g.children=d,g.viewResources=f,g.partReplacements=e,h=c.providers,i=h.length;i--;)g._resolvers.set(h[i],nb);return g.superGet=g.get,g.get=r,g}function t(a,b){var c=d.DOM.createComment("anchor");if(b){var e=a.firstChild;e&&"AU-CONTENT"===e.tagName&&(c.contentElement=e),c.hasAttribute=function(b){return a.hasAttribute(b)},c.getAttribute=function(b){return a.getAttribute(b)},c.setAttribute=function(b,c){a.setAttribute(b,c)}}return d.DOM.replaceNode(c,a),c}function u(a,b,c,e,f,g,h,i,j){var k=c.behaviorInstructions,l=c.expressions,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;if(c.contentExpression)return f.push(c.contentExpression.createBinding(b.nextSibling)),b.nextSibling.auInterpolationTarget=!0,void b.parentNode.removeChild(b);if(c.shadowSlot){var r=d.DOM.createComment("slot"),u=void 0;return u=c.slotDestination?new gb(r,c.slotName,c.slotDestination,c.slotFallbackFactory):new hb(r,c.slotName,c.slotFallbackFactory),d.DOM.replaceNode(r,b),h[c.slotName]=u,void e.push(u)}if(k.length)for(c.anchorIsContainer||(b=t(b,c.elementInstruction)),a[c.injectorId]=m=s(a[c.parentInjectorId],b,c,g,i,j),n=0,o=k.length;n<o;++n)p=k[n],q=p.type.create(m,p,b,f),e.push(q);for(n=0,o=l.length;n<o;++n)f.push(l[n].createBinding(b))}function v(a,b){var c=a.split(";"),d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;for(b=b||{},e=0;e<c.length;e++)f=c[e],d=f.indexOf(":"),g=f.substring(0,d).trim(),h=f.substring(d+1).trim(),b[g]=h;return b}function w(a){var b="";for(var c in a)b+=c+":"+a[c]+";";return b}function x(a,b,c,d,e,f){var g=c.behaviorInstructions,h=c.expressions,i=c.providers,j=c.values,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0;for(k=i.length;k--;)a._resolvers.set(i[k],nb);for(var p in j)if(o=b.getAttribute(p)){if("class"===p)b.setAttribute("class",o+" "+j[p]);else if("style"===p){var q=v(j[p]);v(o,q),b.setAttribute("style",w(q))}}else b.setAttribute(p,j[p]);if(g.length)for(k=0,l=g.length;k<l;++k)m=g[k],n=m.type.create(a,m,b,e),n.contentView&&f.push(n.contentView),d.push(n);for(k=0,l=h.length;k<l;++k)e.push(h[k].createBinding(b))}function y(){return++qb}function z(a,b){var c=a.type,d=a.attrName,e=a.attributes,f=void 0,g=void 0,h=void 0,i=b.mapAttribute(d);i&&d in e&&i!==d&&(e[i]=e[d],delete e[d]);for(g in e)h=e[g],null!==h&&"object"===("undefined"==typeof h?"undefined":Ma(h))&&(f=c.attributes[g],void 0!==f?h.targetProperty=f.name:h.targetProperty=g)}function A(){return(++rb).toString()}function B(a){var b=a.getAttribute("class"),c=A();return a.setAttribute("class",b?b+=" au-target":"au-target"),a.setAttribute("au-target-id",c),c}function C(a,b,c,e,f){var g=d.DOM.createElement("au-shadow-slot");d.DOM.replaceNode(g,c);var h=B(g),i=Xa.shadowSlot(f);if(i.slotName=c.getAttribute("name")||ib.defaultSlotKey,i.slotDestination=c.getAttribute("slot"),c.innerHTML.trim()){for(var j=d.DOM.createDocumentFragment(),k=void 0;k=c.firstChild;)j.appendChild(k);i.slotFallbackFactory=a.compile(j,b)}return e[h]=i,g}function D(a,b){return b instanceof f.TemplateRegistryEntry?Promise.resolve(b):a.loadTemplate(b)}function E(a,b,c){var d=b.__observers__;return void 0===d&&(a.isInitialized||a.initialize(g.Container.instance||new g.Container,b.constructor),d=a.observerLocator.getOrCreateObserversLookup(b),a._ensurePropertiesDefined(b,d)),d[c]}function F(){return++Cb}function G(){return!0}function H(){}function I(a,b){return function(d,e,f){var g="string"==typeof e?d.constructor:d,h=c.metadata.getOrCreateOwn(c.metadata.resource,Db,g);"string"==typeof a&&(a={selector:a,name:e}),f&&(f.writable=!0),a.all=b,h.addChildBinding(new Eb(a))}}function J(a){return I(a,!0)}function K(a){return I(a,!1)}function L(a,b,c){var d=a.get(b);d||(d=[],a.set(b,d)),d.push(c)}function M(a,b){for(var c=b.binders,d=c.length,e=new Map,f=0,g=a.length;f<g;++f){for(var h=a[f],i=h.addedNodes,j=h.removedNodes,k=0,l=j.length;k<l;++k){var m=j[k];if(1===m.nodeType)for(var n=0;n<d;++n){var o=c[n];o.onRemove(m)&&L(e,o,h)}}for(var p=0,q=i.length;p<q;++p){var r=i[p];if(1===r.nodeType)for(var s=0;s<d;++s){var t=c[s];t.onAdd(r)&&L(e,t,h)}}}e.forEach(function(a,b){null!==b.changeHandler&&b.viewModel[b.changeHandler](a)})}function N(a){return a.skipActivation||"function"!=typeof a.viewModel.activate?Promise.resolve():a.viewModel.activate(a.model)||Promise.resolve()}function O(a,b){if(/[A-Z]/.test(a)){var c=l(a);return Ka.getLogger("templating").warn("'"+a+"' is not a valid "+b+" name and has been converted to '"+c+"'. Upper-case letters are not allowed because the DOM is not case-sensitive."),c}return a}function P(a){return function(b){c.metadata.define(c.metadata.resource,a,b)}}function Q(a){return function(b){if(a instanceof Db)c.metadata.define(c.metadata.resource,a,b);else{var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);Object.assign(d,a)}}}function R(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.elementName=O(a,"custom element")}}function S(a,b){return function(d){var e=c.metadata.getOrCreateOwn(c.metadata.resource,Db,d);e.attributeName=O(a,"custom attribute"),e.attributeDefaultBindingMode=b}}function T(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.liftsContent=!0};return a?b(a):b}function U(a,b,d){var e=function(b,d,e){var f=d?b.constructor:b,g=c.metadata.getOrCreateOwn(c.metadata.resource,Db,f),h=void 0;return d&&(a=a||{},a.name=d),h=new Bb(a),h.registerWith(f,g,e)};if(!a)return e;if(b){var f=a;return a=null,e(f,b,d)}return e}function V(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.hasDynamicOptions=!0};return a?b(a):b}function W(a){var b="function"!=typeof a&&a?a:Jb,d=function(a){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);d.targetShadowDOM=!0,d.shadowDOMOptions=b};return"function"==typeof a?d(a):d}function X(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.processAttributes=function(b,c,d,e,f){try{a(b,c,d,e,f)}catch(g){Ka.getLogger("templating").error(g)}}}}function Y(){return!1}function Z(a){return function(b){var d=c.metadata.getOrCreateOwn(c.metadata.resource,Db,b);d.processContent=a?function(b,c,d,e){try{return a(b,c,d,e)}catch(f){return Ka.getLogger("templating").error(f),!1}}:Y}}function $(a){var b=function(a){var b=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a);b.containerless=!0};return a?b(a):b}function _(a){return function(b){c.metadata.define(cb.viewStrategyMetadataKey,a,b)}}function aa(a){return _(new Za(a))}function ba(a,b,c){return _(new bb(a,b,c))}function ca(a,b){var d=void 0,e=void 0;"function"==typeof a?d=a:(e=a,d=void 0);var f=function(a){c.metadata.define(cb.viewStrategyMetadataKey,new _a(e,b),a)};return d?f(d):f}function da(a){var b=function(a){c.metadata.define(c.metadata.resource,new Ib,a)};return a?b(a):b}function ea(){return function(a){c.metadata.define(yb.viewModelRequireMetadataKey,resources,a)}}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingEngine=a.ElementConfigResource=a.CompositionEngine=a.HtmlBehaviorResource=a.BindableProperty=a.BehaviorPropertyObserver=a.Controller=a.ViewEngine=a.ModuleAnalyzer=a.ResourceDescription=a.ResourceModule=a.ViewCompiler=a.ViewFactory=a.BoundViewFactory=a.ViewSlot=a.View=a.ViewResources=a.ShadowDOM=a.ShadowSlot=a.PassThroughSlot=a.SlotCustomAttribute=a.BindingLanguage=a.ViewLocator=a.InlineViewStrategy=a.TemplateRegistryViewStrategy=a.NoViewStrategy=a.ConventionalViewStrategy=a.RelativeViewStrategy=a.viewStrategy=a.TargetInstruction=a.BehaviorInstruction=a.ViewCompileInstruction=a.ResourceLoadContext=a.ElementEvents=a.ViewEngineHooksResource=a.CompositionTransaction=a.CompositionTransactionOwnershipToken=a.CompositionTransactionNotifier=a.Animator=a.animationEvent=void 0,a._hyphenate=l,a._isAllWhitespace=m,a.viewEngineHooks=n,a.children=J,a.child=K,a.resource=P,a.behavior=Q,a.customElement=R,a.customAttribute=S,a.templateController=T,a.bindable=U,a.dynamicOptions=V,a.useShadowDOM=W,a.processAttributes=X,a.processContent=Z,a.containerless=$,a.useViewStrategy=_,a.useView=aa,a.inlineView=ba,a.noView=ca,a.elementConfig=da,a.viewResources=ea;var fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Ka=j(b),La=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},Na=(a.animationEvent={enterBegin:"animation:enter:begin",enterActive:"animation:enter:active",enterDone:"animation:enter:done",enterTimeout:"animation:enter:timeout",leaveBegin:"animation:leave:begin",leaveActive:"animation:leave:active",leaveDone:"animation:leave:done",leaveTimeout:"animation:leave:timeout",staggerNext:"animation:stagger:next",removeClassBegin:"animation:remove-class:begin",
+removeClassActive:"animation:remove-class:active",removeClassDone:"animation:remove-class:done",removeClassTimeout:"animation:remove-class:timeout",addClassBegin:"animation:add-class:begin",addClassActive:"animation:add-class:active",addClassDone:"animation:add-class:done",addClassTimeout:"animation:add-class:timeout",animateBegin:"animation:animate:begin",animateActive:"animation:animate:active",animateDone:"animation:animate:done",animateTimeout:"animation:animate:timeout",sequenceBegin:"animation:sequence:begin",sequenceDone:"animation:sequence:done"},a.Animator=function(){function a(){}return a.prototype.enter=function(a){return Promise.resolve(!1)},a.prototype.leave=function(a){return Promise.resolve(!1)},a.prototype.removeClass=function(a,b){return a.classList.remove(b),Promise.resolve(!1)},a.prototype.addClass=function(a,b){return a.classList.add(b),Promise.resolve(!1)},a.prototype.animate=function(a,b){return Promise.resolve(!1)},a.prototype.runSequence=function(a){},a.prototype.registerEffect=function(a,b){},a.prototype.unregisterEffect=function(a){},a}()),Oa=a.CompositionTransactionNotifier=function(){function a(a){this.owner=a,this.owner._compositionCount++}return a.prototype.done=function(){this.owner._compositionCount--,this.owner._tryCompleteTransaction()},a}(),Pa=a.CompositionTransactionOwnershipToken=function(){function a(a){this.owner=a,this.owner._ownershipToken=this,this.thenable=this._createThenable()}return a.prototype.waitForCompositionComplete=function(){return this.owner._tryCompleteTransaction(),this.thenable},a.prototype.resolve=function(){this._resolveCallback()},a.prototype._createThenable=function(){var a=this;return new Promise(function(b,c){a._resolveCallback=b})},a}(),Qa=a.CompositionTransaction=function(){function a(){this._ownershipToken=null,this._compositionCount=0}return a.prototype.tryCapture=function(){return null===this._ownershipToken?new Pa(this):null},a.prototype.enlist=function(){return new Oa(this)},a.prototype._tryCompleteTransaction=function(){if(this._compositionCount<=0&&(this._compositionCount=0,null!==this._ownershipToken)){var a=this._ownershipToken;this._ownershipToken=null,a.resolve()}},a}(),Ra=/([A-Z])/g,Sa=a.ViewEngineHooksResource=function(){function a(){}return a.prototype.initialize=function(a,b){this.instance=a.get(b)},a.prototype.register=function(a,b){a.registerViewEngineHooks(this.instance)},a.prototype.load=function(a,b){},a.convention=function(b){if(b.endsWith("ViewEngineHooks"))return new a},a}(),Ta=a.ElementEvents=function(){function a(a){this.element=a,this.subscriptions={}}return a.prototype._enqueueHandler=function(a){this.subscriptions[a.eventName]=this.subscriptions[a.eventName]||[],this.subscriptions[a.eventName].push(a)},a.prototype._dequeueHandler=function(a){var b=void 0,c=this.subscriptions[a.eventName];return c&&(b=c.indexOf(a),b>-1&&c.splice(b,1)),a},a.prototype.publish=function(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=arguments.length<=2||void 0===arguments[2]||arguments[2],e=arguments.length<=3||void 0===arguments[3]||arguments[3],f=d.DOM.createCustomEvent(a,{cancelable:e,bubbles:c,detail:b});this.element.dispatchEvent(f)},a.prototype.subscribe=function(a,b){var c=this,d=arguments.length<=2||void 0===arguments[2]||arguments[2];if(b&&"function"==typeof b)return b.eventName=a,b.handler=b,b.bubbles=d,b.dispose=function(){c.element.removeEventListener(a,b,d),c._dequeueHandler(b)},this.element.addEventListener(a,b,d),this._enqueueHandler(b),b},a.prototype.subscribeOnce=function(a,b){var c=this,d=arguments.length<=2||void 0===arguments[2]||arguments[2];if(b&&"function"==typeof b){var e=function(){var e=function f(a){b(a),f.dispose()};return{v:c.subscribe(a,e,d)}}();if("object"===("undefined"==typeof e?"undefined":Ma(e)))return e.v}},a.prototype.dispose=function(a){if(a&&"string"==typeof a){var b=this.subscriptions[a];if(b)for(;b.length;){var c=b.pop();c&&c.dispose()}}else this.disposeAll()},a.prototype.disposeAll=function(){for(var a in this.subscriptions)this.dispose(a)},a}(),Ua=a.ResourceLoadContext=function(){function a(){this.dependencies={}}return a.prototype.addDependency=function(a){this.dependencies[a]=!0},a.prototype.hasDependency=function(a){return a in this.dependencies},a}(),Va=a.ViewCompileInstruction=function(){var a=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];this.targetShadowDOM=a,this.compileSurrogate=b,this.associatedModuleId=null};Va.normal=new Va;var Wa=a.BehaviorInstruction=function(){function a(){this.initiatedByBehavior=!1,this.enhance=!1,this.partReplacements=null,this.viewFactory=null,this.originalAttrName=null,this.skipContentProcessing=!1,this.contentFactory=null,this.viewModel=null,this.anchorIsContainer=!1,this.host=null,this.attributes=null,this.type=null,this.attrName=null,this.inheritBindingContext=!1}return a.enhance=function(){var b=new a;return b.enhance=!0,b},a.unitTest=function(b,c){var d=new a;return d.type=b,d.attributes=c||{},d},a.element=function(b,c){var d=new a;return d.type=c,d.attributes={},d.anchorIsContainer=!(b.hasAttribute("containerless")||c.containerless),d.initiatedByBehavior=!0,d},a.attribute=function(b,c){var d=new a;return d.attrName=b,d.type=c||null,d.attributes={},d},a.dynamic=function(b,c,d){var e=new a;return e.host=b,e.viewModel=c,e.viewFactory=d,e.inheritBindingContext=!0,e},a}();Wa.normal=new Wa;var Xa=a.TargetInstruction=(ga=fa=function(){function a(){this.injectorId=null,this.parentInjectorId=null,this.shadowSlot=!1,this.slotName=null,this.slotFallbackFactory=null,this.contentExpression=null,this.expressions=null,this.behaviorInstructions=null,this.providers=null,this.viewFactory=null,this.anchorIsContainer=!1,this.elementInstruction=null,this.lifting=!1,this.values=null}return a.shadowSlot=function(b){var c=new a;return c.parentInjectorId=b,c.shadowSlot=!0,c},a.contentExpression=function(b){var c=new a;return c.contentExpression=b,c},a.lifting=function(b,c){var d=new a;return d.parentInjectorId=b,d.expressions=a.noExpressions,d.behaviorInstructions=[c],d.viewFactory=c.viewFactory,d.providers=[c.type.target],d.lifting=!0,d},a.normal=function(b,c,d,e,f,g){var h=new a;return h.injectorId=b,h.parentInjectorId=c,h.providers=d,h.behaviorInstructions=e,h.expressions=f,h.anchorIsContainer=!g||g.anchorIsContainer,h.elementInstruction=g,h},a.surrogate=function(b,c,d,e){var f=new a;return f.expressions=d,f.behaviorInstructions=c,f.providers=b,f.values=e,f},a}(),fa.noExpressions=Object.freeze([]),ga),Ya=a.viewStrategy=c.protocol.create("aurelia:view-strategy",{validate:function(a){return"function"==typeof a.loadViewFactory||"View strategies must implement: loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext): Promise<ViewFactory>"},compose:function(a){"function"!=typeof a.makeRelativeTo&&(a.makeRelativeTo=d.PLATFORM.noop)}}),Za=a.RelativeViewStrategy=(ha=Ya(),ha(ia=function(){function a(a){this.path=a,this.absolutePath=null}return a.prototype.loadViewFactory=function(a,b,c,d){return null===this.absolutePath&&this.moduleId&&(this.absolutePath=(0,e.relativeToFile)(this.path,this.moduleId)),b.associatedModuleId=this.moduleId,a.loadViewFactory(this.absolutePath||this.path,b,c,d)},a.prototype.makeRelativeTo=function(a){null===this.absolutePath&&(this.absolutePath=(0,e.relativeToFile)(this.path,a))},a}())||ia),$a=a.ConventionalViewStrategy=(ja=Ya(),ja(ka=function(){function a(a,b){this.moduleId=b.moduleId,this.viewUrl=a.convertOriginToViewUrl(b)}return a.prototype.loadViewFactory=function(a,b,c,d){return b.associatedModuleId=this.moduleId,a.loadViewFactory(this.viewUrl,b,c,d)},a}())||ka),_a=a.NoViewStrategy=(la=Ya(),la(ma=function(){function a(a,b){this.dependencies=a||null,this.dependencyBaseUrl=b||""}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry,g=this.dependencies;if(e&&e.factoryIsReady)return Promise.resolve(null);if(this.entry=e=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),e.dependencies=[],e.templateIsLoaded=!0,null!==g)for(var h=0,i=g.length;h<i;++h){var j=g[h];"string"==typeof j||"function"==typeof j?e.addDependency(j):e.addDependency(j.from,j.as)}return b.associatedModuleId=this.moduleId,a.loadViewFactory(e,b,c,d)},a}())||ma),ab=a.TemplateRegistryViewStrategy=(na=Ya(),na(oa=function(){function a(a,b){this.moduleId=a,this.entry=b}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry;return e.factoryIsReady?Promise.resolve(e.factory):(b.associatedModuleId=this.moduleId,a.loadViewFactory(e,b,c,d))},a}())||oa),bb=a.InlineViewStrategy=(pa=Ya(),pa(qa=function(){function a(a,b,c){this.markup=a,this.dependencies=b||null,this.dependencyBaseUrl=c||""}return a.prototype.loadViewFactory=function(a,b,c,e){var g=this.entry,h=this.dependencies;if(g&&g.factoryIsReady)return Promise.resolve(g.factory);if(this.entry=g=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),g.template=d.DOM.createTemplateFromMarkup(this.markup),null!==h)for(var i=0,j=h.length;i<j;++i){var k=h[i];"string"==typeof k||"function"==typeof k?g.addDependency(k):g.addDependency(k.from,k.as)}return b.associatedModuleId=this.moduleId,a.loadViewFactory(g,b,c,e)},a}())||qa),cb=a.ViewLocator=(sa=ra=function(){function a(){}return a.prototype.getViewStrategy=function(b){if(!b)return null;if("object"===("undefined"==typeof b?"undefined":Ma(b))&&"getViewStrategy"in b){var d=c.Origin.get(b.constructor);return b=b.getViewStrategy(),"string"==typeof b&&(b=new Za(b)),Ya.assert(b),d.moduleId&&b.makeRelativeTo(d.moduleId),b}if("string"==typeof b&&(b=new Za(b)),Ya.validate(b))return b;"function"!=typeof b&&(b=b.constructor);var e=c.Origin.get(b),f=c.metadata.get(a.viewStrategyMetadataKey,b);if(f)e.moduleId&&(f.moduleId=e.moduleId);else{if(!e.moduleId)throw new Error("Cannot determine default view strategy for object.",b);f=this.createFallbackViewStrategy(e)}return f},a.prototype.createFallbackViewStrategy=function(a){return new $a(this,a)},a.prototype.convertOriginToViewUrl=function(a){var b=a.moduleId,c=b.endsWith(".js")||b.endsWith(".ts")?b.substring(0,b.length-3):b;return c+".html"},a}(),ra.viewStrategyMetadataKey="aurelia:view-strategy",sa),db=a.BindingLanguage=function(){function a(){}return a.prototype.inspectAttribute=function(a,b,c,d){o("inspectAttribute")},a.prototype.createAttributeInstruction=function(a,b,c,d){o("createAttributeInstruction")},a.prototype.inspectTextContent=function(a,b){o("inspectTextContent")},a}(),eb=Object.freeze([]),fb=a.SlotCustomAttribute=(ta=(0,g.inject)(d.DOM.Element),ta(ua=function(){function a(a){this.element=a,this.element.auSlotAttribute=this}return a.prototype.valueChanged=function(a,b){},a}())||ua),gb=a.PassThroughSlot=function(){function a(a,b,c,d){this.anchor=a,this.anchor.viewSlot=this,this.name=b,this.destinationName=c,this.fallbackFactory=d,this.destinationSlot=null,this.projections=0,this.contentView=null;var e=new fb(this.anchor);e.value=this.destinationName}return a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView){this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext);var e=Object.create(null);e[this.destinationSlot.name]=this.destinationSlot,ib.distributeView(this.contentView,e,c,d,this.destinationSlot.name)}},a.prototype.passThroughTo=function(a){this.destinationSlot=a},a.prototype.addNode=function(b,c,d,e){return null!==this.contentView&&(this.contentView.removeNodes(),this.contentView.detached(),this.contentView.unbind(),this.contentView=null),c.viewSlot instanceof a?void c.viewSlot.passThroughTo(this):(this.projections++,void this.destinationSlot.addNode(b,c,d,e))},a.prototype.removeView=function(a,b){this.projections--,this.destinationSlot.removeView(a,b),this.needsFallbackRendering&&this.renderFallbackContent(null,eb,b)},a.prototype.removeAll=function(a){this.projections=0,this.destinationSlot.removeAll(a),this.needsFallbackRendering&&this.renderFallbackContent(null,eb,a)},a.prototype.projectFrom=function(a,b){this.destinationSlot.projectFrom(a,b)},a.prototype.created=function(a){this.ownerView=a},a.prototype.bind=function(a){this.contentView&&this.contentView.bind(a.bindingContext,a.overrideContext)},a.prototype.attached=function(){this.contentView&&this.contentView.attached()},a.prototype.detached=function(){this.contentView&&this.contentView.detached()},a.prototype.unbind=function(){this.contentView&&this.contentView.unbind()},La(a,[{key:"needsFallbackRendering",get:function(){return this.fallbackFactory&&0===this.projections}}]),a}(),hb=a.ShadowSlot=function(){function a(a,b,c){this.anchor=a,this.anchor.isContentProjectionSource=!0,this.anchor.viewSlot=this,this.name=b,this.fallbackFactory=c,this.contentView=null,this.projections=0,this.children=[],this.projectFromAnchors=null,this.destinationSlots=null}return a.prototype.addNode=function(a,b,c,d,e){if(null!==this.contentView&&(this.contentView.removeNodes(),this.contentView.detached(),this.contentView.unbind(),this.contentView=null),b.viewSlot instanceof gb)return void b.viewSlot.passThroughTo(this);if(null!==this.destinationSlots)ib.distributeNodes(a,[b],this.destinationSlots,this,d);else{b.auOwnerView=a,b.auProjectionSource=c,b.auAssignedSlot=this;var f=this._findAnchor(a,b,c,d),g=f.parentNode;g.insertBefore(b,f),this.children.push(b),this.projections++}},a.prototype.removeView=function(a,b){if(null!==this.destinationSlots)ib.undistributeView(a,this.destinationSlots,this);else if(this.contentView&&this.contentView.hasSlots)ib.undistributeView(a,this.contentView.slots,b);else{var c=this.children.find(function(a){return a.auSlotProjectFrom===b});if(c){for(var d=c.auProjectionChildren,e=0,f=d.length;e<f;++e){var g=d[e];g.auOwnerView===a&&(d.splice(e,1),a.fragment.appendChild(g),e--,f--,this.projections--)}this.needsFallbackRendering&&this.renderFallbackContent(a,eb,b)}}},a.prototype.removeAll=function(a){if(null!==this.destinationSlots)ib.undistributeAll(this.destinationSlots,this);else if(this.contentView&&this.contentView.hasSlots)ib.undistributeAll(this.contentView.slots,a);else{var b=this.children.find(function(b){return b.auSlotProjectFrom===a});if(b){for(var c=b.auProjectionChildren,d=0,e=c.length;d<e;++d){var f=c[d];f.auOwnerView.fragment.appendChild(f),this.projections--}b.auProjectionChildren=[],this.needsFallbackRendering&&this.renderFallbackContent(null,eb,a)}}},a.prototype._findAnchor=function(a,b,c,d){if(c){var e=this.children.find(function(a){return a.auSlotProjectFrom===c});if(e){if(void 0!==d)for(var f=e.auProjectionChildren,g=-1,h=void 0,i=0,j=f.length;i<j;++i){var k=f[i];if(k.auOwnerView!==h&&(g++,h=k.auOwnerView,g>=d&&h!==a))return f.splice(i,0,b),k}return e.auProjectionChildren.push(b),e}}return this.anchor},a.prototype.projectTo=function(a){this.destinationSlots=a},a.prototype.projectFrom=function(a,b){var c=d.DOM.createComment("anchor"),e=this.anchor.parentNode;c.auSlotProjectFrom=b,c.auOwnerView=a,c.auProjectionChildren=[],e.insertBefore(c,this.anchor),this.children.push(c),null===this.projectFromAnchors&&(this.projectFromAnchors=[]),this.projectFromAnchors.push(c)},a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView&&(this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext),this.contentView.insertNodesBefore(this.anchor)),this.contentView.hasSlots){var e=this.contentView.slots,f=this.projectFromAnchors;if(null!==f)for(var g in e)for(var h=e[g],i=0,j=f.length;i<j;++i){var k=f[i];h.projectFrom(k.auOwnerView,k.auSlotProjectFrom)}this.fallbackSlots=e,ib.distributeNodes(a,b,e,c,d)}},a.prototype.created=function(a){this.ownerView=a},a.prototype.bind=function(a){this.contentView&&this.contentView.bind(a.bindingContext,a.overrideContext)},a.prototype.attached=function(){this.contentView&&this.contentView.attached()},a.prototype.detached=function(){this.contentView&&this.contentView.detached()},a.prototype.unbind=function(){this.contentView&&this.contentView.unbind()},La(a,[{key:"needsFallbackRendering",get:function(){return this.fallbackFactory&&0===this.projections}}]),a}(),ib=a.ShadowDOM=(wa=va=function(){function a(){}return a.getSlotName=function(b){return void 0===b.auSlotAttribute?a.defaultSlotKey:b.auSlotAttribute.value},a.distributeView=function(b,c,d,e,f){var g=void 0;if(null===b)g=eb;else{var h=b.fragment.childNodes,i=h.length;g=new Array(i);for(var j=0;j<i;++j)g[j]=h[j]}a.distributeNodes(b,g,c,d,e,f)},a.undistributeView=function(a,b,c){for(var d in b)b[d].removeView(a,c)},a.undistributeAll=function(a,b){for(var c in a)a[c].removeAll(b)},a.distributeNodes=function(b,c,d,e,f,g){for(var h=0,i=c.length;h<i;++h){var j=c[h],k=j.nodeType;if(j.isContentProjectionSource){j.viewSlot.projectTo(d);for(var l in d)d[l].projectFrom(b,j.viewSlot);c.splice(h,1),i--,h--}else if(1===k||3===k||j.viewSlot instanceof gb)if(3===k&&m(j))c.splice(h,1),i--,h--;else{var n=d[g||a.getSlotName(j)];n&&(n.addNode(b,j,e,f),c.splice(h,1),i--,h--)}else c.splice(h,1),i--,h--}for(var o in d){var p=d[o];p.needsFallbackRendering&&p.renderFallbackContent(b,c,e,f)}},a}(),va.defaultSlotKey="__au-default-slot-key__",wa),jb=a.ViewResources=function(){function a(a,b){this.bindingLanguage=null,this.parent=a||null,this.hasParent=null!==this.parent,this.viewUrl=b||"",this.lookupFunctions={valueConverters:this.getValueConverter.bind(this),bindingBehaviors:this.getBindingBehavior.bind(this)},this.attributes=Object.create(null),this.elements=Object.create(null),this.valueConverters=Object.create(null),this.bindingBehaviors=Object.create(null),this.attributeMap=Object.create(null),this.values=Object.create(null),this.beforeCompile=this.afterCompile=this.beforeCreate=this.afterCreate=this.beforeBind=this.beforeUnbind=!1}return a.prototype._tryAddHook=function(a,b){if("function"==typeof a[b]){for(var c=a[b].bind(a),d=1,e=void 0;void 0!==this[e=b+d.toString()];)d++;this[b]=!0,this[e]=c}},a.prototype._invokeHook=function(a,b,c,d,e){if(this.hasParent&&this.parent._invokeHook(a,b,c,d,e),this[a]){this[a+"1"](b,c,d,e);var f=a+"2";if(this[f]&&(this[f](b,c,d,e),f=a+"3",this[f])){this[f](b,c,d,e);for(var g=4;void 0!==this[f=a+g.toString()];)this[f](b,c,d,e),g++}}},a.prototype.registerViewEngineHooks=function(a){this._tryAddHook(a,"beforeCompile"),this._tryAddHook(a,"afterCompile"),this._tryAddHook(a,"beforeCreate"),this._tryAddHook(a,"afterCreate"),this._tryAddHook(a,"beforeBind"),this._tryAddHook(a,"beforeUnbind")},a.prototype.getBindingLanguage=function(a){return this.bindingLanguage||(this.bindingLanguage=a)},a.prototype.patchInParent=function(a){var b=this.parent;this.parent=a||null,this.hasParent=null!==this.parent,null===a.parent&&(a.parent=b,a.hasParent=null!==b)},a.prototype.relativeToView=function(a){return(0,e.relativeToFile)(a,this.viewUrl)},a.prototype.registerElement=function(a,b){p(this.elements,a,b,"an Element")},a.prototype.getElement=function(a){return this.elements[a]||(this.hasParent?this.parent.getElement(a):null)},a.prototype.mapAttribute=function(a){return this.attributeMap[a]||(this.hasParent?this.parent.mapAttribute(a):null)},a.prototype.registerAttribute=function(a,b,c){this.attributeMap[a]=c,p(this.attributes,a,b,"an Attribute")},a.prototype.getAttribute=function(a){return this.attributes[a]||(this.hasParent?this.parent.getAttribute(a):null)},a.prototype.registerValueConverter=function(a,b){p(this.valueConverters,a,b,"a ValueConverter")},a.prototype.getValueConverter=function(a){return this.valueConverters[a]||(this.hasParent?this.parent.getValueConverter(a):null)},a.prototype.registerBindingBehavior=function(a,b){p(this.bindingBehaviors,a,b,"a BindingBehavior")},a.prototype.getBindingBehavior=function(a){return this.bindingBehaviors[a]||(this.hasParent?this.parent.getBindingBehavior(a):null)},a.prototype.registerValue=function(a,b){p(this.values,a,b,"a value")},a.prototype.getValue=function(a){return this.values[a]||(this.hasParent?this.parent.getValue(a):null)},a}(),kb=a.View=function(){function a(a,b,c,d,e,f,g){this.container=a,this.viewFactory=b,this.resources=b.resources,this.fragment=c,this.firstChild=c.firstChild,this.lastChild=c.lastChild,this.controllers=d,this.bindings=e,this.children=f,this.slots=g,this.hasSlots=!1,this.fromCache=!1,this.isBound=!1,this.isAttached=!1,this.bindingContext=null,this.overrideContext=null,this.controller=null,this.viewModelScope=null,this.animatableElement=void 0,this._isUserControlled=!1,this.contentView=null;for(var h in g){this.hasSlots=!0;break}}return a.prototype.returnToCache=function(){this.viewFactory.returnViewToCache(this)},a.prototype.created=function(){var a=void 0,b=void 0,c=this.controllers;for(a=0,b=c.length;a<b;++a)c[a].created(this)},a.prototype.bind=function(a,b,c){var d=void 0,e=void 0,f=void 0,g=void 0,i=void 0;if(!c||!this._isUserControlled){if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a,this.overrideContext=b||(0,h.createOverrideContext)(a),this.resources._invokeHook("beforeBind",this),e=this.bindings,g=0,i=e.length;g<i;++g)e[g].bind(this);for(null!==this.viewModelScope&&(a.bind(this.viewModelScope.bindingContext,this.viewModelScope.overrideContext),this.viewModelScope=null),d=this.controllers,g=0,i=d.length;g<i;++g)d[g].bind(this);for(f=this.children,g=0,i=f.length;g<i;++g)f[g].bind(a,b,!0);this.hasSlots&&ib.distributeView(this.contentView,this.slots)}},a.prototype.addBinding=function(a){this.bindings.push(a),this.isBound&&a.bind(this)},a.prototype.unbind=function(){var a=void 0,b=void 0,c=void 0,d=void 0,e=void 0;if(this.isBound){for(this.isBound=!1,this.resources._invokeHook("beforeUnbind",this),null!==this.controller&&this.controller.unbind(),b=this.bindings,d=0,e=b.length;d<e;++d)b[d].unbind();for(a=this.controllers,d=0,e=a.length;d<e;++d)a[d].unbind();for(c=this.children,d=0,e=c.length;d<e;++d)c[d].unbind();this.bindingContext=null,this.overrideContext=null}},a.prototype.insertNodesBefore=function(a){a.parentNode.insertBefore(this.fragment,a)},a.prototype.appendNodesTo=function(a){a.appendChild(this.fragment)},a.prototype.removeNodes=function(){for(var a=this.fragment,b=this.firstChild,c=this.lastChild,d=void 0;b&&(d=b.nextSibling,a.appendChild(b),b!==c);)b=d},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached){for(this.isAttached=!0,null!==this.controller&&this.controller.attached(),a=this.controllers,c=0,d=a.length;c<d;++c)a[c].attached();for(b=this.children,c=0,d=b.length;c<d;++c)b[c].attached()}},a.prototype.detached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(this.isAttached){for(this.isAttached=!1,null!==this.controller&&this.controller.detached(),a=this.controllers,c=0,d=a.length;c<d;++c)a[c].detached();for(b=this.children,c=0,d=b.length;c<d;++c)b[c].detached()}},a}(),lb=a.ViewSlot=function(){function a(a,b){var c=arguments.length<=2||void 0===arguments[2]?Na.instance:arguments[2];this.anchor=a,this.anchorIsContainer=b,this.bindingContext=null,this.overrideContext=null,this.animator=c,this.children=[],this.isBound=!1,this.isAttached=!1,this.contentSelectors=null,a.viewSlot=this,a.isContentProjectionSource=!1}return a.prototype.animateView=function(a){var b=arguments.length<=1||void 0===arguments[1]?"enter":arguments[1],c=q(a);if(null!==c)switch(b){case"enter":return this.animator.enter(c);case"leave":return this.animator.leave(c);default:throw new Error("Invalid animation direction: "+b)}},a.prototype.transformChildNodesIntoView=function(){var a=this.anchor;this.children.push({fragment:a,firstChild:a.firstChild,lastChild:a.lastChild,returnToCache:function(){},removeNodes:function(){for(var b=void 0;b=a.lastChild;)a.removeChild(b)},created:function(){},bind:function(){},unbind:function(){},attached:function(){},detached:function(){}})},a.prototype.bind=function(a,b){var c=void 0,d=void 0,e=void 0;if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a=a||this.bindingContext,this.overrideContext=b=b||this.overrideContext,e=this.children,c=0,d=e.length;c<d;++c)e[c].bind(a,b,!0)},a.prototype.unbind=function(){if(this.isBound){var a=void 0,b=void 0,c=this.children;for(this.isBound=!1,this.bindingContext=null,this.overrideContext=null,a=0,b=c.length;a<b;++a)c[a].unbind()}},a.prototype.add=function(a){if(this.anchorIsContainer?a.appendNodesTo(this.anchor):a.insertNodesBefore(this.anchor),this.children.push(a),this.isAttached)return a.attached(),this.animateView(a,"enter")},a.prototype.insert=function(a,b){var c=this.children,d=c.length;return 0===a&&0===d||a>=d?this.add(b):(b.insertNodesBefore(c[a].firstChild),c.splice(a,0,b),this.isAttached?(b.attached(),this.animateView(b,"enter")):void 0)},a.prototype.move=function(a,b){if(a!==b){var c=this.children,d=c[a];d.removeNodes(),d.insertNodesBefore(c[b].firstChild),c.splice(a,1),c.splice(b,0,d)}},a.prototype.remove=function(a,b,c){return this.removeAt(this.children.indexOf(a),b,c)},a.prototype.removeMany=function(a,b,c){var d=this,e=this.children,f=a.length,g=void 0,h=[];a.forEach(function(a){if(c)return void a.removeNodes();var b=d.animateView(a,"leave");b?h.push(b.then(function(){return a.removeNodes()})):a.removeNodes()});var i=function(){if(d.isAttached)for(g=0;g<f;++g)a[g].detached();if(b)for(g=0;g<f;++g)a[g].returnToCache();for(g=0;g<f;++g){var c=e.indexOf(a[g]);c>=0&&e.splice(c,1)}};return h.length>0?Promise.all(h).then(function(){return i()}):i()},a.prototype.removeAt=function(a,b,c){var d=this,e=this.children[a],f=function(){return a=d.children.indexOf(e),e.removeNodes(),d.children.splice(a,1),d.isAttached&&e.detached(),b&&e.returnToCache(),e};if(!c){var g=this.animateView(e,"leave");if(g)return g.then(function(){return f()})}return f()},a.prototype.removeAll=function(a,b){var c=this,d=this.children,e=d.length,f=void 0,g=[];d.forEach(function(a){if(b)return void a.removeNodes();var d=c.animateView(a,"leave");d?g.push(d.then(function(){return a.removeNodes()})):a.removeNodes()});var h=function(){if(c.isAttached)for(f=0;f<e;++f)d[f].detached();if(a)for(f=0;f<e;++f)d[f].returnToCache();c.children=[]};return g.length>0?Promise.all(g).then(function(){return h()}):h()},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached)for(this.isAttached=!0,c=this.children,a=0,b=c.length;a<b;++a)d=c[a],d.attached(),this.animateView(d,"enter")},a.prototype.detached=function(){var a=void 0,b=void 0,c=void 0;if(this.isAttached)for(this.isAttached=!1,c=this.children,a=0,b=c.length;a<b;++a)c[a].detached()},a.prototype.projectTo=function(a){var b=this;this.projectToSlots=a,this.add=this._projectionAdd,this.insert=this._projectionInsert,this.move=this._projectionMove,this.remove=this._projectionRemove,this.removeAt=this._projectionRemoveAt,this.removeMany=this._projectionRemoveMany,this.removeAll=this._projectionRemoveAll,this.children.forEach(function(c){return ib.distributeView(c,a,b)})},a.prototype._projectionAdd=function(a){ib.distributeView(a,this.projectToSlots,this),this.children.push(a),this.isAttached&&a.attached()},a.prototype._projectionInsert=function(a,b){0===a&&!this.children.length||a>=this.children.length?this.add(b):(ib.distributeView(b,this.projectToSlots,this,a),this.children.splice(a,0,b),this.isAttached&&b.attached())},a.prototype._projectionMove=function(a,b){if(a!==b){var c=this.children,d=c[a];ib.undistributeView(d,this.projectToSlots,this),ib.distributeView(d,this.projectToSlots,this,b),c.splice(a,1),c.splice(b,0,d)}},a.prototype._projectionRemove=function(a,b){ib.undistributeView(a,this.projectToSlots,this),this.children.splice(this.children.indexOf(a),1),this.isAttached&&a.detached()},a.prototype._projectionRemoveAt=function(a,b){var c=this.children[a];ib.undistributeView(c,this.projectToSlots,this),this.children.splice(a,1),this.isAttached&&c.detached()},a.prototype._projectionRemoveMany=function(a,b){var c=this;a.forEach(function(a){return c.remove(a,b)})},a.prototype._projectionRemoveAll=function(a){ib.undistributeAll(this.projectToSlots,this);var b=this.children;if(this.isAttached)for(var c=0,d=b.length;c<d;++c)b[c].detached();this.children=[]},a}(),mb=(0,g.resolver)(xa=function(){function a(){}return a.prototype.get=function(a,b){var c=b.__providerId__;return c in a?a[c]:a[c]=a.invoke(b)},a}())||xa,nb=new mb,ob=a.BoundViewFactory=function(){function a(a,b,c){this.parentContainer=a,this.viewFactory=b,this.factoryCreateInstruction={partReplacements:c}}return a.prototype.create=function(){var a=this.viewFactory.create(this.parentContainer.createChild(),this.factoryCreateInstruction);return a._isUserControlled=!0,a},a.prototype.setCacheSize=function(a,b){this.viewFactory.setCacheSize(a,b)},a.prototype.getCachedView=function(){return this.viewFactory.getCachedView()},a.prototype.returnViewToCache=function(a){this.viewFactory.returnViewToCache(a)},La(a,[{key:"isCaching",get:function(){return this.viewFactory.isCaching}}]),a}(),pb=a.ViewFactory=function(){function a(a,b,c){this.isCaching=!1,this.template=a,this.instructions=b,this.resources=c,this.cacheSize=-1,this.cache=null}return a.prototype.setCacheSize=function(a,b){a&&("*"===a?a=Number.MAX_VALUE:"string"==typeof a&&(a=parseInt(a,10))),this.cacheSize!==-1&&b||(this.cacheSize=a),this.cacheSize>0?this.cache=[]:this.cache=null,this.isCaching=this.cacheSize>0},a.prototype.getCachedView=function(){return null!==this.cache?this.cache.pop()||null:null},a.prototype.returnViewToCache=function(a){a.isAttached&&a.detached(),a.isBound&&a.unbind(),null!==this.cache&&this.cache.length<this.cacheSize&&(a.fromCache=!0,this.cache.push(a))},a.prototype.create=function(a,b,c){b=b||Wa.normal;var d=this.getCachedView();if(null!==d)return d;var e=b.enhance?this.template:this.template.cloneNode(!0),f=e.querySelectorAll(".au-target"),g=this.instructions,h=this.resources,i=[],j=[],k=[],l=Object.create(null),m={root:a},n=b.partReplacements,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0;for(this.resources._invokeHook("beforeCreate",this,a,e,b),c&&null!==this.surrogateInstruction&&x(a,c,this.surrogateInstruction,i,j,k),b.enhance&&e.hasAttribute("au-target-id")&&(r=e,s=g[r.getAttribute("au-target-id")],u(m,r,s,i,j,k,l,n,h)),o=0,p=f.length;o<p;++o)r=f[o],s=g[r.getAttribute("au-target-id")],u(m,r,s,i,j,k,l,n,h);return q=new kb(a,this,e,i,j,k,l),b.initiatedByBehavior||q.created(),this.resources._invokeHook("afterCreate",q),q},a}(),qb=0,rb=0,sb=a.ViewCompiler=(ya=(0,g.inject)(db,jb),ya(za=function(){function a(a,b){this.bindingLanguage=a,this.resources=b}return a.prototype.compile=function(a,b,c){b=b||this.resources,c=c||Va.normal,a="string"==typeof a?d.DOM.createTemplateFromMarkup(a):a;var e=void 0,f=void 0,g=void 0;a.content?(f=a.getAttribute("part"),g=a.getAttribute("view-cache"),e=d.DOM.adoptNode(a.content)):e=a,c.targetShadowDOM=c.targetShadowDOM&&d.FEATURE.shadowDOM,b._invokeHook("beforeCompile",e,b,c);var h={};this._compileNode(e,b,h,a,"root",!c.targetShadowDOM);var i=e.firstChild;if(i&&1===i.nodeType){var j=i.getAttribute("au-target-id");if(j){var k=h[j];(k.shadowSlot||k.lifting)&&e.insertBefore(d.DOM.createComment("view"),i)}}var l=new pb(e,h,b);return l.surrogateInstruction=c.compileSurrogate?this._compileSurrogate(a,b):null,l.part=f,g&&l.setCacheSize(g),b._invokeHook("afterCompile",l),l},a.prototype._compileNode=function(a,b,c,e,f,g){switch(a.nodeType){case 1:return this._compileElement(a,b,c,e,f,g);case 3:var h=b.getBindingLanguage(this.bindingLanguage).inspectTextContent(b,a.wholeText);if(h){var i=d.DOM.createElement("au-marker"),j=B(i);for((a.parentNode||e).insertBefore(i,a),a.textContent=" ",c[j]=Xa.contentExpression(h);a.nextSibling&&3===a.nextSibling.nodeType;)(a.parentNode||e).removeChild(a.nextSibling)}else for(;a.nextSibling&&3===a.nextSibling.nodeType;)a=a.nextSibling;return a.nextSibling;case 11:for(var k=a.firstChild;k;)k=this._compileNode(k,b,c,a,f,g)}return a.nextSibling;
+},a.prototype._compileSurrogate=function(a,b){var c=a.tagName.toLowerCase(),d=a.attributes,e=b.getBindingLanguage(this.bindingLanguage),f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=[],q=void 0,r=[],s={},t=!1,u=[];for(i=0,j=d.length;i<j;++i)if(k=d[i],l=k.name,m=k.value,n=e.inspectAttribute(b,c,l,m),o=b.getAttribute(n.attrName),o&&(f=b.mapAttribute(n.attrName),f&&(g=o.attributes[f],g&&(n.defaultBindingMode=g.defaultBindingMode,n.command||n.expression||(n.command=g.hasOptions?"options":null)))),h=e.createAttributeInstruction(b,a,n,void 0,o))if(h.alteredAttr&&(o=b.getAttribute(h.attrName)),h.discrete)p.push(h);else if(o){if(h.type=o,z(h,b),o.liftsContent)throw new Error("You cannot place a template controller on a surrogate element.");r.push(h)}else p.push(h.attributes[h.attrName]);else if(o){if(h=Wa.attribute(l,o),h.attributes[b.mapAttribute(l)]=m,o.liftsContent)throw new Error("You cannot place a template controller on a surrogate element.");r.push(h)}else"id"!==l&&"part"!==l&&"replace-part"!==l&&(t=!0,s[l]=m);if(p.length||r.length||t){for(i=0,j=r.length;i<j;++i)h=r[i],h.type.compile(this,b,a,h),u.push(h.type.target);for(i=0,j=p.length;i<j;++i)q=p[i],void 0!==q.attrToRemove&&a.removeAttribute(q.attrToRemove);return Xa.surrogate(u,r,p,s)}return null},a.prototype._compileElement=function(a,b,c,d,e,f){var g=a.tagName.toLowerCase(),h=a.attributes,i=[],j=void 0,k=[],l=[],m=b.getBindingLanguage(this.bindingLanguage),n=void 0,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0,v=void 0,w=void 0,x=void 0,A=void 0,D=void 0,E=void 0,F=void 0,G=void 0;if("slot"===g)return f&&(a=C(this,b,a,c,e)),a.nextSibling;for("template"===g?(o=this.compile(a,b),o.part=a.getAttribute("part")):(p=b.getElement(a.getAttribute("as-element")||g),p&&(q=Wa.element(a,p),p.processAttributes(this,b,a,h,q),k.push(q))),s=0,t=h.length;s<t;++s)if(u=h[s],v=u.name,w=u.value,A=m.inspectAttribute(b,g,v,w),f&&"slot"===A.attrName&&(A.attrName=v="au-slot"),p=b.getAttribute(A.attrName),r=null,p?(E=b.mapAttribute(A.attrName),E&&(D=p.attributes[E],D&&(A.defaultBindingMode=D.defaultBindingMode,A.command||A.expression||(A.command=D.hasOptions?"options":null)))):q&&(r=q.type.attributes[A.attrName],r&&(A.defaultBindingMode=r.defaultBindingMode)),x=r?m.createAttributeInstruction(b,a,A,q):m.createAttributeInstruction(b,a,A,void 0,p))if(x.alteredAttr&&(p=b.getAttribute(x.attrName)),x.discrete)i.push(x);else if(p){if(x.type=p,z(x,b),p.liftsContent){x.originalAttrName=v,n=x;break}k.push(x)}else r?q.attributes[A.attrName].targetProperty=r.name:i.push(x.attributes[x.attrName]);else if(p){if(x=Wa.attribute(v,p),x.attributes[b.mapAttribute(v)]=w,p.liftsContent){x.originalAttrName=v,n=x;break}k.push(x)}else r&&(q.attributes[v]=w);if(n)n.viewFactory=o,a=n.type.compile(this,b,a,n,d),F=B(a),c[F]=Xa.lifting(e,n);else{if(i.length||k.length){for(G=!!k.length&&y(),s=0,t=k.length;s<t;++s)x=k[s],x.type.compile(this,b,a,x,d),l.push(x.type.target);for(s=0,t=i.length;s<t;++s)j=i[s],void 0!==j.attrToRemove&&a.removeAttribute(j.attrToRemove);F=B(a),c[F]=Xa.normal(G,e,l,k,i,q)}if(q&&q.skipContentProcessing)return a.nextSibling;for(var H=a.firstChild;H;)H=this._compileNode(H,b,c,a,G||e,f)}return a.nextSibling},a}())||za),tb=a.ResourceModule=function(){function a(a){this.id=a,this.moduleInstance=null,this.mainResource=null,this.resources=null,this.viewStrategy=null,this.isInitialized=!1,this.onLoaded=null,this.loadContext=null}return a.prototype.initialize=function(a){var b=this.mainResource,c=this.resources,d=this.viewStrategy;if(!this.isInitialized){this.isInitialized=!0,void 0!==b&&(b.metadata.viewStrategy=d,b.initialize(a));for(var e=0,f=c.length;e<f;++e)b=c[e],b.metadata.viewStrategy=d,b.initialize(a)}},a.prototype.register=function(a,b){var c=this.mainResource,d=this.resources;void 0!==c&&(c.register(a,b),b=null);for(var e=0,f=d.length;e<f;++e)d[e].register(a,b),b=null},a.prototype.load=function(a,b){if(null!==this.onLoaded)return this.loadContext===b?Promise.resolve():this.onLoaded;var c=this.mainResource,d=this.resources,e=void 0;if(void 0!==c){e=new Array(d.length+1),e[0]=c.load(a,b);for(var f=0,g=d.length;f<g;++f)e[f+1]=d[f].load(a,b)}else{e=new Array(d.length);for(var h=0,i=d.length;h<i;++h)e[h]=d[h].load(a,b)}return this.loadContext=b,this.onLoaded=Promise.all(e),this.onLoaded},a}(),ub=a.ResourceDescription=function(){function a(a,b,d){d||(d=c.metadata.get(c.metadata.resource,b),d||(d=new Db,d.elementName=l(a),c.metadata.define(c.metadata.resource,d,b))),d instanceof Db?void 0===d.elementName?d.elementName=l(a):void 0===d.attributeName?d.attributeName=l(a):null===d.attributeName&&null===d.elementName&&Db.convention(a,d):d.name||(d.name=l(a)),this.metadata=d,this.value=b}return a.prototype.initialize=function(a){this.metadata.initialize(a,this.value)},a.prototype.register=function(a,b){this.metadata.register(a,b)},a.prototype.load=function(a,b){return this.metadata.load(a,this.value,b)},a}(),vb=a.ModuleAnalyzer=function(){function a(){this.cache=Object.create(null)}return a.prototype.getAnalysis=function(a){return this.cache[a]},a.prototype.analyze=function(a,b,d){var e=void 0,g=void 0,i=void 0,j=void 0,k=void 0,m=void 0,n=[],o=void 0,p=void 0,q=void 0;if(q=this.cache[a])return q;q=new tb(a),this.cache[a]=q,"function"==typeof b&&(b={"default":b}),d&&(e=new ub(d,b[d]));for(k in b)m=b[k],k!==d&&"function"==typeof m&&(j=c.metadata.get(c.metadata.resource,m),j?(null===j.attributeName&&null===j.elementName&&Db.convention(k,j),null===j.attributeName&&null===j.elementName&&(j.elementName=l(k)),!e&&j instanceof Db&&null!==j.elementName?e=new ub(k,m,j):n.push(new ub(k,m,j))):Ya.decorates(m)?p=m:m instanceof f.TemplateRegistryEntry?p=new ab(a,m):(o=Db.convention(k))?(null===o.elementName||e?n.push(new ub(k,m,o)):e=new ub(k,m,o),c.metadata.define(c.metadata.resource,o,m)):(o=h.ValueConverterResource.convention(k)||h.BindingBehaviorResource.convention(k)||Sa.convention(k))?(n.push(new ub(k,m,o)),c.metadata.define(c.metadata.resource,o,m)):g||(g=m,i=k));return!e&&g&&(e=new ub(i,g)),q.moduleInstance=b,q.mainResource=e,q.resources=n,q.viewStrategy=p,q},a}(),wb=Ka.getLogger("templating"),xb=function(){function a(a){var b=this;a.then(function(a){return b.viewFactory=a})}return a.prototype.create=function(a,b,c,d){return this.viewFactory.create(a,b,c,d)},a.prototype.setCacheSize=function(a,b){this.viewFactory.setCacheSize(a,b)},a.prototype.getCachedView=function(){return this.viewFactory.getCachedView()},a.prototype.returnViewToCache=function(a){this.viewFactory.returnViewToCache(a)},La(a,[{key:"isCaching",get:function(){return this.viewFactory.isCaching}}]),a}(),yb=a.ViewEngine=(Aa=(0,g.inject)(f.Loader,g.Container,sb,vb,jb),Aa((Da=Ca=function(){function a(a,b,c,d,e){this.loader=a,this.container=b,this.viewCompiler=c,this.moduleAnalyzer=d,this.appResources=e,this._pluginMap={};var f=new Db;f.attributeName="au-slot",f.initialize(b,fb),f.register(e)}return a.prototype.addResourcePlugin=function(a,b){var c=a.replace(".","")+"-resource-plugin";this._pluginMap[a]=c,this.loader.addPlugin(c,b)},a.prototype.loadViewFactory=function(a,b,c,d){var e=this;return c=c||new Ua,D(this.loader,a).then(function(f){return f.onReady?c.hasDependency(a)?null===f.template?f.onReady:Promise.resolve(new xb(f.onReady)):(c.addDependency(a),f.onReady):(c.addDependency(a),f.onReady=e.loadTemplateResources(f,b,c,d).then(function(a){if(f.resources=a,null===f.template)return f.factory=null;var c=e.viewCompiler.compile(f.template,a,b);return f.factory=c}),f.onReady)})},a.prototype.loadTemplateResources=function(b,d,f,g){var h=new jb(this.appResources,b.address),i=b.dependencies,j=void 0,k=void 0;if(d=d||Va.normal,0===i.length&&!d.associatedModuleId)return Promise.resolve(h);if(j=i.map(function(a){return a.src}),k=i.map(function(a){return a.name}),wb.debug("importing resources for "+b.address,j),g){var l=c.metadata.get(a.viewModelRequireMetadataKey,g);if(l){for(var m=j.length,n=0,o=l.length;n<o;++n){var p=l[n],q="function"==typeof p?c.Origin.get(p).moduleId:(0,e.relativeToFile)(p.src||p,b.address);j.indexOf(q)===-1&&(j.push(q),k.push(p.as))}wb.debug("importing ViewModel resources for "+d.associatedModuleId,j.slice(m))}}return this.importViewResources(j,k,h,d,f)},a.prototype.importViewModelResource=function(a,b){var d=this;return this.loader.loadModule(a).then(function(e){var f=c.Origin.get(e).moduleId,g=d.moduleAnalyzer.analyze(f,e,b);if(!g.mainResource)throw new Error('No view model found in module "'+a+'".');return g.initialize(d.container),g.mainResource})},a.prototype.importViewResources=function(a,b,d,e,f){var g=this;return f=f||new Ua,e=e||Va.normal,a=a.map(function(a){return g._applyLoaderPlugin(a)}),this.loader.loadAllModules(a).then(function(a){var h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=g.container,o=g.moduleAnalyzer,p=new Array(a.length);for(h=0,i=a.length;h<i;++h)l=a[h],k=c.Origin.get(l).moduleId,j=o.analyze(k,l),j.initialize(n),j.register(d,b[h]),p[h]=j;for(e.associatedModuleId&&(m=o.getAnalysis(e.associatedModuleId),m&&m.register(d)),h=0,i=p.length;h<i;++h)p[h]=p[h].load(n,f);return Promise.all(p).then(function(){return d})})},a.prototype._applyLoaderPlugin=function(a){var b=a.lastIndexOf(".");if(b!==-1){var c=a.substring(b),d=this._pluginMap[c];return void 0===d?a:this.loader.applyPluginToUrl(a,d)}return a},a}(),Ca.viewModelRequireMetadataKey="aurelia:view-model-require",Ba=Da))||Ba),zb=a.Controller=function(){function a(a,b,c,d){this.behavior=a,this.instruction=b,this.viewModel=c,this.isAttached=!1,this.view=null,this.isBound=!1,this.scope=null,this.container=d,this.elementEvents=d.elementEvents||null;var e=a.observerLocator.getOrCreateObserversLookup(c),f=a.handlesBind,g=b.attributes,h=this.boundProperties=[],i=a.properties,j=void 0,k=void 0;for(a._ensurePropertiesDefined(c,e),j=0,k=i.length;j<k;++j)i[j]._initialize(c,e,g,f,h)}return a.prototype.created=function(a){this.behavior.handlesCreated&&this.viewModel.created(a,this.view)},a.prototype.automate=function(a,b){this.view.bindingContext=this.viewModel,this.view.overrideContext=a||(0,h.createOverrideContext)(this.viewModel),this.view._isUserControlled=!0,this.behavior.handlesCreated&&this.viewModel.created(b||null,this.view),this.bind(this.view)},a.prototype.bind=function(a){var b=this.behavior.handlesBind,c=this.boundProperties,d=void 0,e=void 0,f=void 0,g=void 0,i=void 0;if(this.isBound){if(this.scope===a)return;this.unbind()}for(this.isBound=!0,this.scope=a,d=0,e=c.length;d<e;++d)f=c[d],g=f.observer,i=g.selfSubscriber,g.publishing=!1,b&&(g.selfSubscriber=null),f.binding.bind(a),g.call(),g.publishing=!0,g.selfSubscriber=i;var j=void 0;null!==this.view?(b&&(this.view.viewModelScope=a),this.viewModel===a.overrideContext.bindingContext?j=a.overrideContext:this.instruction.inheritBindingContext?j=(0,h.createOverrideContext)(this.viewModel,a.overrideContext):(j=(0,h.createOverrideContext)(this.viewModel),j.__parentOverrideContext=a.overrideContext),this.view.bind(this.viewModel,j)):b&&(j=a.overrideContext,void 0!==a.overrideContext.__parentOverrideContext&&this.viewModel.viewFactory&&this.viewModel.viewFactory.factoryCreateInstruction.partReplacements&&(j=Object.assign({},a.overrideContext),j.parentOverrideContext=a.overrideContext.__parentOverrideContext),this.viewModel.bind(a.bindingContext,j))},a.prototype.unbind=function(){if(this.isBound){var a=this.boundProperties,b=void 0,c=void 0;for(this.isBound=!1,this.scope=null,null!==this.view&&this.view.unbind(),this.behavior.handlesUnbind&&this.viewModel.unbind(),null!==this.elementEvents&&this.elementEvents.disposeAll(),b=0,c=a.length;b<c;++b)a[b].binding.unbind()}},a.prototype.attached=function(){this.isAttached||(this.isAttached=!0,this.behavior.handlesAttached&&this.viewModel.attached(),null!==this.view&&this.view.attached())},a.prototype.detached=function(){this.isAttached&&(this.isAttached=!1,null!==this.view&&this.view.detached(),this.behavior.handlesDetached&&this.viewModel.detached())},a}(),Ab=a.BehaviorPropertyObserver=(Ea=(0,h.subscriberCollection)(),Ea(Fa=function(){function a(a,b,c,d,e){this.taskQueue=a,this.obj=b,this.propertyName=c,this.notqueued=!0,this.publishing=!1,this.selfSubscriber=d,this.currentValue=this.oldValue=e}return a.prototype.getValue=function(){return this.currentValue},a.prototype.setValue=function(a){var b=this.currentValue;b!==a&&(this.oldValue=b,this.currentValue=a,this.publishing&&this.notqueued&&(this.taskQueue.flushing?this.call():(this.notqueued=!1,this.taskQueue.queueMicroTask(this))))},a.prototype.call=function(){var a=this.oldValue,b=this.currentValue;this.notqueued=!0,b!==a&&(this.selfSubscriber&&this.selfSubscriber(b,a),this.callSubscribers(b,a),this.oldValue=b)},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a}())||Fa),Bb=a.BindableProperty=function(){function a(a){"string"==typeof a?this.name=a:Object.assign(this,a),this.attribute=this.attribute||l(this.name),null!==this.defaultBindingMode&&void 0!==this.defaultBindingMode||(this.defaultBindingMode=h.bindingMode.oneWay),this.changeHandler=this.changeHandler||null,this.owner=null,this.descriptor=null}return a.prototype.registerWith=function(a,b,c){if(b.properties.push(this),b.attributes[this.attribute]=this,this.owner=b,c)return this.descriptor=c,this._configureDescriptor(b,c)},a.prototype._configureDescriptor=function(a,b){var c=this.name;return b.configurable=!0,b.enumerable=!0,"initializer"in b&&(this.defaultValue=b.initializer,delete b.initializer,delete b.writable),"value"in b&&(this.defaultValue=b.value,delete b.value,delete b.writable),b.get=function(){return E(a,this,c).getValue()},b.set=function(b){E(a,this,c).setValue(b)},b.get.getObserver=function(b){return E(a,b,c)},b},a.prototype.defineOn=function(a,b){var c=this.name,d=void 0;null===this.changeHandler&&(d=c+"Changed",d in a.prototype&&(this.changeHandler=d)),null===this.descriptor&&Object.defineProperty(a.prototype,c,this._configureDescriptor(b,{}))},a.prototype.createObserver=function(a){var b=null,c=this.defaultValue,d=this.changeHandler,e=this.name,f=void 0;if(!this.hasOptions){if(d in a)b="propertyChanged"in a?function(b,c){a[d](b,c),a.propertyChanged(e,b,c)}:function(b,c){return a[d](b,c)};else if("propertyChanged"in a)b=function(b,c){return a.propertyChanged(e,b,c)};else if(null!==d)throw new Error("Change handler "+d+" was specified but not declared on the class.");return void 0!==c&&(f="function"==typeof c?c.call(a):c),new Ab(this.owner.taskQueue,a,this.name,b,f)}},a.prototype._initialize=function(a,b,c,d,e){var f=void 0,g=void 0,h=void 0,i=this.defaultValue;if(this.isDynamic)for(var j in c)this._createDynamicProperty(a,b,d,j,c[j],e);else this.hasOptions||(g=b[this.name],null!==c&&(f=g.selfSubscriber,h=c[this.attribute],d&&(g.selfSubscriber=null),"string"==typeof h?(a[this.name]=h,g.call()):h?e.push({observer:g,binding:h.createBinding(a)}):void 0!==i&&g.call(),g.selfSubscriber=f),g.publishing=!0)},a.prototype._createDynamicProperty=function(a,b,c,d,e,f){var g=d+"Changed",h=null,i=void 0,j=void 0;g in a?h="propertyChanged"in a?function(b,c){a[g](b,c),a.propertyChanged(d,b,c)}:function(b,c){return a[g](b,c)}:"propertyChanged"in a&&(h=function(b,c){return a.propertyChanged(d,b,c)}),i=b[d]=new Ab(this.owner.taskQueue,a,d,h),Object.defineProperty(a,d,{configurable:!0,enumerable:!0,get:i.getValue.bind(i),set:i.setValue.bind(i)}),c&&(i.selfSubscriber=null),"string"==typeof e?(a[d]=e,i.call()):e&&(j={observer:i,binding:e.createBinding(a)},f.push(j)),i.publishing=!0,i.selfSubscriber=h},a}(),Cb=0,Db=a.HtmlBehaviorResource=function(){function a(){this.elementName=null,this.attributeName=null,this.attributeDefaultBindingMode=void 0,this.liftsContent=!1,this.targetShadowDOM=!1,this.shadowDOMOptions=null,this.processAttributes=H,this.processContent=G,this.usesShadowDOM=!1,this.childBindings=null,this.hasDynamicOptions=!1,this.containerless=!1,this.properties=[],this.attributes={},this.isInitialized=!1}return a.convention=function(b,c){var d=void 0;return b.endsWith("CustomAttribute")&&(d=c||new a,d.attributeName=l(b.substring(0,b.length-15))),b.endsWith("CustomElement")&&(d=c||new a,d.elementName=l(b.substring(0,b.length-13))),d},a.prototype.addChildBinding=function(a){null===this.childBindings&&(this.childBindings=[]),this.childBindings.push(a)},a.prototype.initialize=function(a,b){var c=b.prototype,e=this.properties,f=this.attributeName,g=this.attributeDefaultBindingMode,j=void 0,k=void 0,l=void 0;if(!this.isInitialized)if(this.isInitialized=!0,b.__providerId__=F(),this.observerLocator=a.get(h.ObserverLocator),this.taskQueue=a.get(i.TaskQueue),this.target=b,this.usesShadowDOM=this.targetShadowDOM&&d.FEATURE.shadowDOM,this.handlesCreated="created"in c,this.handlesBind="bind"in c,this.handlesUnbind="unbind"in c,this.handlesAttached="attached"in c,this.handlesDetached="detached"in c,this.htmlName=this.elementName||this.attributeName,null!==f)if(0===e.length&&new Bb({name:"value",changeHandler:"valueChanged"in c?"valueChanged":null,attribute:f,defaultBindingMode:g}).registerWith(b,this),l=e[0],1===e.length&&"value"===l.name)l.isDynamic=l.hasOptions=this.hasDynamicOptions,l.defineOn(b,this);else{for(j=0,k=e.length;j<k;++j)e[j].defineOn(b,this);l=new Bb({name:"value",changeHandler:"valueChanged"in c?"valueChanged":null,attribute:f,defaultBindingMode:g}),l.hasOptions=!0,l.registerWith(b,this)}else for(j=0,k=e.length;j<k;++j)e[j].defineOn(b,this)},a.prototype.register=function(a,b){null!==this.attributeName&&a.registerAttribute(b||this.attributeName,this,this.attributeName),null!==this.elementName&&a.registerElement(b||this.elementName,this)},a.prototype.load=function(a,b,d,e,f){var g=this,h=void 0;return null!==this.elementName?(e=a.get(cb).getViewStrategy(e||this.viewStrategy||b),h=new Va(this.targetShadowDOM,(!0)),e.moduleId||(e.moduleId=c.Origin.get(b).moduleId),e.loadViewFactory(a.get(yb),h,d,b).then(function(a){return f&&g.viewFactory||(g.viewFactory=a),a})):Promise.resolve(this)},a.prototype.compile=function(a,b,c,e,f){if(this.liftsContent){if(!e.viewFactory){var g=d.DOM.createElement("template"),h=d.DOM.createDocumentFragment(),i=c.getAttribute("view-cache"),j=c.getAttribute("part");c.removeAttribute(e.originalAttrName),d.DOM.replaceNode(g,c,f),h.appendChild(c),e.viewFactory=a.compile(h,b),j&&(e.viewFactory.part=j,c.removeAttribute("part")),i&&(e.viewFactory.setCacheSize(i),c.removeAttribute("view-cache")),c=g}}else if(null!==this.elementName){var k={};if(this.processContent(a,b,c,e)&&c.hasChildNodes()){for(var l=c.firstChild,n=this.usesShadowDOM?null:d.DOM.createElement("au-content"),o=void 0,p=void 0;l;)o=l.nextSibling,"TEMPLATE"===l.tagName&&(p=l.getAttribute("replace-part"))?(k[p]=a.compile(l,b),d.DOM.removeNode(l,f),e.partReplacements=k):null!==n&&(3===l.nodeType&&m(l)?d.DOM.removeNode(l,f):n.appendChild(l)),l=o;null!==n&&n.hasChildNodes()&&c.appendChild(n),e.skipContentProcessing=!1}else e.skipContentProcessing=!0}return c},a.prototype.create=function(a,b,c,e){var f=void 0,g=null;b=b||Wa.normal,c=c||null,e=e||null,null!==this.elementName&&c&&(this.usesShadowDOM?(f=c.attachShadow(this.shadowDOMOptions),a.registerInstance(d.DOM.boundary,f)):(f=c,this.targetShadowDOM&&a.registerInstance(d.DOM.boundary,f))),null!==c&&(c.au=g=c.au||{});var h=b.viewModel||a.get(this.target),i=new zb(this,b,h,a),j=this.childBindings,k=void 0;if(this.liftsContent)g.controller=i;else if(null!==this.elementName){if(k=b.viewFactory||this.viewFactory,a.viewModel=h,k&&(i.view=k.create(a,b,c)),null!==c){if(g.controller=i,i.view){if(!this.usesShadowDOM&&(1===c.childNodes.length||c.contentElement)){var l=c.childNodes[0]||c.contentElement;i.view.contentView={fragment:l},l.parentNode&&d.DOM.removeNode(l)}if(b.anchorIsContainer){if(null!==j)for(var m=0,n=j.length;m<n;++m)i.view.addBinding(j[m].create(c,h,i));i.view.appendNodesTo(f)}else i.view.insertNodesBefore(f)}else if(null!==j)for(var o=0,p=j.length;o<p;++o)e.push(j[o].create(c,h,i))}else if(i.view){if(i.view.controller=i,null!==j)for(var q=0,r=j.length;q<r;++q)i.view.addBinding(j[q].create(b.host,h,i))}else if(null!==j)for(var s=0,t=j.length;s<t;++s)e.push(j[s].create(b.host,h,i))}else if(null!==j)for(var u=0,v=j.length;u<v;++u)e.push(j[u].create(c,h,i));return null!==g&&(g[this.htmlName]=i),b.initiatedByBehavior&&k&&i.view.created(),i},a.prototype._ensurePropertiesDefined=function(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;if(!("__propertiesDefined__"in b))for(b.__propertiesDefined__=!0,c=this.properties,d=0,e=c.length;d<e;++d)f=c[d].createObserver(a),void 0!==f&&(b[f.propertyName]=f)},a}(),Eb=function(){function a(a){this.name=a.name,this.changeHandler=a.changeHandler||this.name+"Changed",this.selector=a.selector,this.all=a.all}return a.prototype.create=function(a,b,c){return new Gb(this.selector,a,this.name,b,c,this.changeHandler,this.all)},a}(),Fb=[],Gb=function(){function a(a,b,c,d,e,f,g){this.selector=a,this.viewHost=b,this.property=c,this.viewModel=d,this.controller=e,this.changeHandler=f in d?f:null,this.usesShadowDOM=e.behavior.usesShadowDOM,this.all=g,!this.usesShadowDOM&&e.view&&e.view.contentView?this.contentView=e.view.contentView:this.contentView=null}return a.prototype.matches=function(a){if(a.matches(this.selector)){if(null===this.contentView)return!0;var b=this.contentView,c=a.auAssignedSlot;if(c&&c.projectFromAnchors){for(var d=c.projectFromAnchors,e=0,f=d.length;e<f;++e)if(d[e].auOwnerView===b)return!0;return!1}return a.auOwnerView===b}return!1},a.prototype.bind=function(a){var b=this.viewHost,c=this.viewModel,e=b.__childObserver__;if(!e){e=b.__childObserver__=d.DOM.createMutationObserver(M);var f={childList:!0,subtree:!this.usesShadowDOM};e.observe(b,f),e.binders=[]}if(e.binders.push(this),this.usesShadowDOM){var g=b.firstElementChild;if(this.all){var h=c[this.property];for(h?h.length=0:h=c[this.property]=[];g;)this.matches(g)&&h.push(g.au&&g.au.controller?g.au.controller.viewModel:g),g=g.nextElementSibling;null!==this.changeHandler&&this.viewModel[this.changeHandler](Fb)}else for(;g;){if(this.matches(g)){var i=g.au&&g.au.controller?g.au.controller.viewModel:g;this.viewModel[this.property]=i,null!==this.changeHandler&&this.viewModel[this.changeHandler](i);break}g=g.nextElementSibling}}},a.prototype.onRemove=function(a){if(this.matches(a)){var b=a.au&&a.au.controller?a.au.controller.viewModel:a;if(this.all){var c=this.viewModel[this.property]||(this.viewModel[this.property]=[]),d=c.indexOf(b);return d!==-1&&c.splice(d,1),!0}return!1}return!1},a.prototype.onAdd=function(a){if(this.matches(a)){var b=a.au&&a.au.controller?a.au.controller.viewModel:a;if(this.all){for(var c=this.viewModel[this.property]||(this.viewModel[this.property]=[]),d=0,e=a.previousElementSibling;e;)this.matches(e)&&d++,e=e.previousElementSibling;return c.splice(d,0,b),!0}this.viewModel[this.property]=b,null!==this.changeHandler&&this.viewModel[this.changeHandler](b)}return!1},a.prototype.unbind=function(){this.viewHost.__childObserver__&&(this.viewHost.__childObserver__.disconnect(),this.viewHost.__childObserver__=null)},a}(),Hb=a.CompositionEngine=(Ga=(0,g.inject)(yb,cb),Ga(Ha=function(){function a(a,b){this.viewEngine=a,this.viewLocator=b}return a.prototype._createControllerAndSwap=function(a){function b(b){return Promise.resolve(a.viewSlot.removeAll(!0)).then(function(){return a.currentController&&a.currentController.unbind(),a.viewSlot.add(b.view),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),b})}return this.createController(a).then(function(c){return c.automate(a.overrideContext,a.owningView),a.compositionTransactionOwnershipToken?a.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function(){return b(c)}):b(c)})},a.prototype.createController=function(a){var b=this,c=void 0,d=void 0,e=void 0,f=void 0;return this.ensureViewModel(a).then(N).then(function(){c=a.childContainer,d=a.viewModel,e=a.viewModelResource,f=e.metadata;var g=b.viewLocator.getViewStrategy(a.view||d);return a.viewResources&&g.makeRelativeTo(a.viewResources.viewUrl),f.load(c,e.value,null,g,!0)}).then(function(b){return f.create(c,Wa.dynamic(a.host,d,b))})},a.prototype.ensureViewModel=function(a){var b=a.childContainer=a.childContainer||a.container.createChild();if("string"==typeof a.viewModel)return a.viewModel=a.viewResources?a.viewResources.relativeToView(a.viewModel):a.viewModel,this.viewEngine.importViewModelResource(a.viewModel).then(function(c){return b.autoRegister(c.value),a.host&&b.registerInstance(d.DOM.Element,a.host),a.viewModel=b.viewModel=b.get(c.value),a.viewModelResource=c,a});var e=c.metadata.getOrCreateOwn(c.metadata.resource,Db,a.viewModel.constructor);return e.elementName=e.elementName||"dynamic-element",e.initialize(a.container||b,a.viewModel.constructor),a.viewModelResource={metadata:e,value:a.viewModel.constructor},b.viewModel=a.viewModel,Promise.resolve(a)},a.prototype.compose=function(a){a.childContainer=a.childContainer||a.container.createChild(),a.view=this.viewLocator.getViewStrategy(a.view);var b=a.childContainer.get(Qa),c=b.tryCapture();return c?a.compositionTransactionOwnershipToken=c:a.compositionTransactionNotifier=b.enlist(),a.viewModel?this._createControllerAndSwap(a):a.view?(a.viewResources&&a.view.makeRelativeTo(a.viewResources.viewUrl),a.view.loadViewFactory(this.viewEngine,new Va).then(function(b){var c=b.create(a.childContainer);c.bind(a.bindingContext,a.overrideContext);var d=function(){return Promise.resolve(a.viewSlot.removeAll(!0)).then(function(){return a.viewSlot.add(c),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),c})};return a.compositionTransactionOwnershipToken?a.compositionTransactionOwnershipToken.waitForCompositionComplete().then(d):d()})):a.viewSlot?(a.viewSlot.removeAll(),a.compositionTransactionNotifier&&a.compositionTransactionNotifier.done(),Promise.resolve(null)):Promise.resolve(null)},a}())||Ha),Ib=a.ElementConfigResource=function(){function a(){}return a.prototype.initialize=function(a,b){},a.prototype.register=function(a,b){},a.prototype.load=function(a,b){var c=new b,d=a.get(h.EventManager);d.registerElementConfig(c)},a}(),Jb={mode:"open"};a.TemplatingEngine=(Ia=(0,g.inject)(g.Container,vb,sb,Hb),Ia(Ja=function(){function a(a,b,c,d){this._container=a,this._moduleAnalyzer=b,this._viewCompiler=c,this._compositionEngine=d,a.registerInstance(Na,Na.instance=new Na)}return a.prototype.configureAnimator=function(a){this._container.unregister(Na),this._container.registerInstance(Na,Na.instance=a)},a.prototype.compose=function(a){return this._compositionEngine.compose(a)},a.prototype.enhance=function(a){a instanceof d.DOM.Element&&(a={element:a});var b={},c=a.resources||this._container.get(jb);this._viewCompiler._compileNode(a.element,c,b,a.element.parentNode,"root",!0);var e=new pb(a.element,b,c),f=a.container||this._container.createChild(),g=e.create(f,Wa.enhance());return g.bind(a.bindingContext||{},a.overrideContext),g},a}())||Ja)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating@1.1.1.js",["npm:aurelia-templating@1.1.1/aurelia-templating"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1/aurelia-path.js",["exports"],function(a){"use strict";function b(a){for(var b=0;b<a.length;++b){var c=a[b];if("."===c)a.splice(b,1),b-=1;else if(".."===c){if(0===b||1===b&&".."===a[2]||".."===a[b-1])continue;b>0&&(a.splice(b-1,2),b-=2)}}}function c(a,c){var d=c&&c.split("/"),e=a.trim().split("/");if("."===e[0].charAt(0)&&d){var f=d.slice(0,d.length-1);e.unshift.apply(e,f)}return b(e),e.join("/")}function d(a,b){if(!a)return b;if(!b)return a;var c=a.match(/^([^\/]*?:)\//),d=c&&c.length>0?c[1]:"";a=a.substr(d.length);var e=void 0;e=0===a.indexOf("///")&&"file:"===d?"///":0===a.indexOf("//")?"//":0===a.indexOf("/")?"/":"";for(var f="/"===b.slice(-1)?"/":"",g=a.split("/"),h=b.split("/"),i=[],j=0,k=g.length;j<k;++j)if(".."===g[j])i.pop();else{if("."===g[j]||""===g[j])continue;i.push(g[j])}for(var l=0,m=h.length;l<m;++l)if(".."===h[l])i.pop();else{if("."===h[l]||""===h[l])continue;i.push(h[l])}return d+e+i.join("/")+f}function e(a,b,c){var d=[];if(null===b||void 0===b)return d;if(Array.isArray(b))for(var f=0,g=b.length;f<g;f++)if(c)d.push(l(a)+"="+k(b[f]));else{var h=a+"["+("object"===j(b[f])&&null!==b[f]?f:"")+"]";d=d.concat(e(h,b[f]))}else if("object"!==("undefined"==typeof b?"undefined":j(b))||c)d.push(l(a)+"="+k(b));else for(var i in b)d=d.concat(e(a+"["+i+"]",b[i]));return d}function f(a,b){for(var c=[],d=Object.keys(a||{}).sort(),f=0,g=d.length;f<g;f++){var h=d[f];c=c.concat(e(h,a[h],b))}return 0===c.length?"":c.join("&")}function g(a,b){return Array.isArray(a)?(a.push(b),a):void 0!==a?[a,b]:b}function h(a,b,c){for(var d=a,e=b.length-1,f=0;f<=e;f++){var g=""===b[f]?d.length:b[f];if(f<e){var h=d[g]&&"object"!==j(d[g])?[d[g]]:d[g];d=d[g]=h||(isNaN(b[f+1])?{}:[])}else d=d[g]=c}}function i(a){var b={};if(!a||"string"!=typeof a)return b;var c=a;"?"===c.charAt(0)&&(c=c.substr(1));for(var d=c.replace(/\+/g," ").split("&"),e=0;e<d.length;e++){var f=d[e].split("="),i=decodeURIComponent(f[0]);if(i){var j=i.split("]["),k=j.length-1;if(/\[/.test(j[0])&&/\]$/.test(j[k])?(j[k]=j[k].replace(/\]$/,""),j=j.shift().split("[").concat(j),k=j.length-1):k=0,f.length>=2){var l=f[1]?decodeURIComponent(f[1]):"";k?h(b,j,l):b[i]=g(b[i],l)}else b[i]=!0}}return b}Object.defineProperty(a,"__esModule",{value:!0}),a.relativeToFile=c,a.join=d,a.buildQueryString=f,a.parseQueryString=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=encodeURIComponent,l=function(a){return k(a).replace("%24","$")}})}(),function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1.js",["npm:aurelia-path@1.1.1/aurelia-path"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js",["exports","aurelia-path"],function(a,b){"use strict";function c(a,b,c,d){var e=a;"/"===a.charAt(0)&&(e=a.substr(1));for(var f=[],g=e.split("/"),h=0,i=g.length;h<i;++h){var j=g[h],o=j.match(/^:([^?]+)(\?)?$/);if(o){var p=o,q=p[1],r=p[2];if(q.indexOf("=")!==-1)throw new Error("Parameter "+q+" in route "+a+" has a default value, which is not supported.");f.push(new l(q,(!!r))),b.push(q),c.dynamics++}else o=j.match(/^\*(.+)$/),o?(f.push(new m(o[1])),b.push(o[1]),c.stars++):""===j?f.push(new n):(f.push(new k(j,d)),c.statics++)}return f}function d(a){return a.sort(function(a,b){if(a.types.stars!==b.types.stars)return a.types.stars-b.types.stars;if(a.types.stars){if(a.types.statics!==b.types.statics)return b.types.statics-a.types.statics;if(a.types.dynamics!==b.types.dynamics)return b.types.dynamics-a.types.dynamics}return a.types.dynamics!==b.types.dynamics?a.types.dynamics-b.types.dynamics:a.types.statics!==b.types.statics?b.types.statics-a.types.statics:0})}function e(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d];c.push.apply(c,f.match(b))}for(var g=c.filter(function(a){return a.epsilon}),h=function(){var a=[];g.forEach(function(b){c.push.apply(c,b.epsilon),a.push.apply(a,b.epsilon)}),g=a.filter(function(a){return a.epsilon})};g.length>0;)h();return c}function f(a,b,c){for(var d=a.handlers,e=a.regex,f=b.match(e),g=1,h=new o(c),i=0,j=d.length;i<j;i++){for(var k=d[i],l=k.names,m={},n=0,p=l.length;n<p;n++)m[l[n]]=f[g++];h.push({handler:k.handler,params:m,isDynamic:!!l.length})}return h}function g(a,b){var c=a.put({validChars:"/"});return b.eachChar(function(a){c=c.put(a)}),b.optional&&(a.epsilon=a.epsilon||[],a.epsilon.push(c)),c}Object.defineProperty(a,"__esModule",{value:!0}),a.RouteRecognizer=a.EpsilonSegment=a.StarSegment=a.DynamicSegment=a.StaticSegment=a.State=void 0;var h=a.State=function(){function a(a){this.charSpec=a,this.nextStates=[]}return a.prototype.get=function(a){for(var b=this.nextStates,c=Array.isArray(b),d=0,b=c?b:b[Symbol.iterator]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{
+if(d=b.next(),d.done)break;e=d.value}var f=e,g=f.charSpec.validChars===a.validChars&&f.charSpec.invalidChars===a.invalidChars;if(g)return f}},a.prototype.put=function(b){var c=this.get(b);return c?c:(c=new a(b),this.nextStates.push(c),b.repeat&&c.nextStates.push(c),c)},a.prototype.match=function(a){for(var b=this.nextStates,c=[],d=0,e=b.length;d<e;d++){var f=b[d],g=f.charSpec;void 0!==g.validChars?g.validChars.indexOf(a)!==-1&&c.push(f):void 0!==g.invalidChars&&g.invalidChars.indexOf(a)===-1&&c.push(f)}return c},a}(),i=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],j=new RegExp("(\\"+i.join("|\\")+")","g"),k=a.StaticSegment=function(){function a(a,b){this.string=a,this.caseSensitive=b}return a.prototype.eachChar=function(a){for(var b=this.string,c=0,d=b.length;c<d;++c){var e=b[c];a({validChars:this.caseSensitive?e:e.toUpperCase()+e.toLowerCase()})}},a.prototype.regex=function(){return this.string.replace(j,"\\$1")},a.prototype.generate=function(){return this.string},a}(),l=a.DynamicSegment=function(){function a(a,b){this.name=a,this.optional=b}return a.prototype.eachChar=function(a){a({invalidChars:"/",repeat:!0})},a.prototype.regex=function(){return this.optional?"([^/]+)?":"([^/]+)"},a.prototype.generate=function(a,b){return b[this.name]=!0,a[this.name]},a}(),m=a.StarSegment=function(){function a(a){this.name=a}return a.prototype.eachChar=function(a){a({invalidChars:"",repeat:!0})},a.prototype.regex=function(){return"(.+)"},a.prototype.generate=function(a,b){return b[this.name]=!0,a[this.name]},a}(),n=a.EpsilonSegment=function(){function a(){}return a.prototype.eachChar=function(){},a.prototype.regex=function(){return""},a.prototype.generate=function(){return""},a}(),o=(a.RouteRecognizer=function(){function a(){this.rootState=new h,this.names={}}return a.prototype.add=function(a){var b=this;if(Array.isArray(a))return void a.forEach(function(a){return b.add(a)});for(var d=this.rootState,e="^",f={statics:0,dynamics:0,stars:0},h=[],i=a.handler.name,j=!0,k=!0,l=c(a.path,h,f,a.caseSensitive),m=0,o=l.length;m<o;m++){var p=l[m];p instanceof n||(j=!1,k=k&&p.optional,d=g(d,p),e+=p.optional?"/?":"/",e+=p.regex())}if(k)if(j)d=d.put({validChars:"/"}),e+="/";else{var q=this.rootState.put({validChars:"/"});d.epsilon=[q],d=q}var r=[{handler:a.handler,names:h}];if(i)for(var s=Array.isArray(i)?i:[i],t=0;t<s.length;t++)this.names[s[t]]={segments:l,handlers:r};return d.handlers=r,d.regex=new RegExp(e+"$",a.caseSensitive?"":"i"),d.types=f,d},a.prototype.handlersFor=function(a){var b=this.names[a];if(!b)throw new Error("There is no route named "+a);return[].concat(b.handlers)},a.prototype.hasRoute=function(a){return!!this.names[a]},a.prototype.generate=function(a,c){var d=this.names[a];if(!d)throw new Error("There is no route named "+a);var e=d.handlers[0].handler;if(e.generationUsesHref)return e.href;for(var f=Object.assign({},c),g=d.segments,h={},i="",j=0,k=g.length;j<k;j++){var l=g[j];if(!(l instanceof n)){var m=l.generate(f,h);if(null===m||void 0===m){if(!l.optional)throw new Error("A value is required for route parameter '"+l.name+"' in route '"+a+"'.")}else i+="/",i+=m}}"/"!==i.charAt(0)&&(i="/"+i);for(var o in h)delete f[o];var p=(0,b.buildQueryString)(f);return i+=p?"?"+p:""},a.prototype.recognize=function(a){var c=[this.rootState],g={},h=!1,i=a,j=i.indexOf("?");if(j!==-1){var k=i.substr(j+1,i.length);i=i.substr(0,j),g=(0,b.parseQueryString)(k)}i=decodeURI(i),"/"!==i.charAt(0)&&(i="/"+i);var l=i.length;l>1&&"/"===i.charAt(l-1)&&(i=i.substr(0,l-1),h=!0);for(var m=0,n=i.length;m<n&&(c=e(c,i.charAt(m)),c.length);m++);for(var o=[],p=0,q=c.length;p<q;p++)c[p].handlers&&o.push(c[p]);c=d(o);var r=o[0];if(r&&r.handlers)return h&&"(.+)$"===r.regex.source.slice(-5)&&(i+="/"),f(r,i,g)},a}(),function(a){this.splice=Array.prototype.splice,this.slice=Array.prototype.slice,this.push=Array.prototype.push,this.length=0,this.queryParams=a||{}})})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.0.js",["npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-metadata@1.0.1/aurelia-metadata.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=function(a,c,d){var e=b.length;if(c){for(d=d||{value:a[c],writable:!0,configurable:!0,enumerable:!0};e--;)d=b[e](a,c,d)||d;Object.defineProperty(a,c,d)}else for(;e--;)a=b[e](a)||a;return a};return d.on=d,d}function d(a,b,c){function d(c,d,e){var f=c.constructor.name+"#"+d,g=b?{}:a||{},h="DEPRECATION - "+f;if("function"!=typeof e.value)throw new SyntaxError("Only methods can be marked as deprecated.");return g.message&&(h+=" - "+g.message),l({},e,{value:function(){if(g.error)throw new Error(h);return console.warn(h),e.value.apply(this,arguments)}})}return b?d(a,b,c):d}function e(a){function b(b){var d=function(b){for(var d="function"==typeof b?b.prototype:b,e=c.length;e--;){var f=c[e];Object.defineProperty(d,f,{value:a[f],writable:!0})}};return b?d(b):d}var c=Object.keys(a);return b}function f(){return!0}function g(){}function h(a){return void 0===a?a={}:"function"==typeof a&&(a={validate:a}),a.validate||(a.validate=f),a.compose||(a.compose=g),a}function i(a){return function(b){var c=a(b);return c===!0}}function j(a,b){return function(c){var d=b(c);if(d!==!0)throw new Error(d||a+" was not correctly implemented.")}}function k(a,b){b=h(b);var c=function d(c){var e="function"==typeof c?c.prototype:c;b.compose(e),d.assert(e),Object.defineProperty(e,"protocol:"+a,{enumerable:!1,configurable:!1,writable:!1,value:!0})};return c.validate=i(b.validate),c.assert=j(a,b.validate),c}Object.defineProperty(a,"__esModule",{value:!0}),a.Origin=a.metadata=void 0,a.decorators=c,a.deprecated=d,a.mixin=e,a.protocol=k;var l=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},n=a.metadata={resource:"aurelia:resource",paramTypes:"design:paramtypes",propertyType:"design:type",properties:"design:properties",get:function(a,b,c){if(b){var d=n.getOwn(a,b,c);return void 0===d?n.get(a,Object.getPrototypeOf(b),c):d}},getOwn:function(a,b,c){if(b)return Reflect.getOwnMetadata(a,b,c)},define:function(a,b,c,d){Reflect.defineMetadata(a,b,c,d)},getOrCreateOwn:function(a,b,c,d){var e=n.getOwn(a,c,d);return void 0===e&&(e=new b,Reflect.defineMetadata(a,e,c,d)),e}},o=new Map,p=Object.freeze({moduleId:void 0,moduleMember:void 0});a.Origin=function(){function a(a,b){this.moduleId=a,this.moduleMember=b}return a.get=function(c){var d=o.get(c);return void 0===d&&b.PLATFORM.eachModule(function(b,e){if("object"===("undefined"==typeof e?"undefined":m(e)))for(var f in e){var g=e[f];if(g===c)return o.set(c,d=new a(b,f)),!0}return e===c&&(o.set(c,d=new a(b,"default")),!0)}),d||p},a.set=function(a,b){o.set(a,b)},a}();k.create=function(a,b){b=h(b);var c="protocol:"+a,d=function(c){var d=k(a,b);return c?d(c):d};return d.decorates=function(a){return a[c]===!0},d.validate=i(b.validate),d.assert=j(a,b.validate),d}})}(),function(){var a=System.amdDefine;a("npm:aurelia-metadata@1.0.1.js",["npm:aurelia-metadata@1.0.1/aurelia-metadata"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection.js",["exports","aurelia-metadata","aurelia-pal"],function(a,b,c){"use strict";function d(a,c){var d=a.inject;if("function"==typeof d)throw new Error("Decorator "+c+' cannot be used with "inject()". Please use an array instead.');return d||(d=b.metadata.getOwn(b.metadata.paramTypes,a).slice(),a.inject=d),d}function e(a){return function(b,c,e){var f=d(b,"lazy");f[e]=J.of(a)}}function f(a){return function(b,c,e){var f=d(b,"all");f[e]=K.of(a)}}function g(){var a=arguments.length<=0||void 0===arguments[0]||arguments[0],b=function(a){return function(b,c,e){var f=d(b,"optional");f[e]=L.of(f[e],a)}};return b("boolean"==typeof a?a:!0)}function h(a,b,c){var e=d(a,"parent");e[c]=M.of(e[c])}function i(a,b){return function(c,e,f){var g=d(c,"factory"),h=O.of(a);g[f]=b?h.as(b):h}}function j(a){for(var b=arguments.length,c=Array(b>1?b-1:0),e=1;e<b;e++)c[e-1]=arguments[e];var f=function(a){return function(b,e,f){var g=d(b,"newInstance");g[f]=P.of.apply(P,[g[f]].concat(c)),a&&g[f].as(a)}};return arguments.length>=1?f(a):f()}function k(a){return function(c){b.metadata.define(b.metadata.invoker,a,c)}}function i(a){var c=function(a){b.metadata.define(b.metadata.invoker,Q.instance,a)};return a?c(a):c}function l(a){return function(c){b.metadata.define(b.metadata.registration,a,c)}}function m(a){return l(new R(a))}function n(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return l(new S(a,b))}function o(a){if(null===a||void 0===a)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function p(a,b,c,d){for(var e=c.length,f=new Array(e);e--;)f[e]=a.get(c[e]);return void 0!==d&&(f=f.concat(d)),Reflect.construct(b,f)}function q(a){return a.hasOwnProperty("inject")?"function"==typeof a.inject?a.inject():a.inject:[]}function r(a){var c=function(a){var c=a.inject,d=b.metadata.getOwn(b.metadata.paramTypes,a)||T;if(c){for(var e=0;e<d.length;e++)if(c[e]&&c[e]!==d[e]){var f=c.indexOf(d[e]);f>-1?(c.splice(f,1),c.splice(f>-1&&f<e?e-1:e,0,d[e])):c[e]||(c[e]=d[e])}}else a.inject=d};return a?c(a):c}function s(){for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];return function(a,d,e){if("number"==typeof e&&1===c.length){var f=a.inject;if("function"==typeof f)throw new Error('Decorator inject cannot be used with "inject()". Please use an array instead.');return f||(f=b.metadata.getOwn(b.metadata.paramTypes,a).slice(),a.inject=f),void(f[e]=c[0])}if(e){var g=e.value;g.inject=c}else a.inject=c}}Object.defineProperty(a,"__esModule",{value:!0}),a.Container=a.InvocationHandler=a._emptyParameters=a.SingletonRegistration=a.TransientRegistration=a.FactoryInvoker=a.NewInstance=a.Factory=a.StrategyResolver=a.Parent=a.Optional=a.All=a.Lazy=a.resolver=void 0,a.getDecoratorDependencies=d,a.lazy=e,a.all=f,a.optional=g,a.parent=h,a.factory=i,a.newInstance=j,a.invoker=k,a.factory=i,a.registration=l,a["transient"]=m,a.singleton=n,a.autoinject=r,a.inject=s;var t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I=a.resolver=b.protocol.create("aurelia:resolver",function(a){return"function"==typeof a.get||"Resolvers must implement: get(container: Container, key: any): any"}),J=a.Lazy=(t=I(),t(u=function(){function a(a){this._key=a}return a.prototype.get=function(a){var b=this;return function(){return a.get(b._key)}},a.of=function(b){return new a(b)},a}())||u),K=a.All=(v=I(),v(w=function(){function a(a){this._key=a}return a.prototype.get=function(a){return a.getAll(this._key)},a.of=function(b){return new a(b)},a}())||w),L=a.Optional=(x=I(),x(y=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]||arguments[1];this._key=a,this._checkParent=b}return a.prototype.get=function(a){return a.hasResolver(this._key,this._checkParent)?a.get(this._key):null},a.of=function(b){var c=arguments.length<=1||void 0===arguments[1]||arguments[1];return new a(b,c)},a}())||y),M=a.Parent=(z=I(),z(A=function(){function a(a){this._key=a}return a.prototype.get=function(a){return a.parent?a.parent.get(this._key):null},a.of=function(b){return new a(b)},a}())||A),N=a.StrategyResolver=(B=I(),B(C=function(){function a(a,b){this.strategy=a,this.state=b}return a.prototype.get=function(a,b){switch(this.strategy){case 0:return this.state;case 1:var c=a.invoke(this.state);return this.state=c,this.strategy=0,c;case 2:return a.invoke(this.state);case 3:return this.state(a,b,this);case 4:return this.state[0].get(a,b);case 5:return a.get(this.state);default:throw new Error("Invalid strategy: "+this.strategy)}},a}())||C),O=a.Factory=(D=I(),D(E=function(){function a(a){this._key=a}return a.prototype.get=function(a){var b=this;return function(){for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return a.invoke(b._key,d)}},a.of=function(b){return new a(b)},a}())||E),P=a.NewInstance=(F=I(),F(G=function(){function a(a){this.key=a,this.asKey=a;for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];this.dynamicDependencies=c}return a.prototype.get=function(a){var b=this.dynamicDependencies.length>0?this.dynamicDependencies.map(function(b){return b["protocol:aurelia:resolver"]?b.get(a):a.get(b)}):void 0,c=a.invoke(this.key,b);return a.registerInstance(this.asKey,c),c},a.prototype.as=function(a){return this.asKey=a,this},a.of=function(b){for(var c=arguments.length,d=Array(c>1?c-1:0),e=1;e<c;e++)d[e-1]=arguments[e];return new(Function.prototype.bind.apply(a,[null].concat([b],d)))},a}())||G),Q=a.FactoryInvoker=function(){function a(){}return a.prototype.invoke=function(a,b,c){for(var d=c.length,e=new Array(d);d--;)e[d]=a.get(c[d]);return b.apply(void 0,e)},a.prototype.invokeWithDynamicDependencies=function(a,b,c,d){for(var e=c.length,f=new Array(e);e--;)f[e]=a.get(c[e]);return void 0!==d&&(f=f.concat(d)),b.apply(void 0,f)},a}();Q.instance=new Q;var R=a.TransientRegistration=function(){function a(a){this._key=a}return a.prototype.registerResolver=function(a,b,c){return a.registerTransient(this._key||b,c)},a}(),S=a.SingletonRegistration=function(){function a(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];"boolean"==typeof a?this._registerInChild=a:(this._key=a,this._registerInChild=b)}return a.prototype.registerResolver=function(a,b,c){return this._registerInChild?a.registerSingleton(this._key||b,c):a.root.registerSingleton(this._key||b,c)},a}(),T=a._emptyParameters=Object.freeze([]);b.metadata.registration="aurelia:registration",b.metadata.invoker="aurelia:invoker";var U=I.decorates,V=a.InvocationHandler=function(){function a(a,b,c){this.fn=a,this.invoker=b,this.dependencies=c}return a.prototype.invoke=function(a,b){return void 0!==b?this.invoker.invokeWithDynamicDependencies(a,this.fn,this.dependencies,b):this.invoker.invoke(a,this.fn,this.dependencies)},a}(),W=(H={},H[0]={invoke:function(a,b){return new b},invokeWithDynamicDependencies:p},H[1]={invoke:function(a,b,c){return new b(a.get(c[0]))},invokeWithDynamicDependencies:p},H[2]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]))},invokeWithDynamicDependencies:p},H[3]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]))},invokeWithDynamicDependencies:p},H[4]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]),a.get(c[3]))},invokeWithDynamicDependencies:p},H[5]={invoke:function(a,b,c){return new b(a.get(c[0]),a.get(c[1]),a.get(c[2]),a.get(c[3]),a.get(c[4]))},invokeWithDynamicDependencies:p},H.fallback={invoke:p,invokeWithDynamicDependencies:p},H);a.Container=function(){function a(a){void 0===a&&(a={}),this._configuration=a,this._onHandlerCreated=a.onHandlerCreated,this._handlers=a.handlers||(a.handlers=new Map),this._resolvers=new Map,this.root=this,this.parent=null}return a.prototype.makeGlobal=function(){return a.instance=this,this},a.prototype.setHandlerCreatedCallback=function(a){this._onHandlerCreated=a,this._configuration.onHandlerCreated=a},a.prototype.registerInstance=function(a,b){return this.registerResolver(a,new N(0,void 0===b?a:b))},a.prototype.registerSingleton=function(a,b){return this.registerResolver(a,new N(1,void 0===b?a:b))},a.prototype.registerTransient=function(a,b){return this.registerResolver(a,new N(2,void 0===b?a:b))},a.prototype.registerHandler=function(a,b){return this.registerResolver(a,new N(3,b))},a.prototype.registerAlias=function(a,b){return this.registerResolver(b,new N(5,a))},a.prototype.registerResolver=function(a,b){o(a);var c=this._resolvers,d=c.get(a);return void 0===d?c.set(a,b):4===d.strategy?d.state.push(b):c.set(a,new N(4,[d,b])),b},a.prototype.autoRegister=function(a,c){if(c=void 0===c?a:c,"function"==typeof c){var d=b.metadata.get(b.metadata.registration,c);return void 0===d?this.registerResolver(a,new N(1,c)):d.registerResolver(this,a,c)}return this.registerResolver(a,new N(0,c))},a.prototype.autoRegisterAll=function(a){for(var b=a.length;b--;)this.autoRegister(a[b])},a.prototype.unregister=function(a){this._resolvers["delete"](a)},a.prototype.hasResolver=function(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return o(a),this._resolvers.has(a)||b&&null!==this.parent&&this.parent.hasResolver(a,b)},a.prototype.get=function(b){if(o(b),b===a)return this;if(U(b))return b.get(this,b);var c=this._resolvers.get(b);return void 0===c?null===this.parent?this.autoRegister(b).get(this,b):this.parent._get(b):c.get(this,b)},a.prototype._get=function(a){var b=this._resolvers.get(a);return void 0===b?null===this.parent?this.autoRegister(a).get(this,a):this.parent._get(a):b.get(this,a)},a.prototype.getAll=function(a){o(a);var b=this._resolvers.get(a);if(void 0===b)return null===this.parent?T:this.parent.getAll(a);if(4===b.strategy){for(var c=b.state,d=c.length,e=new Array(d);d--;)e[d]=c[d].get(this,a);return e}return[b.get(this,a)]},a.prototype.createChild=function(){var b=new a(this._configuration);return b.root=this.root,b.parent=this,b},a.prototype.invoke=function(a,b){try{var d=this._handlers.get(a);return void 0===d&&(d=this._createInvocationHandler(a),this._handlers.set(a,d)),d.invoke(this,b)}catch(e){throw new c.AggregateError("Error invoking "+a.name+". Check the inner error for details.",e,(!0))}},a.prototype._createInvocationHandler=function(a){var c=void 0;if(void 0===a.inject)c=b.metadata.getOwn(b.metadata.paramTypes,a)||T;else{c=[];for(var d=a;"function"==typeof d;){var e;(e=c).push.apply(e,q(d)),d=Object.getPrototypeOf(d)}}var f=b.metadata.getOwn(b.metadata.invoker,a)||W[c.length]||W.fallback,g=new V(a,f,c);return void 0!==this._onHandlerCreated?this._onHandlerCreated(g):g},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-dependency-injection@1.1.0.js",["npm:aurelia-dependency-injection@1.1.0/aurelia-dependency-injection"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-history@1.0.0/aurelia-history.js",["exports"],function(a){"use strict";function b(a){throw new Error("History must implement "+a+"().")}Object.defineProperty(a,"__esModule",{value:!0});a.History=function(){function a(){}return a.prototype.activate=function(a){b("activate")},a.prototype.deactivate=function(){b("deactivate")},a.prototype.getAbsoluteRoot=function(){b("getAbsoluteRoot")},a.prototype.navigate=function(a,c){b("navigate")},a.prototype.navigateBack=function(){b("navigateBack")},a.prototype.setTitle=function(a){b("setTitle")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-history@1.0.0.js",["npm:aurelia-history@1.0.0/aurelia-history"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator.js",["exports","aurelia-logging"],function(a,b){"use strict";function c(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function d(a){var b=new i;return a.subscribeOnce=function(a,c){return b.subscribeOnce(a,c)},a.subscribe=function(a,c){return b.subscribe(a,c)},a.publish=function(a,c){b.publish(a,c)},b}function e(a){a.instance(i,d(a.aurelia))}Object.defineProperty(a,"__esModule",{value:!0}),a.EventAggregator=void 0,a.includeEventsIn=d,a.configure=e;var f=c(b),g=f.getLogger("event-aggregator"),h=function(){function a(a,b){this.messageType=a,this.callback=b}return a.prototype.handle=function(a){a instanceof this.messageType&&this.callback.call(null,a)},a}(),i=a.EventAggregator=function(){function a(){this.eventLookup={},this.messageHandlers=[]}return a.prototype.publish=function(a,b){var c=void 0,d=void 0;if(!a)throw new Error("Event was invalid.");if("string"==typeof a){if(c=this.eventLookup[a]){c=c.slice(),d=c.length;try{for(;d--;)c[d](b,a)}catch(e){g.error(e)}}}else{c=this.messageHandlers.slice(),d=c.length;try{for(;d--;)c[d].handle(a)}catch(e){g.error(e)}}},a.prototype.subscribe=function(a,b){var c=void 0,d=void 0;if(!a)throw new Error("Event channel/type was invalid.");return"string"==typeof a?(c=b,d=this.eventLookup[a]||(this.eventLookup[a]=[])):(c=new h(a,b),d=this.messageHandlers),d.push(c),{dispose:function(){var a=d.indexOf(c);a!==-1&&d.splice(a,1)}}},a.prototype.subscribeOnce=function(a,b){var c=this.subscribe(a,function(a,d){return c.dispose(),b(a,d)});return c},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-event-aggregator@1.0.0.js",["npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.0.6/aurelia-router.js",["exports","aurelia-logging","aurelia-route-recognizer","aurelia-dependency-injection","aurelia-history","aurelia-event-aggregator"],function(a,b,c,d,e,f){"use strict";function g(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}function h(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function i(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function j(a,b){var c=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return b||"#"===a[0]||(a="#"+a),b&&c&&(a=a.substring(1,a.length)),a}function k(a,b,c,d){if(M.test(a))return a;var e="";return b.length&&"/"!==b[0]&&(e+="/"),e+=b,e.length&&"/"===e[e.length-1]||"/"===a[0]||(e+="/"),e.length&&"/"===e[e.length-1]&&"/"===a[0]&&(e=e.substring(0,e.length-1)),j(e+a,c,d)}function l(a,b,c){return L.test(a)?j(a,c):k(a,b,c)}function m(a,b){return function(a){return Promise.resolve({status:b,output:a,completed:b===N.completed})}}function n(a){a.previousInstruction=null,a.plan=null}function o(a){return a&&"function"==typeof a.navigate}function p(a,b){var c=a.previousInstruction,d=a.config,e={};if("redirect"in d){var f=l(d.redirect,r(a));return a.queryString&&(f+="?"+a.queryString),Promise.reject(new S(f))}if(c){var g=q(c,a),h=[],i=function(f){var i=c.viewPortInstructions[f],j=d.viewPorts[f];if(!j)throw new Error('Invalid Route Config: Configuration for viewPort "'+f+'" was not found for route: "'+a.config.route+'."');var k=e[f]={name:f,config:j,prevComponent:i.component,prevModuleId:i.moduleId};if(i.moduleId!==j.moduleId)k.strategy=U.replace;else if("determineActivationStrategy"in i.component.viewModel){var l;k.strategy=(l=i.component.viewModel).determineActivationStrategy.apply(l,a.lifecycleArgs)}else d.activationStrategy?k.strategy=d.activationStrategy:g||b?k.strategy=U.invokeLifecycle:k.strategy=U.noChange;if(k.strategy!==U.replace&&i.childRouter){var m=a.getWildcardPath(),n=i.childRouter._createNavigationInstruction(m,a).then(function(a){return k.childNavigationInstruction=a,p(a,k.strategy===U.invokeLifecycle).then(function(b){a.plan=b})});h.push(n)}};for(var j in c.viewPortInstructions)i(j);return Promise.all(h).then(function(){return e})}for(var k in d.viewPorts)e[k]={name:k,strategy:U.replace,config:a.config.viewPorts[k]};return Promise.resolve(e)}function q(a,b){var c=a.params,d=b.params,e=b.config.hasChildRouter?b.getWildCardName():null;for(var f in d)if(f!==e&&c[f]!==d[f])return!0;for(var g in c)if(g!==e&&c[g]!==d[g])return!0;if(!b.options.compareQueryParams)return!1;var h=a.queryParams,i=b.queryParams;for(var j in i)if(h[j]!==i[j])return!0;for(var k in h)if(h[k]!==i[k])return!0;return!1}function r(a){var b=[];for(a=a.parentInstruction;a;)b.unshift(a.getBaseUrl()),a=a.parentInstruction;return b.unshift("/"),b.join("")}function s(a,b){if("object"!==("undefined"==typeof a?"undefined":J(a)))throw new Error("Invalid Route Config");if("string"!=typeof a.route){var c=a.name||"(no name)";throw new Error('Invalid Route Config for "'+c+'": You must specify a "route:" pattern.')}if(!("redirect"in a||a.moduleId||a.navigationStrategy||a.viewPorts))throw new Error('Invalid Route Config for "'+a.route+'": You must specify a "moduleId:", "redirect:", "navigationStrategy:", or "viewPorts:".')}function t(a,b,c){return Promise.resolve(b.call(c,a)).then(function(){return"viewPorts"in a.config||(a.config.viewPorts={"default":{moduleId:a.config.moduleId}}),a})}function u(a,b,c,d){function e(a){return d||z(a)?f():c.cancel(a)}function f(){if(h--)try{var a=g[h],d=a[b]();return A(d,e,c.cancel)}catch(f){return c.cancel(f)}return c()}var g=v(a,b),h=g.length;return f()}function v(a,b){var c=arguments.length<=2||void 0===arguments[2]?[]:arguments[2];for(var d in a){var e=a[d],f=e.prevComponent;if((e.strategy===U.invokeLifecycle||e.strategy===U.replace)&&f){var g=f.viewModel;b in g&&c.push(g)}e.childNavigationInstruction?v(e.childNavigationInstruction.plan,b,c):f&&w(f,b,c)}return c}function w(a,b,c){var d=a.childRouter;if(d&&d.currentInstruction){var e=d.currentInstruction.viewPortInstructions;for(var f in e){var g=e[f],h=g.component,i=h.viewModel;b in i&&c.push(i),w(h,b,c)}}}function x(a,b,c,d){function e(a,b){return d||z(a,b)?f():c.cancel(a)}function f(){if(i++,i<h)try{var a=function(){var a,d=g[i],f=(a=d.viewModel)[b].apply(a,d.lifecycleArgs);return{v:A(f,function(a){return e(a,d.router)},c.cancel)}}();if("object"===("undefined"==typeof a?"undefined":J(a)))return a.v}catch(d){return c.cancel(d)}return c()}var g=y(a,b),h=g.length,i=-1;return f()}function y(a,b){var c=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],d=arguments[3],e=a.plan;return Object.keys(e).filter(function(f){var g=e[f],h=a.viewPortInstructions[f],i=h.component.viewModel;(g.strategy===U.invokeLifecycle||g.strategy===U.replace)&&b in i&&c.push({viewModel:i,lifecycleArgs:h.lifecycleArgs,router:d}),g.childNavigationInstruction&&y(g.childNavigationInstruction,b,c,h.component.childRouter||d)}),c}function z(a,b){return!(a instanceof Error)&&(o(a)?("function"==typeof a.setRouter&&a.setRouter(b),!!a.shouldContinueProcessing):void 0===a||a)}function A(a,b,c){if(a&&"function"==typeof a.then)return Promise.resolve(a).then(b)["catch"](c);if(a&&"function"==typeof a.subscribe){var d=function(){var d=a;return{v:new _(function(e){return d.subscribe({next:function(){e.subscribed&&(e.unsubscribe(),b(a))},error:function(a){e.subscribed&&(e.unsubscribe(),c(a))},complete:function(){e.subscribed&&(e.unsubscribe(),b(a))}})})}}();if("object"===("undefined"==typeof d?"undefined":J(d)))return d.v}try{return b(a)}catch(e){return c(e)}}function B(a,b){var c=C(b),d=c.map(function(b){return D(a,b.navigationInstruction,b.viewPortPlan)});return Promise.all(d)}function C(a){var b=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],c=a.plan;for(var d in c){var e=c[d];if(e.strategy===U.replace)b.push({viewPortPlan:e,navigationInstruction:a}),e.childNavigationInstruction&&C(e.childNavigationInstruction,b);else{var f=a.addViewPortInstruction(d,e.strategy,e.prevModuleId,e.prevComponent);e.childNavigationInstruction&&(f.childNavigationInstruction=e.childNavigationInstruction,C(e.childNavigationInstruction,b))}}return b}function D(a,b,c){var d=c.config.moduleId;return E(a,b,c.config).then(function(e){var f=b.addViewPortInstruction(c.name,c.strategy,d,e),g=e.childRouter;if(g){var h=b.getWildcardPath();return g._createNavigationInstruction(h,b).then(function(b){return c.childNavigationInstruction=b,p(b).then(function(c){return b.plan=c,f.childNavigationInstruction=b,B(a,b)})})}})}function E(a,b,c){var d=b.router,e=b.lifecycleArgs;return a.loadRoute(d,c,b).then(function(a){var b=a.viewModel,f=a.childContainer;if(a.router=d,a.config=c,"configureRouter"in b){var g=function(){var c=f.getChildRouter();return a.childRouter=c,{v:c.configure(function(a){return b.configureRouter.apply(b,[a,c].concat(e))}).then(function(){return a})}}();if("object"===("undefined"==typeof g?"undefined":J(g)))return g.v}return a})}function F(a,b,c,d){b&&"completed"in b&&"output"in b||(b=b||{},b.output=new Error("Expected router pipeline to return a navigation result, but got ["+JSON.stringify(b)+"] instead."));var e=null;return o(b.output)?b.output.navigate(d):(e=b,b.completed||(b.output instanceof Error&&ea.error(b.output),H(d))),d._dequeueInstruction(c+1).then(function(a){return e||a||b})}function G(a,b,c,d){if(a.resolve(b),!c){d.isNavigating=!1;var e={instruction:a,result:b},f=void 0;if(b.output instanceof Error)f="error";else if(b.completed){var g=a.queryString?"?"+a.queryString:"";d.history.previousLocation=a.fragment+g,f="success"}else f="canceled";d.events.publish("router:navigation:"+f,e),d.events.publish("router:navigation:complete",e)}return b}function H(a){var b=a.history.previousLocation;b?a.navigate(a.history.previousLocation,{trigger:!1,replace:!0}):ea.error("Router navigation failed, and no previous location could be restored.")}Object.defineProperty(a,"__esModule",{value:!0}),a.AppRouter=a.PipelineProvider=a.LoadRouteStep=a.RouteLoader=a.ActivateNextStep=a.DeactivatePreviousStep=a.CanActivateNextStep=a.CanDeactivatePreviousStep=a.Router=a.BuildNavigationPlanStep=a.activationStrategy=a.RouterConfiguration=a.RedirectToRoute=a.Redirect=a.NavModel=a.NavigationInstruction=a.CommitChangesStep=a.Pipeline=a.pipelineStatus=void 0,a._normalizeAbsolutePath=j,a._createRootedPath=k,a._resolveUrl=l,a.isNavigationCommand=o,a._buildNavigationPlan=p;var I=g(b),J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},K=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),L=/^#?\//,M=/^([a-z][a-z0-9+\-.]*:)?\/\//i,N=a.pipelineStatus={completed:"completed",canceled:"canceled",rejected:"rejected",running:"running"},O=a.Pipeline=function(){function a(){this.steps=[]}return a.prototype.addStep=function(a){var b=void 0;if("function"==typeof a)b=a;else{if("function"==typeof a.getSteps){for(var c=a.getSteps(),d=0,e=c.length;d<e;d++)this.addStep(c[d]);return this}b=a.run.bind(a)}return this.steps.push(b),this},a.prototype.run=function(a){function b(){if(c++,!(c<d.length))return b.complete();var e=d[c];try{return e(a,b)}catch(f){return b.reject(f)}}var c=-1,d=this.steps;return b.complete=m(b,N.completed),b.cancel=m(b,N.canceled),b.reject=m(b,N.rejected),b()},a}(),P=a.CommitChangesStep=function(){function a(){}return a.prototype.run=function(a,b){return a._commitChanges(!0).then(function(){return a._updateTitle(),b()})},a}(),Q=a.NavigationInstruction=function(){function a(a){this.plan=null,this.options={},Object.assign(this,a),this.params=this.params||{},this.viewPortInstructions={};var b=[],c=this;do{var d=Object.assign({},c.params);c.config&&c.config.hasChildRouter&&delete d[c.getWildCardName()],b.unshift(d),c=c.parentInstruction}while(c);var e=Object.assign.apply(Object,[{},this.queryParams].concat(b));this.lifecycleArgs=[e,this.config,this]}return a.prototype.getAllInstructions=function(){var a=[this];for(var b in this.viewPortInstructions){var c=this.viewPortInstructions[b].childNavigationInstruction;c&&a.push.apply(a,c.getAllInstructions())}return a},a.prototype.getAllPreviousInstructions=function(){return this.getAllInstructions().map(function(a){return a.previousInstruction}).filter(function(a){return a})},a.prototype.addViewPortInstruction=function(a,b,c,d){var e=this.viewPortInstructions[a]={name:a,strategy:b,moduleId:c,component:d,childRouter:d.childRouter,lifecycleArgs:this.lifecycleArgs.slice()
+};return e},a.prototype.getWildCardName=function(){var a=this.config.route.lastIndexOf("*");return this.config.route.substr(a+1)},a.prototype.getWildcardPath=function(){var a=this.getWildCardName(),b=this.params[a]||"";return this.queryString&&(b+="?"+this.queryString),b},a.prototype.getBaseUrl=function(){if(!this.params)return this.fragment;var a=this.getWildCardName(),b=this.params[a]||"";return b?(b=encodeURI(b),this.fragment.substr(0,this.fragment.lastIndexOf(b))):this.fragment},a.prototype._commitChanges=function(a){var b=this,c=this.router;c.currentInstruction=this,this.previousInstruction&&(this.previousInstruction.config.navModel.isActive=!1),this.config.navModel.isActive=!0,c._refreshBaseUrl(),c.refreshNavigation();var d=[],e=[],f=function(f){var g=b.viewPortInstructions[f],h=c.viewPorts[f];if(!h)throw new Error("There was no router-view found in the view for "+g.moduleId+".");g.strategy===U.replace?(a&&e.push({viewPort:h,viewPortInstruction:g}),d.push(h.process(g,a).then(function(a){if(g.childNavigationInstruction)return g.childNavigationInstruction._commitChanges()}))):g.childNavigationInstruction&&d.push(g.childNavigationInstruction._commitChanges(a))};for(var g in this.viewPortInstructions)f(g);return Promise.all(d).then(function(){return e.forEach(function(a){return a.viewPort.swap(a.viewPortInstruction)}),null}).then(function(){return n(b)})},a.prototype._updateTitle=function(){var a=this._buildTitle();a&&this.router.history.setTitle(a)},a.prototype._buildTitle=function(){var a=arguments.length<=0||void 0===arguments[0]?" | ":arguments[0],b=this.config.navModel.title||"",c=[];for(var d in this.viewPortInstructions){var e=this.viewPortInstructions[d];if(e.childNavigationInstruction){var f=e.childNavigationInstruction._buildTitle(a);f&&c.push(f)}}return c.length&&(b=c.join(a)+(b?a:"")+b),this.router.title&&(b+=(b?a:"")+this.router.title),b},a}(),R=a.NavModel=function(){function a(a,b){this.isActive=!1,this.title=null,this.href=null,this.relativeHref=null,this.settings={},this.config=null,this.router=a,this.relativeHref=b}return a.prototype.setTitle=function(a){this.title=a,this.isActive&&this.router.updateTitle()},a}(),S=a.Redirect=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];this.url=a,this.options=Object.assign({trigger:!0,replace:!0},b),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigate(this.url,this.options)},a}(),T=(a.RedirectToRoute=function(){function a(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];this.route=a,this.params=b,this.options=Object.assign({trigger:!0,replace:!0},c),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigateToRoute(this.route,this.params,this.options)},a}(),a.RouterConfiguration=function(){function a(){this.instructions=[],this.options={},this.pipelineSteps=[]}return a.prototype.addPipelineStep=function(a,b){return this.pipelineSteps.push({name:a,step:b}),this},a.prototype.addAuthorizeStep=function(a){return this.addPipelineStep("authorize",a)},a.prototype.addPreActivateStep=function(a){return this.addPipelineStep("preActivate",a)},a.prototype.addPreRenderStep=function(a){return this.addPipelineStep("preRender",a)},a.prototype.addPostRenderStep=function(a){return this.addPipelineStep("postRender",a)},a.prototype.map=function(a){return Array.isArray(a)?(a.forEach(this.map.bind(this)),this):this.mapRoute(a)},a.prototype.mapRoute=function(a){return this.instructions.push(function(b){var c=[];if(Array.isArray(a.route))for(var d=0,e=a.route.length;d<e;++d){var f=Object.assign({},a);f.route=a.route[d],c.push(f)}else c.push(Object.assign({},a));for(var g=void 0,h=0,i=c.length;h<i;++h){var j=c[h];j.settings=j.settings||{},g||(g=b.createNavModel(j)),b.addRoute(j,g)}}),this},a.prototype.mapUnknownRoutes=function(a){return this.unknownRouteConfig=a,this},a.prototype.exportToRouter=function(a){for(var b=this.instructions,c=0,d=b.length;c<d;++c)b[c](a);this.title&&(a.title=this.title),this.unknownRouteConfig&&a.handleUnknownRoutes(this.unknownRouteConfig),a.options=this.options;var e=this.pipelineSteps;if(e.length){if(!a.isRoot)throw new Error("Pipeline steps can only be added to the root router");for(var f=a.pipelineProvider,g=0,h=e.length;g<h;++g){var i=e[g],j=i.name,k=i.step;f.addStep(j,k)}}},a}()),U=a.activationStrategy={noChange:"no-change",invokeLifecycle:"invoke-lifecycle",replace:"replace"},V=a.BuildNavigationPlanStep=function(){function a(){}return a.prototype.run=function(a,b){return p(a).then(function(c){return a.plan=c,b()})["catch"](b.cancel)},a}(),W=a.Router=function(){function a(a,b){this.parent=null,this.options={},this.container=a,this.history=b,this.reset()}return a.prototype.reset=function(){var a=this;this.viewPorts={},this.routes=[],this.baseUrl="",this.isConfigured=!1,this.isNavigating=!1,this.navigation=[],this.currentInstruction=null,this._fallbackOrder=100,this._recognizer=new c.RouteRecognizer,this._childRecognizer=new c.RouteRecognizer,this._configuredPromise=new Promise(function(b){a._resolveConfiguredPromise=b})},a.prototype.registerViewPort=function(a,b){b=b||"default",this.viewPorts[b]=a},a.prototype.ensureConfigured=function(){return this._configuredPromise},a.prototype.configure=function(a){var b=this;this.isConfigured=!0;var c=a,d=void 0;return"function"==typeof a&&(d=new T,c=a(d)),Promise.resolve(c).then(function(a){a&&a.exportToRouter&&(d=a),d.exportToRouter(b),b.isConfigured=!0,b._resolveConfiguredPromise()})},a.prototype.navigate=function(a,b){return!this.isConfigured&&this.parent?this.parent.navigate(a,b):this.history.navigate(l(a,this.baseUrl,this.history._hasPushState),b)},a.prototype.navigateToRoute=function(a,b,c){var d=this.generate(a,b);return this.navigate(d,c)},a.prototype.navigateBack=function(){this.history.navigateBack()},a.prototype.createChild=function(b){var c=new a(b||this.container.createChild(),this.history);return c.parent=this,c},a.prototype.generate=function(a,b){var c=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],d=this._recognizer.hasRoute(a);if((!this.isConfigured||!d)&&this.parent)return this.parent.generate(a,b);if(!d)throw new Error("A route with name '"+a+"' could not be found. Check that `name: '"+a+"'` was specified in the route's config.");var e=this._recognizer.generate(a,b),f=k(e,this.baseUrl,this.history._hasPushState,c.absolute);return c.absolute?""+this.history.getAbsoluteRoot()+f:f},a.prototype.createNavModel=function(a){var b=new R(this,"href"in a?a.href:a.route);return b.title=a.title,b.order=a.nav,b.href=a.href,b.settings=a.settings,b.config=a,b},a.prototype.addRoute=function(a,b){s(a,this.routes),"viewPorts"in a||a.navigationStrategy||(a.viewPorts={"default":{moduleId:a.moduleId,view:a.view}}),b||(b=this.createNavModel(a)),this.routes.push(a);var c=a.route;"/"===c.charAt(0)&&(c=c.substr(1));var d=a.caseSensitive===!0,e=this._recognizer.add({path:c,handler:a,caseSensitive:d});if(c){var f=a.settings;delete a.settings;var g=JSON.parse(JSON.stringify(a));a.settings=f,g.route=c+"/*childRoute",g.hasChildRouter=!0,this._childRecognizer.add({path:g.route,handler:g,caseSensitive:d}),g.navModel=b,g.settings=a.settings,g.navigationStrategy=a.navigationStrategy}if(a.navModel=b,(b.order||0===b.order)&&this.navigation.indexOf(b)===-1){if(!b.href&&""!==b.href&&(e.types.dynamics||e.types.stars))throw new Error('Invalid route config for "'+a.route+'" : dynamic routes must specify an "href:" to be included in the navigation model.');"number"!=typeof b.order&&(b.order=++this._fallbackOrder),this.navigation.push(b),this.navigation=this.navigation.sort(function(a,b){return a.order-b.order})}},a.prototype.hasRoute=function(a){return!!(this._recognizer.hasRoute(a)||this.parent&&this.parent.hasRoute(a))},a.prototype.hasOwnRoute=function(a){return this._recognizer.hasRoute(a)},a.prototype.handleUnknownRoutes=function(a){var b=this;if(!a)throw new Error("Invalid unknown route handler");this.catchAllHandler=function(c){return b._createRouteConfig(a,c).then(function(a){return c.config=a,c})}},a.prototype.updateTitle=function(){return this.parent?this.parent.updateTitle():void this.currentInstruction._updateTitle()},a.prototype.refreshNavigation=function(){for(var a=this.navigation,b=0,c=a.length;b<c;b++){var d=a[b];d.config.href?d.href=j(d.config.href,this.history._hasPushState):d.href=k(d.relativeHref,this.baseUrl,this.history._hasPushState)}},a.prototype._refreshBaseUrl=function(){if(this.parent){var a=this.parent.currentInstruction.getBaseUrl();this.baseUrl=this.parent.baseUrl+a}},a.prototype._createNavigationInstruction=function(){var a=arguments.length<=0||void 0===arguments[0]?"":arguments[0],b=arguments.length<=1||void 0===arguments[1]?null:arguments[1],c=a,d="",e=a.indexOf("?");e!==-1&&(c=a.substr(0,e),d=a.substr(e+1));var f=this._recognizer.recognize(a);f&&f.length||(f=this._childRecognizer.recognize(a));var g={fragment:c,queryString:d,config:null,parentInstruction:b,previousInstruction:this.currentInstruction,router:this,options:{compareQueryParams:this.options.compareQueryParams}};if(f&&f.length){var h=f[0],i=new Q(Object.assign({},g,{params:h.params,queryParams:h.queryParams||f.queryParams,config:h.config||h.handler}));return"function"==typeof h.handler?t(i,h.handler,h):h.handler&&"function"==typeof h.handler.navigationStrategy?t(i,h.handler.navigationStrategy,h.handler):Promise.resolve(i)}if(this.catchAllHandler){var j=new Q(Object.assign({},g,{params:{path:c},queryParams:f&&f.queryParams,config:null}));return t(j,this.catchAllHandler)}return Promise.reject(new Error("Route not found: "+a))},a.prototype._createRouteConfig=function(a,b){var c=this;return Promise.resolve(a).then(function(a){return"string"==typeof a?{moduleId:a}:"function"==typeof a?a(b):a}).then(function(a){return"string"==typeof a?{moduleId:a}:a}).then(function(a){return a.route=b.params.path,s(a,c.routes),a.navModel||(a.navModel=c.createNavModel(a)),a})},K(a,[{key:"isRoot",get:function(){return!this.parent}}]),a}(),X=a.CanDeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a.plan,"canDeactivate",b)},a}(),Y=a.CanActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"canActivate",b)},a}(),Z=a.DeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a.plan,"deactivate",b,!0)},a}(),$=a.ActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"activate",b,!0)},a}(),_=function(){function a(a){this._subscribed=!0,this._subscription=a(this),this._subscribed||this.unsubscribe()}return a.prototype.unsubscribe=function(){this._subscribed&&this._subscription&&this._subscription.unsubscribe(),this._subscribed=!1},K(a,[{key:"subscribed",get:function(){return this._subscribed}}]),a}(),aa=a.RouteLoader=function(){function a(){}return a.prototype.loadRoute=function(a,b,c){throw Error('Route loaders must implement "loadRoute(router, config, navigationInstruction)".')},a}(),ba=a.LoadRouteStep=function(){function a(a){this.routeLoader=a}return a.inject=function(){return[aa]},a.prototype.run=function(a,b){return B(this.routeLoader,a).then(b)["catch"](b.cancel)},a}(),ca=function(){function a(a,b,c){this.steps=[],this.container=a,this.slotName=b,this.slotAlias=c}return a.prototype.getSteps=function(){var a=this;return this.steps.map(function(b){return a.container.get(b)})},a}(),da=a.PipelineProvider=function(){function a(a){this.container=a,this.steps=[V,X,ba,this._createPipelineSlot("authorize"),Y,this._createPipelineSlot("preActivate","modelbind"),Z,$,this._createPipelineSlot("preRender","precommit"),P,this._createPipelineSlot("postRender","postcomplete")]}return a.inject=function(){return[d.Container]},a.prototype.createPipeline=function(){var a=this,b=new O;return this.steps.forEach(function(c){return b.addStep(a.container.get(c))}),b},a.prototype._findStep=function(a){return this.steps.find(function(b){return b.slotName===a||b.slotAlias===a})},a.prototype.addStep=function(a,b){var c=this._findStep(a);if(!c)throw new Error("Invalid pipeline slot name: "+a+".");c.steps.includes(b)||c.steps.push(b)},a.prototype.removeStep=function(a,b){var c=this._findStep(a);c&&c.steps.splice(c.steps.indexOf(b),1)},a.prototype._clearSteps=function(){var a=arguments.length<=0||void 0===arguments[0]?"":arguments[0],b=this._findStep(a);b&&(b.steps=[])},a.prototype.reset=function(){this._clearSteps("authorize"),this._clearSteps("preActivate"),this._clearSteps("preRender"),this._clearSteps("postRender")},a.prototype._createPipelineSlot=function(a,b){return new ca(this.container,a,b)},a}(),ea=I.getLogger("app-router");a.AppRouter=function(a){function b(b,c,d,e){var f=h(this,a.call(this,b,c));return f.pipelineProvider=d,f.events=e,f}return i(b,a),b.inject=function(){return[d.Container,e.History,da,f.EventAggregator]},b.prototype.reset=function(){a.prototype.reset.call(this),this.maxInstructionCount=10,this._queue?this._queue.length=0:this._queue=[]},b.prototype.loadUrl=function(a){var b=this;return this._createNavigationInstruction(a).then(function(a){return b._queueInstruction(a)})["catch"](function(a){ea.error(a),H(b)})},b.prototype.registerViewPort=function(b,c){var d=this;if(a.prototype.registerViewPort.call(this,b,c),this.isActive)this._dequeueInstruction();else{var e=function(){var a=d._findViewModel(b);if("configureRouter"in a){if(!d.isConfigured){var c=function(){var b=d._resolveConfiguredPromise;return d._resolveConfiguredPromise=function(){},{v:{v:d.configure(function(b){return a.configureRouter(b,d)}).then(function(){d.activate(),b()})}}}();if("object"===("undefined"==typeof c?"undefined":J(c)))return c.v}}else d.activate()}();if("object"===("undefined"==typeof e?"undefined":J(e)))return e.v}return Promise.resolve()},b.prototype.activate=function(a){this.isActive||(this.isActive=!0,this.options=Object.assign({routeHandler:this.loadUrl.bind(this)},this.options,a),this.history.activate(this.options),this._dequeueInstruction())},b.prototype.deactivate=function(){this.isActive=!1,this.history.deactivate()},b.prototype._queueInstruction=function(a){var b=this;return new Promise(function(c){a.resolve=c,b._queue.unshift(a),b._dequeueInstruction()})},b.prototype._dequeueInstruction=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?0:arguments[0];return Promise.resolve().then(function(){if(!a.isNavigating||b){var c=a._queue.shift();if(a._queue.length=0,c){if(a.isNavigating=!0,c.previousInstruction=a.currentInstruction,b){if(b===a.maxInstructionCount-1)return ea.error(b+1+" navigation instructions have been attempted without success. Restoring last known good location."),H(a),a._dequeueInstruction(b+1);if(b>a.maxInstructionCount)throw new Error("Maximum navigation attempts exceeded. Giving up.")}else a.events.publish("router:navigation:processing",{instruction:c});var d=a.pipelineProvider.createPipeline();return d.run(c).then(function(d){return F(c,d,b,a)})["catch"](function(a){return{output:a instanceof Error?a:new Error(a)}}).then(function(d){return G(c,d,!!b,a)})}}})},b.prototype._findViewModel=function(a){if(this.container.viewModel)return this.container.viewModel;if(a.container)for(var b=a.container;b;){if(b.viewModel)return this.container.viewModel=b.viewModel,b.viewModel;b=b.parent}},b}(W)})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.0.6.js",["npm:aurelia-router@1.0.6/aurelia-router"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.0.0/aurelia-pal.js",["exports"],function(a){"use strict";function b(a,b,c){if(b){if(b.innerError&&c)return b;var d="\n------------------------------------------------\n";a+=d+"Inner Error:\n","string"==typeof b?a+="Message: "+b:(a+=b.message?"Message: "+b.message:"Unknown Inner Error Type. Displaying Inner Error as JSON:\n "+JSON.stringify(b,null," "),b.stack&&(a+="\nInner Error Stack:\n"+b.stack,a+="\nEnd Inner Error Stack")),a+=d}var e=new Error(a);return b&&(e.innerError=b),e}function c(a){"function"!=typeof Object.getPropertyDescriptor&&(Object.getPropertyDescriptor=function(a,b){for(var c=Object.getOwnPropertyDescriptor(a,b),d=Object.getPrototypeOf(a);"undefined"==typeof c&&null!==d;)c=Object.getOwnPropertyDescriptor(d,b),d=Object.getPrototypeOf(d);return c}),a(e,d,f)}Object.defineProperty(a,"__esModule",{value:!0}),a.AggregateError=b,a.initializePAL=c;var d=a.FEATURE={},e=a.PLATFORM={noop:function(){},eachModule:function(){}};e.global=function(){return"undefined"!=typeof self?self:"undefined"!=typeof global?global:new Function("return this")()}();var f=a.DOM={}})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.0.0.js",["npm:aurelia-pal@1.0.0/aurelia-pal"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.0.0/aurelia-logging.js",["exports"],function(a){"use strict";function b(a,b,c){var d=o.length,e=void 0;for(c=p.call(c),c.unshift(a);d--;)e=o[d],e[b].apply(e,c)}function c(){n<4||b(this,"debug",arguments)}function d(){n<3||b(this,"info",arguments)}function e(){n<2||b(this,"warn",arguments)}function f(){n<1||b(this,"error",arguments)}function g(a){a.debug=c,a.info=d,a.warn=e,a.error=f}function h(a){var b=new r(a,q);return o.length&&g(b),b}function i(a){return m[a]||(m[a]=h(a))}function j(a){if(o.push(a),1===o.length)for(var b in m)g(m[b])}function k(a){n=a}Object.defineProperty(a,"__esModule",{value:!0}),a.getLogger=i,a.addAppender=j,a.setLevel=k;var l=a.logLevel={none:0,error:1,warn:2,info:3,debug:4},m={},n=l.none,o=[],p=Array.prototype.slice,q={},r=a.Logger=function(){function a(a,b){if(b!==q)throw new Error('Cannot instantiate "Logger". Use "getLogger" instead.');this.id=a}return a.prototype.debug=function(a){},a.prototype.info=function(a){},a.prototype.warn=function(a){},a.prototype.error=function(a){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.0.0.js",["npm:aurelia-logging@1.0.0/aurelia-logging"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/route-href.js",["exports","aurelia-templating","aurelia-dependency-injection","aurelia-router","aurelia-pal","aurelia-logging"],function(a,b,c,d,e,f){"use strict";function g(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b["default"]=a,b}Object.defineProperty(a,"__esModule",{value:!0}),a.RouteHref=void 0;var h,i,j,k,l,m,n=g(f),o=n.getLogger("route-href");a.RouteHref=(h=(0,b.customAttribute)("route-href"),i=(0,b.bindable)({name:"route",changeHandler:"processChange"}),j=(0,b.bindable)({name:"params",changeHandler:"processChange"}),k=(0,b.bindable)({name:"attribute",defaultValue:"href"}),l=(0,c.inject)(d.Router,e.DOM.Element),h(m=i(m=j(m=k(m=l(m=function(){function a(a,b){this.router=a,this.element=b}return a.prototype.bind=function(){this.isActive=!0,this.processChange()},a.prototype.unbind=function(){this.isActive=!1},a.prototype.attributeChanged=function(a,b){b&&this.element.removeAttribute(b),this.processChange()},a.prototype.processChange=function(){var a=this;return this.router.ensureConfigured().then(function(){if(!a.isActive)return null;var b=a.router.generate(a.route,a.params);return a.element.setAttribute(a.attribute,b),null})["catch"](function(a){o.error(a)})},a}())||m)||m)||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0/aurelia-templating-router.js",["exports","aurelia-router","./route-loader","./router-view","./route-href"],function(a,b,c,d,e){"use strict";function f(a){a.singleton(b.RouteLoader,c.TemplatingRouteLoader).singleton(b.Router,b.AppRouter).globalResources("./router-view","./route-href"),a.container.registerAlias(b.Router,b.AppRouter)}Object.defineProperty(a,"__esModule",{value:!0}),a.configure=a.RouteHref=a.RouterView=a.TemplatingRouteLoader=void 0,a.TemplatingRouteLoader=c.TemplatingRouteLoader,a.RouterView=d.RouterView,a.RouteHref=e.RouteHref,a.configure=f})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.0.0.js",["npm:aurelia-templating-router@1.0.0/aurelia-templating-router"],function(a){return a})}();
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/export/favicon.ico b/js-tools/templates/aurelia-jspm/export/favicon.ico
new file mode 100644
index 000000000..59d9b5a64
Binary files /dev/null and b/js-tools/templates/aurelia-jspm/export/favicon.ico differ
diff --git a/js-tools/templates/aurelia-jspm/export/index.html b/js-tools/templates/aurelia-jspm/export/index.html
new file mode 100644
index 000000000..3004c7893
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/export/index.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Aurelia</title>
+ <!--The FontAwesome version is locked at 4.6.3 in the package.json file to keep this from breaking.-->
+ <link rel="stylesheet" href="jspm_packages/npm/font-awesome@4.6.3/css/font-awesome.min.css">
+ <link rel="stylesheet" href="styles/styles.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ </head>
+
+ <body aurelia-app="main">
+ <div class="splash">
+ <div class="message">Aurelia Navigation Skeleton</div>
+ <i class="fa fa-spinner fa-spin"></i>
+ </div>
+
+ <!-- The bluebird version is locked at 4.6.3 in the package.json file to keep this from breaking -->
+ <!-- We include bluebird to bypass Edge's very slow Native Promise implementation. The Edge team -->
+ <!-- has fixed the issues with their implementation with these fixes being distributed with the -->
+ <!-- Windows 10 Anniversary Update on 2 August 2016. Once that update has pushed out, you may -->
+ <!-- consider removing bluebird from your project and simply using native promises if you do -->
+ <!-- not need to support Internet Explorer. -->
+ <script src="jspm_packages/system.js"></script>
+ <script src="config.js"></script>
+ <script src="jspm_packages/npm/bluebird@3.4.1/js/browser/bluebird.min.js"></script>
+ <script>
+ System.import('aurelia-bootstrapper');
+ </script>
+ </body>
+</html>
diff --git a/js-tools/templates/aurelia-jspm/export/styles/styles.css b/js-tools/templates/aurelia-jspm/export/styles/styles.css
new file mode 100644
index 000000000..71a96b166
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/export/styles/styles.css
@@ -0,0 +1,175 @@
+body {
+ margin: 0;
+}
+
+.splash {
+ text-align: center;
+ margin: 10% 0 0 0;
+ box-sizing: border-box;
+}
+
+.splash .message {
+ font-size: 72px;
+ line-height: 72px;
+ text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
+ text-transform: uppercase;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+.splash .fa-spinner {
+ text-align: center;
+ display: inline-block;
+ font-size: 72px;
+ margin-top: 50px;
+}
+
+.page-host {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 50px;
+ bottom: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+@media print {
+ .page-host {
+ position: absolute;
+ left: 10px;
+ right: 0;
+ top: 50px;
+ bottom: 0;
+ overflow-y: inherit;
+ overflow-x: inherit;
+ }
+}
+
+section {
+ margin: 0 20px;
+}
+
+.navbar-nav li.loader {
+ margin: 12px 24px 0 6px;
+}
+
+.pictureDetail {
+ max-width: 425px;
+}
+
+/* animate page transitions */
+section.au-enter-active {
+ -webkit-animation: fadeInRight 1s;
+ animation: fadeInRight 1s;
+}
+
+div.au-stagger {
+ /* 50ms will be applied between each successive enter operation */
+ -webkit-animation-delay: 50ms;
+ animation-delay: 50ms;
+}
+
+.card-container.au-enter {
+ opacity: 0;
+}
+
+.card-container.au-enter-active {
+ -webkit-animation: fadeIn 2s;
+ animation: fadeIn 2s;
+}
+
+.card {
+ overflow: hidden;
+ position: relative;
+ border: 1px solid #CCC;
+ border-radius: 8px;
+ text-align: center;
+ padding: 0;
+ background-color: #337ab7;
+ color: rgb(136, 172, 217);
+ margin-bottom: 32px;
+ box-shadow: 0 0 5px rgba(0, 0, 0, .5);
+}
+
+.card .content {
+ margin-top: 10px;
+}
+
+.card .content .name {
+ color: white;
+ text-shadow: 0 0 6px rgba(0, 0, 0, .5);
+ font-size: 18px;
+}
+
+.card .header-bg {
+ /* This stretches the canvas across the entire hero unit */
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 70px;
+ border-bottom: 1px #FFF solid;
+ border-radius: 6px 6px 0 0;
+}
+
+.card .avatar {
+ position: relative;
+ margin-top: 15px;
+ z-index: 100;
+}
+
+.card .avatar img {
+ width: 100px;
+ height: 100px;
+ -webkit-border-radius: 50%;
+ -moz-border-radius: 50%;
+ border-radius: 50%;
+ border: 2px #FFF solid;
+}
+
+/* animation definitions */
+@-webkit-keyframes fadeInRight {
+ 0% {
+ opacity: 0;
+ -webkit-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0)
+ }
+ 100% {
+ opacity: 1;
+ -webkit-transform: none;
+ transform: none
+ }
+}
+
+@keyframes fadeInRight {
+ 0% {
+ opacity: 0;
+ -webkit-transform: translate3d(100%, 0, 0);
+ -ms-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0)
+ }
+ 100% {
+ opacity: 1;
+ -webkit-transform: none;
+ -ms-transform: none;
+ transform: none
+ }
+}
+
+@-webkit-keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/favicon.ico b/js-tools/templates/aurelia-jspm/favicon.ico
new file mode 100644
index 000000000..59d9b5a64
Binary files /dev/null and b/js-tools/templates/aurelia-jspm/favicon.ico differ
diff --git a/js-tools/templates/aurelia-jspm/gulpfile.js b/js-tools/templates/aurelia-jspm/gulpfile.js
index ceb9bba0b..4b28ec106 100644
--- a/js-tools/templates/aurelia-jspm/gulpfile.js
+++ b/js-tools/templates/aurelia-jspm/gulpfile.js
@@ -1,75 +1,3 @@
-var gulp = require('gulp');
-
-
-/**
- * todo: set up jshint
- */
-
-/**
- * todo: set up lint
- */
-
-/**
- * Serve in Browser.
- */
-gulp.task('serve', function () {
- const server = require('gulp-server-livereload');
- const serveDir = './';
- const port = '8000';
- const openOnLaunch = true;
- const liveReload = true;
-
- console.log('starting server at: ' + serveDir);
- return gulp.src(serveDir)
- .pipe(server({
- livereload: liveReload,
- open: openOnLaunch,
- port: port
- }));
-});
-
-/**
- * Run Headless Unit Tests in Karma
- */
-gulp.task('test', function () {
- startTests(true, function () {
- console.log('done test log.');
- });
-});
-
-/**
- * todo: set up clean, bundle and build
- */
-
-
-/**
- * Start unit tests
- */
-function startTests(singleRun, done) {
- var karma = startKarma(singleRun, done);
-}
-
-function startKarma(singleRun, done) {
- var KarmaServer = require('karma').Server;
- var excludeFiles = [];
-
- var karma = new KarmaServer({
- configFile: __dirname + '/karma.conf.js',
- excludeFiles: excludeFiles,
- singleRun: true
- }, karmaCompleted);
-
- karma.start();
-
- function karmaCompleted(karmaResult) {
- console.log('karma completed');
- if (karmaResult === 1) {
- done('karma tests failed with code ' + karmaResult);
- } else {
- done();
- }
- }
-
- return karma;
-}
-
+// all gulp tasks are located in the ./build/tasks directory
+// gulp configuration is in files in ./build directory
+require('require-dir')('build/tasks');
diff --git a/js-tools/templates/aurelia-jspm/index.html b/js-tools/templates/aurelia-jspm/index.html
index 7d2c83b3c..3004c7893 100644
--- a/js-tools/templates/aurelia-jspm/index.html
+++ b/js-tools/templates/aurelia-jspm/index.html
@@ -1,15 +1,31 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
+ <meta charset="utf-8">
<title>Aurelia</title>
+ <!--The FontAwesome version is locked at 4.6.3 in the package.json file to keep this from breaking.-->
+ <link rel="stylesheet" href="jspm_packages/npm/font-awesome@4.6.3/css/font-awesome.min.css">
+ <link rel="stylesheet" href="styles/styles.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
- <body aurelia-app>
- <h1>Loading...</h1>
+ <body aurelia-app="main">
+ <div class="splash">
+ <div class="message">Aurelia Navigation Skeleton</div>
+ <i class="fa fa-spinner fa-spin"></i>
+ </div>
+
+ <!-- The bluebird version is locked at 4.6.3 in the package.json file to keep this from breaking -->
+ <!-- We include bluebird to bypass Edge's very slow Native Promise implementation. The Edge team -->
+ <!-- has fixed the issues with their implementation with these fixes being distributed with the -->
+ <!-- Windows 10 Anniversary Update on 2 August 2016. Once that update has pushed out, you may -->
+ <!-- consider removing bluebird from your project and simply using native promises if you do -->
+ <!-- not need to support Internet Explorer. -->
<script src="jspm_packages/system.js"></script>
<script src="config.js"></script>
+ <script src="jspm_packages/npm/bluebird@3.4.1/js/browser/bluebird.min.js"></script>
<script>
System.import('aurelia-bootstrapper');
</script>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/js-tools/templates/aurelia-jspm/index.js b/js-tools/templates/aurelia-jspm/index.js
new file mode 100644
index 000000000..9e21cc565
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/index.js
@@ -0,0 +1,39 @@
+//Note: This file is provided as an aid to help you get up and running with
+//Electron for desktop apps. See the readme file for more information.
+/* eslint-disable strict, no-var, no-console */
+
+'use strict';
+
+const electron = require('electron');
+const {app} = electron;
+const {BrowserWindow} = electron;
+let mainWindow;
+
+app.on('window-all-closed', () => {
+ if (process.platform !== 'darwin') {
+ app.quit();
+ }
+});
+
+app.on('ready', () => {
+ mainWindow = new BrowserWindow({
+ width: 800,
+ height: 600,
+ // Note: The following line turns off Node integration to allow
+ // jQuery to work properly. If you need Node integration, please
+ // see the Electron FAQ for how to enable this:
+ // http://electron.atom.io/docs/faq/
+ webPreferences: {
+ nodeIntegration: false
+ }
+ });
+
+ mainWindow.loadURL(`file://${__dirname}/index.html`);
+ mainWindow.webContents.on('did-finish-load', () => {
+ mainWindow.setTitle(app.getName());
+ });
+
+ mainWindow.on('closed', () => {
+ mainWindow = null;
+ });
+});
diff --git a/js-tools/templates/aurelia-jspm/jsconfig.json b/js-tools/templates/aurelia-jspm/jsconfig.json
new file mode 100644
index 000000000..1fd098aad
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/jsconfig.json
@@ -0,0 +1,7 @@
+{
+ "compilerOptions": {
+ "target": "ES6",
+ "module": "system",
+ "experimentalDecorators": true
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/karma.conf.js b/js-tools/templates/aurelia-jspm/karma.conf.js
index c9dfd0872..007dfc05c 100644
--- a/js-tools/templates/aurelia-jspm/karma.conf.js
+++ b/js-tools/templates/aurelia-jspm/karma.conf.js
@@ -1,72 +1,78 @@
-module.exports = function (config) {
+// Karma configuration
+// Generated on Fri Dec 05 2014 16:49:29 GMT-0500 (EST)
+
+module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jspm', 'jasmine'],
- //jspm path descrepancies
- proxies: {
- '/node_modules/': 'base/node_modules',
- '/jspm_packages/' : '/base/jspm_packages',
- '/src/src/': '/base/src/'
- },
-
jspm: {
- config: 'config.js',
- stripExtension: false,
- loadFiles: [
- 'src/**/*.spec.js'
- ],
- serveFiles: [
- 'jspm_packages/**/*.js',
- 'node_modules/**/*.js',
- 'src/**/!(*.spec).js'
- ]
+ // Edit this to your needs
+ loadFiles: ['test/unit/setup.js', 'test/unit/**/*.js'],
+ serveFiles: ['src/**/*.*'],
+ paths: {
+ '*': 'src/*',
+ 'test/*': 'test/*',
+ 'github:*': 'jspm_packages/github/*',
+ 'npm:*': 'jspm_packages/npm/*'
+ }
},
+ // list of files / patterns to load in the browser
+ files: [],
+
+ // list of files to exclude
+ exclude: [],
+
+
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
+ 'test/**/*.js': ['babel'],
+ 'src/**/*.js': ['babel']
+ },
+ 'babelPreprocessor': {
+ options: {
+ sourceMap: 'inline',
+ presets: [ ['es2015', { loose: true }], 'stage-1'],
+ plugins: [
+ 'syntax-flow',
+ 'transform-decorators-legacy',
+ 'transform-flow-strip-types',
+ [ 'istanbul', { 'ignore': 'test/' } ]
+ ]
+ }
},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],
// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
- autoWatch: false,
+ autoWatch: true,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
- browsers: ['PhantomJS'],
-
- plugins: [
- 'karma-jspm',
- 'karma-jasmine',
- 'karma-phantomjs-launcher'
- ],
+ browsers: ['Chrome'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
- singleRun: true,
-
- // Concurrency level
- // how many browser should be started simultaneous
- concurrency: Infinity
- })
-}
+ singleRun: false
+ });
+};
diff --git a/js-tools/templates/aurelia-jspm/package.json b/js-tools/templates/aurelia-jspm/package.json
index 32257efdc..61d8e0073 100644
--- a/js-tools/templates/aurelia-jspm/package.json
+++ b/js-tools/templates/aurelia-jspm/package.json
@@ -1,35 +1,90 @@
{
- "name": "jspm-skeleton",
- "version": "1.0.0",
- "description": "Skeleton Aurelia App with tests.",
- "main": "index.js",
+ "name": "aurelia-skeleton-navigation",
+ "version": "1.1.2",
+ "description": "A starter kit for building a standard navigation-style app with Aurelia.",
+ "keywords": [
+ "aurelia",
+ "navigation",
+ "skeleton"
+ ],
+ "homepage": "http://aurelia.io",
+ "bugs": {
+ "url": "https://github.com/aurelia/skeleton-navigation/issues"
+ },
+ "license": "CC0-1.0",
+ "author": "Rob Eisenberg <rob@bluespire.com> (http://robeisenberg.com/)",
+ "main": "dist/main.js",
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/aurelia/skeleton-navigation"
+ },
"scripts": {
- "test": "karma start karma.conf.js"
+ "test": "gulp test",
+ "e2e": "gulp serve webdriver-standalone e2e"
},
- "author": "‘Ben <benjamin_carmen@hms.harvard.edu>",
- "license": "MIT",
"devDependencies": {
- "browser-sync": "^2.18.8",
+ "aurelia-bundler": "^0.4.0",
+ "aurelia-protractor-plugin": "^1.0.0",
+ "aurelia-tools": "^1.0.0",
+ "babel-core": "^6.18.2",
+ "babel-eslint": "^7.1.0",
+ "babel-plugin-istanbul": "^2.0.3",
+ "babel-plugin-syntax-flow": "^6.18.0",
+ "babel-plugin-transform-decorators-legacy": "^1.3.4",
+ "babel-plugin-transform-flow-strip-types": "^6.18.0",
+ "babel-preset-es2015": "^6.18.0",
+ "babel-preset-stage-1": "^6.16.0",
+ "browser-sync": "^2.17.5",
+ "conventional-changelog": "1.1.0",
+ "del": "^2.2.2",
"gulp": "^3.9.1",
- "gulp-server-livereload": "^1.9.2",
- "jasmine": "^2.5.3",
- "jspm": "^0.16.52",
- "karma": "^1.5.0",
- "karma-jasmine": "^1.1.0",
- "karma-jspm": "^2.2.1",
- "karma-phantomjs-launcher": "^1.0.2",
- "phantomjs-prebuilt": "^2.1.14"
+ "gulp-babel": "^6.1.2",
+ "gulp-bump": "^2.5.0",
+ "gulp-changed": "^1.3.2",
+ "gulp-eslint": "^3.0.1",
+ "gulp-htmlmin": "^3.0.0",
+ "gulp-notify": "^2.2.0",
+ "gulp-plumber": "^1.1.0",
+ "gulp-protractor": "3.0.0",
+ "gulp-sourcemaps": "^2.2.0",
+ "jasmine-core": "^2.5.2",
+ "jspm": "^0.16.47",
+ "karma": "^1.3.0",
+ "karma-babel-preprocessor": "^6.0.1",
+ "karma-chrome-launcher": "^2.0.0",
+ "karma-coverage": "^1.1.1",
+ "karma-jasmine": "^1.0.2",
+ "karma-jspm": "2.2.0",
+ "object.assign": "^4.0.4",
+ "protractor": "^4.0.10",
+ "require-dir": "^0.3.1",
+ "run-sequence": "^1.2.2",
+ "vinyl-paths": "^2.1.0",
+ "yargs": "^6.3.0"
},
"jspm": {
"dependencies": {
- "aurelia-bootstrapper": "npm:aurelia-bootstrapper@^2.0.1",
- "aurelia-framework": "npm:aurelia-framework@^1.1.0",
- "aurelia-pal-browser": "npm:aurelia-pal-browser@^1.1.0"
+ "aurelia-animator-css": "npm:aurelia-animator-css@^1.0.0",
+ "aurelia-bootstrapper": "npm:aurelia-bootstrapper@^1.0.0",
+ "aurelia-fetch-client": "npm:aurelia-fetch-client@^1.0.0",
+ "aurelia-framework": "npm:aurelia-framework@^1.0.0",
+ "aurelia-history-browser": "npm:aurelia-history-browser@^1.0.0",
+ "aurelia-loader-default": "npm:aurelia-loader-default@^1.0.0",
+ "aurelia-logging-console": "npm:aurelia-logging-console@^1.0.0",
+ "aurelia-pal-browser": "npm:aurelia-pal-browser@^1.0.0",
+ "aurelia-polyfills": "npm:aurelia-polyfills@^1.0.0",
+ "aurelia-router": "npm:aurelia-router@^1.0.0",
+ "aurelia-templating-binding": "npm:aurelia-templating-binding@^1.0.0",
+ "aurelia-templating-resources": "npm:aurelia-templating-resources@^1.0.0",
+ "aurelia-templating-router": "npm:aurelia-templating-router@^1.0.0",
+ "bluebird": "npm:bluebird@3.4.1",
+ "bootstrap": "github:twbs/bootstrap@^3.3.6",
+ "fetch": "github:github/fetch@^1.0.0",
+ "font-awesome": "npm:font-awesome@4.6.3",
+ "jquery": "npm:jquery@^2.2.4",
+ "text": "github:systemjs/plugin-text@^0.0.8"
},
- "devDependencies": {
- "babel": "npm:babel-core@^5.8.24",
- "babel-runtime": "npm:babel-runtime@^5.8.24",
- "core-js": "npm:core-js@^1.1.4"
- }
- }
+ "devDependencies": {}
+ },
+ "dependencies": {}
}
diff --git a/js-tools/templates/aurelia-jspm/protractor.conf.js b/js-tools/templates/aurelia-jspm/protractor.conf.js
new file mode 100644
index 000000000..aef78a78e
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/protractor.conf.js
@@ -0,0 +1,24 @@
+// An example configuration file.
+exports.config = {
+ directConnect: true,
+
+ // Capabilities to be passed to the webdriver instance.
+ capabilities: {
+ 'browserName': 'chrome'
+ },
+
+ // optional: add seleniumServerJar with proper version number
+ // seleniumServerJar: './node_modules/gulp-protractor/node_modules/protractor/selenium/selenium-server-standalone-2.53.1.jar',
+ specs: ['test/e2e/dist/**/*.js'],
+
+ plugins: [{
+ package: 'aurelia-protractor-plugin'
+ }],
+
+
+ // Options to be passed to Jasmine-node.
+ jasmineNodeOpts: {
+ showColors: true,
+ defaultTimeoutInterval: 30000
+ }
+};
diff --git a/js-tools/templates/aurelia-jspm/src/.eslintrc.json b/js-tools/templates/aurelia-jspm/src/.eslintrc.json
new file mode 100644
index 000000000..8dc9d22c1
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/.eslintrc.json
@@ -0,0 +1,5 @@
+{
+ "rules": {
+ "no-alert": 0
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/src/app.html b/js-tools/templates/aurelia-jspm/src/app.html
index e78b4d0f6..0ccab519f 100644
--- a/js-tools/templates/aurelia-jspm/src/app.html
+++ b/js-tools/templates/aurelia-jspm/src/app.html
@@ -1,15 +1,10 @@
<template>
- <div>
- ${message}
- </div>
- <div>
- <img src.bind="image"><img>
- </div>
- <div>
- <input type="text" value.bind="input">
- </div>
- <div>
- ${input}
- </div>
+ <require from="nav-bar.html"></require>
+ <require from="bootstrap/css/bootstrap.css"></require>
-</template>>
\ No newline at end of file
+ <nav-bar router.bind="router"></nav-bar>
+
+ <div class="page-host">
+ <router-view></router-view>
+ </div>
+</template>
diff --git a/js-tools/templates/aurelia-jspm/src/app.js b/js-tools/templates/aurelia-jspm/src/app.js
index 84d12f81d..cb6664722 100644
--- a/js-tools/templates/aurelia-jspm/src/app.js
+++ b/js-tools/templates/aurelia-jspm/src/app.js
@@ -1,7 +1,12 @@
-export class App{
- constructor() {
- this.message = 'Hello Aurelia';
- this.image = 'http://aurelia.io/images/main-logo.svg';
- this.input = '';
- }
-}
\ No newline at end of file
+export class App {
+ configureRouter(config, router) {
+ config.title = 'Aurelia';
+ config.map([
+ { route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' },
+ { route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' },
+ { route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' }
+ ]);
+
+ this.router = router;
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/src/blur-image.js b/js-tools/templates/aurelia-jspm/src/blur-image.js
new file mode 100644
index 000000000..854ed04ab
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/blur-image.js
@@ -0,0 +1,368 @@
+import {inject} from 'aurelia-framework';
+
+@inject(Element)
+export class BlurImageCustomAttribute {
+ constructor(element) {
+ this.element = element;
+ }
+
+ valueChanged(newImage) {
+ if (newImage.complete) {
+ drawBlur(this.element, newImage);
+ } else {
+ newImage.onload = () => drawBlur(this.element, newImage);
+ }
+ }
+}
+
+/* eslint-disable */
+
+/*
+This Snippet is using a modified Stack Blur js lib for blurring the header images.
+*/
+
+/*
+
+StackBlur - a fast almost Gaussian Blur For Canvas
+
+Version: 0.5
+Author: Mario Klingemann
+Contact: mario@quasimondo.com
+Website: http://www.quasimondo.com/StackBlurForCanvas
+Twitter: @quasimondo
+
+In case you find this class useful - especially in commercial projects -
+I am not totally unhappy for a small donation to my PayPal account
+mario@quasimondo.de
+
+Or support me on flattr:
+https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript
+
+Copyright (c) 2010 Mario Klingemann
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+var mul_table = [
+ 512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,
+ 454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,
+ 482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,
+ 437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,
+ 497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,
+ 320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,
+ 446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,
+ 329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,
+ 505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,
+ 399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,
+ 324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,
+ 268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,
+ 451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,
+ 385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,
+ 332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,
+ 289,287,285,282,280,278,275,273,271,269,267,265,263,261,259];
+
+
+var shg_table = [
+ 9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17,
+ 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20,
+ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23,
+ 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
+ 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
+ 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
+ 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
+ 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
+ 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
+ 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
+ 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24 ];
+
+var BLUR_RADIUS = 40;
+
+function stackBlurCanvasRGBA( canvas, top_x, top_y, width, height, radius )
+{
+ if ( isNaN(radius) || radius < 1 ) return;
+ radius |= 0;
+
+ var context = canvas.getContext("2d");
+ var imageData;
+
+ try {
+ imageData = context.getImageData( top_x, top_y, width, height );
+ } catch(e) {
+ throw new Error("unable to access image data: " + e);
+ }
+
+ var pixels = imageData.data;
+
+ var x, y, i, p, yp, yi, yw, r_sum, g_sum, b_sum, a_sum,
+ r_out_sum, g_out_sum, b_out_sum, a_out_sum,
+ r_in_sum, g_in_sum, b_in_sum, a_in_sum,
+ pr, pg, pb, pa, rbs;
+
+ var div = radius + radius + 1;
+ var w4 = width << 2;
+ var widthMinus1 = width - 1;
+ var heightMinus1 = height - 1;
+ var radiusPlus1 = radius + 1;
+ var sumFactor = radiusPlus1 * ( radiusPlus1 + 1 ) / 2;
+
+ var stackStart = new BlurStack();
+ var stack = stackStart;
+ for ( i = 1; i < div; i++ )
+ {
+ stack = stack.next = new BlurStack();
+ if ( i == radiusPlus1 ) var stackEnd = stack;
+ }
+ stack.next = stackStart;
+ var stackIn = null;
+ var stackOut = null;
+
+ yw = yi = 0;
+
+ var mul_sum = mul_table[radius];
+ var shg_sum = shg_table[radius];
+
+ for ( y = 0; y < height; y++ )
+ {
+ r_in_sum = g_in_sum = b_in_sum = a_in_sum = r_sum = g_sum = b_sum = a_sum = 0;
+
+ r_out_sum = radiusPlus1 * ( pr = pixels[yi] );
+ g_out_sum = radiusPlus1 * ( pg = pixels[yi+1] );
+ b_out_sum = radiusPlus1 * ( pb = pixels[yi+2] );
+ a_out_sum = radiusPlus1 * ( pa = pixels[yi+3] );
+
+ r_sum += sumFactor * pr;
+ g_sum += sumFactor * pg;
+ b_sum += sumFactor * pb;
+ a_sum += sumFactor * pa;
+
+ stack = stackStart;
+
+ for( i = 0; i < radiusPlus1; i++ )
+ {
+ stack.r = pr;
+ stack.g = pg;
+ stack.b = pb;
+ stack.a = pa;
+ stack = stack.next;
+ }
+
+ for( i = 1; i < radiusPlus1; i++ )
+ {
+ p = yi + (( widthMinus1 < i ? widthMinus1 : i ) << 2 );
+ r_sum += ( stack.r = ( pr = pixels[p])) * ( rbs = radiusPlus1 - i );
+ g_sum += ( stack.g = ( pg = pixels[p+1])) * rbs;
+ b_sum += ( stack.b = ( pb = pixels[p+2])) * rbs;
+ a_sum += ( stack.a = ( pa = pixels[p+3])) * rbs;
+
+ r_in_sum += pr;
+ g_in_sum += pg;
+ b_in_sum += pb;
+ a_in_sum += pa;
+
+ stack = stack.next;
+ }
+
+
+ stackIn = stackStart;
+ stackOut = stackEnd;
+ for ( x = 0; x < width; x++ )
+ {
+ pixels[yi+3] = pa = (a_sum * mul_sum) >> shg_sum;
+ if ( pa != 0 )
+ {
+ pa = 255 / pa;
+ pixels[yi] = ((r_sum * mul_sum) >> shg_sum) * pa;
+ pixels[yi+1] = ((g_sum * mul_sum) >> shg_sum) * pa;
+ pixels[yi+2] = ((b_sum * mul_sum) >> shg_sum) * pa;
+ } else {
+ pixels[yi] = pixels[yi+1] = pixels[yi+2] = 0;
+ }
+
+ r_sum -= r_out_sum;
+ g_sum -= g_out_sum;
+ b_sum -= b_out_sum;
+ a_sum -= a_out_sum;
+
+ r_out_sum -= stackIn.r;
+ g_out_sum -= stackIn.g;
+ b_out_sum -= stackIn.b;
+ a_out_sum -= stackIn.a;
+
+ p = ( yw + ( ( p = x + radius + 1 ) < widthMinus1 ? p : widthMinus1 ) ) << 2;
+
+ r_in_sum += ( stackIn.r = pixels[p]);
+ g_in_sum += ( stackIn.g = pixels[p+1]);
+ b_in_sum += ( stackIn.b = pixels[p+2]);
+ a_in_sum += ( stackIn.a = pixels[p+3]);
+
+ r_sum += r_in_sum;
+ g_sum += g_in_sum;
+ b_sum += b_in_sum;
+ a_sum += a_in_sum;
+
+ stackIn = stackIn.next;
+
+ r_out_sum += ( pr = stackOut.r );
+ g_out_sum += ( pg = stackOut.g );
+ b_out_sum += ( pb = stackOut.b );
+ a_out_sum += ( pa = stackOut.a );
+
+ r_in_sum -= pr;
+ g_in_sum -= pg;
+ b_in_sum -= pb;
+ a_in_sum -= pa;
+
+ stackOut = stackOut.next;
+
+ yi += 4;
+ }
+ yw += width;
+ }
+
+
+ for ( x = 0; x < width; x++ )
+ {
+ g_in_sum = b_in_sum = a_in_sum = r_in_sum = g_sum = b_sum = a_sum = r_sum = 0;
+
+ yi = x << 2;
+ r_out_sum = radiusPlus1 * ( pr = pixels[yi]);
+ g_out_sum = radiusPlus1 * ( pg = pixels[yi+1]);
+ b_out_sum = radiusPlus1 * ( pb = pixels[yi+2]);
+ a_out_sum = radiusPlus1 * ( pa = pixels[yi+3]);
+
+ r_sum += sumFactor * pr;
+ g_sum += sumFactor * pg;
+ b_sum += sumFactor * pb;
+ a_sum += sumFactor * pa;
+
+ stack = stackStart;
+
+ for( i = 0; i < radiusPlus1; i++ )
+ {
+ stack.r = pr;
+ stack.g = pg;
+ stack.b = pb;
+ stack.a = pa;
+ stack = stack.next;
+ }
+
+ yp = width;
+
+ for( i = 1; i <= radius; i++ )
+ {
+ yi = ( yp + x ) << 2;
+
+ r_sum += ( stack.r = ( pr = pixels[yi])) * ( rbs = radiusPlus1 - i );
+ g_sum += ( stack.g = ( pg = pixels[yi+1])) * rbs;
+ b_sum += ( stack.b = ( pb = pixels[yi+2])) * rbs;
+ a_sum += ( stack.a = ( pa = pixels[yi+3])) * rbs;
+
+ r_in_sum += pr;
+ g_in_sum += pg;
+ b_in_sum += pb;
+ a_in_sum += pa;
+
+ stack = stack.next;
+
+ if( i < heightMinus1 )
+ {
+ yp += width;
+ }
+ }
+
+ yi = x;
+ stackIn = stackStart;
+ stackOut = stackEnd;
+ for ( y = 0; y < height; y++ )
+ {
+ p = yi << 2;
+ pixels[p+3] = pa = (a_sum * mul_sum) >> shg_sum;
+ if ( pa > 0 )
+ {
+ pa = 255 / pa;
+ pixels[p] = ((r_sum * mul_sum) >> shg_sum ) * pa;
+ pixels[p+1] = ((g_sum * mul_sum) >> shg_sum ) * pa;
+ pixels[p+2] = ((b_sum * mul_sum) >> shg_sum ) * pa;
+ } else {
+ pixels[p] = pixels[p+1] = pixels[p+2] = 0;
+ }
+
+ r_sum -= r_out_sum;
+ g_sum -= g_out_sum;
+ b_sum -= b_out_sum;
+ a_sum -= a_out_sum;
+
+ r_out_sum -= stackIn.r;
+ g_out_sum -= stackIn.g;
+ b_out_sum -= stackIn.b;
+ a_out_sum -= stackIn.a;
+
+ p = ( x + (( ( p = y + radiusPlus1) < heightMinus1 ? p : heightMinus1 ) * width )) << 2;
+
+ r_sum += ( r_in_sum += ( stackIn.r = pixels[p]));
+ g_sum += ( g_in_sum += ( stackIn.g = pixels[p+1]));
+ b_sum += ( b_in_sum += ( stackIn.b = pixels[p+2]));
+ a_sum += ( a_in_sum += ( stackIn.a = pixels[p+3]));
+
+ stackIn = stackIn.next;
+
+ r_out_sum += ( pr = stackOut.r );
+ g_out_sum += ( pg = stackOut.g );
+ b_out_sum += ( pb = stackOut.b );
+ a_out_sum += ( pa = stackOut.a );
+
+ r_in_sum -= pr;
+ g_in_sum -= pg;
+ b_in_sum -= pb;
+ a_in_sum -= pa;
+
+ stackOut = stackOut.next;
+
+ yi += width;
+ }
+ }
+
+ context.putImageData( imageData, top_x, top_y );
+
+}
+
+function BlurStack()
+{
+ this.r = 0;
+ this.g = 0;
+ this.b = 0;
+ this.a = 0;
+ this.next = null;
+}
+
+function drawBlur(canvas, image) {
+ var w = canvas.width;
+ var h = canvas.height;
+ var canvasContext = canvas.getContext('2d');
+ canvasContext.drawImage(image, 0, 0, w, h);
+ stackBlurCanvasRGBA(canvas, 0, 0, w, h, BLUR_RADIUS);
+};
diff --git a/js-tools/templates/aurelia-jspm/src/child-router.html b/js-tools/templates/aurelia-jspm/src/child-router.html
new file mode 100644
index 000000000..9cdd70c08
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/child-router.html
@@ -0,0 +1,17 @@
+<template>
+ <section class="au-animate">
+ <h2>${heading}</h2>
+ <div>
+ <div class="col-md-2">
+ <ul class="well nav nav-pills nav-stacked">
+ <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}">
+ <a href.bind="row.href">${row.title}</a>
+ </li>
+ </ul>
+ </div>
+ <div class="col-md-10" style="padding: 0">
+ <router-view></router-view>
+ </div>
+ </div>
+ </section>
+</template>
diff --git a/js-tools/templates/aurelia-jspm/src/child-router.js b/js-tools/templates/aurelia-jspm/src/child-router.js
new file mode 100644
index 000000000..261c64559
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/child-router.js
@@ -0,0 +1,13 @@
+export class ChildRouter {
+ heading = 'Child Router';
+
+ configureRouter(config, router) {
+ config.map([
+ { route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' },
+ { route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' },
+ { route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' }
+ ]);
+
+ this.router = router;
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/src/main.js b/js-tools/templates/aurelia-jspm/src/main.js
new file mode 100644
index 000000000..ab2810688
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/main.js
@@ -0,0 +1,16 @@
+import 'bootstrap';
+
+export function configure(aurelia) {
+ aurelia.use
+ .standardConfiguration()
+ .developmentLogging();
+
+ //Uncomment the line below to enable animation.
+ //aurelia.use.plugin('aurelia-animator-css');
+ //if the css animator is enabled, add swap-order="after" to all router-view elements
+
+ //Anyone wanting to use HTMLImports to load views, will need to install the following plugin.
+ //aurelia.use.plugin('aurelia-html-import-template-loader')
+
+ aurelia.start().then(() => aurelia.setRoot());
+}
diff --git a/js-tools/templates/aurelia-jspm/src/nav-bar.html b/js-tools/templates/aurelia-jspm/src/nav-bar.html
new file mode 100644
index 000000000..a750ec87b
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/nav-bar.html
@@ -0,0 +1,30 @@
+<template bindable="router">
+ <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse">
+ <span class="sr-only">Toggle Navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">
+ <i class="fa fa-home"></i>
+ <span>${router.title}</span>
+ </a>
+ </div>
+
+ <div class="collapse navbar-collapse" id="skeleton-navigation-navbar-collapse">
+ <ul class="nav navbar-nav">
+ <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}">
+ <a data-toggle="collapse" data-target="#skeleton-navigation-navbar-collapse.in" href.bind="row.href">${row.title}</a>
+ </li>
+ </ul>
+
+ <ul class="nav navbar-nav navbar-right">
+ <li class="loader" if.bind="router.isNavigating">
+ <i class="fa fa-spinner fa-spin fa-2x"></i>
+ </li>
+ </ul>
+ </div>
+ </nav>
+</template>
diff --git a/js-tools/templates/aurelia-jspm/src/users.html b/js-tools/templates/aurelia-jspm/src/users.html
new file mode 100644
index 000000000..1e716c4ed
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/users.html
@@ -0,0 +1,21 @@
+<template>
+ <require from="blur-image"></require>
+
+ <section class="au-animate">
+ <h2>${heading}</h2>
+ <div class="row au-stagger">
+ <div class="col-sm-6 col-md-3 card-container au-animate" repeat.for="user of users">
+ <div class="card">
+ <canvas class="header-bg" width="250" height="70" blur-image.bind="image"></canvas>
+ <div class="avatar">
+ <img src.bind="user.avatar_url" crossorigin ref="image"/>
+ </div>
+ <div class="content">
+ <p class="name">${user.login}</p>
+ <p><a target="_blank" class="btn btn-default" href.bind="user.html_url">Contact</a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+</template>
diff --git a/js-tools/templates/aurelia-jspm/src/users.js b/js-tools/templates/aurelia-jspm/src/users.js
new file mode 100644
index 000000000..715935b70
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/users.js
@@ -0,0 +1,25 @@
+import {inject} from 'aurelia-framework';
+import {HttpClient} from 'aurelia-fetch-client';
+import 'fetch';
+
+@inject(HttpClient)
+export class Users {
+ heading = 'Github Users';
+ users = [];
+
+ constructor(http) {
+ http.configure(config => {
+ config
+ .useStandardConfiguration()
+ .withBaseUrl('https://api.github.com/');
+ });
+
+ this.http = http;
+ }
+
+ activate() {
+ return this.http.fetch('users')
+ .then(response => response.json())
+ .then(users => this.users = users);
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/src/welcome.html b/js-tools/templates/aurelia-jspm/src/welcome.html
new file mode 100644
index 000000000..317225c4c
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/welcome.html
@@ -0,0 +1,20 @@
+<template>
+ <section class="au-animate">
+ <h2>${heading}</h2>
+ <form role="form" submit.delegate="submit()">
+ <div class="form-group">
+ <label for="fn">First Name</label>
+ <input type="text" value.bind="firstName" class="form-control" id="fn" placeholder="first name">
+ </div>
+ <div class="form-group">
+ <label for="ln">Last Name</label>
+ <input type="text" value.bind="lastName" class="form-control" id="ln" placeholder="last name">
+ </div>
+ <div class="form-group">
+ <label>Full Name</label>
+ <p class="help-block">${fullName | upper}</p>
+ </div>
+ <button type="submit" class="btn btn-default">Submit</button>
+ </form>
+ </section>
+</template>
diff --git a/js-tools/templates/aurelia-jspm/src/welcome.js b/js-tools/templates/aurelia-jspm/src/welcome.js
new file mode 100644
index 000000000..2ddf74551
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/src/welcome.js
@@ -0,0 +1,34 @@
+//import {computedFrom} from 'aurelia-framework';
+
+export class Welcome {
+ heading = 'Welcome to the Aurelia Navigation App!';
+ firstName = 'John';
+ lastName = 'Doe';
+ previousValue = this.fullName;
+
+ //Getters can't be directly observed, so they must be dirty checked.
+ //However, if you tell Aurelia the dependencies, it no longer needs to dirty check the property.
+ //To optimize by declaring the properties that this getter is computed from, uncomment the line below
+ //as well as the corresponding import above.
+ //@computedFrom('firstName', 'lastName')
+ get fullName() {
+ return `${this.firstName} ${this.lastName}`;
+ }
+
+ submit() {
+ this.previousValue = this.fullName;
+ alert(`Welcome, ${this.fullName}!`);
+ }
+
+ canDeactivate() {
+ if (this.fullName !== this.previousValue) {
+ return confirm('Are you sure you want to leave?');
+ }
+ }
+}
+
+export class UpperValueConverter {
+ toView(value) {
+ return value && value.toUpperCase();
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/styles/styles.css b/js-tools/templates/aurelia-jspm/styles/styles.css
new file mode 100644
index 000000000..71a96b166
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/styles/styles.css
@@ -0,0 +1,175 @@
+body {
+ margin: 0;
+}
+
+.splash {
+ text-align: center;
+ margin: 10% 0 0 0;
+ box-sizing: border-box;
+}
+
+.splash .message {
+ font-size: 72px;
+ line-height: 72px;
+ text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
+ text-transform: uppercase;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+
+.splash .fa-spinner {
+ text-align: center;
+ display: inline-block;
+ font-size: 72px;
+ margin-top: 50px;
+}
+
+.page-host {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 50px;
+ bottom: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+@media print {
+ .page-host {
+ position: absolute;
+ left: 10px;
+ right: 0;
+ top: 50px;
+ bottom: 0;
+ overflow-y: inherit;
+ overflow-x: inherit;
+ }
+}
+
+section {
+ margin: 0 20px;
+}
+
+.navbar-nav li.loader {
+ margin: 12px 24px 0 6px;
+}
+
+.pictureDetail {
+ max-width: 425px;
+}
+
+/* animate page transitions */
+section.au-enter-active {
+ -webkit-animation: fadeInRight 1s;
+ animation: fadeInRight 1s;
+}
+
+div.au-stagger {
+ /* 50ms will be applied between each successive enter operation */
+ -webkit-animation-delay: 50ms;
+ animation-delay: 50ms;
+}
+
+.card-container.au-enter {
+ opacity: 0;
+}
+
+.card-container.au-enter-active {
+ -webkit-animation: fadeIn 2s;
+ animation: fadeIn 2s;
+}
+
+.card {
+ overflow: hidden;
+ position: relative;
+ border: 1px solid #CCC;
+ border-radius: 8px;
+ text-align: center;
+ padding: 0;
+ background-color: #337ab7;
+ color: rgb(136, 172, 217);
+ margin-bottom: 32px;
+ box-shadow: 0 0 5px rgba(0, 0, 0, .5);
+}
+
+.card .content {
+ margin-top: 10px;
+}
+
+.card .content .name {
+ color: white;
+ text-shadow: 0 0 6px rgba(0, 0, 0, .5);
+ font-size: 18px;
+}
+
+.card .header-bg {
+ /* This stretches the canvas across the entire hero unit */
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 70px;
+ border-bottom: 1px #FFF solid;
+ border-radius: 6px 6px 0 0;
+}
+
+.card .avatar {
+ position: relative;
+ margin-top: 15px;
+ z-index: 100;
+}
+
+.card .avatar img {
+ width: 100px;
+ height: 100px;
+ -webkit-border-radius: 50%;
+ -moz-border-radius: 50%;
+ border-radius: 50%;
+ border: 2px #FFF solid;
+}
+
+/* animation definitions */
+@-webkit-keyframes fadeInRight {
+ 0% {
+ opacity: 0;
+ -webkit-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0)
+ }
+ 100% {
+ opacity: 1;
+ -webkit-transform: none;
+ transform: none
+ }
+}
+
+@keyframes fadeInRight {
+ 0% {
+ opacity: 0;
+ -webkit-transform: translate3d(100%, 0, 0);
+ -ms-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0)
+ }
+ 100% {
+ opacity: 1;
+ -webkit-transform: none;
+ -ms-transform: none;
+ transform: none
+ }
+}
+
+@-webkit-keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/temp/aurelia-jspm b/js-tools/templates/aurelia-jspm/temp/aurelia-jspm
new file mode 160000
index 000000000..985b51319
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/temp/aurelia-jspm
@@ -0,0 +1 @@
+Subproject commit 985b513198eb65992b408630f1d475bba399163f
diff --git a/js-tools/templates/aurelia-jspm/test.js b/js-tools/templates/aurelia-jspm/test.js
new file mode 100644
index 000000000..529282eaa
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test.js
@@ -0,0 +1,2 @@
+console.log(typeof __karma__);
+
diff --git a/js-tools/templates/aurelia-jspm/test/e2e/src/demo.spec.js b/js-tools/templates/aurelia-jspm/test/e2e/src/demo.spec.js
new file mode 100644
index 000000000..ff06bfe06
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/e2e/src/demo.spec.js
@@ -0,0 +1,41 @@
+import {PageObjectWelcome} from './welcome.po.js';
+import {PageObjectSkeleton} from './skeleton.po.js';
+
+describe('aurelia skeleton app', function() {
+ let poWelcome;
+ let poSkeleton;
+
+ beforeEach(() => {
+ poSkeleton = new PageObjectSkeleton();
+ poWelcome = new PageObjectWelcome();
+
+ browser.loadAndWaitForAureliaPage('http://localhost:9000');
+ });
+
+ it('should load the page and display the initial page title', () => {
+ expect(poSkeleton.getCurrentPageTitle()).toBe('Welcome | Aurelia');
+ });
+
+ it('should display greeting', () => {
+ expect(poWelcome.getGreeting()).toBe('Welcome to the Aurelia Navigation App!');
+ });
+
+ it('should automatically write down the fullname', () => {
+ poWelcome.setFirstname('Rob');
+ poWelcome.setLastname('Eisenberg');
+
+ // For now there is a timing issue with the binding.
+ // Until resolved we will use a short sleep to overcome the issue.
+ browser.sleep(200);
+ expect(poWelcome.getFullname()).toBe('ROB EISENBERG');
+ });
+
+ it('should show alert message when clicking submit button', () => {
+ expect(poWelcome.openAlertDialog()).toBe(true);
+ });
+
+ it('should navigate to users page', () => {
+ poSkeleton.navigateTo('#/users');
+ expect(poSkeleton.getCurrentPageTitle()).toBe('Github Users | Aurelia');
+ });
+});
diff --git a/js-tools/templates/aurelia-jspm/test/e2e/src/skeleton.po.js b/js-tools/templates/aurelia-jspm/test/e2e/src/skeleton.po.js
new file mode 100644
index 000000000..b84f47419
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/e2e/src/skeleton.po.js
@@ -0,0 +1,15 @@
+export class PageObjectSkeleton {
+
+ constructor() {
+
+ }
+
+ getCurrentPageTitle() {
+ return browser.getTitle();
+ }
+
+ navigateTo(href) {
+ element(by.css('a[href="' + href + '"]')).click();
+ return browser.waitForRouterComplete();
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/test/e2e/src/welcome.po.js b/js-tools/templates/aurelia-jspm/test/e2e/src/welcome.po.js
new file mode 100644
index 000000000..29a7d0a39
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/e2e/src/welcome.po.js
@@ -0,0 +1,38 @@
+export class PageObjectWelcome {
+
+ constructor() {
+
+ }
+
+ getGreeting() {
+ return element(by.tagName('h2')).getText();
+ }
+
+ setFirstname(value) {
+ return element(by.valueBind('firstName')).clear().sendKeys(value);
+ }
+
+ setLastname(value) {
+ return element(by.valueBind('lastName')).clear().sendKeys(value);
+ }
+
+ getFullname() {
+ return element(by.css('.help-block')).getText();
+ }
+
+ pressSubmitButton() {
+ return element(by.css('button[type="submit"]')).click();
+ }
+
+ openAlertDialog() {
+ return browser.wait(() => {
+ this.pressSubmitButton();
+
+ return browser.switchTo().alert().then(
+ // use alert.accept instead of alert.dismiss which results in a browser crash
+ function(alert) { alert.accept(); return true; },
+ function() { return false; }
+ );
+ });
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/test/unit/.eslintrc b/js-tools/templates/aurelia-jspm/test/unit/.eslintrc
new file mode 100644
index 000000000..92629674b
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/unit/.eslintrc
@@ -0,0 +1,5 @@
+{
+ "rules": {
+ "no-var": 0
+ }
+}
diff --git a/js-tools/templates/aurelia-jspm/test/unit/app.spec.js b/js-tools/templates/aurelia-jspm/test/unit/app.spec.js
new file mode 100644
index 000000000..3aca04d63
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/unit/app.spec.js
@@ -0,0 +1,42 @@
+import {App} from '../../src/app';
+
+class RouterStub {
+ configure(handler) {
+ handler(this);
+ }
+
+ map(routes) {
+ this.routes = routes;
+ }
+}
+
+describe('the App module', () => {
+ var sut;
+ var mockedRouter;
+
+ beforeEach(() => {
+ mockedRouter = new RouterStub();
+ sut = new App();
+ sut.configureRouter(mockedRouter, mockedRouter);
+ });
+
+ it('contains a router property', () => {
+ expect(sut.router).toBeDefined();
+ });
+
+ it('configures the router title', () => {
+ expect(sut.router.title).toEqual('Aurelia');
+ });
+
+ it('should have a welcome route', () => {
+ expect(sut.router.routes).toContain({ route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' });
+ });
+
+ it('should have a users route', () => {
+ expect(sut.router.routes).toContain({ route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' });
+ });
+
+ it('should have a child router route', () => {
+ expect(sut.router.routes).toContain({ route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' });
+ });
+});
diff --git a/js-tools/templates/aurelia-jspm/test/unit/child-router.spec.js b/js-tools/templates/aurelia-jspm/test/unit/child-router.spec.js
new file mode 100644
index 000000000..08b2c6866
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/unit/child-router.spec.js
@@ -0,0 +1,42 @@
+import {ChildRouter} from '../../src/child-router';
+
+class RouterStub {
+ configure(handler) {
+ handler(this);
+ }
+
+ map(routes) {
+ this.routes = routes;
+ }
+}
+
+describe('the Child Router module', () => {
+ var sut;
+ var mockedRouter;
+
+ beforeEach(() => {
+ mockedRouter = new RouterStub();
+ sut = new ChildRouter();
+ sut.configureRouter(mockedRouter, mockedRouter);
+ });
+
+ it('contains a router property', () => {
+ expect(sut.router).toBeDefined();
+ });
+
+ it('configures the heading', () => {
+ expect(sut.heading).toEqual('Child Router');
+ });
+
+ it('should have a welcome route', () => {
+ expect(sut.router.routes).toContain({ route: ['', 'welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title: 'Welcome' });
+ });
+
+ it('should have a users route', () => {
+ expect(sut.router.routes).toContain({ route: 'users', name: 'users', moduleId: 'users', nav: true, title: 'Github Users' });
+ });
+
+ it('should have a child router route', () => {
+ expect(sut.router.routes).toContain({ route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title: 'Child Router' });
+ });
+});
diff --git a/js-tools/templates/aurelia-jspm/test/unit/setup.js b/js-tools/templates/aurelia-jspm/test/unit/setup.js
new file mode 100644
index 000000000..be72ff7cb
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/unit/setup.js
@@ -0,0 +1,3 @@
+import 'aurelia-polyfills';
+import {initialize} from 'aurelia-pal-browser';
+initialize();
\ No newline at end of file
diff --git a/js-tools/templates/aurelia-jspm/test/unit/users.spec.js b/js-tools/templates/aurelia-jspm/test/unit/users.spec.js
new file mode 100644
index 000000000..5b557045f
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/test/unit/users.spec.js
@@ -0,0 +1,30 @@
+import {Users} from '../../src/users';
+
+class HttpStub {
+ fetch(url) {
+ var response = this.itemStub;
+ this.url = url;
+ return new Promise((resolve) => {
+ resolve({ json: () => response });
+ });
+ }
+
+ configure(func) {
+ }
+}
+
+describe('the Users module', () => {
+ it('sets fetch response to users', (done) => {
+ var http = new HttpStub();
+ var sut = new Users(http);
+ var itemStubs = [1];
+ var itemFake = [2];
+
+ http.itemStub = itemStubs;
+ sut.activate().then(() => {
+ expect(sut.users).toBe(itemStubs);
+ expect(sut.users).not.toBe(itemFake);
+ done();
+ });
+ });
+});
diff --git a/js-tools/templates/aurelia-jspm/wallaby.js b/js-tools/templates/aurelia-jspm/wallaby.js
new file mode 100644
index 000000000..a16d0b769
--- /dev/null
+++ b/js-tools/templates/aurelia-jspm/wallaby.js
@@ -0,0 +1,61 @@
+/* eslint-disable no-var, no-shadow, dot-notation */
+
+module.exports = function(wallaby) {
+ return {
+ files: [
+
+ {pattern: 'jspm_packages/system.js', instrument: false},
+ {pattern: 'config.js', instrument: false},
+
+ {pattern: 'src/**/*.js', load: false},
+ {pattern: 'test/unit/setup.js', load: false}
+
+ ],
+
+ tests: [
+ {pattern: 'test/unit/**/*.spec.js', load: false}
+ ],
+
+ compilers: {
+ '**/*.js': wallaby.compilers.babel({
+ presets: [ 'es2015-loose', 'stage-1'],
+ plugins: [
+ 'syntax-flow',
+ 'transform-decorators-legacy',
+ 'transform-flow-strip-types'
+ ]
+ })
+ },
+
+ middleware: (app, express) => {
+ app.use('/jspm_packages', express.static(require('path').join(__dirname, 'jspm_packages')));
+ },
+
+ bootstrap: function(wallaby) {
+ var promises = [];
+ var i = 0;
+ var len = wallaby.tests.length;
+
+ wallaby.delayStart();
+
+ System.config({
+ paths: {
+ '*': '*.js'
+ }
+ });
+ for (; i < len; i++) {
+ promises.push(System['import'](wallaby.tests[i].replace(/\.js$/, '')));
+ }
+
+ System.import('test/unit/setup')
+ .then(function () {
+ return Promise.all(promises);
+ })
+ .then(function() {
+ wallaby.start();
+ }).catch(function (e) { setTimeout(function (){ throw e; }, 0); });
+ },
+
+ debug: false
+ };
+};

Event Timeline