diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..7fd1570a
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,237 @@
+module.exports = {
+ env: {
+ es6: true,
+ node: true,
+ },
+ extends: 'eslint:recommended',
+ rules: {
+ 'accessor-pairs': 'error',
+ 'array-bracket-newline': 'error',
+ 'array-bracket-spacing': ['error', 'never'],
+ 'array-callback-return': 'error',
+ 'array-element-newline': 'off',
+ 'arrow-body-style': 'error',
+ 'arrow-parens': ['error', 'as-needed'],
+ 'arrow-spacing': [
+ 'error',
+ {
+ after: true,
+ before: true,
+ },
+ ],
+ 'block-scoped-var': 'error',
+ 'block-spacing': 'error',
+ 'brace-style': ['error', '1tbs'],
+ 'callback-return': 'error',
+ camelcase: 'error',
+ 'capitalized-comments': ['error', 'always'],
+ 'class-methods-use-this': 'error',
+ 'comma-dangle': 'off',
+ 'comma-spacing': [
+ 'error',
+ {
+ after: true,
+ before: false,
+ },
+ ],
+ 'comma-style': ['error', 'last'],
+ complexity: 'error',
+ 'computed-property-spacing': 'error',
+ 'consistent-return': 'off',
+ 'consistent-this': 'error',
+ curly: 'error',
+ 'default-case': 'error',
+ 'dot-location': ['error', 'property'],
+ 'dot-notation': 'error',
+ 'eol-last': 'error',
+ eqeqeq: 'error',
+ 'for-direction': 'error',
+ 'func-call-spacing': 'error',
+ 'func-name-matching': 'error',
+ 'func-names': 'error',
+ 'func-style': 'off',
+ 'function-paren-newline': 'off',
+ 'generator-star-spacing': 'error',
+ 'getter-return': 'error',
+ 'global-require': 'off',
+ 'guard-for-in': 'error',
+ 'handle-callback-err': 'error',
+ 'id-blacklist': 'error',
+ 'id-length': 'off',
+ 'id-match': 'error',
+ 'implicit-arrow-linebreak': 'off',
+ indent: 'off',
+ 'indent-legacy': 'off',
+ 'init-declarations': 'error',
+ 'jsx-quotes': 'error',
+ 'key-spacing': 'error',
+ 'keyword-spacing': [
+ 'error',
+ {
+ after: true,
+ before: true,
+ },
+ ],
+ 'line-comment-position': 'error',
+ 'linebreak-style': ['error', 'windows'],
+ 'lines-around-comment': 'error',
+ 'lines-around-directive': 'off',
+ 'lines-between-class-members': ['error', 'always'],
+ 'max-depth': 'error',
+ 'max-len': 'off',
+ 'max-lines': 'error',
+ 'max-nested-callbacks': 'error',
+ 'max-params': 'error',
+ 'max-statements': 'error',
+ 'max-statements-per-line': 'error',
+ 'multiline-comment-style': 'error',
+ 'multiline-ternary': 'off',
+ 'new-cap': 'error',
+ 'new-parens': 'error',
+ 'newline-after-var': 'off',
+ 'newline-before-return': 'error',
+ 'newline-per-chained-call': 'error',
+ 'no-alert': 'error',
+ 'no-array-constructor': 'error',
+ 'no-await-in-loop': 'error',
+ 'no-bitwise': 'error',
+ 'no-buffer-constructor': 'error',
+ 'no-caller': 'error',
+ 'no-catch-shadow': 'error',
+ 'no-confusing-arrow': 'off',
+ 'no-continue': 'error',
+ 'no-div-regex': 'error',
+ 'no-duplicate-imports': 'error',
+ 'no-else-return': 'error',
+ 'no-empty-function': 'error',
+ 'no-eq-null': 'error',
+ 'no-eval': 'error',
+ 'no-extend-native': 'error',
+ 'no-extra-bind': 'error',
+ 'no-extra-label': 'error',
+ 'no-extra-parens': 'error',
+ 'no-floating-decimal': 'error',
+ 'no-implicit-coercion': 'error',
+ 'no-implicit-globals': 'error',
+ 'no-implied-eval': 'error',
+ 'no-inline-comments': 'error',
+ 'no-invalid-this': 'error',
+ 'no-iterator': 'error',
+ 'no-label-var': 'error',
+ 'no-labels': 'error',
+ 'no-lone-blocks': 'error',
+ 'no-lonely-if': 'error',
+ 'no-loop-func': 'error',
+ 'no-magic-numbers': ['error', { ignore: [-1, -0, 1] }],
+ 'no-mixed-operators': 'error',
+ 'no-mixed-requires': 'error',
+ 'no-multi-assign': 'error',
+ 'no-multi-spaces': 'error',
+ 'no-multi-str': 'error',
+ 'no-multiple-empty-lines': 'error',
+ 'no-native-reassign': 'error',
+ 'no-negated-condition': 'error',
+ 'no-negated-in-lhs': 'error',
+ 'no-nested-ternary': 'error',
+ 'no-new': 'error',
+ 'no-new-func': 'error',
+ 'no-new-object': 'error',
+ 'no-new-require': 'error',
+ 'no-new-wrappers': 'error',
+ 'no-octal-escape': 'error',
+ 'no-param-reassign': 'error',
+ 'no-path-concat': 'error',
+ 'no-plusplus': 'error',
+ 'no-process-env': 'error',
+ 'no-process-exit': 'error',
+ 'no-proto': 'error',
+ 'no-prototype-builtins': 'error',
+ 'no-restricted-globals': 'error',
+ 'no-restricted-imports': 'error',
+ 'no-restricted-modules': 'error',
+ 'no-restricted-properties': 'error',
+ 'no-restricted-syntax': 'error',
+ 'no-return-assign': 'error',
+ 'no-return-await': 'error',
+ 'no-script-url': 'error',
+ 'no-self-compare': 'error',
+ 'no-sequences': 'error',
+ 'no-shadow': 'error',
+ 'no-shadow-restricted-names': 'error',
+ 'no-spaced-func': 'error',
+ 'no-sync': 'error',
+ 'no-tabs': 'off',
+ 'no-template-curly-in-string': 'error',
+ 'no-ternary': 'off',
+ 'no-throw-literal': 'error',
+ 'no-trailing-spaces': 'error',
+ 'no-undef-init': 'error',
+ 'no-undefined': 'error',
+ 'no-underscore-dangle': 'error',
+ 'no-unmodified-loop-condition': 'error',
+ 'no-unneeded-ternary': 'error',
+ 'no-unused-expressions': 'error',
+ 'no-use-before-define': 'error',
+ 'no-useless-call': 'error',
+ 'no-useless-computed-key': 'error',
+ 'no-useless-concat': 'error',
+ 'no-useless-constructor': 'error',
+ 'no-useless-rename': 'error',
+ 'no-useless-return': 'error',
+ 'no-var': 'error',
+ 'no-void': 'error',
+ 'no-warning-comments': 'error',
+ 'no-whitespace-before-property': 'error',
+ 'no-with': 'error',
+ 'nonblock-statement-body-position': 'error',
+ 'object-curly-newline': 'off',
+ 'object-curly-spacing': ['error', 'always'],
+ 'object-property-newline': 'error',
+ 'object-shorthand': 'error',
+ 'one-var': 'off',
+ 'one-var-declaration-per-line': 'error',
+ 'operator-assignment': 'error',
+ 'operator-linebreak': 'error',
+ 'padded-blocks': 'off',
+ 'padding-line-between-statements': 'error',
+ 'prefer-arrow-callback': 'error',
+ 'prefer-const': 'error',
+ 'prefer-destructuring': 'error',
+ 'prefer-numeric-literals': 'error',
+ 'prefer-promise-reject-errors': 'error',
+ 'prefer-reflect': 'error',
+ 'prefer-rest-params': 'error',
+ 'prefer-spread': 'error',
+ 'prefer-template': 'error',
+ 'quote-props': 'off',
+ quotes: 'off',
+ radix: 'error',
+ 'require-await': 'error',
+ 'require-jsdoc': 'error',
+ 'rest-spread-spacing': 'error',
+ semi: 'error',
+ 'semi-spacing': 'error',
+ 'semi-style': ['error', 'last'],
+ 'sort-imports': 'error',
+ 'sort-keys': 'off',
+ 'sort-vars': 'error',
+ 'space-before-blocks': 'error',
+ 'space-before-function-paren': 'off',
+ 'space-in-parens': ['error', 'never'],
+ 'space-infix-ops': 'error',
+ 'space-unary-ops': 'error',
+ 'spaced-comment': ['error', 'always'],
+ strict: 'error',
+ 'switch-colon-spacing': 'error',
+ 'symbol-description': 'error',
+ 'template-curly-spacing': ['error', 'never'],
+ 'template-tag-spacing': ['error', 'never'],
+ 'unicode-bom': ['error', 'never'],
+ 'valid-jsdoc': 'error',
+ 'vars-on-top': 'error',
+ 'wrap-iife': 'error',
+ 'wrap-regex': 'error',
+ 'yield-star-spacing': 'error',
+ yoda: ['error', 'never'],
+ },
+};
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..3fa5883c
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,14 @@
+version: 2
+updates:
+ - package-ecosystem: npm
+ directory: '/'
+ schedule:
+ interval: daily
+ time: '06:00'
+ timezone: 'America/Chicago'
+ - package-ecosystem: github-actions
+ directory: '/'
+ schedule:
+ interval: 'daily'
+ time: '07:00'
+ timezone: 'America/Chicago'
diff --git a/.github/workflows/package-libraries.yml b/.github/workflows/package-libraries.yml
new file mode 100644
index 00000000..75dc9283
--- /dev/null
+++ b/.github/workflows/package-libraries.yml
@@ -0,0 +1,35 @@
+name: Package Libraries
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Use Node.js 20.x
+ uses: actions/setup-node@v6
+ with:
+ node-version: 20.x
+ cache: yarn
+
+ - name: Install
+ shell: pwsh
+ run: yarn install
+
+ - name: Package
+ shell: pwsh
+ run: yarn run package
+
+ - name: Upload Artifacts
+ uses: actions/upload-artifact@v6.0.0
+ with:
+ path: '_InstallPackages/**/*.zip'
+ if-no-files-found: error
+ retention-days: 90
diff --git a/.snyk b/.snyk
new file mode 100644
index 00000000..d5d1dd3a
--- /dev/null
+++ b/.snyk
@@ -0,0 +1,168 @@
+# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
+version: v1.12.0
+# ignores vulnerabilities until expiry date; change duration by modifying expiry date
+ignore:
+ 'npm:bootstrap:20160627':
+ - eonasdan-bootstrap-datetimepicker > bootstrap:
+ reason: Not exposing bootstrap 3.3.7
+ expires: '2018-07-08T15:51:59.521Z'
+ 'npm:deep-extend:20180409':
+ - libnpx > update-notifier > latest-version > package-json > registry-auth-token > rc > deep-extend:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.522Z'
+ - libnpx > update-notifier > latest-version > package-json > registry-url > rc > deep-extend:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > libnpx > update-notifier > latest-version > package-json > registry-auth-token > rc > deep-extend:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > libnpx > update-notifier > latest-version > package-json > registry-url > rc > deep-extend:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > update-notifier > latest-version > package-json > registry-auth-token > rc > deep-extend:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > update-notifier > latest-version > package-json > registry-url > rc > deep-extend:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ 'npm:hoek:20180212':
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > hawk > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > hawk > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.522Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > hawk > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > hawk > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > hawk > sntp > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > hawk > cryptiles > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > hawk > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > hawk > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.523Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - fingerprintjs2 > npm > request > hawk > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - fingerprintjs2 > npm > request > hawk > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - fingerprintjs2 > npm > request > hawk > sntp > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - fingerprintjs2 > npm > request > hawk > cryptiles > boom > hoek:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.525Z'
+ - npm-registry-client > request > hawk > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - npm-registry-client > request > hawk > boom > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - npm-registry-client > request > hawk > sntp > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - npm-registry-client > request > hawk > cryptiles > boom > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - libcipm > npm-lifecycle > node-gyp > request > hawk > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - libcipm > npm-lifecycle > node-gyp > request > hawk > boom > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.525Z'
+ - libcipm > npm-lifecycle > node-gyp > request > hawk > sntp > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ - libcipm > npm-lifecycle > node-gyp > request > hawk > cryptiles > boom > hoek:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:https-proxy-agent:20180402':
+ - fingerprintjs2 > npm > npm-profile > make-fetch-happen > https-proxy-agent:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:jquery:20150627':
+ - responsive-tabs > jquery:
+ reason: Not exposing jQuery 2.2.4
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:knockout:20180213':
+ - knockout:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ - knockout-jqautocomplete > knockout:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ - knockout.validation > knockout:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:lodash:20180130':
+ - cli-table2 > lodash:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ - fingerprintjs2 > npm > cli-table2 > lodash:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:sshpk:20180409':
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > http-signature > sshpk:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > http-signature > sshpk:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > http-signature > sshpk:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ - fingerprintjs2 > npm > request > http-signature > sshpk:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ - npm-registry-client > request > http-signature > sshpk:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ - libcipm > npm-lifecycle > node-gyp > request > http-signature > sshpk:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.526Z'
+ 'npm:stringstream:20180511':
+ - fingerprintjs2 > npm > libcipm > npm-lifecycle > node-gyp > request > stringstream:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.526Z'
+ - fingerprintjs2 > npm > npm-registry-client > request > stringstream:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.527Z'
+ - fingerprintjs2 > npm > npm-lifecycle > node-gyp > request > stringstream:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.527Z'
+ - fingerprintjs2 > npm > request > stringstream:
+ reason: Not exposing npm 5.8.0
+ expires: '2018-07-08T15:51:59.527Z'
+ - npm-registry-client > request > stringstream:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.527Z'
+ - libcipm > npm-lifecycle > node-gyp > request > stringstream:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.527Z'
+ 'npm:xlsx:20180222':
+ - tableexport > xlsx:
+ reason: No remediation available
+ expires: '2018-07-08T15:51:59.527Z'
+patch: {}
diff --git a/README.md b/README.md
index 35ea4e83..ce0d3c49 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# DNN JavaScript Libraries
+[](https://ci.appveyor.com/project/bdukes/dnn-javascript-libraries)
+
Version 7.2 of the [DNN Platform](http://www.dnnsoftware.com) introduced the
JavaScript Library extension type. This allows common JavaScript libraries to
exist in a single place within a DNN site, instead of every module, skin, and
@@ -31,8 +33,7 @@ commit your changes and submit a pull request on GitHub.
# Packages
The installable packages are included within this GitHub repository as
-[releases](/EngageSoftware/DNN-JavaScript-Libraries/releases). They are also
-published on the [DNN Forge](http://www.dnnsoftware.com/forge).
+[releases](/EngageSoftware/DNN-JavaScript-Libraries/releases).
# Goal
@@ -118,27 +119,6 @@ included on the page once (rather than both components including their own
version of the script). Likewise, if both components request different versions
of the script, just the higher version will be included.
-# Roadmap
-
-The obvious next step for this project is to add more libraries. There's a
-short list in [the Issues list for this repo](/EngageSoftware/DNN-JavaScript-Libraries/issues),
-but we've started work on a [PowerShell script](New-PackageFromBower.psm1) that integrates with a
-script package manager, [Bower](http://bower.io/), so that with very
-little effort, we can get the latest version of a script, package it, and
-publish it.
-
-In addition, there are some enhancements to DNN itself that would help this be
-an even more useful tool. The main enhancement is to provide a similar mechanism
-for shared CSS components. For example, many jQuery plugins are going to include
-basic styles to make them work. It would be nice if there was a way to get CSS
-that matched the requested JavaScript Library. Also, JavaScript libraries with
-multiple JavaScript files could be handled together more cleanly, rather than as
-a bunch of separate libraries. Finally, one of the big ways that would make
-this more of a no-brainer is if the extension installation process automatically
-found dependent packages on the [DNN Forge](http://www.dnnsoftware.com/forge)
-rather than asking clients to install the JavaScript Library package(s) before
-installing your component.
-
# License
This code is released under the [MIT license](LICENSE.md).
diff --git a/_new/index.js b/_new/index.js
deleted file mode 100644
index 299e3f48..00000000
--- a/_new/index.js
+++ /dev/null
@@ -1,158 +0,0 @@
-/* eslint-env node*/
-'use strict';
-const path = require('path');
-const Generator = require('yeoman-generator');
-const chalk = require('chalk');
-const yosay = require('yosay');
-const inquirer = require('inquirer');
-const packageJson = require('package-json');
-const globby = require('globby');
-
-module.exports = class extends Generator {
- prompting() {
- // Have Yeoman greet the user.
- this.log(
- yosay(
- chalk`Welcome to the superb {red DNN JavaScript Library} generator!`
- )
- );
-
- const prompts = [
- {
- type: 'input',
- name: 'libraryName',
- message: "What is the npm module's name?",
- },
- {
- type: 'input',
- name: 'friendlyName',
- message: "What is the library's friendly name?",
- default: answers =>
- packageJson(answers.libraryName, {
- fullMetadata: true,
- }).then(pkg => {
- answers.pkg = pkg;
- if (pkg.repository && pkg.repository.url) {
- answers.githubUrl = pkg.repository.url
- .replace(/^git(?:\+https?)?:/, 'https:')
- .replace(/\.git$/, '');
- }
-
- return pkg.name;
- }),
- },
- {
- type: 'input',
- name: 'licenseUrl',
- message: "What is the URL to the library's license?",
- default: answers =>
- answers.githubUrl
- ? `${answers.githubUrl}/blob/LICENSE`
- : answers.homepage,
- },
- {
- type: 'input',
- name: 'licenseName',
- message: 'What is the name of the license?',
- default: answers => answers.pkg.license,
- },
- {
- type: 'input',
- name: 'changelogUrl',
- message: "What is the URL to the library's changelog?",
- default: answers =>
- answers.githubUrl
- ? `${answers.githubUrl}/releases`
- : answers.homepage,
- },
- {
- type: 'input',
- name: 'description',
- message: "What is the library's description?",
- default: answers => answers.pkg.description,
- },
- {
- type: 'list',
- name: 'relativePath',
- message: 'What is the main JavaScript file?',
- choices: answers => {
- console.log(
- 'choices',
- `node_modules/${answers.libraryName}/**/*.js`
- );
- try {
- return globby
- .sync(`node_modules/${answers.libraryName}/**/*.js`)
- .map(file =>
- file.replace(
- `node_modules/${answers.libraryName}/`,
- ''
- )
- )
- .map(path.normalize)
- .concat([new inquirer.Separator(), 'Other']);
- } catch (e) {
- console.error(e);
- }
- },
- default: answers =>
- path.normalize(answers.pkg.browser || answers.pkg.main),
- },
- {
- type: 'input',
- name: 'relativePath',
- message: 'What is the main JavaScript file?',
- when: answers => answers.relativePath === 'Other',
- },
- {
- type: 'list',
- name: 'preferredScriptLocation',
- message:
- 'What is the preferred script location for the library?',
- choices: ['PageHead', 'BodyTop', 'BodyBottom'],
- default: 'BodyBottom',
- },
- {
- type: 'input',
- name: 'objectName',
- message:
- 'What JavaScript object will be defined if the script loaded correctly?',
- },
- ];
-
- return this.prompt(prompts).then(props => {
- // To access props later use this.props.someAnswer;
- this.props = props;
- this.props.fileName = path.basename(props.relativePath);
- this.props.version = props.pkg.version;
- this.props.versionFolder = props.pkg.version
- .split('.')
- .map(n => n.padStart(2, '0'))
- .join('_');
- });
- }
-
- writing() {
- const folder = `${this.props.libraryName}_${this.props.version}`;
- this.fs.copyTpl(
- this.templatePath('{libraryName}.dnn'),
- this.destinationPath(`${folder}/${this.props.libraryName}.dnn`),
- this.props
- );
- this.fs.copyTpl(
- this.templatePath('CHANGES.htm'),
- this.destinationPath(`${folder}/CHANGES.htm`),
- this.props
- );
- this.fs.copyTpl(
- this.templatePath('dnn-library.json'),
- this.destinationPath(`${folder}/dnn-library.json`),
- this.props
- );
- this.fs.copyTpl(
- this.templatePath('LICENSE.htm'),
- this.destinationPath(`${folder}/LICENSE.htm`),
- this.props
- );
- }
-};
diff --git a/_new/index.mjs b/_new/index.mjs
new file mode 100644
index 00000000..e9799849
--- /dev/null
+++ b/_new/index.mjs
@@ -0,0 +1,188 @@
+import path from 'path';
+import Generator from 'yeoman-generator';
+import chalk from 'chalk';
+import yosay from 'yosay';
+import inquirer from 'inquirer';
+import packageJson from 'package-json';
+import spawn from 'cross-spawn';
+import eos from 'end-of-stream';
+import { glob } from 'glob';
+import { formatVersionFolder } from '../utility/index.mjs';
+
+export default class extends Generator {
+ prompting() {
+ // Have Yeoman greet the user.
+ this.log(
+ yosay(
+ `Welcome to the superb ${chalk.red(
+ 'DNN JavaScript Library'
+ )} generator!`
+ )
+ );
+
+ let yarnAdd;
+
+ const prompts = [
+ {
+ type: 'input',
+ name: 'libraryName',
+ message: "What is the npm module's name?",
+ validate: (libraryName, answers) => {
+ yarnAdd = new Promise((resolve, reject) =>
+ eos(
+ spawn('yarn', ['add', libraryName], {
+ stdio: 'ignore',
+ }),
+ (err) => (err ? reject(err) : resolve())
+ )
+ );
+
+ return packageJson(libraryName, {
+ fullMetadata: true,
+ })
+ .then((pkg) => {
+ answers.pkg = pkg;
+ if (pkg.repository && pkg.repository.url) {
+ answers.githubUrl = pkg.repository.url
+ .replace(/^git(?:\+https?)?:/, 'https:')
+ .replace(/\.git$/, '');
+ }
+ })
+ .then(
+ () => true,
+ (err) =>
+ `There was an error retrieving metadata for npm package ${libraryName} \n ${err}`
+ );
+ },
+ },
+ {
+ type: 'input',
+ name: 'friendlyName',
+ message: "What is the library's friendly name?",
+ default: (answers) => answers.pkg.name,
+ },
+ {
+ type: 'input',
+ name: 'licenseUrl',
+ message: "What is the URL to the library's license?",
+ default: (answers) =>
+ answers.githubUrl
+ ? `${answers.githubUrl}/blob/LICENSE`
+ : answers.homepage,
+ },
+ {
+ type: 'input',
+ name: 'licenseName',
+ message: 'What is the name of the license?',
+ default: (answers) => answers.pkg.license,
+ },
+ {
+ type: 'input',
+ name: 'changelogUrl',
+ message: "What is the URL to the library's changelog?",
+ default: (answers) =>
+ answers.githubUrl
+ ? `${answers.githubUrl}/releases`
+ : answers.homepage,
+ },
+ {
+ type: 'input',
+ name: 'description',
+ message: "What is the library's description?",
+ default: (answers) => answers.pkg.description,
+ },
+ {
+ type: 'list',
+ name: 'relativePath',
+ message: 'What is the main JavaScript file?',
+ choices: ({ libraryName }) =>
+ yarnAdd
+ .then(() =>
+ glob(`node_modules/${libraryName}/**/*.js`, {
+ ignore: `node_modules/${libraryName}/node_modules/**/*.js`,
+ })
+ )
+ .then((files) =>
+ files
+ .map((file) =>
+ file.replace(
+ `node_modules/${libraryName}/`,
+ ''
+ )
+ )
+ .map(path.normalize)
+ .map((file) => file.replace(/\\/g, '/'))
+ .concat([new inquirer.Separator(), 'Other'])
+ )
+ .catch((err) => {
+ this.log.error(
+ 'There was an unexpected error retrieving files: \n %O',
+ err
+ );
+
+ return ['Other'];
+ }),
+ default: ({ pkg }) =>
+ path.normalize(pkg.browser || pkg.main).replace(/\\/g, '/'),
+ filter: (relativePath) => relativePath.replace(/\\/g, '/'),
+ },
+ {
+ type: 'input',
+ name: 'relativePath',
+ message: 'What is the main JavaScript file?',
+ when: (answers) => answers.relativePath === 'Other',
+ default: (answers) =>
+ path
+ .normalize(answers.pkg.browser || answers.pkg.main)
+ .replace(/\\/g, '/'),
+ filter: (relativePath) => relativePath.replace(/\\/g, '/'),
+ },
+ {
+ type: 'list',
+ name: 'preferredScriptLocation',
+ message:
+ 'What is the preferred script location for the library?',
+ choices: ['PageHead', 'BodyTop', 'BodyBottom'],
+ default: 'BodyBottom',
+ },
+ {
+ type: 'input',
+ name: 'objectName',
+ message:
+ 'What JavaScript object will be defined if the script loaded correctly?',
+ },
+ ];
+
+ return this.prompt(prompts).then((props) => {
+ // To access props later use this.props.someAnswer;
+ this.props = props;
+ this.props.fileName = path.basename(props.relativePath);
+ this.props.version = props.pkg.version;
+ this.props.versionFolder = formatVersionFolder(props.pkg.version);
+ });
+ }
+
+ writing() {
+ const folder = this.props.libraryName;
+ this.fs.copyTpl(
+ this.templatePath('{libraryName}.dnn'),
+ this.destinationPath(`${folder}/${this.props.libraryName}.dnn`),
+ this.props
+ );
+ this.fs.copyTpl(
+ this.templatePath('CHANGES.htm'),
+ this.destinationPath(`${folder}/CHANGES.htm`),
+ this.props
+ );
+ this.fs.copyTpl(
+ this.templatePath('dnn-library.json'),
+ this.destinationPath(`${folder}/dnn-library.json`),
+ this.props
+ );
+ this.fs.copyTpl(
+ this.templatePath('LICENSE.htm'),
+ this.destinationPath(`${folder}/LICENSE.htm`),
+ this.props
+ );
+ }
+}
diff --git a/_new/templates/CHANGES.htm b/_new/templates/CHANGES.htm
index ccc5509d..ab5e99ec 100644
--- a/_new/templates/CHANGES.htm
+++ b/_new/templates/CHANGES.htm
@@ -1,4 +1,3 @@
-
See the
-
- <%=friendlyName%> changelog
+
+ See the <%=friendlyName%> changelog
diff --git a/_new/templates/LICENSE.htm b/_new/templates/LICENSE.htm
index a3e631d2..84466f3e 100644
--- a/_new/templates/LICENSE.htm
+++ b/_new/templates/LICENSE.htm
@@ -1,4 +1,3 @@
- <%=friendlyName%> is licensed under the
-
- <%=licenseName%> license .
+ <%=friendlyName%> is licensed under the <%=licenseName%> license .
+
diff --git a/_new/templates/{libraryName}.dnn b/_new/templates/{libraryName}.dnn
index ff40ea13..93081f01 100644
--- a/_new/templates/{libraryName}.dnn
+++ b/_new/templates/{libraryName}.dnn
@@ -1,8 +1,7 @@
-
- <%=friendlyName%>
-
+
+ <%=friendlyName%>
]]>
@@ -19,32 +18,24 @@
- <%=libraryName%>
-
- <%=fileName%>
-
- <%=preferredScriptLocation%>
-
- <%=objectName%>
-
- https://cdn.jsdelivr.net/npm/<%=libraryName%>@<%=version%><%=relativePath%>
-
+ <%=libraryName%>
+ <%=fileName%>
+ <%=preferredScriptLocation%>
+ <%=objectName%>
+ https://cdn.jsdelivr.net/npm/<%=libraryName%>@<~=version~>/<%=relativePath%>
- <%=libraryName%>
-
+ <%=libraryName%>
- <%=fileName%>
-
+ <%=fileName%>
- Resources\Libraries\<%=libraryName%>\<%=versionFolder%>
-
+ Resources\Libraries\<%=libraryName%>\<~=versionFolder~>
Resources.zip
diff --git a/alpaca_1.5.23/CHANGES.htm b/alpaca/CHANGES.htm
similarity index 100%
rename from alpaca_1.5.23/CHANGES.htm
rename to alpaca/CHANGES.htm
diff --git a/alpaca/LICENSE.htm b/alpaca/LICENSE.htm
new file mode 100644
index 00000000..8c5e7b88
--- /dev/null
+++ b/alpaca/LICENSE.htm
@@ -0,0 +1,2 @@
+Alpaca is licensed under the
+ Apache 2.0 License .
diff --git a/alpaca_1.5.23/alpaca.dnn b/alpaca/alpaca.dnn
similarity index 82%
rename from alpaca_1.5.23/alpaca.dnn
rename to alpaca/alpaca.dnn
index 9c9f5057..01739b71 100644
--- a/alpaca_1.5.23/alpaca.dnn
+++ b/alpaca/alpaca.dnn
@@ -1,12 +1,12 @@
-
+
Alpaca
Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -20,7 +20,7 @@
alpaca.min.js
BodyBottom
jQuery.fn.alpaca
- http://code.cloudcms.com/alpaca/1.5.23/web/alpaca.min.js
+ http://code.cloudcms.com/alpaca/<~=version~>/web/alpaca.min.js
@@ -33,7 +33,7 @@
- Resources\Libraries\alpaca\01_10_13
+ Resources\Libraries\alpaca\<~=versionFolder~>
Resources.zip
diff --git a/alpaca/dnn-library.json b/alpaca/dnn-library.json
new file mode 100644
index 00000000..757b9984
--- /dev/null
+++ b/alpaca/dnn-library.json
@@ -0,0 +1,7 @@
+{
+ "files": ["node_modules/alpaca/dist/alpaca/web/alpaca.min.js"],
+ "resources": [
+ "node_modules/alpaca/dist/alpaca/web/**",
+ "!node_modules/alpaca/dist/alpaca/web/alpaca.min.js"
+ ]
+}
diff --git a/alpaca_1.5.23/LICENSE.htm b/alpaca_1.5.23/LICENSE.htm
deleted file mode 100644
index 99e32ece..00000000
--- a/alpaca_1.5.23/LICENSE.htm
+++ /dev/null
@@ -1,2 +0,0 @@
-Alpaca is licensed under the
- Apache 2.0 License .
diff --git a/alpaca_1.5.23/dnn-library.json b/alpaca_1.5.23/dnn-library.json
deleted file mode 100644
index 9d0d4f86..00000000
--- a/alpaca_1.5.23/dnn-library.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "files": ["node_modules/alpaca/dist/alpaca/web/alpaca.min.js"],
- "resources": [
- "node_modules/alpaca/dist/alpaca/web/**",
- "node_modules/alpaca/dist/alpaca/web/alpaca.min.js"
- ]
-}
diff --git a/blob.js_1.0.1/Blob.dnn b/blob.js/Blob.dnn
similarity index 79%
rename from blob.js_1.0.1/Blob.dnn
rename to blob.js/Blob.dnn
index 99a77488..750f8de9 100644
--- a/blob.js_1.0.1/Blob.dnn
+++ b/blob.js/Blob.dnn
@@ -1,6 +1,6 @@
-
+
Blob.js
Blob interface in browsers that do
@@ -9,7 +9,7 @@ not natively support it.]]>
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -24,9 +24,9 @@ not natively support it.]]>
Blob
- Blob.min.js
+ Blob.js
BodyBottom
- https://cdn.jsdelivr.net/npm/blob.js@1.0.1/Blob.min.js
+ https://cdn.jsdelivr.net/npm/blob.js@<~=version~>/Blob.min.js
Blob
@@ -34,7 +34,7 @@ not natively support it.]]>
Blob
- Blob.min.js
+ Blob.js
diff --git a/blob.js_1.0.1/CHANGES.htm b/blob.js/CHANGES.htm
similarity index 100%
rename from blob.js_1.0.1/CHANGES.htm
rename to blob.js/CHANGES.htm
diff --git a/blob.js_1.0.1/LICENSE.htm b/blob.js/LICENSE.htm
similarity index 100%
rename from blob.js_1.0.1/LICENSE.htm
rename to blob.js/LICENSE.htm
diff --git a/blob.js_1.0.1/dnn-library.json b/blob.js/dnn-library.json
similarity index 100%
rename from blob.js_1.0.1/dnn-library.json
rename to blob.js/dnn-library.json
diff --git a/bluebird_3.5.1/CHANGES.htm b/bluebird/CHANGES.htm
similarity index 100%
rename from bluebird_3.5.1/CHANGES.htm
rename to bluebird/CHANGES.htm
diff --git a/bluebird/LICENSE.htm b/bluebird/LICENSE.htm
new file mode 100644
index 00000000..ef362b88
--- /dev/null
+++ b/bluebird/LICENSE.htm
@@ -0,0 +1 @@
+Bluebird is licensed under the MIT License .
diff --git a/bluebird_3.5.1/bluebird.dnn b/bluebird/bluebird.dnn
similarity index 84%
rename from bluebird_3.5.1/bluebird.dnn
rename to bluebird/bluebird.dnn
index 93f5bd8f..89658f32 100644
--- a/bluebird_3.5.1/bluebird.dnn
+++ b/bluebird/bluebird.dnn
@@ -1,12 +1,12 @@
-
+
Bluebird
Bluebird is a fully featured promise library with focus on innovative features and performance]]>
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -23,7 +23,7 @@
bluebird
bluebird.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/bluebird@3.5.1/js/browser/bluebird.min.js
+ https://cdn.jsdelivr.net/npm/bluebird@<~=version~>/js/browser/bluebird.min.js
P
@@ -37,7 +37,7 @@
- Resources\Libraries\bluebird\03_05_01
+ Resources\Libraries\bluebird\<~=versionFolder~>
Resources.zip
diff --git a/bluebird_3.5.1/dnn-library.json b/bluebird/dnn-library.json
similarity index 100%
rename from bluebird_3.5.1/dnn-library.json
rename to bluebird/dnn-library.json
diff --git a/bluebird_3.5.1/LICENSE.htm b/bluebird_3.5.1/LICENSE.htm
deleted file mode 100644
index 3c1896d6..00000000
--- a/bluebird_3.5.1/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Bluebird is licensed under the MIT License .
diff --git a/bootstrap-accessibility-plugin_1.0.5/CHANGES.htm b/bootstrap-accessibility-plugin/CHANGES.htm
similarity index 100%
rename from bootstrap-accessibility-plugin_1.0.5/CHANGES.htm
rename to bootstrap-accessibility-plugin/CHANGES.htm
diff --git a/bootstrap-accessibility-plugin/LICENSE.htm b/bootstrap-accessibility-plugin/LICENSE.htm
new file mode 100644
index 00000000..97f38aab
--- /dev/null
+++ b/bootstrap-accessibility-plugin/LICENSE.htm
@@ -0,0 +1 @@
+Copyright 2014, eBay Software Foundation under the BSD license .
diff --git a/bootstrap-accessibility-plugin_1.0.5/bootstrap.accessibility.dnn b/bootstrap-accessibility-plugin/bootstrap.accessibility.dnn
similarity index 85%
rename from bootstrap-accessibility-plugin_1.0.5/bootstrap.accessibility.dnn
rename to bootstrap-accessibility-plugin/bootstrap.accessibility.dnn
index a8c296f3..d8c66131 100644
--- a/bootstrap-accessibility-plugin_1.0.5/bootstrap.accessibility.dnn
+++ b/bootstrap-accessibility-plugin/bootstrap.accessibility.dnn
@@ -1,6 +1,6 @@
-
+
Bootstrap Accessibility Plugin
http://paypal.github.io/bootstrap-accessibility-plugin/demo.html]]>
@@ -8,7 +8,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,22 +21,22 @@
bootstrap.accessibility
- bootstrap-accessibility.js
+ bootstrap-accessibility.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/bootstrap-accessibility-plugin@1.0.5/plugins/js/bootstrap-accessibility.min.js
+ https://cdn.jsdelivr.net/npm/bootstrap-accessibility-plugin@<~=version~>/plugins/js/bootstrap-accessibility.min.js
bootstrap.accessibility
- bootstrap-accessibility.js
+ bootstrap-accessibility.min.js
- Resources\Libraries\bootstrap.accessibility\01_00_05
+ Resources\Libraries\bootstrap.accessibility\<~=versionFolder~>
Resources.zip
diff --git a/bootstrap-accessibility-plugin_1.0.5/dnn-library.json b/bootstrap-accessibility-plugin/dnn-library.json
similarity index 100%
rename from bootstrap-accessibility-plugin_1.0.5/dnn-library.json
rename to bootstrap-accessibility-plugin/dnn-library.json
diff --git a/bootstrap-accessibility-plugin_1.0.5/LICENSE.htm b/bootstrap-accessibility-plugin_1.0.5/LICENSE.htm
deleted file mode 100644
index 6100fc7a..00000000
--- a/bootstrap-accessibility-plugin_1.0.5/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Copyright 2014, eBay Software Foundation under the BSD license .
\ No newline at end of file
diff --git a/bootstrap-datepicker_1.7.1/CHANGES.htm b/bootstrap-datepicker/CHANGES.htm
similarity index 100%
rename from bootstrap-datepicker_1.7.1/CHANGES.htm
rename to bootstrap-datepicker/CHANGES.htm
diff --git a/bootstrap-datepicker/LICENSE.htm b/bootstrap-datepicker/LICENSE.htm
new file mode 100644
index 00000000..b8c44fa4
--- /dev/null
+++ b/bootstrap-datepicker/LICENSE.htm
@@ -0,0 +1 @@
+bootstrap-datepicker is licensed under the Apache License, Version 2.0 .
diff --git a/bootstrap-datepicker_1.7.1/bootstrap-datepicker.dnn b/bootstrap-datepicker/bootstrap-datepicker.dnn
similarity index 76%
rename from bootstrap-datepicker_1.7.1/bootstrap-datepicker.dnn
rename to bootstrap-datepicker/bootstrap-datepicker.dnn
index fbb276a1..c8b708b8 100644
--- a/bootstrap-datepicker_1.7.1/bootstrap-datepicker.dnn
+++ b/bootstrap-datepicker/bootstrap-datepicker.dnn
@@ -1,12 +1,12 @@
-
+
bootstrap-datepicker
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
bootstrap-datepicker
bootstrap-datepicker.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.7.1/dist/js/bootstrap-datepicker.min.js
+ https://cdn.jsdelivr.net/npm/bootstrap-datepicker@<~=version~>/dist/js/bootstrap-datepicker.min.js
jQuery.fn.datepicker.noConflict
@@ -36,15 +36,7 @@
- Resources\Libraries\bootstrap-datepicker\01_07_01
-
- Resources.zip
-
-
-
-
-
- Resources\Libraries\bootsrap-datepicker\01_07_01
+ Resources\Libraries\bootstrap-datepicker\<~=versionFolder~>
Resources.zip
diff --git a/bootstrap-datepicker_1.7.1/dnn-library.json b/bootstrap-datepicker/dnn-library.json
similarity index 100%
rename from bootstrap-datepicker_1.7.1/dnn-library.json
rename to bootstrap-datepicker/dnn-library.json
diff --git a/bootstrap-datepicker_1.7.1/LICENSE.htm b/bootstrap-datepicker_1.7.1/LICENSE.htm
deleted file mode 100644
index a6284a45..00000000
--- a/bootstrap-datepicker_1.7.1/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-bootstrap-datepicker is licensed under the Apache License, Version 2.0 .
diff --git a/bootstrap_3.3.7/CHANGES.htm b/bootstrap/CHANGES.htm
similarity index 100%
rename from bootstrap_3.3.7/CHANGES.htm
rename to bootstrap/CHANGES.htm
diff --git a/bootstrap/LICENSE.htm b/bootstrap/LICENSE.htm
new file mode 100644
index 00000000..f6d21b09
--- /dev/null
+++ b/bootstrap/LICENSE.htm
@@ -0,0 +1 @@
+Code and documentation copyright 2011-2016 Twitter, Inc. Code released under the MIT license . Docs released under Creative Commons .
diff --git a/bootstrap_3.3.7/bootstrap.dnn b/bootstrap/bootstrap.dnn
similarity index 82%
rename from bootstrap_3.3.7/bootstrap.dnn
rename to bootstrap/bootstrap.dnn
index a9292ca3..9a276fae 100644
--- a/bootstrap_3.3.7/bootstrap.dnn
+++ b/bootstrap/bootstrap.dnn
@@ -1,13 +1,13 @@
-
+
Bootstrap JavaScript
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by Mark Otto and Jacob Thornton .
To get started, check out http://getbootstrap.com !
]]>
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -15,6 +15,7 @@
true
jQuery
+ popper.js
@@ -22,7 +23,7 @@
bootstrap
bootstrap.min.js
BodyBottom
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js
+ https://cdn.jsdelivr.net/npm/bootstrap@<~=version~>/dist/js/bootstrap.min.js
jQuery.fn.scrollspy
@@ -36,7 +37,7 @@
- Resources\Libraries\bootstrap\03_03_07
+ Resources\Libraries\bootstrap\<~=versionFolder~>
Resources.zip
diff --git a/bootstrap_3.3.7/dnn-library.json b/bootstrap/dnn-library.json
similarity index 100%
rename from bootstrap_3.3.7/dnn-library.json
rename to bootstrap/dnn-library.json
diff --git a/bootstrap_3.3.7/LICENSE.htm b/bootstrap_3.3.7/LICENSE.htm
deleted file mode 100644
index 43f89695..00000000
--- a/bootstrap_3.3.7/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Code and documentation copyright 2011-2016 Twitter, Inc. Code released under the MIT license . Docs released under Creative Commons .
diff --git a/chart.js/CHANGES.htm b/chart.js/CHANGES.htm
new file mode 100644
index 00000000..faa38580
--- /dev/null
+++ b/chart.js/CHANGES.htm
@@ -0,0 +1 @@
+See the Chart.js changelog
diff --git a/chart.js/LICENSE.htm b/chart.js/LICENSE.htm
new file mode 100644
index 00000000..c15f5e18
--- /dev/null
+++ b/chart.js/LICENSE.htm
@@ -0,0 +1 @@
+Chart.js is licened under the MIT License .
diff --git a/chart.js_2.7.1/chartjs.dnn b/chart.js/chartjs.dnn
similarity index 70%
rename from chart.js_2.7.1/chartjs.dnn
rename to chart.js/chartjs.dnn
index 60dd6f7e..b5d4fa7b 100644
--- a/chart.js_2.7.1/chartjs.dnn
+++ b/chart.js/chartjs.dnn
@@ -1,12 +1,12 @@
-
+
Chart.js
-
+
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,9 +21,9 @@
chartjs
- Chart.min.js
+ Chart.umd.js
BodyBottom
- https://cdn.jsdelivr.net/npm/chart.js@2.7.1/src/chart.min.js
+ https://cdn.jsdelivr.net/npm/chart.js@<~=version~>/dist/chart.umd.js
Chart
@@ -31,13 +31,13 @@
chartjs
- Chart.min.js
+ Chart.umd.js
- Resources\Libraries\chartjs\02_07_01
+ Resources\Libraries\chartjs\<~=versionFolder~>
Resources.zip
diff --git a/chart.js/dnn-library.json b/chart.js/dnn-library.json
new file mode 100644
index 00000000..84ffed13
--- /dev/null
+++ b/chart.js/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/chart.js/dist/chart.umd.js"],
+ "resources": ["node_modules/chart.js/dist/**"]
+}
diff --git a/chart.js_2.7.1/CHANGES.htm b/chart.js_2.7.1/CHANGES.htm
deleted file mode 100644
index cccc92eb..00000000
--- a/chart.js_2.7.1/CHANGES.htm
+++ /dev/null
@@ -1 +0,0 @@
-See the Chart.js changelog
\ No newline at end of file
diff --git a/chart.js_2.7.1/Chart.min.js b/chart.js_2.7.1/Chart.min.js
deleted file mode 100644
index 2130e2ab..00000000
--- a/chart.js_2.7.1/Chart.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*!
- * Chart.js
- * http://chartjs.org/
- * Version: 2.7.1
- *
- * Copyright 2017 Nick Downie
- * Released under the MIT license
- * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
- */
-!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function t(e,n,i){function a(r,l){if(!n[r]){if(!e[r]){var s="function"==typeof require&&require;if(!l&&s)return s(r,!0);if(o)return o(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){var n=e[r][1][t];return a(n||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;rn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,o=2*a-1,r=n.alpha()-i.alpha(),l=((o*r==-1?o:(o+r)/(1+o*r))+1)/2,s=1-l;return this.rgb(l*n.red()+s*i.red(),l*n.green()+s*i.green(),l*n.blue()+s*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function d(t){var e,n,i,a=u(t),o=a[0],r=a[1],l=a[2];return o/=95.047,r/=100,l/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*r-16,n=500*(o-r),i=200*(r-l),[e,n,i]}function c(t){var e,n,i,a,o,r=t[0]/360,l=t[1]/100,s=t[2]/100;if(0==l)return o=255*s,[o,o,o];e=2*s-(n=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(i=r+1/3*-(u-1))<0&&i++,i>1&&i--,o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*o;return a}function h(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,o=e-Math.floor(e),r=255*i*(1-n),l=255*i*(1-n*o),s=255*i*(1-n*(1-o)),i=255*i;switch(a){case 0:return[i,s,r];case 1:return[l,i,r];case 2:return[r,i,s];case 3:return[r,l,i];case 4:return[s,r,i];case 5:return[i,r,l]}}function f(t){var e,n,i,a,o=t[0]/360,l=t[1]/100,s=t[2]/100,u=l+s;switch(u>1&&(l/=u,s/=u),e=Math.floor(6*o),n=1-s,i=6*o-e,0!=(1&e)&&(i=1-i),a=l+i*(n-l),e){default:case 6:case 0:r=n,g=a,b=l;break;case 1:r=a,g=n,b=l;break;case 2:r=l,g=n,b=a;break;case 3:r=l,g=a,b=n;break;case 4:r=a,g=l,b=n;break;case 5:r=n,g=l,b=a}return[255*r,255*g,255*b]}function p(t){var e,n,i,a=t[0]/100,o=t[1]/100,r=t[2]/100,l=t[3]/100;return e=1-Math.min(1,a*(1-l)+l),n=1-Math.min(1,o*(1-l)+l),i=1-Math.min(1,r*(1-l)+l),[255*e,255*n,255*i]}function v(t){var e,n,i,a=t[0]/100,o=t[1]/100,r=t[2]/100;return e=3.2406*a+-1.5372*o+-.4986*r,n=-.9689*a+1.8758*o+.0415*r,i=.0557*a+-.204*o+1.057*r,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function m(t){var e,n,i,a=t[0],o=t[1],r=t[2];return a/=95.047,o/=100,r/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,e=116*o-16,n=500*(a-o),i=200*(o-r),[e,n,i]}function x(t){var e,n,i,a,o=t[0],r=t[1],l=t[2];return o<=8?a=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),a=Math.pow(n/100,1/3)),e=e/95.047<=.008856?e=95.047*(r/500+a-16/116)/7.787:95.047*Math.pow(r/500+a,3),i=i/108.883<=.008859?i=108.883*(a-l/200-16/116)/7.787:108.883*Math.pow(a-l/200,3),[e,n,i]}function y(t){var e,n,i,a=t[0],o=t[1],r=t[2];return e=Math.atan2(r,o),(n=360*e/2/Math.PI)<0&&(n+=360),i=Math.sqrt(o*o+r*r),[a,i,n]}function k(t){return v(x(t))}function w(t){var e,n,i,a=t[0],o=t[1];return i=t[2]/360*2*Math.PI,e=o*Math.cos(i),n=o*Math.sin(i),[a,e,n]}function M(t){return S[t]}e.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:l,rgb2keyword:s,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return y(d(t))},hsl2rgb:c,hsl2hsv:function(t){var e,n,i=t[0],a=t[1]/100,o=t[2]/100;return 0===o?[0,0,0]:(o*=2,a*=o<=1?o:2-o,n=(o+a)/2,e=2*a/(o+a),[i,100*e,100*n])},hsl2hwb:function(t){return o(c(t))},hsl2cmyk:function(t){return l(c(t))},hsl2keyword:function(t){return s(c(t))},hsv2rgb:h,hsv2hsl:function(t){var e,n,i=t[0],a=t[1]/100,o=t[2]/100;return n=(2-a)*o,e=a*o,e/=n<=1?n:2-n,e=e||0,n/=2,[i,100*e,100*n]},hsv2hwb:function(t){return o(h(t))},hsv2cmyk:function(t){return l(h(t))},hsv2keyword:function(t){return s(h(t))},hwb2rgb:f,hwb2hsl:function(t){return i(f(t))},hwb2hsv:function(t){return a(f(t))},hwb2cmyk:function(t){return l(f(t))},hwb2keyword:function(t){return s(f(t))},cmyk2rgb:p,cmyk2hsl:function(t){return i(p(t))},cmyk2hsv:function(t){return a(p(t))},cmyk2hwb:function(t){return o(p(t))},cmyk2keyword:function(t){return s(p(t))},keyword2rgb:M,keyword2hsl:function(t){return i(M(t))},keyword2hsv:function(t){return a(M(t))},keyword2hwb:function(t){return o(M(t))},keyword2cmyk:function(t){return l(M(t))},keyword2lab:function(t){return d(M(t))},keyword2xyz:function(t){return u(M(t))},xyz2rgb:v,xyz2lab:m,xyz2lch:function(t){return y(m(t))},lab2xyz:x,lab2rgb:k,lab2lch:y,lch2lab:w,lch2xyz:function(t){return x(w(t))},lch2rgb:function(t){return k(w(t))}};var S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},C={};for(var _ in S)C[JSON.stringify(S[_])]=_},{}],5:[function(t,e,n){var i=t(4),a=function(){return new u};for(var o in i){a[o+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(o);var r=/(\w+)2(\w+)/.exec(o),l=r[1],s=r[2];(a[l]=a[l]||{})[s]=a[o]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var a=0;a0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index=0&&a>0)&&(v+=a));return o=c.getPixelForValue(v),r=c.getPixelForValue(v+f),l=(r-o)/2,{size:l,base:o,head:r,center:r+l/2}},calculateBarIndexPixels:function(t,e,n){var i,a,r,l,s,u,d=this,c=n.scale.options,h=d.getStackIndex(t),f=n.pixels,g=f[e],p=f.length,v=n.start,m=n.end;return 1===p?(i=g>v?g-v:m-g,a=g0&&(i=(g-f[e-1])/2,e===p-1&&(a=i)),e');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var o=0;o '),a[o]&&e.push(a[o]),e.push("");return e.push(""),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),r=e.datasets[0],l=a.data[i],s=l&&l.custom||{},u=o.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(r.backgroundColor,i,d.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(r.borderColor,i,d.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(r.borderWidth,i,d.borderWidth),hidden:isNaN(r.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,o=e.index,r=this.chart;for(n=0,i=(r.data.datasets||[]).length;n=Math.PI?-1:g<-Math.PI?1:0))+f,v={x:Math.cos(g),y:Math.sin(g)},m={x:Math.cos(p),y:Math.sin(p)},b=g<=0&&p>=0||g<=2*Math.PI&&2*Math.PI<=p,x=g<=.5*Math.PI&&.5*Math.PI<=p||g<=2.5*Math.PI&&2.5*Math.PI<=p,y=g<=-Math.PI&&-Math.PI<=p||g<=Math.PI&&Math.PI<=p,k=g<=.5*-Math.PI&&.5*-Math.PI<=p||g<=1.5*Math.PI&&1.5*Math.PI<=p,w=h/100,M={x:y?-1:Math.min(v.x*(v.x<0?1:w),m.x*(m.x<0?1:w)),y:k?-1:Math.min(v.y*(v.y<0?1:w),m.y*(m.y<0?1:w))},S={x:b?1:Math.max(v.x*(v.x>0?1:w),m.x*(m.x>0?1:w)),y:x?1:Math.max(v.y*(v.y>0?1:w),m.y*(m.y>0?1:w))},C={width:.5*(S.x-M.x),height:.5*(S.y-M.y)};u=Math.min(l/C.width,s/C.height),d={x:-.5*(S.x+M.x),y:-.5*(S.y+M.y)}}n.borderWidth=e.getMaxBorderWidth(c.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=d.x*n.outerRadius,n.offsetY=d.y*n.outerRadius,c.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),o.each(c.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,l=a.options,s=l.animation,u=(r.left+r.right)/2,d=(r.top+r.bottom)/2,c=l.rotation,h=l.rotation,f=i.getDataset(),g=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(f.data[e])*(l.circumference/(2*Math.PI)),p=n&&s.animateScale?0:i.innerRadius,v=n&&s.animateScale?0:i.outerRadius,m=o.valueAtIndexOrDefault;o.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:g,outerRadius:v,innerRadius:p,label:m(f.label,e,a.data.labels[e])}});var b=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(b.startAngle=0===e?l.rotation:i.getMeta().data[e-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return o.each(n.data,function(n,a){t=e.data[a],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,a=this.index,o=t.length,r=0;r(i=e>i?e:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return o.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var n,i,a,r=this,l=r.getMeta(),s=l.dataset,u=l.data||[],d=r.chart.options,c=d.elements.line,h=r.getScaleForId(l.yAxisID),f=r.getDataset(),g=e(f,d);for(g&&(a=s.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),s._scale=h,s._datasetIndex=r.index,s._children=u,s._model={spanGaps:f.spanGaps?f.spanGaps:d.spanGaps,tension:a.tension?a.tension:o.valueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,steppedLine:a.steppedLine?a.steppedLine:o.valueOrDefault(f.steppedLine,c.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:o.valueOrDefault(f.cubicInterpolationMode,c.cubicInterpolationMode)},s.pivot()),n=0,i=u.length;n');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var o=0;o '),a[o]&&e.push(a[o]),e.push("");return e.push(""),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),r=e.datasets[0],l=a.data[i].custom||{},s=o.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:s(r.backgroundColor,i,u.backgroundColor),strokeStyle:l.borderColor?l.borderColor:s(r.borderColor,i,u.borderColor),lineWidth:l.borderWidth?l.borderWidth:s(r.borderWidth,i,u.borderWidth),hidden:isNaN(r.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,o=e.index,r=this.chart;for(n=0,i=(r.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:o.noop,update:function(t){var e=this,n=e.getMeta(),i=n.dataset,a=n.data,r=i.custom||{},l=e.getDataset(),s=e.chart.options.elements.line,u=e.chart.scale;void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o.extend(n.dataset,{_datasetIndex:e.index,_scale:u,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:l.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:l.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:l.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==l.fill?l.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:l.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:l.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:l.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:l.borderJoinStyle||s.borderJoinStyle}}),n.dataset.pivot(),o.each(a,function(n,i){e.updateElement(n,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),l=i.chart.scale,s=i.chart.options.elements.point,u=l.getPointPositionForValue(e,r.data[e]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),o.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{x:n?l.xCenter:u.x,y:n?l.yCenter:u.y,tension:a.tension?a.tension:o.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:o.valueAtIndexOrDefault(r.pointRadius,e,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:o.valueAtIndexOrDefault(r.pointBackgroundColor,e,s.backgroundColor),borderColor:a.borderColor?a.borderColor:o.valueAtIndexOrDefault(r.pointBorderColor,e,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:o.valueAtIndexOrDefault(r.pointBorderWidth,e,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:o.valueAtIndexOrDefault(r.pointStyle,e,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:o.valueAtIndexOrDefault(r.pointHitRadius,e,s.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();o.each(e.data,function(n,i){var a=n._model,r=o.splineCurve(o.previousItem(e.data,i,!0)._model,a,o.nextItem(e.data,i,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(r.previous.x,t.right),t.left),a.controlPointPreviousY=Math.max(Math.min(r.previous.y,t.bottom),t.top),a.controlPointNextX=Math.max(Math.min(r.next.x,t.right),t.left),a.controlPointNextY=Math.max(Math.min(r.next.y,t.bottom),t.top),n.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model;a.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,o.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(e.pointHoverBorderColor,i,o.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:o.valueAtIndexOrDefault(e.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:o.valueAtIndexOrDefault(e.pointBackgroundColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:o.valueAtIndexOrDefault(e.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:o.valueAtIndexOrDefault(e.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,o,r=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,o=r.length;a1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var i=t(25),a=t(45),o=t(28),r=t(48);e.exports=function(t){function e(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=a.configMerge(i.global,i[t.type],t.options||{}),t}function n(t){var e=t.options;e.scale?t.scale.options=e.scale:e.scales&&e.scales.xAxes.concat(e.scales.yAxes).forEach(function(e){t.scales[e.id].options=e}),t.tooltip._options=e.tooltips}function l(t){return"top"===t||"bottom"===t}var s=t.plugins;t.types={},t.instances={},t.controllers={},a.extend(t.prototype,{construct:function(n,i){var o=this;i=e(i);var l=r.acquireContext(n,i),s=l&&l.canvas,u=s&&s.height,d=s&&s.width;o.id=a.uid(),o.ctx=l,o.canvas=s,o.config=i,o.width=d,o.height=u,o.aspectRatio=u?d/u:null,o.options=i.options,o._bufferedRender=!1,o.chart=o,o.controller=o,t.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(t){o.config.data=t}}),l&&s?(o.initialize(),o.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return s.notify(t,"beforeInit"),a.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),s.notify(t,"afterInit"),t},clear:function(){return a.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(a.getMaximumWidth(i))),l=Math.max(0,Math.floor(o?r/o:a.getMaximumHeight(i)));if((e.width!==r||e.height!==l)&&(i.width=e.width=r,i.height=e.height=l,i.style.width=r+"px",i.style.height=l+"px",a.retinaScale(e,n.devicePixelRatio),!t)){var u={width:r,height:l};s.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;a.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),a.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildScales:function(){var e=this,n=e.options,i=e.scales={},o=[];n.scales&&(o=o.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),n.scale&&o.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(o,function(n){var o=n.options,r=a.valueOrDefault(o.type,n.dtype),s=t.scaleService.getScaleConstructor(r);if(s){l(o.position)!==l(n.dposition)&&(o.position=n.dposition);var u=new s({id:o.id,options:o,ctx:e.ctx,chart:e});i[u.id]=u,u.mergeTicksOptions(),n.isDefault&&(e.scale=u)}}),t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return a.each(e.data.datasets,function(a,o){var r=e.getDatasetMeta(o),l=a.type||e.config.type;if(r.type&&r.type!==l&&(e.destroyDatasetMeta(o),r=e.getDatasetMeta(o)),r.type=l,n.push(r.type),r.controller)r.controller.updateIndex(o);else{var s=t.controllers[r.type];if(void 0===s)throw new Error('"'+r.type+'" is not a chart type.');r.controller=new s(e,o),i.push(r.controller)}},e),i},resetElements:function(){var t=this;a.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n(e),!1!==s.notify(e,"beforeUpdate")){e.tooltip._data=e.data;var i=e.buildOrUpdateControllers();a.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.buildOrUpdateElements()},e),e.updateLayout(),a.each(i,function(t){t.reset()}),e.updateDatasets(),e.tooltip.initialize(),e.lastActive=[],s.notify(e,"afterUpdate"),e._bufferedRender?e._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:e.render(t)}},updateLayout:function(){var e=this;!1!==s.notify(e,"beforeLayout")&&(t.layoutService.update(this,this.width,this.height),s.notify(e,"afterScaleUpdate"),s.notify(e,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==s.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);s.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i=n.getDatasetMeta(t),a={meta:i,index:t,easingValue:e};!1!==s.notify(n,"beforeDatasetDraw",[a])&&(i.controller.draw(e),s.notify(n,"afterDatasetDraw",[a]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==s.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),s.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return o.modes.single(this,t)},getElementsAtEvent:function(t){return o.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return o.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=o.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return o.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e0||(a.forEach(function(e){delete t[e]}),delete t._chartjs)}}var a=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null===e.xAxisID&&(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null===e.yAxisID&&(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),a=n.getDataset().data||[],o=i.data;for(t=0,e=a.length;ti&&t.insertElements(i,a-i)},insertElements:function(t,e){for(var n=0;n=n[e].length&&n[e].push({}),!n[e][r].type||s.type&&s.type!==n[e][r].type?o.merge(n[e][r],[t.scaleService.getScaleDefaults(l),s]):o.merge(n[e][r],s)}else o._merger(e,n,i,a)}})},o.where=function(t,e){if(o.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return o.each(t,function(t){e(t)&&n.push(t)}),n},o.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i=0;i--){var a=t[i];if(e(a))return a}},o.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},o.almostEquals=function(t,e,n){return Math.abs(t-e)t},o.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},o.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},o.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},o.toRadians=function(t){return t*(Math.PI/180)},o.toDegrees=function(t){return t*(180/Math.PI)},o.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:a}},o.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o.aliasPixel=function(t){return t%2==0?0:.5},o.splineCurve=function(t,e,n,i){var a=t.skip?e:t,o=e,r=n.skip?e:n,l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),s=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),u=l/(l+s),d=s/(l+s),c=i*(u=isNaN(u)?0:u),h=i*(d=isNaN(d)?0:d);return{previous:{x:o.x-c*(r.x-a.x),y:o.y-c*(r.y-a.y)},next:{x:o.x+h*(r.x-a.x),y:o.y+h*(r.y-a.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(t){var e,n,i,a,r=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),l=r.length;for(e=0;e0?r[e-1]:null,(a=e0?r[e-1]:null,a=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},o.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},o.niceNum=function(t,e){var n=Math.floor(o.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},o.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.currentTarget||t.srcElement,l=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var u=parseFloat(o.getStyle(r,"padding-left")),d=parseFloat(o.getStyle(r,"padding-top")),c=parseFloat(o.getStyle(r,"padding-right")),h=parseFloat(o.getStyle(r,"padding-bottom")),f=l.right-l.left-u-c,g=l.bottom-l.top-d-h;return n=Math.round((n-l.left-u)/f*r.width/e.currentDevicePixelRatio),i=Math.round((i-l.top-d)/g*r.height/e.currentDevicePixelRatio),{x:n,y:i}},o.getConstraintWidth=function(t){return r(t,"max-width","clientWidth")},o.getConstraintHeight=function(t){return r(t,"max-height","clientHeight")},o.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(o.getStyle(e,"padding-left"),10),i=parseInt(o.getStyle(e,"padding-right"),10),a=e.clientWidth-n-i,r=o.getConstraintWidth(t);return isNaN(r)?a:Math.min(a,r)},o.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(o.getStyle(e,"padding-top"),10),i=parseInt(o.getStyle(e,"padding-bottom"),10),a=e.clientHeight-n-i,r=o.getConstraintHeight(t);return isNaN(r)?a:Math.min(a,r)},o.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},o.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,o=t.width;i.height=a*n,i.width=o*n,t.ctx.scale(n,n),i.style.height=a+"px",i.style.width=o+"px"}},o.fontString=function(t,e,n){return e+" "+t+"px "+n},o.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var l=0;o.each(n,function(e){void 0!==e&&null!==e&&!0!==o.isArray(e)?l=o.measureText(t,a,r,l,e):o.isArray(e)&&o.each(e,function(e){void 0===e||null===e||o.isArray(e)||(l=o.measureText(t,a,r,l,e))})});var s=r.length/2;if(s>n.length){for(var u=0;ui&&(i=o),i},o.numberOfLabelLines=function(t){var e=1;return o.each(t,function(t){o.isArray(t)&&t.length>e&&(e=t.length)}),e},o.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},o.getHoverColor=function(t){return t instanceof CanvasPattern?t:o.color(t).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(t,e,n){"use strict";function i(t,e){return t.native?{x:t.x,y:t.y}:u.getRelativePosition(t,e)}function a(t,e){var n,i,a,o,r;for(i=0,o=t.data.datasets.length;i0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return s(t,e,{intersect:!1})},point:function(t,e){return o(t,i(e,t))},nearest:function(t,e,n){var a=i(e,t);n.axis=n.axis||"xy";var o=l(n.axis),s=r(t,a,n.intersect,o);return s.length>1&&s.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),s.slice(0,1)},x:function(t,e,n){var o=i(e,t),r=[],l=!1;return a(t,function(t){t.inXRange(o.x)&&r.push(t),t.inRange(o.x,o.y)&&(l=!0)}),n.intersect&&!l&&(r=[]),r},y:function(t,e,n){var o=i(e,t),r=[],l=!1;return a(t,function(t){t.inYRange(o.y)&&r.push(t),t.inRange(o.x,o.y)&&(l=!0)}),n.intersect&&!l&&(r=[]),r}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t,t}},{25:25}],30:[function(t,e,n){"use strict";var i=t(45);e.exports=function(t){function e(t,e){return i.where(t,function(t){return t.position===e})}function n(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i._tmpIndex_-a._tmpIndex_:i.weight-a.weight}),t.forEach(function(t){delete t._tmpIndex_})}t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],o=a.length,r=0;rh&&st.maxHeight){s--;break}s++,c=u*d}t.labelRotation=s},afterCalculateTickRotation:function(){l.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){l.callback(this.options.beforeFit,[this])},fit:function(){var t=this,a=t.minSize={width:0,height:0},o=i(t._ticks),r=t.options,u=r.ticks,d=r.scaleLabel,c=r.gridLines,h=r.display,f=t.isHorizontal(),g=n(u),p=r.gridLines.tickMarkLength;if(a.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&c.drawTicks?p:0,a.height=f?h&&c.drawTicks?p:0:t.maxHeight,d.display&&h){var v=s(d)+l.options.toPadding(d.padding).height;f?a.height+=v:a.width+=v}if(u.display&&h){var m=l.longestText(t.ctx,g.font,o,t.longestTextCache),b=l.numberOfLabelLines(o),x=.5*g.size,y=t.options.ticks.padding;if(f){t.longestLabelWidth=m;var k=l.toRadians(t.labelRotation),w=Math.cos(k),M=Math.sin(k)*m+g.size*b+x*(b-1)+x;a.height=Math.min(t.maxHeight,a.height+M+y),t.ctx.font=g.font;var S=e(t.ctx,o[0],g.font),C=e(t.ctx,o[o.length-1],g.font);0!==t.labelRotation?(t.paddingLeft="bottom"===r.position?w*S+3:w*x+3,t.paddingRight="bottom"===r.position?w*x+3:w*C+3):(t.paddingLeft=S/2+3,t.paddingRight=C/2+3)}else u.mirror?m=0:m+=y+x,a.width=Math.min(t.maxWidth,a.width+m),t.paddingTop=g.size/2,t.paddingBottom=g.size/2}t.handleMargins(),t.width=a.width,t.height=a.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){l.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(l.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:l.noop,getPixelForValue:l.noop,getValueForPixel:l.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);var o=e.left+Math.round(a);return o+=e.isFullWidth()?e.margins.left:0}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,a,o=this,r=o.isHorizontal(),s=o.options.ticks.minor,u=t.length,d=l.toRadians(o.labelRotation),c=Math.cos(d),h=o.longestLabelWidth*c,f=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),r&&(e=!1,(h+s.autoSkipPadding)*u>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*u/(o.width-(o.paddingLeft+o.paddingRight)))),a&&u>a&&(e=Math.max(e,Math.floor(u/a)))),n=0;n1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,f.push(i);return f},draw:function(t){var e=this,i=e.options;if(i.display){var r=e.ctx,u=o.global,d=i.ticks.minor,c=i.ticks.major||d,h=i.gridLines,f=i.scaleLabel,g=0!==e.labelRotation,p=e.isHorizontal(),v=d.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),m=l.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),x=l.valueOrDefault(c.fontColor,u.defaultFontColor),y=n(c),k=h.drawTicks?h.tickMarkLength:0,w=l.valueOrDefault(f.fontColor,u.defaultFontColor),M=n(f),S=l.options.toPadding(f.padding),C=l.toRadians(e.labelRotation),_=[],D="right"===i.position?e.left:e.right-k,I="right"===i.position?e.left+k:e.right,P="bottom"===i.position?e.top:e.bottom-k,A="bottom"===i.position?e.top+k:e.bottom;if(l.each(v,function(n,o){if(!l.isNullOrUndef(n.label)){var r,s,c,f,m=n.label;o===e.zeroLineIndex&&i.offset===h.offsetGridLines?(r=h.zeroLineWidth,s=h.zeroLineColor,c=h.zeroLineBorderDash,f=h.zeroLineBorderDashOffset):(r=l.valueAtIndexOrDefault(h.lineWidth,o),s=l.valueAtIndexOrDefault(h.color,o),c=l.valueOrDefault(h.borderDash,u.borderDash),f=l.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var b,x,y,w,M,S,T,F,O,R,L="middle",z="middle",B=d.padding;if(p){var W=k+B;"bottom"===i.position?(z=g?"middle":"top",L=g?"right":"center",R=e.top+W):(z=g?"middle":"bottom",L=g?"left":"center",R=e.bottom-W);var N=a(e,o,h.offsetGridLines&&v.length>1);N1);H0)n=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);n=i.niceNum(o/(t.maxTicks-1),!0)}var r=Math.floor(e.min/n)*n,l=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(r=t.min,l=t.max);var s=(l-r)/n;s=i.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s),a.push(void 0!==t.min?t.min:r);for(var u=1;u3?n[2]-n[1]:n[1]-n[0];Math.abs(a)>1&&t!==Math.floor(t)&&(a=t-Math.floor(t));var o=i.log10(Math.abs(a)),r="";if(0!==t){var l=-1*Math.floor(o);l=Math.max(Math.min(l,20),0),r=t.toFixed(l)}else r="0";return r},logarithmic:function(t,e,n){var a=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===a||2===a||5===a||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:a>0&&o.indexi.height-e.height&&(r="bottom");var l,s,u,d,c,h=(a.left+a.right)/2,f=(a.top+a.bottom)/2;"center"===r?(l=function(t){return t<=h},s=function(t){return t>h}):(l=function(t){return t<=e.width/2},s=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width>i.width},d=function(t){return t-e.width<0},c=function(t){return t<=f?"top":"bottom"},l(n.x)?(o="left",u(n.x)&&(o="center",r=c(n.y))):s(n.x)&&(o="right",d(n.x)&&(o="center",r=c(n.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:o,yAlign:g.yAlign?g.yAlign:r}}function d(t,e,n){var i=t.x,a=t.y,o=t.caretSize,r=t.caretPadding,l=t.cornerRadius,s=n.xAlign,u=n.yAlign,d=o+r,c=l+r;return"right"===s?i-=e.width:"center"===s&&(i-=e.width/2),"top"===u?a+=d:a-="bottom"===u?e.height+d:e.height/2,"center"===u?"left"===s?i+=d:"right"===s&&(i-=d):"left"===s?i-=c:"right"===s&&(i+=c),{x:i,y:a}}t.Tooltip=a.extend({initialize:function(){this._model=l(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,i=e.beforeTitle.apply(t,arguments),a=e.title.apply(t,arguments),o=e.afterTitle.apply(t,arguments),r=[];return r=n(r,i),r=n(r,a),r=n(r,o)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return o.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=this,a=i._options.callbacks,r=[];return o.each(t,function(t){var o={before:[],lines:[],after:[]};n(o.before,a.beforeLabel.call(i,t,e)),n(o.lines,a.label.call(i,t,e)),n(o.after,a.afterLabel.call(i,t,e)),r.push(o)}),r},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return o.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this,e=t._options.callbacks,i=e.beforeFooter.apply(t,arguments),a=e.footer.apply(t,arguments),o=e.afterFooter.apply(t,arguments),r=[];return r=n(r,i),r=n(r,a),r=n(r,o)},update:function(e){var n,i,a=this,c=a._options,h=a._model,f=a._model=l(c),g=a._active,p=a._data,v={xAlign:h.xAlign,yAlign:h.yAlign},m={x:h.x,y:h.y},b={width:h.width,height:h.height},x={x:h.caretX,y:h.caretY};if(g.length){f.opacity=1;var y=[],k=[];x=t.Tooltip.positioners[c.position].call(a,g,a._eventPosition);var w=[];for(n=0,i=g.length;n0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(this.drawBackground(i,e,t,n,a),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,a),this.drawBody(i,e,t,a),this.drawFooter(i,e,t,a))}},handleEvent:function(t){var e=this,n=e._options,i=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),!(i=!o.arrayEquals(e._active,e._lastActive)))return!1;if(e._lastActive=e._active,n.enabled||n.custom){e._eventPosition={x:t.x,y:t.y};var a=e._model;e.update(!0),e.pivot(),i|=a.x!==e._model.x||a.y!==e._model.y}return i}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,o=0;for(e=0,n=t.length;es;)a-=2*Math.PI;for(;a=l&&a<=s,d=r>=n.innerRadius&&r<=n.outerRadius;return u&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45),r=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:r.defaultColor,borderWidth:3,borderColor:r.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this,l=a._view,s=a._chart.ctx,u=l.spanGaps,d=a._children.slice(),c=r.elements.line,h=-1;for(a._loop&&d.length&&d.push(d[0]),s.save(),s.lineCap=l.borderCapStyle||c.borderCapStyle,s.setLineDash&&s.setLineDash(l.borderDash||c.borderDash),s.lineDashOffset=l.borderDashOffset||c.borderDashOffset,s.lineJoin=l.borderJoinStyle||c.borderJoinStyle,s.lineWidth=l.borderWidth||c.borderWidth,s.strokeStyle=l.borderColor||r.defaultColor,s.beginPath(),h=-1,t=0;te?1:-1,r=1,l=u.borderSkipped||"left"):(e=u.x-u.width/2,n=u.x+u.width/2,i=u.y,o=1,r=(a=u.base)>i?1:-1,l=u.borderSkipped||"bottom"),d){var c=Math.min(Math.abs(e-n),Math.abs(i-a)),h=(d=d>c?c:d)/2,f=e+("left"!==l?h*o:0),g=n+("right"!==l?-h*o:0),p=i+("top"!==l?h*r:0),v=a+("bottom"!==l?-h*r:0);f!==g&&(i=p,a=v),p!==v&&(e=f,n=g)}s.beginPath(),s.fillStyle=u.backgroundColor,s.strokeStyle=u.borderColor,s.lineWidth=d;var m=[[e,a],[e,i],[n,i],[n,a]],b=["bottom","left","top","right"].indexOf(l,0);-1===b&&(b=0);var x=t(0);s.moveTo(x[0],x[1]);for(var y=1;y<4;y++)x=t(y),s.lineTo(x[0],x[1]);s.fill(),d&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=a(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){var n=this;if(!n._view)return!1;var o=a(n);return i(n)?t>=o.left&&t<=o.right:e>=o.top&&e<=o.bottom},inXRange:function(t){var e=a(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=a(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return i(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";var i=t(42),n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,o){if(o){var r=Math.min(o,i/2),l=Math.min(o,a/2);t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+l),t.lineTo(e+i,n+a-l),t.quadraticCurveTo(e+i,n+a,e+i-r,n+a),t.lineTo(e+r,n+a),t.quadraticCurveTo(e,n+a,e,n+a-l),t.lineTo(e,n+l),t.quadraticCurveTo(e,n,e+r,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var o,r,l,s,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(r=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-r/2,a+u/3),t.lineTo(i+r/2,a+u/3),t.lineTo(i,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-d,a-d,2*d,2*d),t.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var c=n/Math.SQRT2,h=i-c,f=a-c,g=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,f,g,g,n/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-d,a),t.lineTo(i,a+d),t.lineTo(i+d,a),t.lineTo(i,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),l=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-l,a-s),t.lineTo(i+l,a+s),t.moveTo(i-l,a+s),t.lineTo(i+l,a-s),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),l=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-l,a-s),t.lineTo(i+l,a+s),t.moveTo(i-l,a+s),t.lineTo(i+l,a-s),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return i.valueOrDefault(i.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,a){var o,r,l;if(i.isArray(t))if(r=t.length,a)for(o=r-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};e.exports={effects:a},i.easingEffects=a},{42:42}],44:[function(t,e,n){"use strict";var i=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,a,o;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,a=+t.bottom||0,o=+t.left||0):e=n=a=o=+t||0,{top:e,right:n,bottom:a,left:o,height:e+a,width:o+n}},resolve:function(t,e,n){var a,o,r;for(a=0,o=t.length;a
';var a=e.childNodes[0],r=e.childNodes[1];e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var l=function(){e._reset(),t()};return o(a,"scroll",l.bind(a,"expand")),o(r,"scroll",l.bind(r,"shrink")),e}function c(t,e){var n=t[m]||(t[m]={}),i=n.renderProxy=function(t){t.animationName===y&&e()};v.each(k,function(e){o(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(x)}function h(t){var e=t[m]||{},n=e.renderProxy;n&&(v.each(k,function(e){r(t,e,n)}),delete e.renderProxy),t.classList.remove(x)}function f(t,e,n){var i=t[m]||(t[m]={}),a=i.resizer=d(u(function(){if(i.resizer)return e(l("resize",n))}));c(t,function(){if(i.resizer){var e=t.parentNode;e&&e!==a.parentNode&&e.insertBefore(a,e.firstChild),a._reset()}})}function g(t){var e=t[m]||{},n=e.resizer;delete e.resizer,h(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function p(t,e){var n=t._style||document.createElement("style");t._style||(t._style=n,e="/* Chart.js */\n"+e,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}var v=t(45),m="$chartjs",b="chartjs-",x=b+"render-monitor",y=b+"render-animation",k=["animationstart","webkitAnimationStart"],w={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},M=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}";p(this,"@-webkit-keyframes "+y+"{"+t+"}@keyframes "+y+"{"+t+"}."+x+"{-webkit-animation:"+y+" 0.001s;animation:"+y+" 0.001s;}")},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(a(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[m]){var n=e[m].initial;["height","width"].forEach(function(t){var i=n[t];v.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),v.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[m]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=n[m]||(n[m]={});o(i,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){n(s(e,t))})}else f(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[m]||{}).proxies||{})[t.id+"_"+e];a&&r(i,e,a)}else g(i)}},v.addEvent=o,v.removeEvent=r},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),o=t(47),r=o._enabled?o:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("global",{plugins:{filler:{propagate:!0}}}),e.exports=function(){function t(t,e,n){var i,a=t._model||{},o=a.fill;if(void 0===o&&(o=!!a.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function e(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,o=null;if(isFinite(a))return null;if("start"===a?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePosition?o=i.getBasePosition():i.getBasePixel&&(o=i.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return e=i.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function n(t,e,n){var i,a=t[e].fill,o=[e];if(!n)return a;for(;!1!==a&&-1===o.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;o.push(a),a=i.fill}return!1}function r(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),d[n](t))}function l(t){return t&&!t.skip}function s(t,e,n,i,a){var r;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r0;--r)o.canvas.lineTo(t,n[r],n[r-1],!0)}}function u(t,e,n,i,a,o){var r,u,d,c,h,f,g,p=e.length,v=i.spanGaps,m=[],b=[],x=0,y=0;for(t.beginPath(),r=0,u=p+!!o;r');for(var n=0;n '),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("");return e.push(""),e.join("")}}),e.exports=function(t){function e(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function n(e,n){var i=new t.Legend({ctx:e.ctx,options:n,chart:e});r.configure(e,i,n),r.addBox(e,i),e.legend=i}var r=t.layoutService,l=o.noop;return t.Legend=a.extend({initialize:function(t){o.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:l,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:l,beforeSetDimensions:l,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:l,beforeBuildLabels:l,buildLabels:function(){var t=this,e=t.options.labels||{},n=o.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:l,beforeFit:l,fit:function(){var t=this,n=t.options,a=n.labels,r=n.display,l=t.ctx,s=i.global,u=o.valueOrDefault,d=u(a.fontSize,s.defaultFontSize),c=u(a.fontStyle,s.defaultFontStyle),h=u(a.fontFamily,s.defaultFontFamily),f=o.fontString(d,c,h),g=t.legendHitBoxes=[],p=t.minSize,v=t.isHorizontal();if(v?(p.width=t.maxWidth,p.height=r?10:0):(p.width=r?10:0,p.height=t.maxHeight),r)if(l.font=f,v){var m=t.lineWidths=[0],b=t.legendItems.length?d+a.padding:0;l.textAlign="left",l.textBaseline="top",o.each(t.legendItems,function(n,i){var o=e(a,d)+d/2+l.measureText(n.text).width;m[m.length-1]+o+a.padding>=t.width&&(b+=d+a.padding,m[m.length]=t.left),g[i]={left:0,top:0,width:o,height:d},m[m.length-1]+=o+a.padding}),p.height+=b}else{var x=a.padding,y=t.columnWidths=[],k=a.padding,w=0,M=0,S=d+x;o.each(t.legendItems,function(t,n){var i=e(a,d)+d/2+l.measureText(t.text).width;M+S>p.height&&(k+=w+a.padding,y.push(w),w=0,M=0),w=Math.max(w,i),M+=S,g[n]={left:0,top:0,width:i,height:d}}),k+=w,y.push(w),p.width+=k}t.width=p.width,t.height=p.height},afterFit:l,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,n=t.options,a=n.labels,r=i.global,l=r.elements.line,s=t.width,u=t.lineWidths;if(n.display){var d,c=t.ctx,h=o.valueOrDefault,f=h(a.fontColor,r.defaultFontColor),g=h(a.fontSize,r.defaultFontSize),p=h(a.fontStyle,r.defaultFontStyle),v=h(a.fontFamily,r.defaultFontFamily),m=o.fontString(g,p,v);c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=m;var b=e(a,g),x=t.legendHitBoxes,y=function(t,e,i){if(!(isNaN(b)||b<=0)){c.save(),c.fillStyle=h(i.fillStyle,r.defaultColor),c.lineCap=h(i.lineCap,l.borderCapStyle),c.lineDashOffset=h(i.lineDashOffset,l.borderDashOffset),c.lineJoin=h(i.lineJoin,l.borderJoinStyle),c.lineWidth=h(i.lineWidth,l.borderWidth),c.strokeStyle=h(i.strokeStyle,r.defaultColor);var a=0===h(i.lineWidth,l.borderWidth);if(c.setLineDash&&c.setLineDash(h(i.lineDash,l.borderDash)),n.labels&&n.labels.usePointStyle){var s=g*Math.SQRT2/2,u=s/Math.SQRT2,d=t+u,f=e+u;o.canvas.drawPoint(c,i.pointStyle,s,d,f)}else a||c.strokeRect(t,e,b,g),c.fillRect(t,e,b,g);c.restore()}},k=function(t,e,n,i){var a=g/2,o=b+a+t,r=e+a;c.fillText(n.text,o,r),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(o,r),c.lineTo(o+i,r),c.stroke())},w=t.isHorizontal();d=w?{x:t.left+(s-u[0])/2,y:t.top+a.padding,line:0}:{x:t.left+a.padding,y:t.top+a.padding,line:0};var M=g+a.padding;o.each(t.legendItems,function(e,n){var i=c.measureText(e.text).width,o=b+g/2+i,r=d.x,l=d.y;w?r+o>=s&&(l=d.y+=M,d.line++,r=d.x=t.left+(s-u[d.line])/2):l+M>t.bottom&&(r=d.x=r+t.columnWidths[d.line]+a.padding,l=d.y=t.top+a.padding,d.line++),y(r,l,e),x[n].left=r,x[n].top=l,k(r,l,e,i),w?d.x+=o+a.padding:d.y+=M})}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=t.x,r=t.y;if(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)for(var l=e.legendHitBoxes,s=0;s=u.left&&o<=u.left+u.width&&r>=u.top&&r<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[s]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[s]),a=!0;break}}}return a}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&n(t,e)},beforeUpdate:function(t){var e=t.options.legend,a=t.legend;e?(o.mergeIf(e,i.global.legend),a?(r.configure(t,a,e),a.options=e):n(t,e)):a&&(r.removeBox(t,a),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}}},{25:25,26:26,45:45}],51:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),e.exports=function(t){function e(e,i){var a=new t.Title({ctx:e.ctx,options:i,chart:e});n.configure(e,a,i),n.addBox(e,a),e.titleBlock=a}var n=t.layoutService,r=o.noop;return t.Title=a.extend({initialize:function(t){var e=this;o.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var t=this,e=o.valueOrDefault,n=t.options,a=n.display,r=e(n.fontSize,i.global.defaultFontSize),l=t.minSize,s=o.isArray(n.text)?n.text.length:1,u=o.options.toLineHeight(n.lineHeight,r),d=a?s*u+2*n.padding:0;t.isHorizontal()?(l.width=t.maxWidth,l.height=d):(l.width=d,l.height=t.maxHeight),t.width=l.width,t.height=l.height},afterFit:r,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=o.valueOrDefault,a=t.options,r=i.global;if(a.display){var l,s,u,d=n(a.fontSize,r.defaultFontSize),c=n(a.fontStyle,r.defaultFontStyle),h=n(a.fontFamily,r.defaultFontFamily),f=o.fontString(d,c,h),g=o.options.toLineHeight(a.lineHeight,d),p=g/2+a.padding,v=0,m=t.top,b=t.left,x=t.bottom,y=t.right;e.fillStyle=n(a.fontColor,r.defaultFontColor),e.font=f,t.isHorizontal()?(s=b+(y-b)/2,u=m+p,l=y-b):(s="left"===a.position?b+p:y-p,u=m+(x-m)/2,l=x-m,v=Math.PI*("left"===a.position?-.5:.5)),e.save(),e.translate(s,u),e.rotate(v),e.textAlign="center",e.textBaseline="middle";var k=a.text;if(o.isArray(k))for(var w=0,M=0;Me.max&&(e.max=i))})});e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this,n=e.options.ticks;if(e.isHorizontal())t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.width/50));else{var o=a.valueOrDefault(n.fontSize,i.global.defaultFontSize);t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.height/(2*o)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n=this,i=n.start,a=+n.getRightValue(t),o=n.end-i;return n.isHorizontal()?(e=n.left+n.width/o*(a-i),Math.round(e)):(e=n.bottom-n.height/o*(a-i),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=n?e.width:e.height,a=(n?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],54:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),a=i.sign(t.max);n<0&&a<0?t.max=0:n>0&&a>0&&(t.min=0)}var o=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),o!==r&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),o={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=a.generators.linear(o,t);t.handleDirectionalChanges(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{34:34,45:45}],55:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){function t(t){return s?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,a=n.ticks,o=e.chart,r=o.data.datasets,l=i.valueOrDefault,s=e.isHorizontal();e.min=null,e.max=null,e.minNotZero=null;var u=n.stacked;if(void 0===u&&i.each(r,function(e,n){if(!u){var i=o.getDatasetMeta(n);o.isDatasetVisible(n)&&t(i)&&void 0!==i.stack&&(u=!0)}}),n.stacked||u){var d={};i.each(r,function(a,r){var l=o.getDatasetMeta(r),s=[l.type,void 0===n.stacked&&void 0===l.stack?r:"",l.stack].join(".");o.isDatasetVisible(r)&&t(l)&&(void 0===d[s]&&(d[s]=[]),i.each(a.data,function(t,i){var a=d[s],o=+e.getRightValue(t);isNaN(o)||l.data[i].hidden||(a[i]=a[i]||0,n.relativePoints?a[i]=100:a[i]+=o)}))}),i.each(d,function(t){var n=i.min(t),a=i.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?a:Math.max(e.max,a)})}else i.each(r,function(n,a){var r=o.getDatasetMeta(a);o.isDatasetVisible(a)&&t(r)&&i.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||r.data[n].hidden||(null===e.min?e.min=i:ie.max&&(e.max=i),0!==i&&(null===e.minNotZero||ia?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function s(t){var i,o,s,u=n(t),d=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},h={};t.ctx.font=u.font,t._pointLabelSizes=[];var f=e(t);for(i=0;ic.r&&(c.r=v.end,h.r=g),m.startc.b&&(c.b=m.end,h.b=g)}t.setReductions(d,c,h)}function u(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}function d(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(a.isArray(e))for(var o=n.y,r=1.5*i,l=0;l270||t<90)&&(n.y-=e.h)}function f(t){var i=t.ctx,o=a.valueOrDefault,r=t.options,l=r.angleLines,s=r.pointLabels;i.lineWidth=l.lineWidth,i.strokeStyle=l.color;var u=t.getDistanceFromCenterForValue(r.ticks.reverse?t.min:t.max),f=n(t);i.textBaseline="top";for(var g=e(t)-1;g>=0;g--){if(l.display){var p=t.getPointPosition(g,u);i.beginPath(),i.moveTo(t.xCenter,t.yCenter),i.lineTo(p.x,p.y),i.stroke(),i.closePath()}if(s.display){var m=t.getPointPosition(g,u+5),b=o(s.fontColor,v.defaultFontColor);i.font=f.font,i.fillStyle=b;var x=t.getIndexAngle(g),y=a.toDegrees(x);i.textAlign=d(y),h(y,t._pointLabelSizes[g],m),c(i,t.pointLabels[g]||"",m,f.size)}}}function g(t,n,i,o){var r=t.ctx;if(r.strokeStyle=a.valueAtIndexOrDefault(n.color,o-1),r.lineWidth=a.valueAtIndexOrDefault(n.lineWidth,o-1),t.options.gridLines.circular)r.beginPath(),r.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),r.closePath(),r.stroke();else{var l=e(t);if(0===l)return;r.beginPath();var s=t.getPointPosition(0,i);r.moveTo(s.x,s.y);for(var u=1;u0&&n>0?e:0)},draw:function(){var t=this,e=t.options,n=e.gridLines,i=e.ticks,o=a.valueOrDefault;if(e.display){var r=t.ctx,l=this.getIndexAngle(0),s=o(i.fontSize,v.defaultFontSize),u=o(i.fontStyle,v.defaultFontStyle),d=o(i.fontFamily,v.defaultFontFamily),c=a.fontString(s,u,d);a.each(t.ticks,function(e,a){if(a>0||i.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]);if(n.display&&0!==a&&g(t,n,u,a),i.display){var d=o(i.fontColor,v.defaultFontColor);if(r.font=c,r.save(),r.translate(t.xCenter,t.yCenter),r.rotate(l),i.showLabelBackdrop){var h=r.measureText(e).width;r.fillStyle=i.backdropColor,r.fillRect(-h/2-i.backdropPaddingX,-u-s/2-i.backdropPaddingY,h+2*i.backdropPaddingX,s+2*i.backdropPaddingY)}r.textAlign="center",r.textBaseline="middle",r.fillStyle=d,r.fillText(e,0,-u),r.restore()}}}),(e.angleLines.display||e.pointLabels.display)&&f(t)}}});t.scaleService.registerScaleType("radialLinear",b,m)}},{25:25,34:34,45:45}],57:[function(t,e,n){"use strict";function i(t,e){return t-e}function a(t){var e,n,i,a={},o=[];for(e=0,n=t.length;ee&&l=0&&r<=l;){if(i=r+l>>1,a=t[i-1]||null,o=t[i],!a)return{lo:null,hi:o};if(o[e]n))return{lo:a,hi:o};l=i-1}}return{lo:o,hi:null}}function l(t,e,n,i){var a=r(t,e,n),o=a.lo?a.hi?a.lo:t[t.length-2]:t[0],l=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=l[e]-o[e],u=s?(n-o[e])/s:0,d=(l[i]-o[i])*u;return o[i]+d}function s(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?m(t,i):(t instanceof m||(t=m(t)),t.isValid()?t:"function"==typeof i?i(t):t)}function u(t,e){if(x.isNullOrUndef(t))return null;var n=e.options.time,i=s(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function d(t,e,n,i){var a,o,r,l=e-t,s=w[n],u=s.size,d=s.steps;if(!d)return Math.ceil(l/((i||1)*u));for(a=0,o=d.length;a=M.indexOf(e);a--)if(o=M[a],w[o].common&&r.as(o)>=t.length)return o;return M[e?M.indexOf(e):0]}function f(t){for(var e=M.indexOf(t)+1,n=M.length;e1?e[1]:i,r=e[0],s=(l(t,"time",o,"pos")-l(t,"time",r,"pos"))/2),a.time.max||(o=e[e.length-1],r=e.length>1?e[e.length-2]:n,u=(l(t,"time",o,"pos")-l(t,"time",r,"pos"))/2)),{left:s,right:u}}function v(t,e){var n,i,a,o,r=[];for(n=0,i=t.length;n=a&&n<=r&&c.push(n);return i.min=a,i.max=r,i._unit=s.unit||h(c,s.minUnit,i.min,i.max),i._majorUnit=f(i._unit),i._table=o(i._timestamps.data,a,r,l.distribution),i._offsets=p(i._table,c,a,r,l),v(c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,a=n.options.time,o=i.labels&&t=0&&tChart.js is licened under the MIT License .
diff --git a/chart.js_2.7.1/dnn-library.json b/chart.js_2.7.1/dnn-library.json
deleted file mode 100644
index 1140ab37..00000000
--- a/chart.js_2.7.1/dnn-library.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["node_modules/chart.js/dist/Chart.min.js"],
- "resources": ["node_modules/chart.js/dist/**"]
-}
diff --git a/chosen-js_1.8.2/CHANGES.htm b/chosen-js/CHANGES.htm
similarity index 100%
rename from chosen-js_1.8.2/CHANGES.htm
rename to chosen-js/CHANGES.htm
diff --git a/chosen-js/LICENSE.htm b/chosen-js/LICENSE.htm
new file mode 100644
index 00000000..b885eb9e
--- /dev/null
+++ b/chosen-js/LICENSE.htm
@@ -0,0 +1 @@
+Chosen is licensed under the MIT License .
diff --git a/chosen-js_1.8.2/chosen.dnn b/chosen-js/chosen.dnn
similarity index 81%
rename from chosen-js_1.8.2/chosen.dnn
rename to chosen-js/chosen.dnn
index 837e6d9b..534e6cd1 100644
--- a/chosen-js_1.8.2/chosen.dnn
+++ b/chosen-js/chosen.dnn
@@ -1,12 +1,12 @@
-
+
Chosen
Chosen is a library for making long, unwieldy select boxes more user friendly.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,7 +21,7 @@
chosen
chosen.jquery.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/chosen-js@1.8.2/chosen.jquery.min.js
+ https://cdn.jsdelivr.net/npm/chosen-js@<~=version~>/chosen.jquery.min.js
jQuery.fn.chosen
@@ -35,7 +35,7 @@
- Resources\Libraries\chosen\01_08_02
+ Resources\Libraries\chosen\<~=versionFolder~>
Resources.zip
diff --git a/chosen-js_1.8.2/dnn-library.json b/chosen-js/dnn-library.json
similarity index 100%
rename from chosen-js_1.8.2/dnn-library.json
rename to chosen-js/dnn-library.json
diff --git a/chosen-js_1.8.2/LICENSE.htm b/chosen-js_1.8.2/LICENSE.htm
deleted file mode 100644
index 7eac781a..00000000
--- a/chosen-js_1.8.2/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Chosen is licensed under the MIT License .
diff --git a/clipboard_1.7.1/CHANGES.htm b/clipboard/CHANGES.htm
similarity index 100%
rename from clipboard_1.7.1/CHANGES.htm
rename to clipboard/CHANGES.htm
diff --git a/clipboard_1.7.1/LICENSE.htm b/clipboard/LICENSE.htm
similarity index 100%
rename from clipboard_1.7.1/LICENSE.htm
rename to clipboard/LICENSE.htm
diff --git a/clipboard_1.7.1/clipboard.dnn b/clipboard/clipboard.dnn
similarity index 87%
rename from clipboard_1.7.1/clipboard.dnn
rename to clipboard/clipboard.dnn
index ac57e4e6..99797479 100644
--- a/clipboard_1.7.1/clipboard.dnn
+++ b/clipboard/clipboard.dnn
@@ -1,13 +1,13 @@
-
+
clipboard.js
A modern approach to copy text to clipboard
No Flash. No frameworks. Just 3kb gzipped
]]>
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -24,7 +24,7 @@
clipboard
clipboard.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/clipboard@1.7.1/dist/clipboard.min.js
+ https://cdn.jsdelivr.net/npm/clipboard@<~=version~>/dist/clipboard.min.js
Clipboard
diff --git a/clipboard_1.7.1/dnn-library.json b/clipboard/dnn-library.json
similarity index 100%
rename from clipboard_1.7.1/dnn-library.json
rename to clipboard/dnn-library.json
diff --git a/croppic-js/CHANGES.htm b/croppic-js/CHANGES.htm
new file mode 100644
index 00000000..422959bf
--- /dev/null
+++ b/croppic-js/CHANGES.htm
@@ -0,0 +1,3 @@
+
+ See the croppic changelog
+
\ No newline at end of file
diff --git a/croppic-js/LICENSE.htm b/croppic-js/LICENSE.htm
new file mode 100644
index 00000000..0849aa84
--- /dev/null
+++ b/croppic-js/LICENSE.htm
@@ -0,0 +1 @@
+Croppic is licensed under the MIT License .
\ No newline at end of file
diff --git a/routerjs_1.0.10/router.js.dnn b/croppic-js/croppic.dnn
similarity index 54%
rename from routerjs_1.0.10/router.js.dnn
rename to croppic-js/croppic.dnn
index d50b87ef..847ea65b 100644
--- a/routerjs_1.0.10/router.js.dnn
+++ b/croppic-js/croppic.dnn
@@ -1,41 +1,43 @@
-
- Router.js
-
+
+ croppic-js
+
+
+
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
true
- history
+ jQuery
- router.js
- router.min.js
- Router
+ croppic-js
+ croppic.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/routerjs@1.0.10/dist/router.min.js
+ Croppic
+ https://cdn.jsdelivr.net/npm/croppic-js@<~=version~>/croppic.min.js
- router.js
+ croppic-js
- router.min.js
+ croppic.min.js
- Resources\Libraries\router.js\01_00_10
+ Resources\Libraries\croppic-js\<~=versionFolder~>
Resources.zip
diff --git a/croppic-js/dnn-library.json b/croppic-js/dnn-library.json
new file mode 100644
index 00000000..c9938c43
--- /dev/null
+++ b/croppic-js/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/croppic-js/croppic.min.js"],
+ "resources": ["node_modules/croppic-js/**"]
+}
\ No newline at end of file
diff --git a/datatables.net-buttons-dt/CHANGES.htm b/datatables.net-buttons-dt/CHANGES.htm
new file mode 100644
index 00000000..8da26d9b
--- /dev/null
+++ b/datatables.net-buttons-dt/CHANGES.htm
@@ -0,0 +1,3 @@
+See the
+ DataTables changelog
+
diff --git a/datatables.net-buttons_1.10.16/LICENSE.htm b/datatables.net-buttons-dt/LICENSE.htm
similarity index 100%
rename from datatables.net-buttons_1.10.16/LICENSE.htm
rename to datatables.net-buttons-dt/LICENSE.htm
diff --git a/datatables.net-buttons_1.10.16/datatables.net-buttons.dnn b/datatables.net-buttons-dt/datatables.net-buttons.dnn
similarity index 87%
rename from datatables.net-buttons_1.10.16/datatables.net-buttons.dnn
rename to datatables.net-buttons-dt/datatables.net-buttons.dnn
index 55c977ea..77629574 100644
--- a/datatables.net-buttons_1.10.16/datatables.net-buttons.dnn
+++ b/datatables.net-buttons-dt/datatables.net-buttons.dnn
@@ -1,12 +1,12 @@
-
+
DataTables Buttons Extension
An extension to the DataTables JS library, providing a common framework for user interaction buttons..
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
dataTables.buttons.min.js
BodyBottom
jQuery.fn.DataTable.Buttons
- https://cdn.datatables.net/buttons/1.5.1/js/dataTables.buttons.min.js
+ https://cdn.datatables.net/buttons/<~=version~>/js/dataTables.buttons.min.js
@@ -35,7 +35,7 @@
- Resources\Libraries\datatables.net-buttons\01_10_16
+ Resources\Libraries\datatables.net-buttons\<~=versionFolder~>
Resources.zip
diff --git a/datatables.net-buttons-dt/dnn-library.json b/datatables.net-buttons-dt/dnn-library.json
new file mode 100644
index 00000000..a9020c85
--- /dev/null
+++ b/datatables.net-buttons-dt/dnn-library.json
@@ -0,0 +1,11 @@
+{
+ "files": [
+ "node_modules/datatables.net-buttons/js/dataTables.buttons.min.js"
+ ],
+ "resources": [
+ "node_modules/datatables.net-buttons/**",
+ "node_modules/datatables.net-buttons-dt/**",
+ "!**/package.json",
+ "!**/Readme.md"
+ ]
+}
diff --git a/datatables.net-buttons_1.10.16/CHANGES.htm b/datatables.net-buttons_1.10.16/CHANGES.htm
deleted file mode 100644
index cff42184..00000000
--- a/datatables.net-buttons_1.10.16/CHANGES.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-See the
- DataTables changelog
-
diff --git a/datatables.net-buttons_1.10.16/dnn-library.json b/datatables.net-buttons_1.10.16/dnn-library.json
deleted file mode 100644
index cf51c6ec..00000000
--- a/datatables.net-buttons_1.10.16/dnn-library.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "files": ["node_modules/datatables.net-buttons/js/dataTables.buttons.min.js"],
- "resources": [
- "node_modules/datatables.net-buttons/**",
- "node_modules/datatables.net-buttons-dt/**",
- "!**/package.json",
- "!**/Readme.md"
- ]
-}
diff --git a/datatables.net-dt/CHANGES.htm b/datatables.net-dt/CHANGES.htm
new file mode 100644
index 00000000..8da26d9b
--- /dev/null
+++ b/datatables.net-dt/CHANGES.htm
@@ -0,0 +1,3 @@
+See the
+ DataTables changelog
+
diff --git a/datatables.net_1.10.16/LICENSE.htm b/datatables.net-dt/LICENSE.htm
similarity index 100%
rename from datatables.net_1.10.16/LICENSE.htm
rename to datatables.net-dt/LICENSE.htm
diff --git a/datatables.net_1.10.16/datatables.dnn b/datatables.net-dt/datatables.dnn
similarity index 70%
rename from datatables.net_1.10.16/datatables.dnn
rename to datatables.net-dt/datatables.dnn
index 32edbf17..f7eee982 100644
--- a/datatables.net_1.10.16/datatables.dnn
+++ b/datatables.net-dt/datatables.dnn
@@ -1,12 +1,14 @@
-
+
DataTables
- DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.
+ DataTables is a plug-in for the jQuery Javascript library. It is a highly
+ flexible tool, based upon the foundations of progressive enhancement, and will add advanced
+ interaction controls to any HTML table.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -19,23 +21,23 @@
datatables.net
- jquery.dataTables.js
+ dataTables.min.js
BodyBottom
jQuery.fn.DataTable
- https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js
+ https://cdn.datatables.net/<~=version~>/js/dataTables.min.js
datatables.net
- jquery.dataTables.js
+ dataTables.min.js
- Resources\Libraries\datatables.net\01_10_16
+ Resources\Libraries\datatables.net\<~=versionFolder~>
Resources.zip
@@ -44,4 +46,4 @@
-
+
\ No newline at end of file
diff --git a/datatables.net-dt/dnn-library.json b/datatables.net-dt/dnn-library.json
new file mode 100644
index 00000000..fb5e10c1
--- /dev/null
+++ b/datatables.net-dt/dnn-library.json
@@ -0,0 +1,8 @@
+{
+ "files": ["node_modules/datatables.net/js/dataTables.min.js"],
+ "resources": [
+ "node_modules/datatables.net-dt/**",
+ "!**/package.json",
+ "!**/Readme.md"
+ ]
+}
diff --git a/datatables.net_1.10.16/CHANGES.htm b/datatables.net_1.10.16/CHANGES.htm
deleted file mode 100644
index 08ec4318..00000000
--- a/datatables.net_1.10.16/CHANGES.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-See the
- DataTables changelog
-
diff --git a/datatables.net_1.10.16/dnn-library.json b/datatables.net_1.10.16/dnn-library.json
deleted file mode 100644
index 56d4be1d..00000000
--- a/datatables.net_1.10.16/dnn-library.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "files": ["node_modules/datatables.net/js/jquery.dataTables.js"],
- "resources": [
- "node_modules/datatables.net-dt/**",
- "!**/package.json",
- "!**/Readme.md"
- ]
-}
diff --git a/date-fns_1.29.0/CHANGES.htm b/date-fns_1.29.0/CHANGES.htm
deleted file mode 100644
index b98f72d6..00000000
--- a/date-fns_1.29.0/CHANGES.htm
+++ /dev/null
@@ -1 +0,0 @@
-See the date-fns Change Log
diff --git a/date-fns_1.29.0/LICENSE.htm b/date-fns_1.29.0/LICENSE.htm
deleted file mode 100644
index ef77c4bf..00000000
--- a/date-fns_1.29.0/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-date-fns is licensed under the MIT License .
diff --git a/date-fns_1.29.0/date_fns.min.js b/date-fns_1.29.0/date_fns.min.js
deleted file mode 100644
index e88794d4..00000000
--- a/date-fns_1.29.0/date_fns.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory();else if(typeof define==="function"&&define.amd)define([],factory);else if(typeof exports==="object")exports["dateFns"]=factory();else root["dateFns"]=factory()})(this,function(){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.loaded=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module,exports,__webpack_require__){module.exports={addDays:__webpack_require__(1),addHours:__webpack_require__(4),addISOYears:__webpack_require__(6),addMilliseconds:__webpack_require__(5),addMinutes:__webpack_require__(14),addMonths:__webpack_require__(15),addQuarters:__webpack_require__(17),addSeconds:__webpack_require__(18),addWeeks:__webpack_require__(19),addYears:__webpack_require__(20),areRangesOverlapping:__webpack_require__(21),closestIndexTo:__webpack_require__(22),closestTo:__webpack_require__(23),compareAsc:__webpack_require__(24),compareDesc:__webpack_require__(25),differenceInCalendarDays:__webpack_require__(12),differenceInCalendarISOWeeks:__webpack_require__(26),differenceInCalendarISOYears:__webpack_require__(27),differenceInCalendarMonths:__webpack_require__(28),differenceInCalendarQuarters:__webpack_require__(29),differenceInCalendarWeeks:__webpack_require__(31),differenceInCalendarYears:__webpack_require__(32),differenceInDays:__webpack_require__(33),differenceInHours:__webpack_require__(34),differenceInISOYears:__webpack_require__(36),differenceInMilliseconds:__webpack_require__(35),differenceInMinutes:__webpack_require__(38),differenceInMonths:__webpack_require__(39),differenceInQuarters:__webpack_require__(40),differenceInSeconds:__webpack_require__(41),differenceInWeeks:__webpack_require__(42),differenceInYears:__webpack_require__(43),distanceInWords:__webpack_require__(44),distanceInWordsStrict:__webpack_require__(49),distanceInWordsToNow:__webpack_require__(50),eachDay:__webpack_require__(51),endOfDay:__webpack_require__(52),endOfHour:__webpack_require__(53),endOfISOWeek:__webpack_require__(54),endOfISOYear:__webpack_require__(56),endOfMinute:__webpack_require__(57),endOfMonth:__webpack_require__(58),endOfQuarter:__webpack_require__(59),endOfSecond:__webpack_require__(60),endOfToday:__webpack_require__(61),endOfTomorrow:__webpack_require__(62),endOfWeek:__webpack_require__(55),endOfYear:__webpack_require__(63),endOfYesterday:__webpack_require__(64),format:__webpack_require__(65),getDate:__webpack_require__(70),getDay:__webpack_require__(71),getDayOfYear:__webpack_require__(66),getDaysInMonth:__webpack_require__(16),getDaysInYear:__webpack_require__(72),getHours:__webpack_require__(74),getISODay:__webpack_require__(75),getISOWeek:__webpack_require__(68),getISOWeeksInYear:__webpack_require__(76),getISOYear:__webpack_require__(7),getMilliseconds:__webpack_require__(77),getMinutes:__webpack_require__(78),getMonth:__webpack_require__(79),getOverlappingDaysInRanges:__webpack_require__(80),getQuarter:__webpack_require__(30),getSeconds:__webpack_require__(81),getTime:__webpack_require__(82),getYear:__webpack_require__(83),isAfter:__webpack_require__(84),isBefore:__webpack_require__(85),isDate:__webpack_require__(3),isEqual:__webpack_require__(86),isFirstDayOfMonth:__webpack_require__(87),isFriday:__webpack_require__(88),isFuture:__webpack_require__(89),isLastDayOfMonth:__webpack_require__(90),isLeapYear:__webpack_require__(73),isMonday:__webpack_require__(91),isPast:__webpack_require__(92),isSameDay:__webpack_require__(93),isSameHour:__webpack_require__(94),isSameISOWeek:__webpack_require__(96),isSameISOYear:__webpack_require__(98),isSameMinute:__webpack_require__(99),isSameMonth:__webpack_require__(101),isSameQuarter:__webpack_require__(102),isSameSecond:__webpack_require__(104),isSameWeek:__webpack_require__(97),isSameYear:__webpack_require__(106),isSaturday:__webpack_require__(107),isSunday:__webpack_require__(108),isThisHour:__webpack_require__(109),isThisISOWeek:__webpack_require__(110),isThisISOYear:__webpack_require__(111),isThisMinute:__webpack_require__(112),isThisMonth:__webpack_require__(113),isThisQuarter:__webpack_require__(114),isThisSecond:__webpack_require__(115),isThisWeek:__webpack_require__(116),isThisYear:__webpack_require__(117),isThursday:__webpack_require__(118),isToday:__webpack_require__(119),isTomorrow:__webpack_require__(120),isTuesday:__webpack_require__(121),isValid:__webpack_require__(69),isWednesday:__webpack_require__(122),isWeekend:__webpack_require__(123),isWithinRange:__webpack_require__(124),isYesterday:__webpack_require__(125),lastDayOfISOWeek:__webpack_require__(126),lastDayOfISOYear:__webpack_require__(128),lastDayOfMonth:__webpack_require__(129),lastDayOfQuarter:__webpack_require__(130),lastDayOfWeek:__webpack_require__(127),lastDayOfYear:__webpack_require__(131),max:__webpack_require__(132),min:__webpack_require__(133),parse:__webpack_require__(2),setDate:__webpack_require__(134),setDay:__webpack_require__(135),setDayOfYear:__webpack_require__(136),setHours:__webpack_require__(137),setISODay:__webpack_require__(138),setISOWeek:__webpack_require__(139),setISOYear:__webpack_require__(10),setMilliseconds:__webpack_require__(140),setMinutes:__webpack_require__(141),setMonth:__webpack_require__(142),setQuarter:__webpack_require__(143),setSeconds:__webpack_require__(144),setYear:__webpack_require__(145),startOfDay:__webpack_require__(13),startOfHour:__webpack_require__(95),startOfISOWeek:__webpack_require__(8),startOfISOYear:__webpack_require__(11),startOfMinute:__webpack_require__(100),startOfMonth:__webpack_require__(146),startOfQuarter:__webpack_require__(103),startOfSecond:__webpack_require__(105),startOfToday:__webpack_require__(147),startOfTomorrow:__webpack_require__(148),startOfWeek:__webpack_require__(9),startOfYear:__webpack_require__(67),startOfYesterday:__webpack_require__(149),subDays:__webpack_require__(150),subHours:__webpack_require__(151),subISOYears:__webpack_require__(37),subMilliseconds:__webpack_require__(152),subMinutes:__webpack_require__(153),subMonths:__webpack_require__(154),subQuarters:__webpack_require__(155),subSeconds:__webpack_require__(156),subWeeks:__webpack_require__(157),subYears:__webpack_require__(158)}},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function addDays(dirtyDate,dirtyAmount){var date=parse(dirtyDate);var amount=Number(dirtyAmount);date.setDate(date.getDate()+amount);return date}module.exports=addDays},function(module,exports,__webpack_require__){var isDate=__webpack_require__(3);var MILLISECONDS_IN_HOUR=36e5;var MILLISECONDS_IN_MINUTE=6e4;var DEFAULT_ADDITIONAL_DIGITS=2;var parseTokenDateTimeDelimeter=/[T ]/;var parseTokenPlainTime=/:/;var parseTokenYY=/^(\d{2})$/;var parseTokensYYY=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/];var parseTokenYYYY=/^(\d{4})/;var parseTokensYYYYY=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/];var parseTokenMM=/^-(\d{2})$/;var parseTokenDDD=/^-?(\d{3})$/;var parseTokenMMDD=/^-?(\d{2})-?(\d{2})$/;var parseTokenWww=/^-?W(\d{2})$/;var parseTokenWwwD=/^-?W(\d{2})-?(\d{1})$/;var parseTokenHH=/^(\d{2}([.,]\d*)?)$/;var parseTokenHHMM=/^(\d{2}):?(\d{2}([.,]\d*)?)$/;var parseTokenHHMMSS=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;var parseTokenTimezone=/([Z+-].*)$/;var parseTokenTimezoneZ=/^(Z)$/;var parseTokenTimezoneHH=/^([+-])(\d{2})$/;var parseTokenTimezoneHHMM=/^([+-])(\d{2}):?(\d{2})$/;function parse(argument,dirtyOptions){if(isDate(argument)){return new Date(argument.getTime())}else if(typeof argument!=="string"){return new Date(argument)}var options=dirtyOptions||{};var additionalDigits=options.additionalDigits;if(additionalDigits==null){additionalDigits=DEFAULT_ADDITIONAL_DIGITS}else{additionalDigits=Number(additionalDigits)}var dateStrings=splitDateString(argument);var parseYearResult=parseYear(dateStrings.date,additionalDigits);var year=parseYearResult.year;var restDateString=parseYearResult.restDateString;var date=parseDate(restDateString,year);if(date){var timestamp=date.getTime();var time=0;var offset;if(dateStrings.time){time=parseTime(dateStrings.time)}if(dateStrings.timezone){offset=parseTimezone(dateStrings.timezone)}else{offset=new Date(timestamp+time).getTimezoneOffset();offset=new Date(timestamp+time+offset*MILLISECONDS_IN_MINUTE).getTimezoneOffset()}return new Date(timestamp+time+offset*MILLISECONDS_IN_MINUTE)}else{return new Date(argument)}}function splitDateString(dateString){var dateStrings={};var array=dateString.split(parseTokenDateTimeDelimeter);var timeString;if(parseTokenPlainTime.test(array[0])){dateStrings.date=null;timeString=array[0]}else{dateStrings.date=array[0];timeString=array[1]}if(timeString){var token=parseTokenTimezone.exec(timeString);if(token){dateStrings.time=timeString.replace(token[1],"");dateStrings.timezone=token[1]}else{dateStrings.time=timeString}}return dateStrings}function parseYear(dateString,additionalDigits){var parseTokenYYY=parseTokensYYY[additionalDigits];var parseTokenYYYYY=parseTokensYYYYY[additionalDigits];var token;token=parseTokenYYYY.exec(dateString)||parseTokenYYYYY.exec(dateString);if(token){var yearString=token[1];return{year:parseInt(yearString,10),restDateString:dateString.slice(yearString.length)}}token=parseTokenYY.exec(dateString)||parseTokenYYY.exec(dateString);if(token){var centuryString=token[1];return{year:parseInt(centuryString,10)*100,restDateString:dateString.slice(centuryString.length)}}return{year:null}}function parseDate(dateString,year){if(year===null){return null}var token;var date;var month;var week;if(dateString.length===0){date=new Date(0);date.setUTCFullYear(year);return date}token=parseTokenMM.exec(dateString);if(token){date=new Date(0);month=parseInt(token[1],10)-1;date.setUTCFullYear(year,month);return date}token=parseTokenDDD.exec(dateString);if(token){date=new Date(0);var dayOfYear=parseInt(token[1],10);date.setUTCFullYear(year,0,dayOfYear);return date}token=parseTokenMMDD.exec(dateString);if(token){date=new Date(0);month=parseInt(token[1],10)-1;var day=parseInt(token[2],10);date.setUTCFullYear(year,month,day);return date}token=parseTokenWww.exec(dateString);if(token){week=parseInt(token[1],10)-1;return dayOfISOYear(year,week)}token=parseTokenWwwD.exec(dateString);if(token){week=parseInt(token[1],10)-1;var dayOfWeek=parseInt(token[2],10)-1;return dayOfISOYear(year,week,dayOfWeek)}return null}function parseTime(timeString){var token;var hours;var minutes;token=parseTokenHH.exec(timeString);if(token){hours=parseFloat(token[1].replace(",","."));return hours%24*MILLISECONDS_IN_HOUR}token=parseTokenHHMM.exec(timeString);if(token){hours=parseInt(token[1],10);minutes=parseFloat(token[2].replace(",","."));return hours%24*MILLISECONDS_IN_HOUR+minutes*MILLISECONDS_IN_MINUTE}token=parseTokenHHMMSS.exec(timeString);if(token){hours=parseInt(token[1],10);minutes=parseInt(token[2],10);var seconds=parseFloat(token[3].replace(",","."));return hours%24*MILLISECONDS_IN_HOUR+minutes*MILLISECONDS_IN_MINUTE+seconds*1e3}return null}function parseTimezone(timezoneString){var token;var absoluteOffset;token=parseTokenTimezoneZ.exec(timezoneString);if(token){return 0}token=parseTokenTimezoneHH.exec(timezoneString);if(token){absoluteOffset=parseInt(token[2],10)*60;return token[1]==="+"?-absoluteOffset:absoluteOffset}token=parseTokenTimezoneHHMM.exec(timezoneString);if(token){absoluteOffset=parseInt(token[2],10)*60+parseInt(token[3],10);return token[1]==="+"?-absoluteOffset:absoluteOffset}return 0}function dayOfISOYear(isoYear,week,day){week=week||0;day=day||0;var date=new Date(0);date.setUTCFullYear(isoYear,0,4);var fourthOfJanuaryDay=date.getUTCDay()||7;var diff=week*7+day+1-fourthOfJanuaryDay;date.setUTCDate(date.getUTCDate()+diff);return date}module.exports=parse},function(module,exports){function isDate(argument){return argument instanceof Date}module.exports=isDate},function(module,exports,__webpack_require__){var addMilliseconds=__webpack_require__(5);var MILLISECONDS_IN_HOUR=36e5;function addHours(dirtyDate,dirtyAmount){var amount=Number(dirtyAmount);return addMilliseconds(dirtyDate,amount*MILLISECONDS_IN_HOUR)}module.exports=addHours},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function addMilliseconds(dirtyDate,dirtyAmount){var timestamp=parse(dirtyDate).getTime();var amount=Number(dirtyAmount);return new Date(timestamp+amount)}module.exports=addMilliseconds},function(module,exports,__webpack_require__){var getISOYear=__webpack_require__(7);var setISOYear=__webpack_require__(10);function addISOYears(dirtyDate,dirtyAmount){var amount=Number(dirtyAmount);return setISOYear(dirtyDate,getISOYear(dirtyDate)+amount)}module.exports=addISOYears},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);var startOfISOWeek=__webpack_require__(8);function getISOYear(dirtyDate){var date=parse(dirtyDate);var year=date.getFullYear();var fourthOfJanuaryOfNextYear=new Date(0);fourthOfJanuaryOfNextYear.setFullYear(year+1,0,4);fourthOfJanuaryOfNextYear.setHours(0,0,0,0);var startOfNextYear=startOfISOWeek(fourthOfJanuaryOfNextYear);var fourthOfJanuaryOfThisYear=new Date(0);fourthOfJanuaryOfThisYear.setFullYear(year,0,4);fourthOfJanuaryOfThisYear.setHours(0,0,0,0);var startOfThisYear=startOfISOWeek(fourthOfJanuaryOfThisYear);if(date.getTime()>=startOfNextYear.getTime()){return year+1}else if(date.getTime()>=startOfThisYear.getTime()){return year}else{return year-1}}module.exports=getISOYear},function(module,exports,__webpack_require__){var startOfWeek=__webpack_require__(9);function startOfISOWeek(dirtyDate){return startOfWeek(dirtyDate,{weekStartsOn:1})}module.exports=startOfISOWeek},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function startOfWeek(dirtyDate,dirtyOptions){var weekStartsOn=dirtyOptions?Number(dirtyOptions.weekStartsOn)||0:0;var date=parse(dirtyDate);var day=date.getDay();var diff=(dayinitialEndTime||comparedStartTime>comparedEndTime){throw new Error("The start of the range cannot be after the end of the range")}return initialStartTimetimeRight){return 1}else{return 0}}module.exports=compareAsc},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function compareDesc(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var timeLeft=dateLeft.getTime();var dateRight=parse(dirtyDateRight);var timeRight=dateRight.getTime();if(timeLeft>timeRight){return-1}else if(timeLeft0?Math.floor(diff):Math.ceil(diff)}module.exports=differenceInHours},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function differenceInMilliseconds(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);return dateLeft.getTime()-dateRight.getTime()}module.exports=differenceInMilliseconds},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);var differenceInCalendarISOYears=__webpack_require__(27);var compareAsc=__webpack_require__(24);var subISOYears=__webpack_require__(37);function differenceInISOYears(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);var sign=compareAsc(dateLeft,dateRight);var difference=Math.abs(differenceInCalendarISOYears(dateLeft,dateRight));dateLeft=subISOYears(dateLeft,sign*difference);var isLastISOYearNotFull=compareAsc(dateLeft,dateRight)===-sign;return sign*(difference-isLastISOYearNotFull)}module.exports=differenceInISOYears},function(module,exports,__webpack_require__){var addISOYears=__webpack_require__(6);function subISOYears(dirtyDate,dirtyAmount){var amount=Number(dirtyAmount);return addISOYears(dirtyDate,-amount)}module.exports=subISOYears},function(module,exports,__webpack_require__){var differenceInMilliseconds=__webpack_require__(35);var MILLISECONDS_IN_MINUTE=6e4;function differenceInMinutes(dirtyDateLeft,dirtyDateRight){var diff=differenceInMilliseconds(dirtyDateLeft,dirtyDateRight)/MILLISECONDS_IN_MINUTE;return diff>0?Math.floor(diff):Math.ceil(diff)}module.exports=differenceInMinutes},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);var differenceInCalendarMonths=__webpack_require__(28);var compareAsc=__webpack_require__(24);function differenceInMonths(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);var sign=compareAsc(dateLeft,dateRight);var difference=Math.abs(differenceInCalendarMonths(dateLeft,dateRight));dateLeft.setMonth(dateLeft.getMonth()-sign*difference);var isLastMonthNotFull=compareAsc(dateLeft,dateRight)===-sign;return sign*(difference-isLastMonthNotFull)}module.exports=differenceInMonths},function(module,exports,__webpack_require__){var differenceInMonths=__webpack_require__(39);function differenceInQuarters(dirtyDateLeft,dirtyDateRight){var diff=differenceInMonths(dirtyDateLeft,dirtyDateRight)/3;return diff>0?Math.floor(diff):Math.ceil(diff)}module.exports=differenceInQuarters},function(module,exports,__webpack_require__){var differenceInMilliseconds=__webpack_require__(35);function differenceInSeconds(dirtyDateLeft,dirtyDateRight){var diff=differenceInMilliseconds(dirtyDateLeft,dirtyDateRight)/1e3;return diff>0?Math.floor(diff):Math.ceil(diff)}module.exports=differenceInSeconds},function(module,exports,__webpack_require__){var differenceInDays=__webpack_require__(33);function differenceInWeeks(dirtyDateLeft,dirtyDateRight){var diff=differenceInDays(dirtyDateLeft,dirtyDateRight)/7;return diff>0?Math.floor(diff):Math.ceil(diff)}module.exports=differenceInWeeks},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);var differenceInCalendarYears=__webpack_require__(32);var compareAsc=__webpack_require__(24);function differenceInYears(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);var sign=compareAsc(dateLeft,dateRight);var difference=Math.abs(differenceInCalendarYears(dateLeft,dateRight));dateLeft.setFullYear(dateLeft.getFullYear()-sign*difference);var isLastYearNotFull=compareAsc(dateLeft,dateRight)===-sign;return sign*(difference-isLastYearNotFull)}module.exports=differenceInYears},function(module,exports,__webpack_require__){var compareDesc=__webpack_require__(25);var parse=__webpack_require__(2);var differenceInSeconds=__webpack_require__(41);var differenceInMonths=__webpack_require__(39);var enLocale=__webpack_require__(45);var MINUTES_IN_DAY=1440;var MINUTES_IN_ALMOST_TWO_DAYS=2520;var MINUTES_IN_MONTH=43200;var MINUTES_IN_TWO_MONTHS=86400;function distanceInWords(dirtyDateToCompare,dirtyDate,dirtyOptions){var options=dirtyOptions||{};var comparison=compareDesc(dirtyDateToCompare,dirtyDate);var locale=options.locale;var localize=enLocale.distanceInWords.localize;if(locale&&locale.distanceInWords&&locale.distanceInWords.localize){localize=locale.distanceInWords.localize}var localizeOptions={addSuffix:Boolean(options.addSuffix),comparison:comparison};var dateLeft,dateRight;if(comparison>0){dateLeft=parse(dirtyDateToCompare);dateRight=parse(dirtyDate)}else{dateLeft=parse(dirtyDate);dateRight=parse(dirtyDateToCompare)}var seconds=differenceInSeconds(dateRight,dateLeft);var offset=dateRight.getTimezoneOffset()-dateLeft.getTimezoneOffset();var minutes=Math.round(seconds/60)-offset;var months;if(minutes<2){if(options.includeSeconds){if(seconds<5){return localize("lessThanXSeconds",5,localizeOptions)}else if(seconds<10){return localize("lessThanXSeconds",10,localizeOptions)}else if(seconds<20){return localize("lessThanXSeconds",20,localizeOptions)}else if(seconds<40){return localize("halfAMinute",null,localizeOptions)}else if(seconds<60){return localize("lessThanXMinutes",1,localizeOptions)}else{return localize("xMinutes",1,localizeOptions)}}else{if(minutes===0){return localize("lessThanXMinutes",1,localizeOptions)}else{return localize("xMinutes",minutes,localizeOptions)}}}else if(minutes<45){return localize("xMinutes",minutes,localizeOptions)}else if(minutes<90){return localize("aboutXHours",1,localizeOptions)}else if(minutes0){return"in "+result}else{return result+" ago"}}return result}return{localize:localize}}module.exports=buildDistanceInWordsLocale},function(module,exports,__webpack_require__){var buildFormattingTokensRegExp=__webpack_require__(48);function buildFormatLocale(){var months3char=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var monthsFull=["January","February","March","April","May","June","July","August","September","October","November","December"];var weekdays2char=["Su","Mo","Tu","We","Th","Fr","Sa"];var weekdays3char=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var weekdaysFull=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var meridiemUppercase=["AM","PM"];var meridiemLowercase=["am","pm"];var meridiemFull=["a.m.","p.m."];var formatters={MMM:function(date){return months3char[date.getMonth()]},MMMM:function(date){return monthsFull[date.getMonth()]},dd:function(date){return weekdays2char[date.getDay()]},ddd:function(date){return weekdays3char[date.getDay()]},dddd:function(date){return weekdaysFull[date.getDay()]},A:function(date){return date.getHours()/12>=1?meridiemUppercase[1]:meridiemUppercase[0]},a:function(date){return date.getHours()/12>=1?meridiemLowercase[1]:meridiemLowercase[0]},aa:function(date){return date.getHours()/12>=1?meridiemFull[1]:meridiemFull[0]}};var ordinalFormatters=["M","D","DDD","d","Q","W"];ordinalFormatters.forEach(function(formatterToken){formatters[formatterToken+"o"]=function(date,formatters){return ordinal(formatters[formatterToken](date))}});return{formatters:formatters,formattingTokensRegExp:buildFormattingTokensRegExp(formatters)}}function ordinal(number){var rem100=number%100;if(rem100>20||rem100<10){switch(rem100%10){case 1:return number+"st";case 2:return number+"nd";case 3:return number+"rd"}}return number+"th"}module.exports=buildFormatLocale},function(module,exports){var commonFormatterKeys=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];function buildFormattingTokensRegExp(formatters){var formatterKeys=[];for(var key in formatters){if(formatters.hasOwnProperty(key)){formatterKeys.push(key)}}var formattingTokens=commonFormatterKeys.concat(formatterKeys).sort().reverse();var formattingTokensRegExp=new RegExp("(\\[[^\\[]*\\])|(\\\\)?"+"("+formattingTokens.join("|")+"|.)","g");return formattingTokensRegExp}module.exports=buildFormattingTokensRegExp},function(module,exports,__webpack_require__){var compareDesc=__webpack_require__(25);var parse=__webpack_require__(2);var differenceInSeconds=__webpack_require__(41);var enLocale=__webpack_require__(45);var MINUTES_IN_DAY=1440;var MINUTES_IN_MONTH=43200;var MINUTES_IN_YEAR=525600;function distanceInWordsStrict(dirtyDateToCompare,dirtyDate,dirtyOptions){var options=dirtyOptions||{};var comparison=compareDesc(dirtyDateToCompare,dirtyDate);var locale=options.locale;var localize=enLocale.distanceInWords.localize;if(locale&&locale.distanceInWords&&locale.distanceInWords.localize){localize=locale.distanceInWords.localize}var localizeOptions={addSuffix:Boolean(options.addSuffix),comparison:comparison};var dateLeft,dateRight;if(comparison>0){dateLeft=parse(dirtyDateToCompare);dateRight=parse(dirtyDate)}else{dateLeft=parse(dirtyDate);dateRight=parse(dirtyDateToCompare)}var unit;var mathPartial=Math[options.partialMethod?String(options.partialMethod):"floor"];var seconds=differenceInSeconds(dateRight,dateLeft);var offset=dateRight.getTimezoneOffset()-dateLeft.getTimezoneOffset();var minutes=mathPartial(seconds/60)-offset;var hours,days,months,years;if(options.unit){unit=String(options.unit)}else{if(minutes<1){unit="s"}else if(minutes<60){unit="m"}else if(minutesendTime){throw new Error("The first date cannot be after the second date")}var dates=[];var currentDate=startDate;currentDate.setHours(0,0,0,0);while(currentDate.getTime()<=endTime){dates.push(parse(currentDate));currentDate.setDate(currentDate.getDate()+1)}return dates}module.exports=eachDay},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function endOfDay(dirtyDate){var date=parse(dirtyDate);date.setHours(23,59,59,999);return date}module.exports=endOfDay},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function endOfHour(dirtyDate){var date=parse(dirtyDate);date.setMinutes(59,59,999);return date}module.exports=endOfHour},function(module,exports,__webpack_require__){var endOfWeek=__webpack_require__(55);function endOfISOWeek(dirtyDate){return endOfWeek(dirtyDate,{weekStartsOn:1})}module.exports=endOfISOWeek},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function endOfWeek(dirtyDate,dirtyOptions){var weekStartsOn=dirtyOptions?Number(dirtyOptions.weekStartsOn)||0:0;var date=parse(dirtyDate);var day=date.getDay();var diff=(day12){return hours%12}else{return hours}},hh:function(date){return addLeadingZeros(formatters["h"](date),2)},m:function(date){return date.getMinutes()},mm:function(date){return addLeadingZeros(date.getMinutes(),2)},s:function(date){return date.getSeconds()},ss:function(date){return addLeadingZeros(date.getSeconds(),2)},S:function(date){return Math.floor(date.getMilliseconds()/100)},SS:function(date){return addLeadingZeros(Math.floor(date.getMilliseconds()/10),2)},SSS:function(date){return addLeadingZeros(date.getMilliseconds(),3)},Z:function(date){return formatTimezone(date.getTimezoneOffset(),":")},ZZ:function(date){return formatTimezone(date.getTimezoneOffset())},X:function(date){return Math.floor(date.getTime()/1e3)},x:function(date){return date.getTime()}};function buildFormatFn(formatStr,localeFormatters,formattingTokensRegExp){var array=formatStr.match(formattingTokensRegExp);var length=array.length;var i;var formatter;for(i=0;i0?"-":"+";var absOffset=Math.abs(offset);var hours=Math.floor(absOffset/60);var minutes=absOffset%60;return sign+addLeadingZeros(hours,2)+delimeter+addLeadingZeros(minutes,2)}function addLeadingZeros(number,targetLength){var output=Math.abs(number).toString();while(output.lengthinitialEndTime||comparedStartTime>comparedEndTime){throw new Error("The start of the range cannot be after the end of the range")}var isOverlapping=initialStartTimeinitialEndTime?initialEndTime:comparedEndTime;var differenceInMs=overlapEndDate-overlapStartDate;return Math.ceil(differenceInMs/MILLISECONDS_IN_DAY)}module.exports=getOverlappingDaysInRanges},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function getSeconds(dirtyDate){var date=parse(dirtyDate);var seconds=date.getSeconds();return seconds}module.exports=getSeconds},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function getTime(dirtyDate){var date=parse(dirtyDate);var timestamp=date.getTime();return timestamp}module.exports=getTime},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function getYear(dirtyDate){var date=parse(dirtyDate);var year=date.getFullYear();return year}module.exports=getYear},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isAfter(dirtyDate,dirtyDateToCompare){var date=parse(dirtyDate);var dateToCompare=parse(dirtyDateToCompare);return date.getTime()>dateToCompare.getTime()}module.exports=isAfter},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isBefore(dirtyDate,dirtyDateToCompare){var date=parse(dirtyDate);var dateToCompare=parse(dirtyDateToCompare);return date.getTime()(new Date).getTime()}module.exports=isFuture},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);var endOfDay=__webpack_require__(52);var endOfMonth=__webpack_require__(58);function isLastDayOfMonth(dirtyDate){var date=parse(dirtyDate);return endOfDay(date).getTime()===endOfMonth(date).getTime()}module.exports=isLastDayOfMonth},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isMonday(dirtyDate){return parse(dirtyDate).getDay()===1}module.exports=isMonday},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isPast(dirtyDate){return parse(dirtyDate).getTime()<(new Date).getTime()}module.exports=isPast},function(module,exports,__webpack_require__){var startOfDay=__webpack_require__(13);function isSameDay(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfDay=startOfDay(dirtyDateLeft);var dateRightStartOfDay=startOfDay(dirtyDateRight);return dateLeftStartOfDay.getTime()===dateRightStartOfDay.getTime()}module.exports=isSameDay},function(module,exports,__webpack_require__){var startOfHour=__webpack_require__(95);function isSameHour(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfHour=startOfHour(dirtyDateLeft);var dateRightStartOfHour=startOfHour(dirtyDateRight);return dateLeftStartOfHour.getTime()===dateRightStartOfHour.getTime()}module.exports=isSameHour},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function startOfHour(dirtyDate){var date=parse(dirtyDate);date.setMinutes(0,0,0);return date}module.exports=startOfHour},function(module,exports,__webpack_require__){var isSameWeek=__webpack_require__(97);function isSameISOWeek(dirtyDateLeft,dirtyDateRight){return isSameWeek(dirtyDateLeft,dirtyDateRight,{weekStartsOn:1})}module.exports=isSameISOWeek},function(module,exports,__webpack_require__){var startOfWeek=__webpack_require__(9);function isSameWeek(dirtyDateLeft,dirtyDateRight,dirtyOptions){var dateLeftStartOfWeek=startOfWeek(dirtyDateLeft,dirtyOptions);var dateRightStartOfWeek=startOfWeek(dirtyDateRight,dirtyOptions);return dateLeftStartOfWeek.getTime()===dateRightStartOfWeek.getTime()}module.exports=isSameWeek},function(module,exports,__webpack_require__){var startOfISOYear=__webpack_require__(11);function isSameISOYear(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfYear=startOfISOYear(dirtyDateLeft);var dateRightStartOfYear=startOfISOYear(dirtyDateRight);return dateLeftStartOfYear.getTime()===dateRightStartOfYear.getTime()}module.exports=isSameISOYear},function(module,exports,__webpack_require__){var startOfMinute=__webpack_require__(100);function isSameMinute(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfMinute=startOfMinute(dirtyDateLeft);var dateRightStartOfMinute=startOfMinute(dirtyDateRight);return dateLeftStartOfMinute.getTime()===dateRightStartOfMinute.getTime()}module.exports=isSameMinute},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function startOfMinute(dirtyDate){var date=parse(dirtyDate);date.setSeconds(0,0);return date}module.exports=startOfMinute},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isSameMonth(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);return dateLeft.getFullYear()===dateRight.getFullYear()&&dateLeft.getMonth()===dateRight.getMonth()}module.exports=isSameMonth},function(module,exports,__webpack_require__){var startOfQuarter=__webpack_require__(103);function isSameQuarter(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfQuarter=startOfQuarter(dirtyDateLeft);var dateRightStartOfQuarter=startOfQuarter(dirtyDateRight);return dateLeftStartOfQuarter.getTime()===dateRightStartOfQuarter.getTime()}module.exports=isSameQuarter},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function startOfQuarter(dirtyDate){var date=parse(dirtyDate);var currentMonth=date.getMonth();var month=currentMonth-currentMonth%3;date.setMonth(month,1);date.setHours(0,0,0,0);return date}module.exports=startOfQuarter},function(module,exports,__webpack_require__){var startOfSecond=__webpack_require__(105);function isSameSecond(dirtyDateLeft,dirtyDateRight){var dateLeftStartOfSecond=startOfSecond(dirtyDateLeft);var dateRightStartOfSecond=startOfSecond(dirtyDateRight);return dateLeftStartOfSecond.getTime()===dateRightStartOfSecond.getTime()}module.exports=isSameSecond},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function startOfSecond(dirtyDate){var date=parse(dirtyDate);date.setMilliseconds(0);return date}module.exports=startOfSecond},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isSameYear(dirtyDateLeft,dirtyDateRight){var dateLeft=parse(dirtyDateLeft);var dateRight=parse(dirtyDateRight);return dateLeft.getFullYear()===dateRight.getFullYear()}module.exports=isSameYear},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isSaturday(dirtyDate){return parse(dirtyDate).getDay()===6}module.exports=isSaturday},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isSunday(dirtyDate){return parse(dirtyDate).getDay()===0}module.exports=isSunday},function(module,exports,__webpack_require__){var isSameHour=__webpack_require__(94);function isThisHour(dirtyDate){return isSameHour(new Date,dirtyDate)}module.exports=isThisHour},function(module,exports,__webpack_require__){var isSameISOWeek=__webpack_require__(96);function isThisISOWeek(dirtyDate){return isSameISOWeek(new Date,dirtyDate)}module.exports=isThisISOWeek},function(module,exports,__webpack_require__){var isSameISOYear=__webpack_require__(98);function isThisISOYear(dirtyDate){return isSameISOYear(new Date,dirtyDate)}module.exports=isThisISOYear},function(module,exports,__webpack_require__){var isSameMinute=__webpack_require__(99);function isThisMinute(dirtyDate){return isSameMinute(new Date,dirtyDate)}module.exports=isThisMinute},function(module,exports,__webpack_require__){var isSameMonth=__webpack_require__(101);function isThisMonth(dirtyDate){return isSameMonth(new Date,dirtyDate)}module.exports=isThisMonth},function(module,exports,__webpack_require__){var isSameQuarter=__webpack_require__(102);function isThisQuarter(dirtyDate){return isSameQuarter(new Date,dirtyDate)}module.exports=isThisQuarter},function(module,exports,__webpack_require__){var isSameSecond=__webpack_require__(104);function isThisSecond(dirtyDate){return isSameSecond(new Date,dirtyDate)}module.exports=isThisSecond},function(module,exports,__webpack_require__){var isSameWeek=__webpack_require__(97);function isThisWeek(dirtyDate,dirtyOptions){return isSameWeek(new Date,dirtyDate,dirtyOptions)}module.exports=isThisWeek},function(module,exports,__webpack_require__){var isSameYear=__webpack_require__(106);function isThisYear(dirtyDate){return isSameYear(new Date,dirtyDate)}module.exports=isThisYear},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isThursday(dirtyDate){return parse(dirtyDate).getDay()===4}module.exports=isThursday},function(module,exports,__webpack_require__){var startOfDay=__webpack_require__(13);function isToday(dirtyDate){return startOfDay(dirtyDate).getTime()===startOfDay(new Date).getTime()}module.exports=isToday},function(module,exports,__webpack_require__){var startOfDay=__webpack_require__(13);function isTomorrow(dirtyDate){var tomorrow=new Date;tomorrow.setDate(tomorrow.getDate()+1);return startOfDay(dirtyDate).getTime()===startOfDay(tomorrow).getTime()}module.exports=isTomorrow},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isTuesday(dirtyDate){return parse(dirtyDate).getDay()===2}module.exports=isTuesday},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isWednesday(dirtyDate){return parse(dirtyDate).getDay()===3}module.exports=isWednesday},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isWeekend(dirtyDate){var date=parse(dirtyDate);var day=date.getDay();return day===0||day===6}module.exports=isWeekend},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function isWithinRange(dirtyDate,dirtyStartDate,dirtyEndDate){var time=parse(dirtyDate).getTime();var startTime=parse(dirtyStartDate).getTime();var endTime=parse(dirtyEndDate).getTime();if(startTime>endTime){throw new Error("The start of the range cannot be after the end of the range")}return time>=startTime&&time<=endTime}module.exports=isWithinRange},function(module,exports,__webpack_require__){var startOfDay=__webpack_require__(13);function isYesterday(dirtyDate){var yesterday=new Date;yesterday.setDate(yesterday.getDate()-1);return startOfDay(dirtyDate).getTime()===startOfDay(yesterday).getTime()}module.exports=isYesterday},function(module,exports,__webpack_require__){var lastDayOfWeek=__webpack_require__(127);function lastDayOfISOWeek(dirtyDate){return lastDayOfWeek(dirtyDate,{weekStartsOn:1})}module.exports=lastDayOfISOWeek},function(module,exports,__webpack_require__){var parse=__webpack_require__(2);function lastDayOfWeek(dirtyDate,dirtyOptions){var weekStartsOn=dirtyOptions?Number(dirtyOptions.weekStartsOn)||0:0;var date=parse(dirtyDate);var day=date.getDay();var diff=(dayBootstrap 3 Datepicker is licensed under the
- MIT License .
+ MIT License .
diff --git a/eonasdan-bootstrap-datetimepicker_4.17.47/dnn-library.json b/eonasdan-bootstrap-datetimepicker/dnn-library.json
similarity index 100%
rename from eonasdan-bootstrap-datetimepicker_4.17.47/dnn-library.json
rename to eonasdan-bootstrap-datetimepicker/dnn-library.json
diff --git a/eonasdan-bootstrap-datetimepicker_4.17.47/eonasdan-bootstrap-datetimepicker.dnn b/eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn
similarity index 90%
rename from eonasdan-bootstrap-datetimepicker_4.17.47/eonasdan-bootstrap-datetimepicker.dnn
rename to eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn
index cf0023f8..a8766f6f 100644
--- a/eonasdan-bootstrap-datetimepicker_4.17.47/eonasdan-bootstrap-datetimepicker.dnn
+++ b/eonasdan-bootstrap-datetimepicker/eonasdan-bootstrap-datetimepicker.dnn
@@ -1,6 +1,6 @@
-
+
Bootstrap 3 Datepicker
Date/time picker widget based on twitter bootstrap
@@ -25,7 +25,7 @@
bootstrap-datetimepicker.min.js
BodyBottom
jQuery.fn.datetimepicker
- https://cdn.jsdelivr.net/npm/eonasdan-bootstrap-datetimepicker@4.17.47/build/js/bootstrap-datetimepicker.min.js
+ https://cdn.jsdelivr.net/npm/eonasdan-bootstrap-datetimepicker@<~=version~>/build/js/bootstrap-datetimepicker.min.js
@@ -38,7 +38,7 @@
- Resources\Libraries\eonasdan-bootstrap-datetimepicker\01_10_13
+ Resources\Libraries\eonasdan-bootstrap-datetimepicker\<~=versionFolder~>
Resources.zip
diff --git a/es6-shim_0.35.3/CHANGES.htm b/es6-shim/CHANGES.htm
similarity index 100%
rename from es6-shim_0.35.3/CHANGES.htm
rename to es6-shim/CHANGES.htm
diff --git a/es6-shim/LICENSE.htm b/es6-shim/LICENSE.htm
new file mode 100644
index 00000000..65d01d0a
--- /dev/null
+++ b/es6-shim/LICENSE.htm
@@ -0,0 +1 @@
+ES6 Shim is licensed under the MIT License .
diff --git a/es6-shim_0.35.3/dnn-library.json b/es6-shim/dnn-library.json
similarity index 100%
rename from es6-shim_0.35.3/dnn-library.json
rename to es6-shim/dnn-library.json
diff --git a/es6-shim_0.35.3/es6-shim.dnn b/es6-shim/es6-shim.dnn
similarity index 74%
rename from es6-shim_0.35.3/es6-shim.dnn
rename to es6-shim/es6-shim.dnn
index 31fb501d..7f7592e3 100644
--- a/es6-shim_0.35.3/es6-shim.dnn
+++ b/es6-shim/es6-shim.dnn
@@ -1,12 +1,12 @@
-
+
ES6 Shim
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -23,7 +23,7 @@
es6-shim
es6-shim.min.js
BodyBottom
- https://cdn.jsdelivr.net/es6.shim/0.35.3/es6-shim.min.js
+ https://cdn.jsdelivr.net/npm/es6-shim@<~=version~>/es6-shim.min.js
Promise
@@ -35,6 +35,14 @@
+
+
+ Resources\Libraries\es6-shim\<~=versionFolder~>
+
+ Resources.zip
+
+
+
diff --git a/es6-shim_0.35.3/LICENSE.htm b/es6-shim_0.35.3/LICENSE.htm
deleted file mode 100644
index ce301e22..00000000
--- a/es6-shim_0.35.3/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-ES6 Shim is licensed under the MIT License .
diff --git a/evrythng/CHANGES.htm b/evrythng/CHANGES.htm
new file mode 100644
index 00000000..32f81d71
--- /dev/null
+++ b/evrythng/CHANGES.htm
@@ -0,0 +1,3 @@
+
+ See the evrythng.js changelog
+
diff --git a/evrythng/LICENSE.htm b/evrythng/LICENSE.htm
new file mode 100644
index 00000000..52fa9d57
--- /dev/null
+++ b/evrythng/LICENSE.htm
@@ -0,0 +1,3 @@
+
+ evrythng.js is licensed under the Apache-2.0 license .
+
diff --git a/evrythng/dnn-library.json b/evrythng/dnn-library.json
new file mode 100644
index 00000000..7a339431
--- /dev/null
+++ b/evrythng/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/evrythng/dist/evrythng.browser.js"],
+ "resources": []
+}
diff --git a/date-fns_1.29.0/date-fns.dnn b/evrythng/evrythng.dnn
similarity index 54%
rename from date-fns_1.29.0/date-fns.dnn
rename to evrythng/evrythng.dnn
index b2d43de7..b48a7c15 100644
--- a/date-fns_1.29.0/date-fns.dnn
+++ b/evrythng/evrythng.dnn
@@ -1,34 +1,35 @@
-
- date-fns
+
+ evrythng.js
-
+
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
true
+
- date-fns
- date_fns.min.js
+ evrythng
+ evrythng.browser.js
BodyBottom
-
- dateFns
+ evrythng
+ https://cdn.jsdelivr.net/npm/evrythng@<~=version~>/dist/evrythng.browser.js
- date-fns
+ evrythng
- date_fns.min.js
+ evrythng.browser.js
diff --git a/fancybox/CHANGES.htm b/fancybox/CHANGES.htm
new file mode 100644
index 00000000..df4cbf21
--- /dev/null
+++ b/fancybox/CHANGES.htm
@@ -0,0 +1,3 @@
+
+ See the fancybox changelog
+
diff --git a/fancybox/LICENSE.htm b/fancybox/LICENSE.htm
new file mode 100644
index 00000000..4079b734
--- /dev/null
+++ b/fancybox/LICENSE.htm
@@ -0,0 +1,4 @@
+
+ fancybox is licensed under the GPLv3 license for all open source applications.
+ A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).
+
diff --git a/fancybox/dnn-library.json b/fancybox/dnn-library.json
new file mode 100644
index 00000000..667872fb
--- /dev/null
+++ b/fancybox/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/@fancyapps/fancybox/dist/jquery.fancybox.min.js"],
+ "resources": ["node_modules/@fancyapps/fancybox/dist/*.css"]
+}
diff --git a/fancybox/fancybox.dnn b/fancybox/fancybox.dnn
new file mode 100644
index 00000000..84c5fd2d
--- /dev/null
+++ b/fancybox/fancybox.dnn
@@ -0,0 +1,49 @@
+
+
+
+ fancybox
+
+
+
+
+ Engage Software
+ Engage Software
+ https://engagesoftware.com/
+ support@engagesoftware.com
+
+
+
+ true
+
+ jQuery
+
+
+
+
+ fancybox
+ jquery.fancybox.min.js
+ BodyBottom
+ jQuery.fancybox
+ https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@<~=version~>/dist/jquery.fancybox.min.js
+
+
+
+
+ fancybox
+
+ jquery.fancybox.min.js
+
+
+
+
+
+ Resources\Libraries\fancybox\<~=versionFolder~>
+
+ Resources.zip
+
+
+
+
+
+
+
diff --git a/file-saver_1.3.3/CHANGES.htm b/file-saver/CHANGES.htm
similarity index 100%
rename from file-saver_1.3.3/CHANGES.htm
rename to file-saver/CHANGES.htm
diff --git a/file-saver/LICENSE.htm b/file-saver/LICENSE.htm
new file mode 100644
index 00000000..ac19a98d
--- /dev/null
+++ b/file-saver/LICENSE.htm
@@ -0,0 +1 @@
+FileSaver.js is licensed under the MIT License .
diff --git a/file-saver/dnn-library.json b/file-saver/dnn-library.json
new file mode 100644
index 00000000..6062c6e8
--- /dev/null
+++ b/file-saver/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/file-saver/dist/FileSaver.min.js"],
+ "resources": []
+}
diff --git a/file-saver_1.3.3/filesaverjs.dnn b/file-saver/filesaverjs.dnn
similarity index 89%
rename from file-saver_1.3.3/filesaverjs.dnn
rename to file-saver/filesaverjs.dnn
index 6ec33557..53141e1a 100644
--- a/file-saver_1.3.3/filesaverjs.dnn
+++ b/file-saver/filesaverjs.dnn
@@ -1,6 +1,6 @@
-
+
FileSaver.js
FileSaver.js implements the saveAs() FileSaver interface in browsers that do
@@ -12,7 +12,7 @@ sent to an external server.]]>
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -29,7 +29,7 @@ sent to an external server.]]>
filesaverjs
FileSaver.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/file-saver@1.3.3/FileSaver.min.js
+ https://cdn.jsdelivr.net/npm/file-saver@<~=version~>/dist/FileSaver.min.js
saveAs
diff --git a/file-saver_1.3.3/LICENSE.htm b/file-saver_1.3.3/LICENSE.htm
deleted file mode 100644
index fd1035b3..00000000
--- a/file-saver_1.3.3/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-FileSaver.js is licensed under the MIT License .
diff --git a/file-saver_1.3.3/dnn-library.json b/file-saver_1.3.3/dnn-library.json
deleted file mode 100644
index 041e6862..00000000
--- a/file-saver_1.3.3/dnn-library.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["node_modules/file-saver/FileSaver.min.js"],
- "resources": []
-}
diff --git a/fingerprintjs2_1.5.1/CHANGES.htm b/fingerprintjs2/CHANGES.htm
similarity index 100%
rename from fingerprintjs2_1.5.1/CHANGES.htm
rename to fingerprintjs2/CHANGES.htm
diff --git a/fingerprintjs2/LICENSE.htm b/fingerprintjs2/LICENSE.htm
new file mode 100644
index 00000000..98b45c60
--- /dev/null
+++ b/fingerprintjs2/LICENSE.htm
@@ -0,0 +1,2 @@
+Fingerprintjs2 is licensed under
+ "MIT or Apache, whichever you prefer."
diff --git a/fingerprintjs2_1.5.1/dnn-library.json b/fingerprintjs2/dnn-library.json
similarity index 100%
rename from fingerprintjs2_1.5.1/dnn-library.json
rename to fingerprintjs2/dnn-library.json
diff --git a/fingerprintjs2_1.5.1/fingerprintjs2.dnn b/fingerprintjs2/fingerprintjs2.dnn
similarity index 91%
rename from fingerprintjs2_1.5.1/fingerprintjs2.dnn
rename to fingerprintjs2/fingerprintjs2.dnn
index 7cb53004..c3bd401c 100644
--- a/fingerprintjs2_1.5.1/fingerprintjs2.dnn
+++ b/fingerprintjs2/fingerprintjs2.dnn
@@ -1,6 +1,6 @@
-
+
Fingerprintjs2
@@ -8,7 +8,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,7 +21,7 @@
fingerprint2.min.js
Fingerprint2
BodyBottom
- https://cdn.jsdelivr.net/npm/fingerprintjs2@1.5.1/dist/fingerprint2.min.js
+ https://cdn.jsdelivr.net/npm/fingerprintjs2@<~=version~>/dist/fingerprint2.min.js
diff --git a/fingerprintjs2_1.5.1/LICENSE.htm b/fingerprintjs2_1.5.1/LICENSE.htm
deleted file mode 100644
index 6f742bd0..00000000
--- a/fingerprintjs2_1.5.1/LICENSE.htm
+++ /dev/null
@@ -1,2 +0,0 @@
-Fingerprintjs2 is licensed under
- "MIT or Apache, whichever you prefer."
diff --git a/flexslider_2.6.4/CHANGES.htm b/flexslider/CHANGES.htm
similarity index 100%
rename from flexslider_2.6.4/CHANGES.htm
rename to flexslider/CHANGES.htm
diff --git a/flexslider_2.6.4/FlexSlider.dnn b/flexslider/FlexSlider.dnn
similarity index 84%
rename from flexslider_2.6.4/FlexSlider.dnn
rename to flexslider/FlexSlider.dnn
index 4198f419..4bd955f3 100644
--- a/flexslider_2.6.4/FlexSlider.dnn
+++ b/flexslider/FlexSlider.dnn
@@ -1,12 +1,12 @@
-
+
FlexSlider JavaScript Library
An awesome, fully responsive jQuery slider toolkit.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,7 +21,7 @@
FlexSlider
jquery.flexslider-min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/flexslider@2.6.4/jquery.flexslider.min.js
+ https://cdn.jsdelivr.net/npm/flexslider@<~=version~>/jquery.flexslider.min.js
jQuery.fn.flexslider
@@ -35,7 +35,7 @@
- Resources\Libraries\FlexSlider\02_06_04
+ Resources\Libraries\FlexSlider\<~=versionFolder~>
Resources.zip
diff --git a/flexslider/LICENSE.htm b/flexslider/LICENSE.htm
new file mode 100644
index 00000000..f77bf947
--- /dev/null
+++ b/flexslider/LICENSE.htm
@@ -0,0 +1 @@
+FlexSlider is licensed under the GPLv2 license
diff --git a/flexslider_2.6.4/dnn-library.json b/flexslider/dnn-library.json
similarity index 100%
rename from flexslider_2.6.4/dnn-library.json
rename to flexslider/dnn-library.json
diff --git a/flexslider_2.6.4/LICENSE.htm b/flexslider_2.6.4/LICENSE.htm
deleted file mode 100644
index 5361d204..00000000
--- a/flexslider_2.6.4/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-FlexSlider is licensed under the GPLv2 license
diff --git a/gulpfile.js b/gulpfile.js
deleted file mode 100644
index bfda5ea7..00000000
--- a/gulpfile.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const path = require("path");
-const gulp = require("gulp");
-const glob = require("glob");
-const zip = require("gulp-zip");
-const mergeStream = require("merge-stream");
-
-const matches = glob.sync("*/dnn-library.json");
-gulp.task(
- "default",
- matches
- .map(m => ({ manifestPath: m, manifest: require(path.resolve(m)) }))
- .map(({ manifestPath, manifest }) => ({
- manifestPath,
- task: gulp.task(manifestPath, () =>
- mergeStream(
- gulp.src(manifest.files),
- gulp.src(manifest.resources || []).pipe(zip("Resources.zip")),
- gulp.src(["LICENSE.htm", "CHANGES.htm", "*.dnn"], { cwd: path.dirname(manifestPath) })
- )
- .pipe(zip(path.basename(path.dirname(manifestPath)) + ".zip"))
- .pipe(gulp.dest("./_InstallPackages/"))
- )
- }))
- .reduce((taskNames, { manifestPath }) => taskNames.concat(manifestPath), [])
-);
diff --git a/gulpfile.mjs b/gulpfile.mjs
new file mode 100644
index 00000000..e0b87ead
--- /dev/null
+++ b/gulpfile.mjs
@@ -0,0 +1,229 @@
+import gulp from 'gulp';
+import log from 'fancy-log';
+import chalk from 'chalk';
+import { deleteAsync } from 'del';
+import ejs from 'gulp-ejs';
+import zip from 'gulp-zip';
+import path from 'path';
+import { glob } from 'glob';
+import mergeStream from 'merge-stream';
+import spawn from 'cross-spawn';
+import {
+ formatVersionFolder,
+ compareStrings,
+ formatPackageUpgrades,
+ getLibraries,
+ getUpgradeVersions,
+ validatePackage,
+} from './utility/index.mjs';
+
+const libraries = getLibraries();
+
+/**
+ * A Gulp task which deletes the _InstallPackages folder
+ *
+ * @returns {Promise} A Promise which resolves when the folder is deleted
+ */
+function clean() {
+ return deleteAsync('./_InstallPackages/');
+}
+
+/**
+ * Creates a Gulp task function to package the given library
+ *
+ * @param {Library} library - A library object
+ * @returns {Task} A Gulp task function
+ */
+function makePackageTask(library) {
+ const packageFn = () => {
+ const resources = library.manifest.resources ?? [];
+ const allowEmpty = !resources || resources.length === 0;
+ if (resources.length === 0) {
+ resources.push('does_not-match-Þõý');
+ }
+
+ const templateData = {
+ version: library.version,
+ versionFolder: formatVersionFolder(library.version),
+ };
+ return mergeStream(
+ gulp.src(resources, { allowEmpty }).pipe(zip('Resources.zip')),
+ gulp
+ .src(['LICENSE.htm', 'CHANGES.htm', '*.dnn'], {
+ cwd: library.path,
+ })
+ .pipe(ejs(templateData, { delimiter: '~' }))
+ )
+ .pipe(gulp.src(library.manifest.files))
+ .pipe(zip(`${library.name}_${library.version}.zip`))
+ .pipe(gulp.dest('./_InstallPackages/'));
+ };
+
+ packageFn.displayName = `Generate ${library.name}_${library.version}.zip`;
+
+ return packageFn;
+}
+
+/**
+ * A Gulp task which validates the packages
+ *
+ * @returns {Promise} A Promise which resolves when done
+ */
+async function validatePackages() {
+ let invalidCount = 0;
+ const zipFiles = await glob('./_InstallPackages/**/*.zip');
+ for (const zipFile of zipFiles) {
+ const fileName = path.basename(zipFile);
+ const validationResult = await validatePackage(zipFile);
+ if (validationResult.length > 0) {
+ invalidCount++;
+ log.error(`${fileName} was invalid:`);
+ validationResult.forEach((msg) => log.error(msg));
+ }
+ }
+
+ if (invalidCount > 0) {
+ throw new Error(`${invalidCount} invalid package(s)`);
+ }
+}
+
+const defaultTask = gulp.series(
+ clean,
+ gulp.parallel(...libraries.map(makePackageTask)),
+ validatePackages
+);
+
+/**
+ * A Gulp task to output a table of outdated libraries
+ *
+ * @returns {Promise} A promise which resolves when the outdated table is complete
+ */
+function outdated() {
+ const allUpgradesPromises = libraries.map((library) =>
+ getUpgradeVersions(library).then((upgrades) =>
+ Object.assign(library, { upgrades })
+ )
+ );
+
+ return Promise.all(allUpgradesPromises).then((allUpgrades) => {
+ const validUpgrades = allUpgrades
+ .filter(({ upgrades }) => upgrades.size > 0)
+ .sort(({ name: a }, { name: b }) => compareStrings(a, b));
+
+ if (validUpgrades.length === 0) {
+ log.warn(
+ `All ${chalk.yellow(allUpgrades.length)} packages up-to-date`
+ );
+
+ return;
+ }
+
+ log.info(`
+${formatPackageUpgrades(validUpgrades)}`);
+ });
+}
+
+/**
+ * Creates a Gulp task function to upgrade libraries
+ *
+ * @param {string} upgradeType - patch, minor, or major
+ * @returns {Task} A Gulp task function
+ */
+function makeUpgradeTask(upgradeType) {
+ const upgradeFn = () => {
+ const allUpgradesPromises = libraries.map((library) =>
+ getUpgradeVersions(library).then((upgrades) =>
+ Object.assign(library, { upgrades })
+ )
+ );
+
+ return Promise.all(allUpgradesPromises).then((allUpgrades) => {
+ const validUpgrades = allUpgrades.filter(({ upgrades }) =>
+ upgrades.get(upgradeType)
+ );
+
+ if (validUpgrades.length === 0) {
+ log.warn(`No ${upgradeType} upgrades to process`);
+
+ return;
+ }
+
+ const upgradeWarnings = validUpgrades.map(
+ ({ name, version, upgrades, manifest }) => {
+ const newVersion = upgrades.get(upgradeType);
+ log(
+ `Upgrading ${chalk.magenta(name)} from ${chalk.yellow(
+ version
+ )} to ${chalk.yellow(newVersion)}`
+ );
+
+ spawn.sync(
+ 'yarn',
+ [
+ 'upgrade',
+ '--exact',
+ '--non-interactive',
+ `${name}@${newVersion}`,
+ ],
+ {
+ stdio: 'inherit',
+ }
+ );
+ spawn.sync(
+ 'git',
+ [
+ 'commit',
+ '--all',
+ '--message',
+ `Upgrade ${name} to ${newVersion} (from ${version})`,
+ ],
+ { stdio: 'inherit' }
+ );
+ spawn.sync(
+ 'git',
+ [
+ 'tag',
+ '--message',
+ `Automatic ${upgradeType} upgrade of ${name} to ${newVersion} (from ${version})`,
+ `${name}_${newVersion}`,
+ ],
+ { stdio: 'inherit' }
+ );
+
+ const fileGlobs = manifest.files.concat(
+ manifest.resources || []
+ );
+ const hasExtraFiles = fileGlobs.some(
+ (f) => f[0] !== '!' && !f.startsWith('node_modules')
+ );
+
+ return hasExtraFiles ? name : null;
+ }
+ );
+
+ upgradeWarnings
+ .filter((libraryName) => libraryName !== null)
+ .forEach((libraryName) =>
+ log.warn(
+ `The library ${chalk.magenta(
+ libraryName
+ )} has some resources that do not come from ${chalk.gray(
+ 'node_modules'
+ )}, please verify that the upgrade was complete`
+ )
+ );
+ });
+ };
+
+ upgradeFn.displayName = `Apply ${upgradeType} upgrades`;
+
+ return upgradeFn;
+}
+
+const upgradePatch = makeUpgradeTask('patch');
+const upgradeMinor = makeUpgradeTask('minor');
+const upgradeMajor = makeUpgradeTask('major');
+const upgrade = gulp.series(upgradePatch, upgradeMinor, upgradeMajor);
+
+export default defaultTask;
+export { outdated, upgradePatch, upgradeMinor, upgradeMajor, upgrade };
diff --git a/handlebars/CHANGES.htm b/handlebars/CHANGES.htm
new file mode 100644
index 00000000..ec6564a1
--- /dev/null
+++ b/handlebars/CHANGES.htm
@@ -0,0 +1,3 @@
+
+ See the Handlebars.js changelog
+
diff --git a/handlebars/LICENSE.htm b/handlebars/LICENSE.htm
new file mode 100644
index 00000000..cb8a251e
--- /dev/null
+++ b/handlebars/LICENSE.htm
@@ -0,0 +1,3 @@
+
+ Handlebars.js is licensed under the MIT license .
+
diff --git a/handlebars/dnn-library.json b/handlebars/dnn-library.json
new file mode 100644
index 00000000..d8a71159
--- /dev/null
+++ b/handlebars/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/handlebars/dist/handlebars.min.js"],
+ "resources": []
+}
diff --git a/handlebars/handlebars.dnn b/handlebars/handlebars.dnn
new file mode 100644
index 00000000..0bd73caa
--- /dev/null
+++ b/handlebars/handlebars.dnn
@@ -0,0 +1,38 @@
+
+
+
+ Handlebars.js
+
+
+
+
+ Engage Software
+ Engage Software
+ https://engagesoftware.com/
+ support@engagesoftware.com
+
+
+
+ true
+
+
+
+ handlebars
+ handlebars.min.js
+ BodyBottom
+ Handlebars
+ https://cdn.jsdelivr.net/npm/handlebars@<~=version~>/dist/handlebars.min.js
+
+
+
+
+ handlebars
+
+ handlebars.min.js
+
+
+
+
+
+
+
diff --git a/html5-history-api_4.2.8/CHANGES.htm b/html5-history-api/CHANGES.htm
similarity index 100%
rename from html5-history-api_4.2.8/CHANGES.htm
rename to html5-history-api/CHANGES.htm
diff --git a/html5-history-api/LICENSE.htm b/html5-history-api/LICENSE.htm
new file mode 100644
index 00000000..71f98d4b
--- /dev/null
+++ b/html5-history-api/LICENSE.htm
@@ -0,0 +1,3 @@
+HTML5 History API is dual licensed under the
+ MIT License and
+ GPL License .
diff --git a/html5-history-api_4.2.8/dnn-library.json b/html5-history-api/dnn-library.json
similarity index 100%
rename from html5-history-api_4.2.8/dnn-library.json
rename to html5-history-api/dnn-library.json
diff --git a/html5-history-api_4.2.8/history.dnn b/html5-history-api/history.dnn
similarity index 81%
rename from html5-history-api_4.2.8/history.dnn
rename to html5-history-api/history.dnn
index c143a0de..153edbab 100644
--- a/html5-history-api_4.2.8/history.dnn
+++ b/html5-history-api/history.dnn
@@ -1,6 +1,6 @@
-
+
HTML5 History API
http://spb-piksel.ru]]>
@@ -8,7 +8,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -18,23 +18,23 @@
history
- history.js
+ history.min.js
window.history.location
BodyBottom
- https://cdn.jsdelivr.net/npm/html5-history-api@4.2.8/history.min.js
+ https://cdn.jsdelivr.net/npm/html5-history-api@<~=version~>/history.min.js
history
- history.js
+ history.min.js
- Resources\Libraries\history\04_02_08
+ Resources\Libraries\history\<~=versionFolder~>
Resources.zip
diff --git a/html5-history-api_4.2.8/LICENSE.htm b/html5-history-api_4.2.8/LICENSE.htm
deleted file mode 100644
index 1514c089..00000000
--- a/html5-history-api_4.2.8/LICENSE.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-HTML5 History API is dual licensed under the
- MIT License and
- GPL License .
diff --git a/html5shiv_3.7.3/CHANGES.htm b/html5shiv/CHANGES.htm
similarity index 100%
rename from html5shiv_3.7.3/CHANGES.htm
rename to html5shiv/CHANGES.htm
diff --git a/html5shiv/LICENSE.htm b/html5shiv/LICENSE.htm
new file mode 100644
index 00000000..9daa0bd7
--- /dev/null
+++ b/html5shiv/LICENSE.htm
@@ -0,0 +1 @@
+Dual licensed as MIT and GPL2
diff --git a/html5shiv/dnn-library.json b/html5shiv/dnn-library.json
new file mode 100644
index 00000000..91badd50
--- /dev/null
+++ b/html5shiv/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/html5shiv/dist/html5shiv-printshiv.min.js"],
+ "resources": ["node_modules/html5shiv/dist/**"]
+}
diff --git a/html5shiv_3.7.3/html5shiv.dnn b/html5shiv/html5shiv.dnn
similarity index 86%
rename from html5shiv_3.7.3/html5shiv.dnn
rename to html5shiv/html5shiv.dnn
index 4d590b4b..5f4b081d 100644
--- a/html5shiv_3.7.3/html5shiv.dnn
+++ b/html5shiv/html5shiv.dnn
@@ -1,6 +1,6 @@
-
+
HTML5 Shiv
The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.
@@ -9,7 +9,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
html5shiv-printshiv.min.js
html5
PageHead
- https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js
+ https://cdn.jsdelivr.net/npm/html5shiv@<~=version~>/dist/html5shiv.min.js
@@ -35,7 +35,7 @@
- Resources\Libraries\html5shiv\03_07_03
+ Resources\Libraries\html5shiv\<~=versionFolder~>
Resources.zip
@@ -44,4 +44,4 @@
-
\ No newline at end of file
+
diff --git a/html5shiv_3.7.3/LICENSE.htm b/html5shiv_3.7.3/LICENSE.htm
deleted file mode 100644
index 5941ead7..00000000
--- a/html5shiv_3.7.3/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Dual licensed as MIT and GPL2
\ No newline at end of file
diff --git a/html5shiv_3.7.3/dnn-library.json b/html5shiv_3.7.3/dnn-library.json
deleted file mode 100644
index f81d8630..00000000
--- a/html5shiv_3.7.3/dnn-library.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["node_modules/html5shiv/dist/html5shiv.min.js"],
- "resources": ["node_modules/html5shiv/dist/**"]
-}
diff --git a/image-map/CHANGES.htm b/image-map/CHANGES.htm
new file mode 100644
index 00000000..45478b8a
--- /dev/null
+++ b/image-map/CHANGES.htm
@@ -0,0 +1,4 @@
+See the
+
+ Image-Map changelog
+
diff --git a/image-map/LICENSE.htm b/image-map/LICENSE.htm
new file mode 100644
index 00000000..503da4a6
--- /dev/null
+++ b/image-map/LICENSE.htm
@@ -0,0 +1,4 @@
+
+ Image-Map is licensed under the
+
+ Apache-2.0 license .
diff --git a/image-map/dnn-library.json b/image-map/dnn-library.json
new file mode 100644
index 00000000..39bb441f
--- /dev/null
+++ b/image-map/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["node_modules/image-map/dist/image-map.js"],
+ "resources": []
+}
diff --git a/image-map/image-map.dnn b/image-map/image-map.dnn
new file mode 100644
index 00000000..fab1adc8
--- /dev/null
+++ b/image-map/image-map.dnn
@@ -0,0 +1,39 @@
+
+
+
+ Image-Map
+
+
+
+
+ Engage Software
+ Engage Software
+ https://engagesoftware.com/
+ support@engagesoftware.com
+
+
+
+ true
+
+
+
+
+ image-map
+ image-map.js
+ BodyBottom
+ ImageMap
+ https://cdn.jsdelivr.net/npm/image-map@<~=version~>/dist/image-map.min.js
+
+
+
+
+ image-map
+
+ image-map.js
+
+
+
+
+
+
+
diff --git a/intl-tel-input_12.1.4/CHANGES.htm b/intl-tel-input/CHANGES.htm
similarity index 100%
rename from intl-tel-input_12.1.4/CHANGES.htm
rename to intl-tel-input/CHANGES.htm
diff --git a/intl-tel-input/LICENSE.htm b/intl-tel-input/LICENSE.htm
new file mode 100644
index 00000000..02b1dd87
--- /dev/null
+++ b/intl-tel-input/LICENSE.htm
@@ -0,0 +1 @@
+International Telephone Input is licensed under the MIT License .
diff --git a/intl-tel-input_12.1.4/dnn-library.json b/intl-tel-input/dnn-library.json
similarity index 54%
rename from intl-tel-input_12.1.4/dnn-library.json
rename to intl-tel-input/dnn-library.json
index 2dfdf9fc..8cc983c7 100644
--- a/intl-tel-input_12.1.4/dnn-library.json
+++ b/intl-tel-input/dnn-library.json
@@ -1,4 +1,4 @@
{
"files": ["node_modules/intl-tel-input/build/js/intlTelInput.min.js"],
- "resources": ["node_modules/intel-tel-input/build/js/**"]
+ "resources": ["node_modules/intl-tel-input/build/**"]
}
diff --git a/intl-tel-input_12.1.4/intl-tel-input.dnn b/intl-tel-input/intl-tel-input.dnn
similarity index 84%
rename from intl-tel-input_12.1.4/intl-tel-input.dnn
rename to intl-tel-input/intl-tel-input.dnn
index 722e3d29..c8327a92 100644
--- a/intl-tel-input_12.1.4/intl-tel-input.dnn
+++ b/intl-tel-input/intl-tel-input.dnn
@@ -1,6 +1,6 @@
-
+
International Telephone Input
@@ -8,7 +8,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -23,7 +23,7 @@
intl-tel-input
intlTelInput.min.js
BodyBottom
- https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/12.1.4/js/intlTelInput.min.js
+ https://cdn.jsdelivr.net/npm/intl-tel-input@<~=version~>/build/js/intlTelInput.min.js
jQuery.fn.intlTelInput
@@ -37,7 +37,7 @@
- Resources\Libraries\intl-tel-input\12_01_04
+ Resources\Libraries\intl-tel-input\<~=versionFolder~>
Resources.zip
diff --git a/intl-tel-input_12.1.4/LICENSE.htm b/intl-tel-input_12.1.4/LICENSE.htm
deleted file mode 100644
index 0ee70302..00000000
--- a/intl-tel-input_12.1.4/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-International Telephone Input is licensed under the MIT License .
diff --git a/jQuery.cookie_1.4.1/LICENSE.htm b/jQuery.cookie_1.4.1/LICENSE.htm
deleted file mode 100644
index 93b62932..00000000
--- a/jQuery.cookie_1.4.1/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-jQuery.cookie is MIT licensed by Klaus Hartl
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/CHANGES.htm b/jQuery.fancybox_1.3.4/CHANGES.htm
deleted file mode 100644
index d950c790..00000000
--- a/jQuery.fancybox_1.3.4/CHANGES.htm
+++ /dev/null
@@ -1 +0,0 @@
-See the FancyBox changelog
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/LICENSE.htm b/jQuery.fancybox_1.3.4/LICENSE.htm
deleted file mode 100644
index 070cb4ff..00000000
--- a/jQuery.fancybox_1.3.4/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-Licensed under both MIT and GPL licenses
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/dnn-library.json b/jQuery.fancybox_1.3.4/dnn-library.json
deleted file mode 100644
index 79dd1d6a..00000000
--- a/jQuery.fancybox_1.3.4/dnn-library.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.pack.js"],
- "resources": ["jQuery.fancybox_1.3.4/resources/**"]
-}
diff --git a/jQuery.fancybox_1.3.4/jQuery.fancybox.dnn b/jQuery.fancybox_1.3.4/jQuery.fancybox.dnn
deleted file mode 100644
index da166476..00000000
--- a/jQuery.fancybox_1.3.4/jQuery.fancybox.dnn
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- FancyBox
- FancyBox is a tool for displaying images, html content and multi-media in a Mac-style "lightbox" that floats overtop of web page.
-
- Engage Software
- Engage Software
- http://www.engagesoftware.com
- support@engagesoftware.com
-
-
-
- true
-
- jQuery
-
-
-
-
- jQuery.fancybox
- jQuery.fancybox-1.3.4.js
- jQuery.fn.fancybox
- https://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.min.js
- BodyBottom
-
-
-
-
- jQuery.fancybox
-
- jQuery.fancybox-1.3.4.js
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.pack.js b/jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.pack.js
deleted file mode 100644
index 1373ed08..00000000
--- a/jQuery.fancybox_1.3.4/jquery.fancybox-1.3.4.pack.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * FancyBox - jQuery Plugin
- * Simple and fancy lightbox alternative
- *
- * Examples and documentation at: http://fancybox.net
- *
- * Copyright (c) 2008 - 2010 Janis Skarnelis
- * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
- *
- * Version: 1.3.4 (11/11/2010)
- * Requires: jQuery v1.3+
- *
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- */
-
-;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("
")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('The requested content cannot be loaded. Please try again later.
');
-F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||
-c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=
-false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('
').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel",
-function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b(" ").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C=' ';P="";b.each(e.swf,function(x,H){C+=' ';P+=" "+x+'="'+H+'"'});C+=' ";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win==
-"function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('
');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor,
-opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length?
-d.titlePosition=="float"?'':''+s+"
":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
-y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height==
-i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents());
-f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode==
-37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto");
-s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('').appendTo(j);
-f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);
-j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type==
-"image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"),
-10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};
-b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k=
-0,C=a.length;ko.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+
-1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h=
-true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1;
-b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5-
-d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('
'),t=b(''),u=b('
'),f=b('
'));D=b('
').append('
').appendTo(f);
-D.append(j=b('
'),E=b(' '),n=b('
'),z=b(' '),A=b(' '));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()});
-b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('').prependTo(D)}}};
-b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",
-easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/resources/blank.gif b/jQuery.fancybox_1.3.4/resources/blank.gif
deleted file mode 100644
index 35d42e80..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/blank.gif and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_close.png b/jQuery.fancybox_1.3.4/resources/fancy_close.png
deleted file mode 100644
index 07035307..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_close.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_loading.png b/jQuery.fancybox_1.3.4/resources/fancy_loading.png
deleted file mode 100644
index 25030179..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_loading.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_nav_left.png b/jQuery.fancybox_1.3.4/resources/fancy_nav_left.png
deleted file mode 100644
index ebaa6a4f..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_nav_left.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_nav_right.png b/jQuery.fancybox_1.3.4/resources/fancy_nav_right.png
deleted file mode 100644
index 873294e9..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_nav_right.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_e.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_e.png
deleted file mode 100644
index 2eda0893..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_e.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_n.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_n.png
deleted file mode 100644
index 69aa10e2..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_n.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_ne.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_ne.png
deleted file mode 100644
index 79f6980a..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_ne.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_nw.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_nw.png
deleted file mode 100644
index 7182cd93..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_nw.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_s.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_s.png
deleted file mode 100644
index d8858bfb..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_s.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_se.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_se.png
deleted file mode 100644
index 541e3ffd..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_se.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_sw.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_sw.png
deleted file mode 100644
index b451689f..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_sw.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_shadow_w.png b/jQuery.fancybox_1.3.4/resources/fancy_shadow_w.png
deleted file mode 100644
index 8a4e4a88..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_shadow_w.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_title_left.png b/jQuery.fancybox_1.3.4/resources/fancy_title_left.png
deleted file mode 100644
index 6049223d..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_title_left.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_title_main.png b/jQuery.fancybox_1.3.4/resources/fancy_title_main.png
deleted file mode 100644
index 8044271f..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_title_main.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_title_over.png b/jQuery.fancybox_1.3.4/resources/fancy_title_over.png
deleted file mode 100644
index d9f458f4..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_title_over.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancy_title_right.png b/jQuery.fancybox_1.3.4/resources/fancy_title_right.png
deleted file mode 100644
index e36d9db2..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancy_title_right.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancybox-x.png b/jQuery.fancybox_1.3.4/resources/fancybox-x.png
deleted file mode 100644
index c2130f86..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancybox-x.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancybox-y.png b/jQuery.fancybox_1.3.4/resources/fancybox-y.png
deleted file mode 100644
index 7ef399b9..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancybox-y.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/fancybox.png b/jQuery.fancybox_1.3.4/resources/fancybox.png
deleted file mode 100644
index 65e14f68..00000000
Binary files a/jQuery.fancybox_1.3.4/resources/fancybox.png and /dev/null differ
diff --git a/jQuery.fancybox_1.3.4/resources/jquery.easing-1.3.pack.js b/jQuery.fancybox_1.3.4/resources/jquery.easing-1.3.pack.js
deleted file mode 100644
index 9028179e..00000000
--- a/jQuery.fancybox_1.3.4/resources/jquery.easing-1.3.pack.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
- *
- * Uses the built in easing capabilities added In jQuery 1.1
- * to offer multiple easing options
- *
- * TERMS OF USE - jQuery Easing
- *
- * Open source under the BSD License.
- *
- * Copyright © 2008 George McGinley Smith
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice, this list
- * of conditions and the following disclaimer in the documentation and/or other materials
- * provided with the distribution.
- *
- * Neither the name of the author nor the names of contributors may be used to endorse
- * or promote products derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- *
-*/
-
-// t: current time, b: begInnIng value, c: change In value, d: duration
-eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t')[0], { prop: 0 }),
-
- isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
-
- /*
- * Private methods
- */
-
- _abort = function() {
- loading.hide();
-
- imgPreloader.onerror = imgPreloader.onload = null;
-
- if (ajaxLoader) {
- ajaxLoader.abort();
- }
-
- tmp.empty();
- },
-
- _error = function() {
- if (false === selectedOpts.onError(selectedArray, selectedIndex, selectedOpts)) {
- loading.hide();
- busy = false;
- return;
- }
-
- selectedOpts.titleShow = false;
-
- selectedOpts.width = 'auto';
- selectedOpts.height = 'auto';
-
- tmp.html( 'The requested content cannot be loaded. Please try again later.
' );
-
- _process_inline();
- },
-
- _start = function() {
- var obj = selectedArray[ selectedIndex ],
- href,
- type,
- title,
- str,
- emb,
- ret;
-
- _abort();
-
- selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));
-
- ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts);
-
- if (ret === false) {
- busy = false;
- return;
- } else if (typeof ret == 'object') {
- selectedOpts = $.extend(selectedOpts, ret);
- }
-
- title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || '';
-
- if (obj.nodeName && !selectedOpts.orig) {
- selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
- }
-
- if (title === '' && selectedOpts.orig && selectedOpts.titleFromAlt) {
- title = selectedOpts.orig.attr('alt');
- }
-
- href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null;
-
- if ((/^(?:javascript)/i).test(href) || href == '#') {
- href = null;
- }
-
- if (selectedOpts.type) {
- type = selectedOpts.type;
-
- if (!href) {
- href = selectedOpts.content;
- }
-
- } else if (selectedOpts.content) {
- type = 'html';
-
- } else if (href) {
- if (href.match(imgRegExp)) {
- type = 'image';
-
- } else if (href.match(swfRegExp)) {
- type = 'swf';
-
- } else if ($(obj).hasClass("iframe")) {
- type = 'iframe';
-
- } else if (href.indexOf("#") === 0) {
- type = 'inline';
-
- } else {
- type = 'ajax';
- }
- }
-
- if (!type) {
- _error();
- return;
- }
-
- if (type == 'inline') {
- obj = href.substr(href.indexOf("#"));
- type = $(obj).length > 0 ? 'inline' : 'ajax';
- }
-
- selectedOpts.type = type;
- selectedOpts.href = href;
- selectedOpts.title = title;
-
- if (selectedOpts.autoDimensions) {
- if (selectedOpts.type == 'html' || selectedOpts.type == 'inline' || selectedOpts.type == 'ajax') {
- selectedOpts.width = 'auto';
- selectedOpts.height = 'auto';
- } else {
- selectedOpts.autoDimensions = false;
- }
- }
-
- if (selectedOpts.modal) {
- selectedOpts.overlayShow = true;
- selectedOpts.hideOnOverlayClick = false;
- selectedOpts.hideOnContentClick = false;
- selectedOpts.enableEscapeButton = false;
- selectedOpts.showCloseButton = false;
- }
-
- selectedOpts.padding = parseInt(selectedOpts.padding, 10);
- selectedOpts.margin = parseInt(selectedOpts.margin, 10);
-
- tmp.css('padding', (selectedOpts.padding + selectedOpts.margin));
-
- $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {
- $(this).replaceWith(content.children());
- });
-
- switch (type) {
- case 'html' :
- tmp.html( selectedOpts.content );
- _process_inline();
- break;
-
- case 'inline' :
- if ( $(obj).parent().is('#fancybox-content') === true) {
- busy = false;
- return;
- }
-
- $('
')
- .hide()
- .insertBefore( $(obj) )
- .bind('fancybox-cleanup', function() {
- $(this).replaceWith(content.children());
- }).bind('fancybox-cancel', function() {
- $(this).replaceWith(tmp.children());
- });
-
- $(obj).appendTo(tmp);
-
- _process_inline();
- break;
-
- case 'image':
- busy = false;
-
- $.fancybox.showActivity();
-
- imgPreloader = new Image();
-
- imgPreloader.onerror = function() {
- _error();
- };
-
- imgPreloader.onload = function() {
- busy = true;
-
- imgPreloader.onerror = imgPreloader.onload = null;
-
- _process_image();
- };
-
- imgPreloader.src = href;
- break;
-
- case 'swf':
- selectedOpts.scrolling = 'no';
-
- str = ' ';
- emb = '';
-
- $.each(selectedOpts.swf, function(name, val) {
- str += ' ';
- emb += ' ' + name + '="' + val + '"';
- });
-
- str += ' ';
-
- tmp.html(str);
-
- _process_inline();
- break;
-
- case 'ajax':
- busy = false;
-
- $.fancybox.showActivity();
-
- selectedOpts.ajax.win = selectedOpts.ajax.success;
-
- ajaxLoader = $.ajax($.extend({}, selectedOpts.ajax, {
- url : href,
- data : selectedOpts.ajax.data || {},
- error : function(XMLHttpRequest, textStatus, errorThrown) {
- if ( XMLHttpRequest.status > 0 ) {
- _error();
- }
- },
- success : function(data, textStatus, XMLHttpRequest) {
- var o = typeof XMLHttpRequest == 'object' ? XMLHttpRequest : ajaxLoader;
- if (o.status == 200) {
- if ( typeof selectedOpts.ajax.win == 'function' ) {
- ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
-
- if (ret === false) {
- loading.hide();
- return;
- } else if (typeof ret == 'string' || typeof ret == 'object') {
- data = ret;
- }
- }
-
- tmp.html( data );
- _process_inline();
- }
- }
- }));
-
- break;
-
- case 'iframe':
- _show();
- break;
- }
- },
-
- _process_inline = function() {
- var
- w = selectedOpts.width,
- h = selectedOpts.height;
-
- if (w.toString().indexOf('%') > -1) {
- w = parseInt( ($(window).width() - (selectedOpts.margin * 2)) * parseFloat(w) / 100, 10) + 'px';
-
- } else {
- w = w == 'auto' ? 'auto' : w + 'px';
- }
-
- if (h.toString().indexOf('%') > -1) {
- h = parseInt( ($(window).height() - (selectedOpts.margin * 2)) * parseFloat(h) / 100, 10) + 'px';
-
- } else {
- h = h == 'auto' ? 'auto' : h + 'px';
- }
-
- tmp.wrapInner('
');
-
- selectedOpts.width = tmp.width();
- selectedOpts.height = tmp.height();
-
- _show();
- },
-
- _process_image = function() {
- selectedOpts.width = imgPreloader.width;
- selectedOpts.height = imgPreloader.height;
-
- $(" ").attr({
- 'id' : 'fancybox-img',
- 'src' : imgPreloader.src,
- 'alt' : selectedOpts.title
- }).appendTo( tmp );
-
- _show();
- },
-
- _show = function() {
- var pos, equal;
-
- loading.hide();
-
- if (wrap.is(":visible") && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
- $.event.trigger('fancybox-cancel');
-
- busy = false;
- return;
- }
-
- busy = true;
-
- $(content.add( overlay )).unbind();
-
- $(window).unbind("resize.fb scroll.fb");
- $(document).unbind('keydown.fb');
-
- if (wrap.is(":visible") && currentOpts.titlePosition !== 'outside') {
- wrap.css('height', wrap.height());
- }
-
- currentArray = selectedArray;
- currentIndex = selectedIndex;
- currentOpts = selectedOpts;
-
- if (currentOpts.overlayShow) {
- overlay.css({
- 'background-color' : currentOpts.overlayColor,
- 'opacity' : currentOpts.overlayOpacity,
- 'cursor' : currentOpts.hideOnOverlayClick ? 'pointer' : 'auto',
- 'height' : $(document).height()
- });
-
- if (!overlay.is(':visible')) {
- if (isIE6) {
- $('select:not(#fancybox-tmp select)').filter(function() {
- return this.style.visibility !== 'hidden';
- }).css({'visibility' : 'hidden'}).one('fancybox-cleanup', function() {
- this.style.visibility = 'inherit';
- });
- }
-
- overlay.show();
- }
- } else {
- overlay.hide();
- }
-
- final_pos = _get_zoom_to();
-
- _process_title();
-
- if (wrap.is(":visible")) {
- $( close.add( nav_left ).add( nav_right ) ).hide();
-
- pos = wrap.position(),
-
- start_pos = {
- top : pos.top,
- left : pos.left,
- width : wrap.width(),
- height : wrap.height()
- };
-
- equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);
-
- content.fadeTo(currentOpts.changeFade, 0.3, function() {
- var finish_resizing = function() {
- content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish);
- };
-
- $.event.trigger('fancybox-change');
-
- content
- .empty()
- .removeAttr('filter')
- .css({
- 'border-width' : currentOpts.padding,
- 'width' : final_pos.width - currentOpts.padding * 2,
- 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
- });
-
- if (equal) {
- finish_resizing();
-
- } else {
- fx.prop = 0;
-
- $(fx).animate({prop: 1}, {
- duration : currentOpts.changeSpeed,
- easing : currentOpts.easingChange,
- step : _draw,
- complete : finish_resizing
- });
- }
- });
-
- return;
- }
-
- wrap.removeAttr("style");
-
- content.css('border-width', currentOpts.padding);
-
- if (currentOpts.transitionIn == 'elastic') {
- start_pos = _get_zoom_from();
-
- content.html( tmp.contents() );
-
- wrap.show();
-
- if (currentOpts.opacity) {
- final_pos.opacity = 0;
- }
-
- fx.prop = 0;
-
- $(fx).animate({prop: 1}, {
- duration : currentOpts.speedIn,
- easing : currentOpts.easingIn,
- step : _draw,
- complete : _finish
- });
-
- return;
- }
-
- if (currentOpts.titlePosition == 'inside' && titleHeight > 0) {
- title.show();
- }
-
- content
- .css({
- 'width' : final_pos.width - currentOpts.padding * 2,
- 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
- })
- .html( tmp.contents() );
-
- wrap
- .css(final_pos)
- .fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );
- },
-
- _format_title = function(title) {
- if (title && title.length) {
- if (currentOpts.titlePosition == 'float') {
- return '';
- }
-
- return '' + title + '
';
- }
-
- return false;
- },
-
- _process_title = function() {
- titleStr = currentOpts.title || '';
- titleHeight = 0;
-
- title
- .empty()
- .removeAttr('style')
- .removeClass();
-
- if (currentOpts.titleShow === false) {
- title.hide();
- return;
- }
-
- titleStr = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(titleStr, currentArray, currentIndex, currentOpts) : _format_title(titleStr);
-
- if (!titleStr || titleStr === '') {
- title.hide();
- return;
- }
-
- title
- .addClass('fancybox-title-' + currentOpts.titlePosition)
- .html( titleStr )
- .appendTo( 'body' )
- .show();
-
- switch (currentOpts.titlePosition) {
- case 'inside':
- title
- .css({
- 'width' : final_pos.width - (currentOpts.padding * 2),
- 'marginLeft' : currentOpts.padding,
- 'marginRight' : currentOpts.padding
- });
-
- titleHeight = title.outerHeight(true);
-
- title.appendTo( outer );
-
- final_pos.height += titleHeight;
- break;
-
- case 'over':
- title
- .css({
- 'marginLeft' : currentOpts.padding,
- 'width' : final_pos.width - (currentOpts.padding * 2),
- 'bottom' : currentOpts.padding
- })
- .appendTo( outer );
- break;
-
- case 'float':
- title
- .css('left', parseInt((title.width() - final_pos.width - 40)/ 2, 10) * -1)
- .appendTo( wrap );
- break;
-
- default:
- title
- .css({
- 'width' : final_pos.width - (currentOpts.padding * 2),
- 'paddingLeft' : currentOpts.padding,
- 'paddingRight' : currentOpts.padding
- })
- .appendTo( wrap );
- break;
- }
-
- title.hide();
- },
-
- _set_navigation = function() {
- if (currentOpts.enableEscapeButton || currentOpts.enableKeyboardNav) {
- $(document).bind('keydown.fb', function(e) {
- if (e.keyCode == 27 && currentOpts.enableEscapeButton) {
- e.preventDefault();
- $.fancybox.close();
-
- } else if ((e.keyCode == 37 || e.keyCode == 39) && currentOpts.enableKeyboardNav && e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'SELECT') {
- e.preventDefault();
- $.fancybox[ e.keyCode == 37 ? 'prev' : 'next']();
- }
- });
- }
-
- if (!currentOpts.showNavArrows) {
- nav_left.hide();
- nav_right.hide();
- return;
- }
-
- if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {
- nav_left.show();
- }
-
- if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {
- nav_right.show();
- }
- },
-
- _finish = function () {
- if (!$.support.opacity) {
- content.get(0).style.removeAttribute('filter');
- wrap.get(0).style.removeAttribute('filter');
- }
-
- if (selectedOpts.autoDimensions) {
- content.css('height', 'auto');
- }
-
- wrap.css('height', 'auto');
-
- if (titleStr && titleStr.length) {
- title.show();
- }
-
- if (currentOpts.showCloseButton) {
- close.show();
- }
-
- _set_navigation();
-
- if (currentOpts.hideOnContentClick) {
- content.bind('click', $.fancybox.close);
- }
-
- if (currentOpts.hideOnOverlayClick) {
- overlay.bind('click', $.fancybox.close);
- }
-
- $(window).bind("resize.fb", $.fancybox.resize);
-
- if (currentOpts.centerOnScroll) {
- $(window).bind("scroll.fb", $.fancybox.center);
- }
-
- if (currentOpts.type == 'iframe') {
- $('').appendTo(content);
- }
-
- wrap.show();
-
- busy = false;
-
- $.fancybox.center();
-
- currentOpts.onComplete(currentArray, currentIndex, currentOpts);
-
- _preload_images();
- },
-
- _preload_images = function() {
- var href,
- objNext;
-
- if ((currentArray.length -1) > currentIndex) {
- href = currentArray[ currentIndex + 1 ].href;
-
- if (typeof href !== 'undefined' && href.match(imgRegExp)) {
- objNext = new Image();
- objNext.src = href;
- }
- }
-
- if (currentIndex > 0) {
- href = currentArray[ currentIndex - 1 ].href;
-
- if (typeof href !== 'undefined' && href.match(imgRegExp)) {
- objNext = new Image();
- objNext.src = href;
- }
- }
- },
-
- _draw = function(pos) {
- var dim = {
- width : parseInt(start_pos.width + (final_pos.width - start_pos.width) * pos, 10),
- height : parseInt(start_pos.height + (final_pos.height - start_pos.height) * pos, 10),
-
- top : parseInt(start_pos.top + (final_pos.top - start_pos.top) * pos, 10),
- left : parseInt(start_pos.left + (final_pos.left - start_pos.left) * pos, 10)
- };
-
- if (typeof final_pos.opacity !== 'undefined') {
- dim.opacity = pos < 0.5 ? 0.5 : pos;
- }
-
- wrap.css(dim);
-
- content.css({
- 'width' : dim.width - currentOpts.padding * 2,
- 'height' : dim.height - (titleHeight * pos) - currentOpts.padding * 2
- });
- },
-
- _get_viewport = function() {
- return [
- $(window).width() - (currentOpts.margin * 2),
- $(window).height() - (currentOpts.margin * 2),
- $(document).scrollLeft() + currentOpts.margin,
- $(document).scrollTop() + currentOpts.margin
- ];
- },
-
- _get_zoom_to = function () {
- var view = _get_viewport(),
- to = {},
- resize = currentOpts.autoScale,
- double_padding = currentOpts.padding * 2,
- ratio;
-
- if (currentOpts.width.toString().indexOf('%') > -1) {
- to.width = parseInt((view[0] * parseFloat(currentOpts.width)) / 100, 10);
- } else {
- to.width = currentOpts.width + double_padding;
- }
-
- if (currentOpts.height.toString().indexOf('%') > -1) {
- to.height = parseInt((view[1] * parseFloat(currentOpts.height)) / 100, 10);
- } else {
- to.height = currentOpts.height + double_padding;
- }
-
- if (resize && (to.width > view[0] || to.height > view[1])) {
- if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {
- ratio = (currentOpts.width ) / (currentOpts.height );
-
- if ((to.width ) > view[0]) {
- to.width = view[0];
- to.height = parseInt(((to.width - double_padding) / ratio) + double_padding, 10);
- }
-
- if ((to.height) > view[1]) {
- to.height = view[1];
- to.width = parseInt(((to.height - double_padding) * ratio) + double_padding, 10);
- }
-
- } else {
- to.width = Math.min(to.width, view[0]);
- to.height = Math.min(to.height, view[1]);
- }
- }
-
- to.top = parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - to.height - 40) * 0.5)), 10);
- to.left = parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - to.width - 40) * 0.5)), 10);
-
- return to;
- },
-
- _get_obj_pos = function(obj) {
- var pos = obj.offset();
-
- pos.top += parseInt( obj.css('paddingTop'), 10 ) || 0;
- pos.left += parseInt( obj.css('paddingLeft'), 10 ) || 0;
-
- pos.top += parseInt( obj.css('border-top-width'), 10 ) || 0;
- pos.left += parseInt( obj.css('border-left-width'), 10 ) || 0;
-
- pos.width = obj.width();
- pos.height = obj.height();
-
- return pos;
- },
-
- _get_zoom_from = function() {
- var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,
- from = {},
- pos,
- view;
-
- if (orig && orig.length) {
- pos = _get_obj_pos(orig);
-
- from = {
- width : pos.width + (currentOpts.padding * 2),
- height : pos.height + (currentOpts.padding * 2),
- top : pos.top - currentOpts.padding - 20,
- left : pos.left - currentOpts.padding - 20
- };
-
- } else {
- view = _get_viewport();
-
- from = {
- width : currentOpts.padding * 2,
- height : currentOpts.padding * 2,
- top : parseInt(view[3] + view[1] * 0.5, 10),
- left : parseInt(view[2] + view[0] * 0.5, 10)
- };
- }
-
- return from;
- },
-
- _animate_loading = function() {
- if (!loading.is(':visible')){
- clearInterval(loadingTimer);
- return;
- }
-
- $('div', loading).css('top', (loadingFrame * -40) + 'px');
-
- loadingFrame = (loadingFrame + 1) % 12;
- };
-
- /*
- * Public methods
- */
-
- $.fn.fancybox = function(options) {
- if (!$(this).length) {
- return this;
- }
-
- $(this)
- .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))
- .unbind('click.fb')
- .bind('click.fb', function(e) {
- e.preventDefault();
-
- if (busy) {
- return;
- }
-
- busy = true;
-
- $(this).blur();
-
- selectedArray = [];
- selectedIndex = 0;
-
- var rel = $(this).attr('rel') || '';
-
- if (!rel || rel == '' || rel === 'nofollow') {
- selectedArray.push(this);
-
- } else {
- selectedArray = $("a[rel=" + rel + "], area[rel=" + rel + "]");
- selectedIndex = selectedArray.index( this );
- }
-
- _start();
-
- return;
- });
-
- return this;
- };
-
- $.fancybox = function(obj) {
- var opts;
-
- if (busy) {
- return;
- }
-
- busy = true;
- opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};
-
- selectedArray = [];
- selectedIndex = parseInt(opts.index, 10) || 0;
-
- if ($.isArray(obj)) {
- for (var i = 0, j = obj.length; i < j; i++) {
- if (typeof obj[i] == 'object') {
- $(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));
- } else {
- obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));
- }
- }
-
- selectedArray = jQuery.merge(selectedArray, obj);
-
- } else {
- if (typeof obj == 'object') {
- $(obj).data('fancybox', $.extend({}, opts, obj));
- } else {
- obj = $({}).data('fancybox', $.extend({content : obj}, opts));
- }
-
- selectedArray.push(obj);
- }
-
- if (selectedIndex > selectedArray.length || selectedIndex < 0) {
- selectedIndex = 0;
- }
-
- _start();
- };
-
- $.fancybox.showActivity = function() {
- clearInterval(loadingTimer);
-
- loading.show();
- loadingTimer = setInterval(_animate_loading, 66);
- };
-
- $.fancybox.hideActivity = function() {
- loading.hide();
- };
-
- $.fancybox.next = function() {
- return $.fancybox.pos( currentIndex + 1);
- };
-
- $.fancybox.prev = function() {
- return $.fancybox.pos( currentIndex - 1);
- };
-
- $.fancybox.pos = function(pos) {
- if (busy) {
- return;
- }
-
- pos = parseInt(pos);
-
- selectedArray = currentArray;
-
- if (pos > -1 && pos < currentArray.length) {
- selectedIndex = pos;
- _start();
-
- } else if (currentOpts.cyclic && currentArray.length > 1) {
- selectedIndex = pos >= currentArray.length ? 0 : currentArray.length - 1;
- _start();
- }
-
- return;
- };
-
- $.fancybox.cancel = function() {
- if (busy) {
- return;
- }
-
- busy = true;
-
- $.event.trigger('fancybox-cancel');
-
- _abort();
-
- selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts);
-
- busy = false;
- };
-
- // Note: within an iframe use - parent.$.fancybox.close();
- $.fancybox.close = function() {
- if (busy || wrap.is(':hidden')) {
- return;
- }
-
- busy = true;
-
- if (currentOpts && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
- busy = false;
- return;
- }
-
- _abort();
-
- $(close.add( nav_left ).add( nav_right )).hide();
-
- $(content.add( overlay )).unbind();
-
- $(window).unbind("resize.fb scroll.fb");
- $(document).unbind('keydown.fb');
-
- content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank');
-
- if (currentOpts.titlePosition !== 'inside') {
- title.empty();
- }
-
- wrap.stop();
-
- function _cleanup() {
- overlay.fadeOut('fast');
-
- title.empty().hide();
- wrap.hide();
-
- $.event.trigger('fancybox-cleanup');
-
- content.empty();
-
- currentOpts.onClosed(currentArray, currentIndex, currentOpts);
-
- currentArray = selectedOpts = [];
- currentIndex = selectedIndex = 0;
- currentOpts = selectedOpts = {};
-
- busy = false;
- }
-
- if (currentOpts.transitionOut == 'elastic') {
- start_pos = _get_zoom_from();
-
- var pos = wrap.position();
-
- final_pos = {
- top : pos.top ,
- left : pos.left,
- width : wrap.width(),
- height : wrap.height()
- };
-
- if (currentOpts.opacity) {
- final_pos.opacity = 1;
- }
-
- title.empty().hide();
-
- fx.prop = 1;
-
- $(fx).animate({ prop: 0 }, {
- duration : currentOpts.speedOut,
- easing : currentOpts.easingOut,
- step : _draw,
- complete : _cleanup
- });
-
- } else {
- wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup);
- }
- };
-
- $.fancybox.resize = function() {
- if (overlay.is(':visible')) {
- overlay.css('height', $(document).height());
- }
-
- $.fancybox.center(true);
- };
-
- $.fancybox.center = function() {
- var view, align;
-
- if (busy) {
- return;
- }
-
- align = arguments[0] === true ? 1 : 0;
- view = _get_viewport();
-
- if (!align && (wrap.width() > view[0] || wrap.height() > view[1])) {
- return;
- }
-
- wrap
- .stop()
- .animate({
- 'top' : parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - content.height() - 40) * 0.5) - currentOpts.padding)),
- 'left' : parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - content.width() - 40) * 0.5) - currentOpts.padding))
- }, typeof arguments[0] == 'number' ? arguments[0] : 200);
- };
-
- $.fancybox.init = function() {
- if ($("#fancybox-wrap").length) {
- return;
- }
-
- $('body').append(
- tmp = $('
'),
- loading = $(''),
- overlay = $('
'),
- wrap = $('
')
- );
-
- outer = $('
')
- .append('
')
- .appendTo( wrap );
-
- outer.append(
- content = $('
'),
- close = $(' '),
- title = $('
'),
-
- nav_left = $(' '),
- nav_right = $(' ')
- );
-
- close.click($.fancybox.close);
- loading.click($.fancybox.cancel);
-
- nav_left.click(function(e) {
- e.preventDefault();
- $.fancybox.prev();
- });
-
- nav_right.click(function(e) {
- e.preventDefault();
- $.fancybox.next();
- });
-
- if ($.fn.mousewheel) {
- wrap.bind('mousewheel.fb', function(e, delta) {
- if (busy) {
- e.preventDefault();
-
- } else if ($(e.target).get(0).clientHeight == 0 || $(e.target).get(0).scrollHeight === $(e.target).get(0).clientHeight) {
- e.preventDefault();
- $.fancybox[ delta > 0 ? 'prev' : 'next']();
- }
- });
- }
-
- if (!$.support.opacity) {
- wrap.addClass('fancybox-ie');
- }
-
- if (isIE6) {
- loading.addClass('fancybox-ie6');
- wrap.addClass('fancybox-ie6');
-
- $('').prependTo(outer);
- }
- };
-
- $.fn.fancybox.defaults = {
- padding : 10,
- margin : 40,
- opacity : false,
- modal : false,
- cyclic : false,
- scrolling : 'auto', // 'auto', 'yes' or 'no'
-
- width : 560,
- height : 340,
-
- autoScale : true,
- autoDimensions : true,
- centerOnScroll : false,
-
- ajax : {},
- swf : { wmode: 'transparent' },
-
- hideOnOverlayClick : true,
- hideOnContentClick : false,
-
- overlayShow : true,
- overlayOpacity : 0.7,
- overlayColor : '#777',
-
- titleShow : true,
- titlePosition : 'float', // 'float', 'outside', 'inside' or 'over'
- titleFormat : null,
- titleFromAlt : false,
-
- transitionIn : 'fade', // 'elastic', 'fade' or 'none'
- transitionOut : 'fade', // 'elastic', 'fade' or 'none'
-
- speedIn : 300,
- speedOut : 300,
-
- changeSpeed : 300,
- changeFade : 'fast',
-
- easingIn : 'swing',
- easingOut : 'swing',
-
- showCloseButton : true,
- showNavArrows : true,
- enableEscapeButton : true,
- enableKeyboardNav : true,
-
- onStart : function(){},
- onCancel : function(){},
- onComplete : function(){},
- onCleanup : function(){},
- onClosed : function(){},
- onError : function(){}
- };
-
- $(document).ready(function() {
- $.fancybox.init();
- });
-
-})(jQuery);
\ No newline at end of file
diff --git a/jQuery.fancybox_1.3.4/resources/jquery.mousewheel-3.0.4.pack.js b/jQuery.fancybox_1.3.4/resources/jquery.mousewheel-3.0.4.pack.js
deleted file mode 100644
index cb66588e..00000000
--- a/jQuery.fancybox_1.3.4/resources/jquery.mousewheel-3.0.4.pack.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
-* Licensed under the MIT License (LICENSE.txt).
-*
-* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
-* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
-* Thanks to: Seamus Leahy for adding deltaX and deltaY
-*
-* Version: 3.0.4
-*
-* Requires: 1.2.2+
-*/
-
-(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
-f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
\ No newline at end of file
diff --git a/jodit/CHANGES.htm b/jodit/CHANGES.htm
new file mode 100644
index 00000000..aef1b486
--- /dev/null
+++ b/jodit/CHANGES.htm
@@ -0,0 +1,3 @@
+
+ See the Jodit Editor changelog
+
diff --git a/jodit/LICENSE.htm b/jodit/LICENSE.htm
new file mode 100644
index 00000000..a1be09c2
--- /dev/null
+++ b/jodit/LICENSE.htm
@@ -0,0 +1,3 @@
+
+ Jodit Editor is licensed under the MIT license .
+
diff --git a/jodit/dnn-library.json b/jodit/dnn-library.json
new file mode 100644
index 00000000..13b929d3
--- /dev/null
+++ b/jodit/dnn-library.json
@@ -0,0 +1,12 @@
+{
+ "files": ["node_modules/jodit/es2021/jodit.min.js"],
+ "resources": [
+ "node_modules/jodit/**",
+ "!node_modules/jodit/.nvmrc",
+ "!node_modules/jodit/*.md",
+ "!node_modules/jodit/LICENSE.txt",
+ "!node_modules/jodit/package.json",
+ "!node_modules/jodit/examples/**",
+ "!node_modules/jodit/types/**"
+ ]
+}
diff --git a/jodit/jodit.dnn b/jodit/jodit.dnn
new file mode 100644
index 00000000..85b66d9a
--- /dev/null
+++ b/jodit/jodit.dnn
@@ -0,0 +1,47 @@
+
+
+
+ Jodit Editor
+
+
+
+
+ Engage Software
+ Engage Software
+ https://engagesoftware.com/
+ support@engagesoftware.com
+
+
+
+ true
+
+
+
+
+ jodit
+ jodit.min.js
+ BodyBottom
+ Jodit
+ https://cdn.jsdelivr.net/npm/jodit@<~=version~>/es2021/jodit.min.js
+
+
+
+
+ jodit
+
+ jodit.min.js
+
+
+
+
+
+ Resources\Libraries\jodit\<~=versionFolder~>
+
+ Resources.zip
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jquery-menu-aim_1.1.0/CHANGES.htm b/jquery-menu-aim/CHANGES.htm
similarity index 100%
rename from jquery-menu-aim_1.1.0/CHANGES.htm
rename to jquery-menu-aim/CHANGES.htm
diff --git a/jquery-menu-aim_1.1.0/LICENSE.htm b/jquery-menu-aim/LICENSE.htm
similarity index 100%
rename from jquery-menu-aim_1.1.0/LICENSE.htm
rename to jquery-menu-aim/LICENSE.htm
diff --git a/jquery-menu-aim_1.1.0/dnn-library.json b/jquery-menu-aim/dnn-library.json
similarity index 100%
rename from jquery-menu-aim_1.1.0/dnn-library.json
rename to jquery-menu-aim/dnn-library.json
diff --git a/jquery-menu-aim_1.1.0/jquery.menu-aim.dnn b/jquery-menu-aim/jquery.menu-aim.dnn
similarity index 91%
rename from jquery-menu-aim_1.1.0/jquery.menu-aim.dnn
rename to jquery-menu-aim/jquery.menu-aim.dnn
index 82132593..efe1c3b9 100644
--- a/jquery-menu-aim_1.1.0/jquery.menu-aim.dnn
+++ b/jquery-menu-aim/jquery.menu-aim.dnn
@@ -1,6 +1,6 @@
-
+
jQuery-menu-aim
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -42,7 +42,7 @@
- Resources\Libraries\jquery.menu-aim\01_01_00
+ Resources\Libraries\<~=versionFolder~>
Resources.zip
diff --git a/jquery-mousewheel_3.1.13/CHANGES.htm b/jquery-mousewheel/CHANGES.htm
similarity index 100%
rename from jquery-mousewheel_3.1.13/CHANGES.htm
rename to jquery-mousewheel/CHANGES.htm
diff --git a/jquery-mousewheel/LICENSE.htm b/jquery-mousewheel/LICENSE.htm
new file mode 100644
index 00000000..8b2c5366
--- /dev/null
+++ b/jquery-mousewheel/LICENSE.htm
@@ -0,0 +1 @@
+jquery-mousewheel is licensed under the MIT License .
diff --git a/jquery-mousewheel_3.1.13/dnn-library.json b/jquery-mousewheel/dnn-library.json
similarity index 100%
rename from jquery-mousewheel_3.1.13/dnn-library.json
rename to jquery-mousewheel/dnn-library.json
diff --git a/jquery-mousewheel_3.1.13/jquery-mousewheel.dnn b/jquery-mousewheel/jquery-mousewheel.dnn
similarity index 79%
rename from jquery-mousewheel_3.1.13/jquery-mousewheel.dnn
rename to jquery-mousewheel/jquery-mousewheel.dnn
index c7fa5e1b..07ae6112 100644
--- a/jquery-mousewheel_3.1.13/jquery-mousewheel.dnn
+++ b/jquery-mousewheel/jquery-mousewheel.dnn
@@ -1,12 +1,12 @@
-
+
jQuery Mouse Wheel Plugin
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -19,9 +19,9 @@
jquery-mousewheel
- jquery.mousewheel.min.js
+ jquery.mousewheel.js
BodyBottom
- https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js
+ https://cdn.jsdelivr.net/npm/jquery-mousewheel@<~=version~>/jquery.mousewheel.min.js
jQuery.event.special.mousewheel
@@ -29,7 +29,7 @@
jquery-mousewheel
- jquery.mousewheel.min.js
+ jquery.mousewheel.js
diff --git a/jquery-mousewheel_3.1.13/LICENSE.htm b/jquery-mousewheel_3.1.13/LICENSE.htm
deleted file mode 100644
index 8889763b..00000000
--- a/jquery-mousewheel_3.1.13/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-jquery-mousewheel is licensed under the MIT License .
diff --git a/jquery-ui_1.12.1/CHANGES.htm b/jquery-ui/CHANGES.htm
similarity index 100%
rename from jquery-ui_1.12.1/CHANGES.htm
rename to jquery-ui/CHANGES.htm
diff --git a/jquery-ui/LICENSE.htm b/jquery-ui/LICENSE.htm
new file mode 100644
index 00000000..9e40c9b0
--- /dev/null
+++ b/jquery-ui/LICENSE.htm
@@ -0,0 +1 @@
+jQuery UI is licensed under the MIT License .
diff --git a/jquery-ui/dnn-library.json b/jquery-ui/dnn-library.json
new file mode 100644
index 00000000..a082637f
--- /dev/null
+++ b/jquery-ui/dnn-library.json
@@ -0,0 +1,4 @@
+{
+ "files": ["jquery-ui/jquery-ui.min.js"],
+ "resources": []
+}
diff --git a/jquery-ui_1.12.1/jquery-ui.dnn b/jquery-ui/jquery-ui.dnn
similarity index 89%
rename from jquery-ui_1.12.1/jquery-ui.dnn
rename to jquery-ui/jquery-ui.dnn
index 9e978240..6cbd1509 100644
--- a/jquery-ui_1.12.1/jquery-ui.dnn
+++ b/jquery-ui/jquery-ui.dnn
@@ -1,12 +1,12 @@
-
+
jQuery UI
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,7 +21,7 @@
jQuery-UI
jquery-ui.min.js
PageHead
- https://code.jquery.com/ui/1.12.1/jquery-ui.min.js
+ https://code.jquery.com/ui/<~=version~>/jquery-ui.min.js
jQuery.ui
diff --git a/jquery-ui_1.12.1/jquery-ui.min.js b/jquery-ui/jquery-ui.min.js
similarity index 100%
rename from jquery-ui_1.12.1/jquery-ui.min.js
rename to jquery-ui/jquery-ui.min.js
diff --git a/jquery-ui_1.12.1/LICENSE.htm b/jquery-ui_1.12.1/LICENSE.htm
deleted file mode 100644
index ca07a503..00000000
--- a/jquery-ui_1.12.1/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-jQuery UI is licensed under the MIT License .
diff --git a/jquery-ui_1.12.1/dnn-library.json b/jquery-ui_1.12.1/dnn-library.json
deleted file mode 100644
index 55057bf6..00000000
--- a/jquery-ui_1.12.1/dnn-library.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["jquery-ui_1.12.1/jquery-ui.min.js"],
- "resources": []
-}
diff --git a/jQuery.cookie_1.4.1/CHANGES.htm b/jquery.cookie/CHANGES.htm
similarity index 100%
rename from jQuery.cookie_1.4.1/CHANGES.htm
rename to jquery.cookie/CHANGES.htm
diff --git a/jquery.cookie/LICENSE.htm b/jquery.cookie/LICENSE.htm
new file mode 100644
index 00000000..04de3daa
--- /dev/null
+++ b/jquery.cookie/LICENSE.htm
@@ -0,0 +1 @@
+jQuery.cookie is MIT licensed by Klaus Hartl
diff --git a/jQuery.cookie_1.4.1/dnn-library.json b/jquery.cookie/dnn-library.json
similarity index 100%
rename from jQuery.cookie_1.4.1/dnn-library.json
rename to jquery.cookie/dnn-library.json
diff --git a/jQuery.cookie_1.4.1/jQuery.cookie.dnn b/jquery.cookie/jQuery.cookie.dnn
similarity index 92%
rename from jQuery.cookie_1.4.1/jQuery.cookie.dnn
rename to jquery.cookie/jQuery.cookie.dnn
index 098845af..9746215c 100644
--- a/jQuery.cookie_1.4.1/jQuery.cookie.dnn
+++ b/jquery.cookie/jQuery.cookie.dnn
@@ -1,12 +1,12 @@
-
+
jQuery Cookie Plugin
A simple, lightweight jQuery plugin for reading, writing and deleting cookies.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
jQuery.cookie.js
jQuery.cookie
BodyBottom
- https://cdn.jsdelivr.net/npm/jquery.cookie@1.4.1/jquery.cookie.min.js
+ https://cdn.jsdelivr.net/npm/jquery.cookie@<~=version~>/jquery.cookie.min.js
@@ -36,4 +36,4 @@
-
\ No newline at end of file
+
diff --git a/jquery.easing_1.4.1/CHANGES.htm b/jquery.easing/CHANGES.htm
similarity index 100%
rename from jquery.easing_1.4.1/CHANGES.htm
rename to jquery.easing/CHANGES.htm
diff --git a/jquery.easing_1.4.1/LICENSE.htm b/jquery.easing/LICENSE.htm
similarity index 100%
rename from jquery.easing_1.4.1/LICENSE.htm
rename to jquery.easing/LICENSE.htm
diff --git a/jquery.easing_1.4.1/dnn-library.json b/jquery.easing/dnn-library.json
similarity index 100%
rename from jquery.easing_1.4.1/dnn-library.json
rename to jquery.easing/dnn-library.json
diff --git a/jquery.easing_1.4.1/jQuery.easing.dnn b/jquery.easing/jQuery.easing.dnn
similarity index 89%
rename from jquery.easing_1.4.1/jQuery.easing.dnn
rename to jquery.easing/jQuery.easing.dnn
index 3273258d..452f3d78 100644
--- a/jquery.easing_1.4.1/jQuery.easing.dnn
+++ b/jquery.easing/jQuery.easing.dnn
@@ -1,12 +1,12 @@
-
+
jQuery Easing Plugin
A jQuery plugin from GSGD to give advanced easing options.
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
jQuery.easing.min.js
jQuery.easing.easeInOutQuad
PageHead
- https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js
+ https://cdn.jsdelivr.net/npm/jquery.easing@<~=version~>/jquery.easing.min.js
@@ -35,7 +35,7 @@
- Resources\Libraries\jquery.easing\01_04_01
+ Resources\Libraries\jquery.easing\<~=versionFolder~>
Resources.zip
diff --git a/jquery.localScroll_2.0.0/LICENSE.htm b/jquery.localScroll_2.0.0/LICENSE.htm
deleted file mode 100644
index 92157e4e..00000000
--- a/jquery.localScroll_2.0.0/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-jQuery.localScroll is licensed under the MIT License .
diff --git a/jquery.localScroll_2.0.0/CHANGES.htm b/jquery.localscroll/CHANGES.htm
similarity index 100%
rename from jquery.localScroll_2.0.0/CHANGES.htm
rename to jquery.localscroll/CHANGES.htm
diff --git a/jquery.localscroll/LICENSE.htm b/jquery.localscroll/LICENSE.htm
new file mode 100644
index 00000000..b753f8a7
--- /dev/null
+++ b/jquery.localscroll/LICENSE.htm
@@ -0,0 +1 @@
+jQuery.localScroll is licensed under the MIT License .
diff --git a/jquery.localScroll_2.0.0/dnn-library.json b/jquery.localscroll/dnn-library.json
similarity index 100%
rename from jquery.localScroll_2.0.0/dnn-library.json
rename to jquery.localscroll/dnn-library.json
diff --git a/jquery.localScroll_2.0.0/jquery.localScroll.dnn b/jquery.localscroll/jquery.localScroll.dnn
similarity index 90%
rename from jquery.localScroll_2.0.0/jquery.localScroll.dnn
rename to jquery.localscroll/jquery.localScroll.dnn
index 8e5bbc5d..a18ae3b9 100644
--- a/jquery.localScroll_2.0.0/jquery.localScroll.dnn
+++ b/jquery.localscroll/jquery.localScroll.dnn
@@ -1,12 +1,12 @@
-
+
jQuery.localScroll
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -22,7 +22,7 @@
jquery.localScroll
jquery.localScroll.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/jquery.localscroll@2.0.0/jquery.localScroll.min.js
+ https://cdn.jsdelivr.net/npm/jquery.localscroll@<~=version~>/jquery.localScroll.min.js
jQuery.localScroll
diff --git a/jquery.scrollTo_2.1.2/LICENSE.htm b/jquery.scrollTo_2.1.2/LICENSE.htm
deleted file mode 100644
index 8f4d03d1..00000000
--- a/jquery.scrollTo_2.1.2/LICENSE.htm
+++ /dev/null
@@ -1 +0,0 @@
-jquery.scrollTo is licened under the MIT License .
diff --git a/jquery.scrollTo_2.1.2/CHANGES.htm b/jquery.scrollto/CHANGES.htm
similarity index 100%
rename from jquery.scrollTo_2.1.2/CHANGES.htm
rename to jquery.scrollto/CHANGES.htm
diff --git a/jquery.scrollto/LICENSE.htm b/jquery.scrollto/LICENSE.htm
new file mode 100644
index 00000000..b39af4c2
--- /dev/null
+++ b/jquery.scrollto/LICENSE.htm
@@ -0,0 +1 @@
+jquery.scrollTo is licened under the MIT License .
diff --git a/jquery.scrollTo_2.1.2/dnn-library.json b/jquery.scrollto/dnn-library.json
similarity index 100%
rename from jquery.scrollTo_2.1.2/dnn-library.json
rename to jquery.scrollto/dnn-library.json
diff --git a/jquery.scrollTo_2.1.2/jquery.scrollTo.dnn b/jquery.scrollto/jquery.scrollTo.dnn
similarity index 90%
rename from jquery.scrollTo_2.1.2/jquery.scrollTo.dnn
rename to jquery.scrollto/jquery.scrollTo.dnn
index 4fd04d24..c6172427 100644
--- a/jquery.scrollTo_2.1.2/jquery.scrollTo.dnn
+++ b/jquery.scrollto/jquery.scrollTo.dnn
@@ -1,12 +1,12 @@
-
+
jQuery.scrollTo
A small, customizable plugin for scrolling elements, or the window itself
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -21,7 +21,7 @@
jquery.scrollTo
jquery.scrollTo.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/jquery.scrollto@2.1.2/jquery.scrollTo.min.js
+ https://cdn.jsdelivr.net/npm/jquery.scrollto@<~=version~>/jquery.scrollTo.min.js
jQuery.scrollTo
diff --git a/jquery.serialscroll_1.3.0/CHANGES.htm b/jquery.serialscroll/CHANGES.htm
similarity index 100%
rename from jquery.serialscroll_1.3.0/CHANGES.htm
rename to jquery.serialscroll/CHANGES.htm
diff --git a/jquery.serialscroll_1.3.0/LICENSE.htm b/jquery.serialscroll/LICENSE.htm
similarity index 70%
rename from jquery.serialscroll_1.3.0/LICENSE.htm
rename to jquery.serialscroll/LICENSE.htm
index 5524264c..afa313ab 100644
--- a/jquery.serialscroll_1.3.0/LICENSE.htm
+++ b/jquery.serialscroll/LICENSE.htm
@@ -1,2 +1,2 @@
jQuery.serialScroll is licensed under the
- MIT License .
+ MIT License .
diff --git a/jquery.serialscroll_1.3.0/dnn-library.json b/jquery.serialscroll/dnn-library.json
similarity index 100%
rename from jquery.serialscroll_1.3.0/dnn-library.json
rename to jquery.serialscroll/dnn-library.json
diff --git a/jquery.serialscroll_1.3.0/jquery.serialScroll.dnn b/jquery.serialscroll/jquery.serialScroll.dnn
similarity index 90%
rename from jquery.serialscroll_1.3.0/jquery.serialScroll.dnn
rename to jquery.serialscroll/jquery.serialScroll.dnn
index 74f0d05c..231f4728 100644
--- a/jquery.serialscroll_1.3.0/jquery.serialScroll.dnn
+++ b/jquery.serialscroll/jquery.serialScroll.dnn
@@ -1,6 +1,6 @@
-
+
jQuery.serialScroll
@@ -8,7 +8,7 @@
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -24,7 +24,7 @@
jquery.serialScroll
jquery.serialScroll.min.js
BodyBottom
- https://cdn.jsdelivr.net/npm/jquery.serialscroll@1.3.0/jquery.serialScroll.min.js
+ https://cdn.jsdelivr.net/npm/jquery.serialscroll@<~=version~>/jquery.serialScroll.min.js
jQuery.serialScroll
diff --git a/jquery.tipsy_1.0.3/CHANGES.htm b/jquery.tipsy/CHANGES.htm
similarity index 100%
rename from jquery.tipsy_1.0.3/CHANGES.htm
rename to jquery.tipsy/CHANGES.htm
diff --git a/jquery.tipsy/LICENSE.htm b/jquery.tipsy/LICENSE.htm
new file mode 100644
index 00000000..511ce6cb
--- /dev/null
+++ b/jquery.tipsy/LICENSE.htm
@@ -0,0 +1,3 @@
+tipsy is licensed under the
+ MIT License .
+
diff --git a/jquery.tipsy_1.0.3/dnn-library.json b/jquery.tipsy/dnn-library.json
similarity index 100%
rename from jquery.tipsy_1.0.3/dnn-library.json
rename to jquery.tipsy/dnn-library.json
diff --git a/jquery.tipsy_1.0.3/tipsy.dnn b/jquery.tipsy/tipsy.dnn
similarity index 80%
rename from jquery.tipsy_1.0.3/tipsy.dnn
rename to jquery.tipsy/tipsy.dnn
index 9bb7c187..5feabaf9 100644
--- a/jquery.tipsy_1.0.3/tipsy.dnn
+++ b/jquery.tipsy/tipsy.dnn
@@ -1,12 +1,12 @@
-
+
tipsy
tipsy is a simple jQuery plugin for generating Facebook-style tooltips
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
@@ -23,7 +23,7 @@
tipsy
jquery.tipsy.js
BodyBottom
- https://cdn.jsdelivr.net/npm/jquery.tipsy@1.0.3/src/jquery.tipsy.min.js
+ https://cdn.jsdelivr.net/npm/jquery.tipsy@<~=version~>/src/jquery.tipsy.min.js
jQuery.fn.tipsy
@@ -37,7 +37,7 @@
- Resources\Libraries\tipsy\01_00_03
+ Resources\Libraries\tipsy\<~=versionFolder~>
Resources.zip
diff --git a/jquery.tipsy_1.0.3/LICENSE.htm b/jquery.tipsy_1.0.3/LICENSE.htm
deleted file mode 100644
index 3084d711..00000000
--- a/jquery.tipsy_1.0.3/LICENSE.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-tipsy is licensed under the
- MIT License .
-
diff --git a/jquery_3.2.1/CHANGES.htm b/jquery/CHANGES.htm
similarity index 100%
rename from jquery_3.2.1/CHANGES.htm
rename to jquery/CHANGES.htm
diff --git a/jquery_3.2.1/LICENSE.htm b/jquery/LICENSE.htm
similarity index 50%
rename from jquery_3.2.1/LICENSE.htm
rename to jquery/LICENSE.htm
index 8ed11768..85026613 100644
--- a/jquery_3.2.1/LICENSE.htm
+++ b/jquery/LICENSE.htm
@@ -1 +1 @@
-jQuery is licensed under the MIT License .
+jQuery is licensed under the MIT License .
diff --git a/jquery/dnn-library.json b/jquery/dnn-library.json
new file mode 100644
index 00000000..f4b9e98d
--- /dev/null
+++ b/jquery/dnn-library.json
@@ -0,0 +1,7 @@
+{
+ "files": ["node_modules/jquery/dist/jquery.min.js"],
+ "resources": [
+ "node_modules/jquery/dist/**",
+ "!node_modules/jquery/dist/jquery.min.js"
+ ]
+}
diff --git a/jquery_3.2.1/jquery.dnn b/jquery/jquery.dnn
similarity index 56%
rename from jquery_3.2.1/jquery.dnn
rename to jquery/jquery.dnn
index d5bda492..c1fa63dd 100644
--- a/jquery_3.2.1/jquery.dnn
+++ b/jquery/jquery.dnn
@@ -1,30 +1,28 @@
-
+
jQuery
-
+
+
+
Engage Software
Engage Software
- http://www.engagesoftware.com
+ https://engagesoftware.com/
support@engagesoftware.com
true
-
-
-
+
jQuery
jquery.min.js
PageHead
- https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js
jQuery
+ https://code.jquery.com/jquery-<~=version~>.min.js
@@ -35,6 +33,14 @@
+
+
+ Resources\Libraries\jQuery\<~=versionFolder~>
+
+ Resources.zip
+
+
+
diff --git a/jquery_3.2.1/jquery.min.js b/jquery_3.2.1/jquery.min.js
deleted file mode 100644
index 644d35e2..00000000
--- a/jquery_3.2.1/jquery.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */
-!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML=" ",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML=" ";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML=" ","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML=" ",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,D=/^.[^:#\[\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\x20\t\r\n\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S),
-a.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,la=/^$|\/(?:java|ecma)script/i,ma={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\x20\t\r\n\f]*)[^>]*)\/>/gi,Aa=/